Details

Time bar (total: 4.5s)

sample17.0ms

Algorithm
intervals
Results
8.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: 40.2b

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)
37.3b
(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))

simplify125.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0259758
11001695
24269689
35002687

prune191.0ms

Filtered
76 candidates to 60 candidates (78.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New70676
Fresh000
Picked011
Done000
Total70777

Merged error: 17.3b

Counts
77 → 7

localize13.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)))
37.3b
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

rewrite23.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)))
7.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

series281.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (+ (* x x) (* y y)) (* z z))
49.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
190.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

simplify40.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0244469
11256426
25002424

prune113.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh055
Picked011
Done011
Total57764

Merged error: 17.3b

Counts
64 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
0.4b
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
37.3b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
37.3b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
152×sqrt-prod
122×add-sqr-sqrt
84×times-frac
55×*-un-lft-identity
47×add-cube-cbrt
25×associate-*r* associate-*l*
24×unswap-sqr
11×pow1
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square sqrt-pow1 pow1/2
add-log-exp
pow-prod-down div-inv
flip3-+ flip-+
frac-times sqrt-unprod associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 156
Calls
4 calls:
7.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
26.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series514.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
166.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
103.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
98.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify68.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03912965
113182831
250022779

prune395.0ms

Filtered
168 candidates to 108 candidates (64.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh044
Picked011
Done022
Total1687175

Merged error: 17.3b

Counts
175 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
0.4b
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
38.4b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
38.4b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
90×cbrt-prod
72×times-frac
62×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×associate-/r* associate-/l*
add-exp-log cbrt-div
pow1 flip3-+ add-cbrt-cube flip-+ associate-/l/ add-log-exp
cbrt-undiv frac-2neg pow1/3 div-exp clear-num div-inv
Counts
4 → 150
Calls
4 calls:
9.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
9.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

series650.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
223.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
109.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
104.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

simplify79.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
02952354
110942290
250012276

prune628.0ms

Filtered
162 candidates to 148 candidates (91.4%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1620162
Fresh033
Picked011
Done033
Total1627169

Merged error: 17.3b

Counts
169 → 7

regimes467.0ms

Accuracy

54.1% (9.0b remaining)

Error of 26.9b against oracle of 17.9b and baseline of 37.5b

bsearch110.0ms

Steps
ItersRangePoint
9
3.49360888869625e+131
3.351355619502645e+138
4.9296672245653324e+135
7
-5.530494810296786e-229
-3.8841983415636587e-231
-4.6992675325234154e-229
6
-2.612645209590514e-104
-5.091613400763011e-105
-5.1573652837714696e-105
4
-2.515916130415698e+129
-1.8012913134826672e+129
-2.0469435943033968e+129

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
14121
24121

end0.0ms

sample429.0ms

Algorithm
intervals
Results
264.0ms8000×body80valid