Details

Time bar (total: 3.8s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune3.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: 38.9b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

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

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

series253.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0259758
11001695
24269689
35002687

prune180.0ms

Filtered
76 candidates to 60 candidates (78.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New70676
Fresh000
Picked101
Done000
Total71677

Merged error: 19.3b

Counts
77 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.3b
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
35.9b
(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))
7.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
6.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

series250.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
52.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
163.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

prune141.0ms

Filtered
57 candidates to 39 candidates (68.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh055
Picked011
Done000
Total57663

Merged error: 19.3b

Counts
63 → 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))
36.0b
(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)))

series353.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ (+ (* x x) (* y y)) (* z z))
215.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify113.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02641246
19891175
247071148
350021148

prune184.0ms

Filtered
100 candidates to 62 candidates (62.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New964100
Fresh044
Picked011
Done011
Total9610106

Merged error: 19.2b

Counts
106 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
0.3b
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
37.2b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
37.2b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
36×add-cube-cbrt *-un-lft-identity
28×cbrt-prod
25×associate-*r* sqrt-prod
add-exp-log
add-cbrt-cube
pow1 cbrt-div associate-/l*
add-log-exp unswap-sqr
flip3-+ associate-*l* associate-/r* flip-+
pow1/3 div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-div associate-*r/ div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod
Counts
4 → 111
Calls
4 calls:
7.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
12.0ms
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

series540.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
209.0ms
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
107.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
105.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04651855
117781748
250021729

prune379.0ms

Filtered
123 candidates to 109 candidates (88.6%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1221123
Fresh167
Picked011
Done022
Total12310133

Merged error: 19.2b

Counts
133 → 10

regimes436.0ms

Accuracy

64.5% (7.0b remaining)

Error of 25.3b against oracle of 18.3b and baseline of 38.0b

bsearch95.0ms

Steps
ItersRangePoint
10
8.565423343579683e+117
8.152131796852354e+127
6.706873256878666e+122
11
-1.4185660712987705e+171
-7.633398144368219e+146
-9.469007215145339e+149

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02913
13113
23113

end0.0ms

sample511.0ms

Algorithm
intervals
Results
346.0ms8000×body80valid