Details

Time bar (total: 1.7s)

analyze446.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
12.5%87.4%0.1%7
18.7%81.1%0.1%8
28.1%71.8%0.1%9
42.1%57.7%0.1%10
49.1%50.7%0.1%11
57.3%42.5%0.1%12
66.9%33%0.1%13
71.7%28.2%0.1%14

sample18.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01912
11912

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 37.8b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
35.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 39
Calls
3 calls:
10.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series33.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(+ (+ (* x x) (* y y)) (* z z))
5.0ms
(+ (* x x) (* y y))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify60.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04933605
14933605

prune294.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44448
Fresh000
Picked011
Done000
Total44549

Merged error: 19.2b

Counts
49 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* y y) (* z z)))
0.4b
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))))
35.1b
(sqrt (+ (* x x) (+ (* y y) (* z z))))
35.1b
(sqrt (+ (* x x) (+ (* y y) (* z z))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ add-log-exp unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times
sum-log
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+r+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 126
Calls
4 calls:
11.0ms
(+ (* x x) (+ (* y y) (* z z)))
23.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))))
6.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
6.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

series67.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x x) (+ (* y y) (* z z)))
19.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))))
18.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
20.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

simplify46.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
053342184

prune162.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1371138
Fresh033
Picked101
Done011
Total1385143

Merged error: 19.2b

Counts
143 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (* (fabs (cbrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (cbrt (+ (* x x) (+ (* y y) (* z z))))))))
35.1b
(sqrt (+ (* x x) (+ (* y y) (* z z))))
36.2b
(cbrt (+ (* x x) (+ (* y y) (* z z))))
36.2b
(cbrt (+ (* x x) (+ (* y y) (* z z))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×sqrt-div
18×add-sqr-sqrt
16×sqrt-prod
12×pow1
11×add-cube-cbrt *-un-lft-identity
10×cbrt-div
flip3-+ associate-*l* flip-+
associate-*r/
add-exp-log cbrt-prod add-cbrt-cube
sqrt-pow1 pow-prod-down
frac-times associate-*r* add-log-exp
pow1/2 unswap-sqr
pow1/3 associate-*l/
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 80
Calls
4 calls:
21.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (* (fabs (cbrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (cbrt (+ (* x x) (+ (* y y) (* z z))))))))
6.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
6.0ms
(cbrt (+ (* x x) (+ (* y y) (* z z))))
6.0ms
(cbrt (+ (* x x) (+ (* y y) (* z z))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (* (fabs (cbrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (cbrt (+ (* x x) (+ (* y y) (* z z))))))))
31.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
55.0ms
(cbrt (+ (* x x) (+ (* y y) (* z z))))
34.0ms
(cbrt (+ (* x x) (+ (* y y) (* z z))))

simplify60.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050692840

prune139.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh033
Picked011
Done011
Total92597

Merged error: 19.2b

Counts
97 → 5

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

Profiling

Loading profile data...