Details

Time bar (total: 3.6s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0167
1277
2337
3347
4347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.8b

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

rewrite61.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:
13.0ms
(+ (+ (* x x) (* y y)) (* z z))
3.0ms
(+ (* x x) (* y y))
29.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
14.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series276.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ (* x x) (* y y)) (* z z))
26.0ms
(+ (* x x) (* y y))
50.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
162.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0345852
11445759
25001739

prune284.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 20.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.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 associate-*r* associate-*l* fma-udef log1p-expm1-u add-log-exp
sqrt-pow1 pow-prod-down
distribute-rgt-in distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
3 → 45
Calls
3 calls:
0.0ms
(fma x x (fma y y (* z z)))
3.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
2.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

series273.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(fma x x (fma y y (* z z)))
59.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
170.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0134287
1587252
23406252
35001252

prune125.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 20.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
49×sqrt-prod
38×add-sqr-sqrt
36×times-frac
34×add-cube-cbrt *-un-lft-identity
14×pow1
sqrt-div
sqrt-pow1
add-exp-log associate-/r* add-cbrt-cube associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square flip3-+ pow1/2 flip-+
hypot-def associate-/l/
cbrt-undiv pow2 frac-times sqrt-undiv frac-2neg pow-plus associate-*r/ div-exp pow-prod-down associate-*l/ clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 122
Calls
4 calls:
22.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
24.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

series646.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
100.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
223.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

simplify95.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02481565
17621485
237731460
350011460

prune356.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 19.9b

localize3.0ms

Local error

Found 1 expressions with local error:

0.2b
(* z (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
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 24
Calls
1 calls:
4.0ms
(* z (sqrt 0.3333333333333333))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(* z (sqrt 0.3333333333333333))

simplify63.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
07190
124786
257184
389584
4201284
5500184

prune39.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 19.9b

regimes532.0ms

Accuracy

63.4% (7.3b remaining)

Error of 26.1b against oracle of 18.8b and baseline of 38.7b

bsearch53.0ms

Steps
ItersRangePoint
7
4.73660966086644e+91
7.768534714652602e+93
7.64779790955309e+93
5
-7.559873105150134e+130
-2.0682090464450607e+130
-6.922405922294158e+130

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample434.0ms

Algorithm
intervals
Results
269.0ms8000×body80valid