Details

Time bar (total: 3.8s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify9.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: 37.5b

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

rewrite27.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))
7.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series283.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (+ (* x x) (* y y)) (* z z))
26.0ms
(+ (* x x) (* y y))
54.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
163.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0325828
11345761
25001755

prune209.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.7b

Counts
91 → 6

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

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

series389.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
27.0ms
(+ (* x x) (* y y))
226.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
101.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03301316
113381241
250021218

prune214.0ms

Filtered
114 candidates to 72 candidates (63.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1113114
Fresh044
Picked011
Done011
Total1119120

Merged error: 17.6b

Counts
120 → 9

localize13.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)))
34.7b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
34.7b
(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:
6.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
28.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)))

series566.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
173.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
129.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
101.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify76.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03912965
113182831
250022779

prune384.0ms

Filtered
168 candidates to 107 candidates (63.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh066
Picked011
Done022
Total1689177

Merged error: 17.6b

Counts
177 → 9

localize3.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ x (sqrt 3.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
18×times-frac
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
pow1 cbrt-undiv frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
4.0ms
(/ x (sqrt 3.0))

series58.0ms

Counts
1 → 3
Calls
1 calls:
58.0ms
(/ x (sqrt 3.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 4 (62.0ms)

IterNodesCost
0103217
1273207
2729197
32027197
45001196

prune79.0ms

Filtered
42 candidates to 26 candidates (61.9%)
Pruning

14 alts after pruning (10 fresh and 4 done)

PrunedKeptTotal
New37542
Fresh055
Picked011
Done033
Total371451

Merged error: 17.6b

Counts
51 → 14

regimes587.0ms

Accuracy

59.8% (7.9b remaining)

Error of 26.0b against oracle of 18.1b and baseline of 37.7b

bsearch59.0ms

Steps
ItersRangePoint
6
2.390542461147901e+54
2.846385956021453e+55
2.77740556946109e+55
7
-1.828653022535258e+141
-5.585246432126806e+139
-3.1752233132483007e+140

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02612
12712
22712

end0.0ms

sample532.0ms

Algorithm
intervals
Results
360.0ms8000×body80valid