Details

Time bar (total: 7.1s)

sample67.0ms

Algorithm
intervals
Results
22.0ms117×body320valid
14.0ms134×body160valid
12.0ms232×body80nan
0.0msbody80valid

simplify118.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize18.0ms

Local error

Found 4 expressions with local error:

4.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
9.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
27.8b
(sqrt (- (* g g) (* h h)))
27.8b
(sqrt (- (* g g) (* h h)))

rewrite32.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:
12.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)))

series735.0ms

Counts
4 → 12
Calls
4 calls:
321.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
314.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0385768
11378726
25001720

prune418.0ms

Filtered
72 candidates to 66 candidates (91.7%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 29.8b

localize25.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (- g) (sqrt (- (* g g) (* h h))))
4.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
27.8b
(sqrt (- (* g g) (* h h)))
27.8b
(sqrt (- (* g g) (* h h)))

rewrite30.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:
9.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)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
322.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
44.0ms
(sqrt (- (* g g) (* h h)))
52.0ms
(sqrt (- (* g g) (* h h)))

simplify127.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0333666
11140629
24928620
35002620

prune444.0ms

Filtered
76 candidates to 64 candidates (84.2%)
Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

localize25.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (- g) (sqrt (- (* g g) (* h h))))
4.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
27.8b
(sqrt (- (* g g) (* h h)))
27.8b
(sqrt (- (* g g) (* h h)))

rewrite30.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:
9.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)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
324.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
45.0ms
(sqrt (- (* g g) (* h h)))
53.0ms
(sqrt (- (* g g) (* h h)))

simplify125.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0333666
11140629
24928620
35002620

prune451.0ms

Filtered
76 candidates to 64 candidates (84.2%)
Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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 rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp difference-of-squares
Counts
4 → 64
Calls
4 calls:
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series191.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))
51.0ms
(sqrt (- (* g g) (* h h)))

simplify52.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
096424
1234412
2572412
31471412
45002412

prune425.0ms

Filtered
76 candidates to 68 candidates (89.5%)
Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

regimes740.0ms

Accuracy

36.3% (2.0b remaining)

Error of 32.8b against oracle of 30.8b and baseline of 33.9b

bsearch159.0ms

Steps
ItersRangePoint
11
-2.489800818332218e-141
-6.46348463023251e-162
-5.139022009297565e-161

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04042
14242
24242

end0.0ms

sample1.8s

Algorithm
intervals
Results
591.0ms3693×body320valid
456.0ms4153×body160valid
420.0ms8089×body80nan
10.0ms154×body80valid