Details

Time bar (total: 3.4s)

sample31.0ms

Algorithm
intervals
Results
8.0ms327×body80valid
7.0ms292×body80nan

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2395
3715
41675
52985
65455
721425
850015

prune2.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: 24.9b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (* y y) (* z z))
24.5b
(sqrt (- (* y y) (* z z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (* y y) (* z z))
4.0ms
(sqrt (- (* y y) (* z z)))

series84.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(- (* y y) (* z z))
48.0ms
(sqrt (- (* y y) (* z z)))

simplify55.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0135210
1482197
21632194
35001189

prune88.0ms

Filtered
41 candidates to 33 candidates (80.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked011
Done000
Total38442

Merged error: 0.0b

Counts
42 → 4

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune4.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.0b

Counts
4 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ y z))
0.0b
(sqrt (- y z))
0.3b
(* (sqrt (+ y z)) (sqrt (- y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×sqrt-prod
17×*-un-lft-identity
16×sqrt-div
pow1 add-cube-cbrt
associate-*r*
associate-*l*
add-exp-log add-cbrt-cube
frac-times flip3-- sqrt-pow1 flip3-+ pow1/2 flip-- flip-+ unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
rem-sqrt-square associate-*r/ associate-*l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
3 → 81
Calls
3 calls:
3.0ms
(sqrt (+ y z))
5.0ms
(sqrt (- y z))
10.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series191.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(sqrt (+ y z))
73.0ms
(sqrt (- y z))
79.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify116.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0252538
1790513
23117498
35003495

prune272.0ms

Filtered
90 candidates to 65 candidates (72.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New89190
Fresh011
Picked101
Done022
Total90494

Merged error: 0.0b

Counts
94 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ y z)) (cbrt (+ y z)))
0.6b
(cbrt (+ y z))
0.6b
(cbrt (+ y z))
0.6b
(cbrt (+ y z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
10.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))

series589.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
137.0ms
(cbrt (+ y z))
136.0ms
(cbrt (+ y z))
139.0ms
(cbrt (+ y z))

simplify162.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0256701
1932660
24373610
35001606

prune335.0ms

Filtered
115 candidates to 83 candidates (72.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done022
Total1154119

Merged error: 0.0b

Counts
119 → 4

regimes280.0ms

Accuracy

97.4% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 24.1b

bsearch132.0ms

Steps
ItersRangePoint
9
-2.3519481936951125e-259
-4.504056173824632e-266
-4.57176323671008e-266

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0133
1143
2173
3173

end0.0ms

sample900.0ms

Algorithm
intervals
Results
266.0ms10035×body80valid
243.0ms10080×body80nan