Details

Time bar (total: 6.7s)

sample64.0ms

Algorithm
intervals
Results
18.0ms142×body160valid
17.0ms107×body320valid
11.0ms220×body80nan
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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.2b

localize17.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
30.5b
(sqrt (- (* g g) (* h h)))
30.5b
(sqrt (- (* g g) (* h h)))

rewrite45.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:
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
17.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)))

series696.0ms

Counts
4 → 12
Calls
4 calls:
305.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
299.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
47.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0385766
11380724
25001718

prune421.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 32.4b

localize19.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
30.5b
(sqrt (- (* g g) (* h h)))
30.5b
(sqrt (- (* g g) (* h h)))

rewrite29.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 sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
17.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)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
313.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
45.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0319571
11259537
25001533

prune432.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 31.4b

localize19.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
3.2b
(- (* g g) (* h h))
30.5b
(sqrt (- (* g g) (* h h)))
30.5b
(sqrt (- (* g g) (* h h)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
6.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series153.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
49.0ms
(sqrt (- (* g g) (* h h)))
44.0ms
(sqrt (- (* g g) (* h h)))

simplify46.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0122378
1432350
21459350
35001348

prune413.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 31.4b

localize20.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
30.5b
(sqrt (- (* g g) (* h h)))
30.5b
(sqrt (- (* g g) (* h h)))

rewrite31.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 sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
17.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
307.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
48.0ms
(sqrt (- (* g g) (* h h)))
44.0ms
(sqrt (- (* g g) (* h h)))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0319569
11259537
25001533

prune345.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 31.4b

regimes873.0ms

Accuracy

79.9% (0.7b remaining)

Error of 31.2b against oracle of 30.6b and baseline of 33.8b

bsearch167.0ms

Steps
ItersRangePoint
11
-1.4904908883303736e-142
-1.7489859246744223e-163
-2.1051833990743657e-158

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04448
14448

end0.0ms

sample1.8s

Algorithm
intervals
Results
603.0ms3778×body320valid
436.0ms4082×body160valid
400.0ms8055×body80nan
8.0ms140×body80valid