Details

Time bar (total: 3.2s)

sample34.0ms

Algorithm
intervals
Results
10.0ms327×body80valid
7.0ms292×body80nan

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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
2 → 29
Calls
2 calls:
3.0ms
(- (* y y) (* z z))
4.0ms
(sqrt (- (* y y) (* z z)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(- (* y y) (* z z))
44.0ms
(sqrt (- (* y y) (* z z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0122189
1432175
21459175
35001174

prune71.0ms

Filtered
35 candidates to 27 candidates (77.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32335
Fresh000
Picked011
Done000
Total32436

Merged error: 0.0b

Counts
36 → 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)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
23×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
pow-prod-down 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
Counts
3 → 74
Calls
3 calls:
3.0ms
(sqrt (+ y z))
3.0ms
(sqrt (- y z))
11.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series176.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(sqrt (+ y z))
69.0ms
(sqrt (- y z))
71.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify75.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0236514
1742490
22902475
35002475

prune173.0ms

Filtered
83 candidates to 58 candidates (69.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh011
Picked101
Done022
Total83487

Merged error: 0.0b

Counts
87 → 4

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

rewrite24.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
frac-times add-cbrt-cube 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 → 95
Calls
4 calls:
11.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))

series567.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
133.0ms
(cbrt (+ y z))
130.0ms
(cbrt (+ y z))
133.0ms
(cbrt (+ y z))

simplify148.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0247671
1887634
24204580
35002576

prune298.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done022
Total1074111

Merged error: 0.0b

Counts
111 → 4

regimes275.0ms

Accuracy

97.4% (0.6b remaining)

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

bsearch134.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

sample926.0ms

Algorithm
intervals
Results
263.0ms10035×body80valid
253.0ms10080×body80nan