Details

Time bar (total: 7.0s)

sample67.0ms

Algorithm
intervals
Results
20.0ms119×body320valid
15.0ms131×body160valid
13.0ms235×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: 39.5b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

6.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
33.1b
(sqrt (- (* g g) (* h h)))
33.1b
(sqrt (- (* g g) (* h h)))

rewrite35.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:
13.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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series712.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0385766
11380724
25002718

prune400.0ms

Filtered
72 candidates to 64 candidates (88.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New561672
Fresh000
Picked101
Done000
Total571673

Merged error: 35.5b

Counts
73 → 16

localize21.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
33.1b
(sqrt (- (* g g) (* h h)))
33.1b
(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:
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)))

series437.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0319569
11259537
25001533

prune389.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh01515
Picked101
Done000
Total681987

Merged error: 35.2b

Counts
87 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
6.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
33.1b
(sqrt (- (* g g) (* h h)))
33.1b
(sqrt (- (* g g) (* h h)))

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

series432.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0297571
11186537
25001533

prune383.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh21618
Picked101
Done000
Total702090

Merged error: 35.1b

Counts
90 → 20

localize20.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
6.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
33.1b
(sqrt (- (* g g) (* h h)))
33.1b
(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 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))
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)))

series431.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0297569
11188537
25001533

prune296.0ms

Filtered
71 candidates to 59 candidates (83.1%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New69271
Fresh11819
Picked011
Done000
Total702191

Merged error: 35.1b

Counts
91 → 21

regimes841.0ms

Accuracy

80.4% (0.6b remaining)

Error of 31.6b against oracle of 31.0b and baseline of 34.1b

bsearch145.0ms

Steps
ItersRangePoint
10
6.109311916733246e-173
8.914944879812647e-158
3.0510516904751528e-158

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04141
14641
24641

end0.0ms

sample2.0s

Algorithm
intervals
Results
656.0ms3772×body320valid
476.0ms4078×body160valid
444.0ms7822×body80nan
9.0ms150×body80valid