Details

Time bar (total: 7.0s)

sample65.0ms

Algorithm
intervals
Results
20.0ms117×body320valid
15.0ms134×body160valid
12.0ms232×body80nan
0.0msbody80valid

simplify117.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize22.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)))

rewrite31.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:
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.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)))

series690.0ms

Counts
4 → 12
Calls
4 calls:
304.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
294.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
43.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0385766
11380724
25001718

prune391.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 29.8b

localize20.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)))

series456.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
304.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
43.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify124.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0333666
11140629
24928620
35002620

prune425.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

localize20.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)))

rewrite29.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))))
11.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)))

series462.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(- (- g) (sqrt (- (* g g) (* h h))))
308.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
43.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify124.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0333668
11140631
24928620
35002620

prune428.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

localize23.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)))

rewrite16.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)))

series186.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))
43.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify53.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
096424
1234412
2572412
31471412
45002412

prune428.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 28.5b

regimes741.0ms

Accuracy

36.3% (2.0b remaining)

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

bsearch161.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.9s

Algorithm
intervals
Results
634.0ms3693×body320valid
467.0ms4153×body160valid
444.0ms8089×body80nan
9.0ms154×body80valid