Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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 4 expressions with local error:

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

rewrite30.0ms

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

series473.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (+ (* x x) (* y y)) (* z z))
26.0ms
(+ (* x x) (* y y))
47.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
360.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0325828
11345761
25001755

prune216.0ms

Filtered
90 candidates to 71 candidates (78.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85590
Fresh000
Picked011
Done000
Total85691

Merged error: 17.3b

Counts
91 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
0.3b
(* (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)))

rewrite51.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))
25.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)))

series491.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
157.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
94.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03912965
113182831
250022779

prune374.0ms

Filtered
168 candidates to 107 candidates (63.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh044
Picked011
Done011
Total1686174

Merged error: 17.3b

Counts
174 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series372.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ (* x x) (* y y)) (* z z))
25.0ms
(+ (* x x) (* y y))
212.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03301316
113381241
250021218

prune219.0ms

Filtered
114 candidates to 72 candidates (63.2%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1113114
Fresh033
Picked011
Done022
Total1119120

Merged error: 17.2b

Counts
120 → 9

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

series43.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
06984
124580
256978
389378
4200178
5500178

prune29.0ms

Filtered
25 candidates to 14 candidates (56.0%)
Pruning

14 alts after pruning (10 fresh and 4 done)

PrunedKeptTotal
New20525
Fresh055
Picked011
Done033
Total201434

Merged error: 17.2b

Counts
34 → 14

regimes616.0ms

Accuracy

59.8% (7.7b remaining)

Error of 26.5b against oracle of 18.7b and baseline of 38.0b

bsearch83.0ms

Steps
ItersRangePoint
8
7.229723146941434e+91
2.9700228257164774e+96
2.9062712775060466e+96
7
-6.462637321531449e+77
-6.27097063247273e+75
-6.101025057096901e+77
5
-1.9168517598752196e+108
-8.938152136690335e+107
-1.2854725201619988e+108

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03214
13814
23814

end0.0ms

sample548.0ms

Algorithm
intervals
Results
367.0ms8000×body80valid

Profiling

Loading profile data...