Details

Time bar (total: 3.8s)

sample17.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0167
1277
2337
3347
4347

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: 36.7b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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:
4.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
11.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series273.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* x x) (* y y))
35.0ms
(+ (+ (* x x) (* y y)) (* z z))
47.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
161.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0345852
11445759
25001739

prune256.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: 16.5b

Counts
103 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.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:
1.0ms
(fma y y (* z z))
7.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
3.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

series281.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(fma y y (* z z))
56.0ms
(* 0.3333333333333333 (fma x x (fma y y (* z z))))
188.0ms
(sqrt (* 0.3333333333333333 (fma x x (fma y y (* z z)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0137272
1541235
22831235
35001235

prune105.0ms

Filtered
54 candidates to 37 candidates (68.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New54054
Fresh055
Picked011
Done000
Total54660

Merged error: 16.5b

Counts
60 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
4.0ms
(+ (* x x) (* y y))
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)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x x) (* y y))
35.0ms
(+ (+ (* x x) (* y y)) (* z z))
233.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
97.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03481348
114261262
250021230

prune265.0ms

Filtered
127 candidates to 86 candidates (67.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1234127
Fresh044
Picked101
Done011
Total1249133

Merged error: 11.1b

Counts
133 → 9

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×times-frac
15×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
flip3-+ sqrt-div flip-+
cbrt-undiv +-commutative rem-sqrt-square sqrt-undiv hypot-udef fma-def frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 74
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
4.0ms
(/ (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt 3.0))
4.0ms
(sqrt (+ (* x x) (* y y)))

series343.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* x x) (* y y))
284.0ms
(/ (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt 3.0))
34.0ms
(sqrt (+ (* x x) (* y y)))

simplify82.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0249728
1912678
23040660
35002659

prune189.0ms

Filtered
83 candidates to 62 candidates (74.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New79483
Fresh437
Picked101
Done101
Total85792

Merged error: 0.1b

Counts
92 → 7

regimes841.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084

end0.0ms

sample428.0ms

Algorithm
intervals
Results
268.0ms8000×body80valid