Details

Time bar (total: 7.7s)

sample89.0ms

Algorithm
intervals
Results
24.0ms307×body80nan
24.0ms114×body320valid
20.0ms140×body160valid
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

prune3.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: 36.8b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(sqrt (- (* g g) (* h h)))

rewrite38.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:
15.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)))
5.0ms
(sqrt (- (* g g) (* h h)))

series718.0ms

Counts
4 → 12
Calls
4 calls:
318.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
306.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
49.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))

simplify54.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0403824
11484782
25001775

prune446.0ms

Filtered
80 candidates to 73 candidates (91.3%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New621880
Fresh000
Picked101
Done000
Total631881

Merged error: 31.0b

Counts
81 → 18

localize24.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (* g g) (* h h))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(sqrt (- (* g g) (* h h)))

rewrite27.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:
4.0ms
(- (* 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)))

series439.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0315621
11278588
25001581

prune427.0ms

Filtered
81 candidates to 69 candidates (85.2%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New75681
Fresh11617
Picked101
Done000
Total772299

Merged error: 30.4b

Counts
99 → 22

localize20.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (* g g) (* h h))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(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 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:
4.0ms
(- (* g g) (* h h))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series439.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0315619
11280588
25002581

prune442.0ms

Filtered
81 candidates to 69 candidates (85.2%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh21921
Picked101
Done000
Total8122103

Merged error: 30.4b

Counts
103 → 22

localize20.0ms

Local error

Found 4 expressions with local error:

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

series449.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0337619
11359588
25001580

prune346.0ms

Filtered
81 candidates to 70 candidates (86.4%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New79281
Fresh21921
Picked101
Done000
Total8221103

Merged error: 30.4b

Counts
103 → 21

regimes890.0ms

Accuracy

78.8% (0.7b remaining)

Error of 31.1b against oracle of 30.4b and baseline of 33.5b

bsearch214.0ms

Steps
ItersRangePoint
12
3.0576626726219996e-203
1.338347020619449e-155
2.353375866047627e-160

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04948
15448
25848
36148
46148

end0.0ms

sample2.3s

Algorithm
intervals
Results
783.0ms3714×body320valid
579.0ms4153×body160valid
572.0ms8065×body80nan
10.0ms133×body80valid