Details

Time bar (total: 8.6s)

sample45.0ms

Algorithm
intervals
Results
24.0ms82×body1280valid
6.0ms132×body80valid
3.0ms17×body640valid
2.0ms16×body320valid
1.0msbody160valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22312
32712
42912
53412
63612
done3612

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.7b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
2.2b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
15.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
16.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify1.2s

Counts
78 → 78
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01121034
1238962
2580890
31444886
44217882
done5000881

prune156.0ms

Filtered
54 candidates to 78 candidates (-44.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 16.1b

Counts
79 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ (- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.7b
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
pow1 associate-/r*
flip3-+ flip-+ associate-/l*
+-commutative flip3-- sum-log associate-/r/ flip-- associate-/l/ associate--r+
cbrt-undiv distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log div-sub div-exp clear-num div-inv
Counts
4 → 74
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
8.0ms
(/ (- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
4.0ms
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
36.0ms
(/ (- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
10.0ms
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

simplify1.2s

Counts
86 → 86
Iterations

Useful iterations: 3 (384.0ms)

IterNodesCost
01172197
13222123
211241929
346121894
done50001894

prune256.0ms

Filtered
62 candidates to 86 candidates (-38.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh134
Picked101
Done000
Total84791

Merged error: 16.1b

Counts
91 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ (- 0.5 (/ 0.5 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.7b
(- 0.5 (/ 0.5 (hypot 1.0 x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
44×*-un-lft-identity
30×times-frac
16×add-cube-cbrt
12×difference-of-squares
distribute-lft-out add-log-exp
pow1
add-exp-log add-cbrt-cube associate-/l* distribute-lft-out--
associate-/r*
flip3-+ flip-+
flip3-- sqrt-pow1 sqrt-div associate-*r/ associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg pow1/2 diff-log div-sub div-exp pow-prod-down clear-num sum-log sqrt-prod div-inv
Counts
4 → 91
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
11.0ms
(/ (- 0.5 (/ 0.5 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
7.0ms
(- 0.5 (/ 0.5 (hypot 1.0 x)))

series68.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
15.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
40.0ms
(/ (- 0.5 (/ 0.5 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
7.0ms
(- 0.5 (/ 0.5 (hypot 1.0 x)))

simplify926.0ms

Counts
103 → 103
Iterations

Useful iterations: done (922.0ms)

IterNodesCost
01492387
13662304
29582160
329062158
done50002157

prune273.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1003103
Fresh336
Picked011
Done000
Total1037110

Merged error: 16.1b

Counts
110 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x))))
0.0b
(/ (/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.2b
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
1.6b
(- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
224×times-frac
206×*-un-lft-identity
122×add-sqr-sqrt
110×add-cube-cbrt
48×distribute-lft-out
26×associate-/l* difference-of-squares
23×add-exp-log add-cbrt-cube
14×associate-/r/
13×swap-sqr associate-*r* associate-*l*
11×pow1 div-inv
cbrt-undiv div-exp associate-/r*
flip3-+ flip-+
add-log-exp
prod-exp cbrt-unprod unswap-sqr
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 253
Calls
4 calls:
15.0ms
(/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x))))
17.0ms
(/ (/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
4.0ms
(- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

series123.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x))))
67.0ms
(/ (/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
14.0ms
(- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

simplify1.1s

Counts
265 → 265
Iterations

Useful iterations: 2 (332.0ms)

IterNodesCost
036011022
1102310455
245759445
done50009445

prune1.3s

Filtered
182 candidates to 265 candidates (-45.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2596265
Fresh415
Picked101
Done101
Total2657272

Merged error: 15.7b

Counts
272 → 7

regimes401.0ms

Accuracy

0% (0.3b remaining)

Error of 15.1b against oracle of 14.8b and baseline of 15.1b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02366
12966
done2966

end0.0ms

sample1.2s

Algorithm
intervals
Results
682.0ms2911×body1280valid
173.0ms3981×body80valid
117.0ms631×body640valid
39.0ms304×body320valid
15.0ms173×body160valid

Profiling

Loading profile data...