Details

Time bar (total: 7.3s)

sample82.0ms

Algorithm
intervals
Results
24.0ms118×body320valid
21.0ms132×body160valid
18.0ms255×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

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.2b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

8.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(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))))))
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)))

series716.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0385766
11380724
25002718

prune408.0ms

Filtered
72 candidates to 64 candidates (88.9%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New531972
Fresh000
Picked101
Done000
Total541973

Merged error: 31.7b

Counts
73 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* g g) (* h h))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

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

series451.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
327.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)))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0319569
11259537
25001533

prune368.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh31518
Picked101
Done000
Total711990

Merged error: 31.0b

Counts
90 → 19

localize20.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* g g) (* h h))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

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

series450.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0319569
11259537
25001533

prune379.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh11718
Picked101
Done000
Total711990

Merged error: 31.0b

Counts
90 → 19

localize20.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* g g) (* h h))
8.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))

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

series449.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0297569
11188537
25001533

prune302.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh11718
Picked101
Done000
Total692190

Merged error: 31.0b

Counts
90 → 21

regimes729.0ms

Accuracy

76.7% (0.7b remaining)

Error of 31.9b against oracle of 31.2b and baseline of 34.3b

bsearch191.0ms

Steps
ItersRangePoint
10
-1.8776653634608852e-174
-1.9208145290675457e-188
-1.854705148451694e-174

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03740
13740

end0.0ms

sample2.3s

Algorithm
intervals
Results
767.0ms3675×body320valid
580.0ms4155×body160valid
561.0ms8168×body80nan
12.0ms170×body80valid