Details

Time bar (total: 1.1s)

sample50.0ms

Algorithm
intervals
Results
13.0ms395×body80nan
11.0ms326×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
850015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (* y y) (* z z))
24.8b
(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)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- (* y y) (* z z))
7.0ms
(sqrt (- (* y y) (* z z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0123189
1439175
21491175
35003174

prune48.0ms

Filtered
27 candidates to 35 candidates (-29.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32335
Fresh000
Picked011
Done000
Total32436

Merged error: 0.1b

Counts
36 → 4

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune6.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.1b

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

rewrite18.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))
10.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series26.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(sqrt (+ y z))
9.0ms
(sqrt (- y z))
12.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0261511
1896503
23742493
35001493

prune71.0ms

Filtered
58 candidates to 83 candidates (-43.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New83083
Fresh011
Picked011
Done022
Total83487

Merged error: 0.1b

Counts
87 → 4

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044

Merged error: 0.1b

Counts
4 → 4

regimes558.0ms

bsearch11.0ms

Profiling

Loading profile data...