Details

Time bar (total: 1.4s)

analyze353.0ms

Algorithm
search

sample22.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
2.0ms53×body80nan
1.0ms29×body80invalid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
850015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.9b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
1.4b
(- (* y y) (* z z))
23.9b
(sqrt (- (* y y) (* z z)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity associate-*r*
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div
flip3-- associate-*l* flip-- difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 54
Calls
3 calls:
6.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))

series29.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(* x (sqrt (- (* y y) (* z z))))
5.0ms
(- (* y y) (* z z))
7.0ms
(sqrt (- (* y y) (* z z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0188364
1742340
23019337
35001337

prune68.0ms

Filtered
46 candidates to 63 candidates (-37.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60363
Fresh000
Picked011
Done000
Total60464

Merged error: 0b

Counts
64 → 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

prune6.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0b

Counts
4 → 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

prune3.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 0b

Counts
4 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ y z))
0.0b
(sqrt (- y z))
0.1b
(* x (sqrt (+ y z)))
0.2b
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
18×sqrt-div
15×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
3.0ms
(sqrt (+ y z))
3.0ms
(sqrt (- y z))
6.0ms
(* x (sqrt (+ y z)))
11.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ y z))
9.0ms
(sqrt (- y z))
12.0ms
(* x (sqrt (+ y z)))
21.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0413619
11771590
25002576

prune84.0ms

Filtered
71 candidates to 101 candidates (-42.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1010101
Fresh000
Picked011
Done033
Total1014105

Merged error: 0b

Counts
105 → 4

regimes502.0ms

bsearch41.0ms

Profiling

Loading profile data...