Details

Time bar (total: 7.7s)

sample77.0ms

Algorithm
intervals
Results
23.0ms123×body320valid
14.0ms291×body80nan
14.0ms127×body160valid
0.0msbody80valid

simplify124.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
8500221
done500221

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.3b

localize19.0ms

Local error

Found 4 expressions with local error:

6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- log1p-expm1-u add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 68
Calls
4 calls:
35.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
33.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
13.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))

series741.0ms

Counts
4 → 12
Calls
4 calls:
324.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
316.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
54.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify45.0ms

Counts
80 → 80
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0403824
11484782
25001775
done5001775

prune448.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.6b

localize26.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* g g) (* h h))
6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
9.0ms
(- (* g g) (* h h))
35.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))

series457.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
326.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify40.0ms

Counts
81 → 81
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0337619
11359588
25001580
done5001580

prune491.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.0b

localize25.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* g g) (* h h))
6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
11.0ms
(- (* g g) (* h h))
32.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.0ms
(sqrt (- (* g g) (* h h)))
12.0ms
(sqrt (- (* g g) (* h h)))

series461.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
329.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
53.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify40.0ms

Counts
81 → 81
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337619
11359588
25001580
done5001580

prune471.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.0b

localize27.0ms

Local error

Found 4 expressions with local error:

32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp difference-of-squares
Counts
4 → 72
Calls
4 calls:
11.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))
14.0ms
(sqrt (- (* g g) (* h h)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(sqrt (- (* g g) (* h h)))
53.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))
52.0ms
(sqrt (- (* g g) (* h h)))

simplify56.0ms

Counts
84 → 84
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
0105456
1265444
2693444
31746444
45001440
done5001440

prune511.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 32.9b

regimes1.0s

Accuracy

83.7% (0.6b remaining)

Error of 32.1b against oracle of 31.5b and baseline of 35.4b

bsearch133.0ms

Steps
ItersRangePoint
8
-8.976264522949468e-179
-1.4293628387956914e-182
-8.824957770492126e-179

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03940
13940
done3940

end0.0ms

sample2.0s

Algorithm
intervals
Results
619.0ms3790×body320valid
442.0ms4058×body160valid
409.0ms7987×body80nan
8.0ms152×body80valid