Details

Time bar (total: 2.5s)

sample24.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
35.0b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-log-exp
add-exp-log add-cbrt-cube
pow1
associate-/r* sum-log associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative associate-+l+ frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num
Counts
3 → 67
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series246.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (+ (* x x) (* y y)) (* z z))
52.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
159.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify115.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0259758
11001695
24255689
35001687

prune183.0ms

Filtered
76 candidates to 60 candidates (78.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New71576
Fresh000
Picked011
Done000
Total71677

Merged error: 19.0b

Counts
77 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.3b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
34.9b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×sqrt-prod
16×*-un-lft-identity associate-*r*
14×add-cube-cbrt
13×times-frac
sqrt-div
pow1 add-log-exp unswap-sqr
associate-*l*
add-exp-log add-cbrt-cube
flip3-+ flip-+
sqrt-pow1 pow1/2 pow-prod-down sum-log
frac-times associate-*l/
+-commutative rem-sqrt-square associate-+l+ sqrt-unprod associate-*r/ prod-exp *-commutative cbrt-unprod div-inv
Counts
3 → 77
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
14.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series305.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
170.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
98.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify41.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0288917
11133879
25002855

prune178.0ms

Filtered
86 candidates to 57 candidates (66.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done011
Total86692

Merged error: 19.0b

Counts
92 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
34.9b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
36×times-frac
33×add-sqr-sqrt
32×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 sqrt-div
flip3-+ sum-log flip-+
associate-/l/
cbrt-undiv +-commutative rem-sqrt-square associate-+l+ sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
3 → 91
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series353.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (+ (* x x) (* y y)) (* z z))
222.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02641246
19891175
246931148
350021148

prune179.0ms

Filtered
100 candidates to 61 candidates (61.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New973100
Fresh033
Picked011
Done022
Total979106

Merged error: 18.9b

Counts
106 → 9

localize4.0ms

Local error

Found 1 expressions with local error:

0.2b
(* x (sqrt 0.3333333333333333))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 add-exp-log associate-*l* add-cbrt-cube
unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
Counts
1 → 22
Calls
1 calls:
5.0ms
(* x (sqrt 0.3333333333333333))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(* x (sqrt 0.3333333333333333))

simplify57.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
06984
124580
256978
389378
4200178
5500178

prune33.0ms

Filtered
25 candidates to 14 candidates (56.0%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New22325
Fresh055
Picked011
Done033
Total221234

Merged error: 18.9b

Counts
34 → 12

regimes530.0ms

bsearch3.0ms

Profiling

Loading profile data...