Details

Time bar (total: 1.6s)

sample52.0ms

Algorithm
intervals
Results
11.0ms323×body80valid
11.0ms314×body80nan

simplify78.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: 25.0b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.0b
(- (* y y) (* z z))
24.5b
(sqrt (- (* y y) (* z z)))

rewrite15.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:
7.0ms
(* x (sqrt (- (* y y) (* z z))))
4.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))

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

simplify76.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0188364
1742340
23019337
35001337

prune78.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New58563
Fresh000
Picked101
Done000
Total59564

Merged error: 0.0b

Counts
64 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (sqrt (* (+ y z) (- y z))))
24.5b
(sqrt (* (+ y z) (- y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-div
12×associate-*r/
frac-times
pow1
add-sqr-sqrt flip3-- flip3-+ flip-- flip-+
add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l/ add-cbrt-cube
associate-*l*
sqrt-pow1 pow-prod-down sqrt-prod add-log-exp
pow1/2 prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
10.0ms
(* x (sqrt (* (+ y z) (- y z))))
6.0ms
(sqrt (* (+ y z) (- y z)))

series25.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(* x (sqrt (* (+ y z) (- y z))))
8.0ms
(sqrt (* (+ y z) (- y z)))

simplify82.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0204344
1891331
23716329
35001329

prune68.0ms

Filtered
41 candidates to 52 candidates (-26.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New51152
Fresh044
Picked101
Done000
Total52557

Merged error: 0.0b

Counts
57 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
0.3b
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
24.5b
(sqrt (* (+ y z) (- y z)))
24.5b
(sqrt (* (+ y z) (- y z)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
320×sqrt-div
148×frac-times
130×associate-*r/
63×flip3-- flip3-+ flip-- flip-+
50×associate-*l/
17×pow1
14×associate-*r*
13×add-sqr-sqrt sqrt-prod
11×add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow-prod-down
sqrt-pow1 associate-*l* prod-exp cbrt-unprod add-log-exp
pow1/2 *-commutative unswap-sqr
Counts
4 → 171
Calls
4 calls:
12.0ms
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
23.0ms
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
8.0ms
(sqrt (* (+ y z) (- y z)))
7.0ms
(sqrt (* (+ y z) (- y z)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
21.0ms
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
8.0ms
(sqrt (* (+ y z) (- y z)))
8.0ms
(sqrt (* (+ y z) (- y z)))

simplify77.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07563145
127992971
250012967

prune209.0ms

Filtered
126 candidates to 183 candidates (-45.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1830183
Fresh044
Picked011
Done000
Total1835188

Merged error: 0.0b

Counts
188 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (* y y) (* z z))
2.0b
(- (* y y) (* z z))
25.3b
(cbrt (- (* y y) (* z z)))
25.3b
(cbrt (- (* y y) (* z z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div flip3-- add-cbrt-cube flip-- difference-of-squares
sub-neg pow1/3 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* y y) (* z z))
4.0ms
(- (* y y) (* z z))
3.0ms
(cbrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* y y) (* z z))
5.0ms
(- (* y y) (* z z))
23.0ms
(cbrt (- (* y y) (* z z)))
21.0ms
(cbrt (- (* y y) (* z z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0179454
1584414
21910402
35002386

prune78.0ms

Filtered
52 candidates to 66 candidates (-26.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh033
Picked011
Done011
Total66571

Merged error: 0.0b

Counts
71 → 5

regimes416.0ms

bsearch33.0ms

Profiling

Loading profile data...