Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify6.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.9b

Counts
2 → 1

localize12.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.2b
(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))

series260.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (+ (* x x) (* y y)) (* z z))
49.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
168.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify121.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0259759
11001695
24255689
35001687

prune190.0ms

Filtered
76 candidates to 60 candidates (78.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New71576
Fresh000
Picked101
Done000
Total72577

Merged error: 18.4b

Counts
77 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.1b
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
35.2b
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-log-exp
add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r/
flip3-+ associate-*r* associate-*l* sum-log flip-+
sqrt-pow1 sqrt-div pow-prod-down
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
3 → 48
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
8.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
6.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

series262.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
56.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
169.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

simplify37.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0244469
11256426
25002424

prune110.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh044
Picked011
Done000
Total57562

Merged error: 18.4b

Counts
62 → 5

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))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

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

series365.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02641246
19891175
246931148
350021148

prune185.0ms

Filtered
100 candidates to 62 candidates (62.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New973100
Fresh033
Picked011
Done011
Total978105

Merged error: 18.3b

Counts
105 → 8

localize7.0ms

Local error

Found 1 expressions with local error:

0.2b
(* x (sqrt 0.3333333333333333))

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

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.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

prune32.0ms

Filtered
25 candidates to 14 candidates (56.0%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New20525
Fresh055
Picked011
Done022
Total201333

Merged error: 18.3b

Counts
33 → 13

regimes459.0ms

bsearch2.0ms

Profiling

Loading profile data...