Details

Time bar (total: 4.7s)

sample19.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0167
1277
2337
3347
4347

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

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×sqrt-prod
11×add-log-exp
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u fma-def sum-log log1p-expm1-u
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 → 90
Calls
4 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
11.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series339.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (+ (* x x) (* y y)) (* z z))
37.0ms
(+ (* x x) (* y y))
59.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
198.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0345852
11445759
25001739

prune326.0ms

Filtered
102 candidates to 84 candidates (82.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New966102
Fresh000
Picked101
Done000
Total976103

Merged error: 20.1b

Counts
103 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x x (fma y y (* z z)))
0.0b
(fma y y (* z z))
0.1b
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
36.3b
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
associate-*r* associate-*l*
sqrt-pow1 pow-prod-down
distribute-rgt-in distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
4 → 55
Calls
4 calls:
1.0ms
(fma x x (fma y y (* z z)))
1.0ms
(fma y y (* z z))
4.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
3.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

series390.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(fma x x (fma y y (* z z)))
41.0ms
(fma y y (* z z))
77.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
219.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

simplify121.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0144330
1630286
23536286
35001286

prune168.0ms

Filtered
67 candidates to 47 candidates (70.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New67067
Fresh055
Picked011
Done000
Total67673

Merged error: 20.1b

Counts
73 → 6

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
152×sqrt-prod
124×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
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down div-inv
flip3-+ flip-+ hypot-def
frac-times sqrt-unprod associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 166
Calls
4 calls:
8.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
29.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series632.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
206.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
122.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
123.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify88.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04033047
113642901
250012851

prune517.0ms

Filtered
178 candidates to 118 candidates (66.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1780178
Fresh044
Picked011
Done011
Total1786184

Merged error: 20.1b

Counts
184 → 6

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

rewrite37.0ms

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

series482.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ (+ (* x x) (* y y)) (* z z))
41.0ms
(+ (* x x) (* y y))
271.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
125.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify60.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03481349
114261262
250021230

prune307.0ms

Filtered
127 candidates to 86 candidates (67.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1234127
Fresh033
Picked101
Done022
Total1249133

Merged error: 15.0b

Counts
133 → 9

regimes393.0ms

Accuracy

83.8% (2.4b remaining)

Error of 16.4b against oracle of 14.0b and baseline of 29.2b

bsearch92.0ms

Steps
ItersRangePoint
9
1.5417294436712868e+153
3.1879290791134477e+158
1.3321670395294099e+154
8
-7.510165108443872e+153
-5.683355409305291e+150
-7.374201052106234e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02712
12912
22912

end0.0ms

sample459.0ms

Algorithm
intervals
Results
279.0ms8000×body80valid

Profiling

Loading profile data...