Details

Time bar (total: 1.4s)

analyze327.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%81.1%18.9%7
6.2%74.9%18.9%8
9.4%65.5%25.1%9
15.6%48.4%36%10
20.3%43.1%36.6%11
22.6%36%41.4%12
27.1%25.1%47.8%13
29.5%22.5%48%14

sample22.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
2.0ms69×body80nan
1.0ms28×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02010
12010

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.6b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.8b
(- (* y y) (* z z))
27.1b
(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 → 53
Calls
3 calls:
7.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))

series31.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* x (sqrt (- (* y y) (* z z))))
6.0ms
(- (* y y) (* z z))
8.0ms
(sqrt (- (* y y) (* z z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04944609
14944609

prune77.0ms

Filtered
49 candidates to 62 candidates (-26.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New58462
Fresh000
Picked101
Done000
Total59463

Merged error: 0.3b

Counts
63 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* y y) (* z z))
2.8b
(- (* y y) (* z z))
27.1b
(sqrt (- (* y y) (* z z)))
27.1b
(sqrt (- (* y y) (* z z)))

rewrite17.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
4 → 56
Calls
4 calls:
5.0ms
(- (* y y) (* z z))
3.0ms
(- (* y y) (* z z))
4.0ms
(sqrt (- (* y y) (* z z)))
4.0ms
(sqrt (- (* y y) (* z z)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* y y) (* z z))
9.0ms
(- (* y y) (* z z))
11.0ms
(sqrt (- (* y y) (* z z)))
12.0ms
(sqrt (- (* y y) (* z z)))

simplify40.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05467632

prune145.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh033
Picked011
Done000
Total68472

Merged error: 0.3b

Counts
72 → 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.3b

Counts
4 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series51.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050291223

prune94.0ms

Filtered
83 candidates to 112 candidates (-34.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done022
Total1124116

Merged error: 0.3b

Counts
116 → 4

regimes400.0ms

bsearch38.0ms

Profiling

Loading profile data...