Details

Time bar (total: 7.2s)

sample69.0ms

Algorithm
intervals
Results
23.0ms136×body320valid
14.0ms269×body80nan
13.0ms117×body160valid
0.0msbody80valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.0b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

rewrite34.0ms

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

series726.0ms

Counts
4 → 12
Calls
4 calls:
309.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
321.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
46.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0385766
11380724
25002718

prune431.0ms

Filtered
72 candidates to 64 candidates (88.9%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New512172
Fresh000
Picked101
Done000
Total522173

Merged error: 30.9b

Counts
73 → 21

localize19.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- g) (sqrt (- (* g g) (* h h))))
8.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
cbrt-div
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
flip3-- flip--
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ flip-+ distribute-lft-out--
associate--l- cbrt-prod neg-sub0 sub-neg distribute-rgt-neg-in pow1/3 neg-log associate-*l/
Counts
4 → 64
Calls
4 calls:
13.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
316.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
50.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify127.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0333666
11140629
24928620
35002620

prune455.0ms

Filtered
76 candidates to 64 candidates (84.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New68876
Fresh91120
Picked101
Done000
Total781997

Merged error: 30.4b

Counts
97 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* g g) (* h h))
1.4b
(- (- g) (sqrt (- (* g g) (* h h))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
sqrt-prod
pow1 add-cube-cbrt
difference-of-squares
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out--
associate--l- neg-sub0 distribute-rgt-neg-in neg-log
Counts
4 → 63
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
9.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series200.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* g g) (* h h))
65.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
47.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify100.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0189469
1768442
23242436
35002435

prune412.0ms

Filtered
75 candidates to 58 candidates (77.3%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New71475
Fresh41418
Picked101
Done000
Total761894

Merged error: 30.3b

Counts
94 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- g) (sqrt (- (* g g) (* h h))))
8.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
cbrt-div
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
flip3-- flip--
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ flip-+ distribute-lft-out--
associate--l- cbrt-prod neg-sub0 sub-neg distribute-rgt-neg-in pow1/3 neg-log associate-*l/
Counts
4 → 64
Calls
4 calls:
13.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
13.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series487.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
321.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)))

simplify125.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0333668
11140631
24928620
35002620

prune380.0ms

Filtered
76 candidates to 64 candidates (84.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New74276
Fresh01717
Picked101
Done000
Total751994

Merged error: 30.3b

Counts
94 → 19

regimes782.0ms

Accuracy

83.9% (0.5b remaining)

Error of 31.6b against oracle of 31.1b and baseline of 34.4b

bsearch178.0ms

Steps
ItersRangePoint
11
-7.10145127998849e-172
-2.0422538931777442e-197
-6.779846107637631e-172

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04042
14042

end0.0ms

sample1.9s

Algorithm
intervals
Results
628.0ms3732×body320valid
474.0ms4124×body160valid
440.0ms8068×body80nan
8.0ms144×body80valid