Details

Time bar (total: 7.0s)

sample68.0ms

Algorithm
intervals
Results
20.0ms125×body320valid
14.0ms128×body160valid
12.0ms237×body80nan
0.0msbody80valid

simplify125.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
8500221

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.3b

localize20.0ms

Local error

Found 4 expressions with local error:

7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
34.3b
(sqrt (- (* g g) (* h h)))
34.3b
(sqrt (- (* g g) (* h h)))

rewrite92.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:
33.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
36.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)))

series734.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0403824
11484782
25001775

prune430.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 36.4b

localize19.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
34.3b
(sqrt (- (* g g) (* h h)))
34.3b
(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 flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
8.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)))
12.0ms
(sqrt (- (* g g) (* h h)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
312.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
46.0ms
(sqrt (- (* g g) (* h h)))
51.0ms
(sqrt (- (* g g) (* h h)))

simplify40.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0315619
11280588
25002581

prune443.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 36.0b

localize21.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
34.3b
(sqrt (- (* g g) (* h h)))
34.3b
(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 flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
8.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)))

series444.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0315621
11278588
25001581

prune453.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 36.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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)))
13.0ms
(sqrt (- (* g g) (* h h)))

series186.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
0105456
1265444
2693444
31746444
45001440

prune502.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 36.0b

regimes556.0ms

Accuracy

80.3% (0.6b remaining)

Error of 31.9b against oracle of 31.3b and baseline of 34.1b

bsearch163.0ms

Steps
ItersRangePoint
11
1.9768890383181146e-169
4.542022577868292e-150
4.794897658246635e-160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04766
15266
25266

end0.0ms

sample1.9s

Algorithm
intervals
Results
598.0ms3684×body320valid
452.0ms4168×body160valid
395.0ms7797×body80nan
8.0ms148×body80valid