Details

Time bar (total: 3.4s)

sample24.0ms

Algorithm
intervals
Results
12.0ms389×body80valid

simplify289.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0166
1334
2564
3763
4883
51313
62363
73283
83433
94433
107973
1134993
1250013

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* z z) (* x y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 3 (* z z) (* x y))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(fma 3 (* z z) (* x y))

simplify53.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03359
17952
225652
3102552
4500152

prune35.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New11213
Fresh011
Picked011
Done000
Total11415

Merged error: 0.1b

Counts
15 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.0b
(+ (* x y) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
3 → 51
Calls
3 calls:
6.0ms
(+ (+ (* x y) (* z z)) (* z z))
4.0ms
(+ (* x y) (* z z))
9.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series127.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ (+ (* x y) (* z z)) (* z z))
37.0ms
(+ (* x y) (* z z))
46.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify135.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0235373
11084317
24667293
35001292

prune116.0ms

Filtered
60 candidates to 47 candidates (78.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New56460
Fresh112
Picked011
Done011
Total57764

Merged error: 0.0b

Counts
64 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (+ (* x y) (* z z)) (* z z))) (cbrt (+ (+ (* x y) (* z z)) (* z z))))
1.5b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
1.5b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
1.5b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
13.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z z))) (cbrt (+ (+ (* x y) (* z z)) (* z z))))
5.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
5.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

series555.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z z))) (cbrt (+ (+ (* x y) (* z z)) (* z z))))
129.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
133.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
132.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

simplify101.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
03131501
110451404
241691296
350011288

prune302.0ms

Filtered
107 candidates to 86 candidates (80.4%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh044
Picked011
Done022
Total1068114

Merged error: 0b

Counts
114 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) (* z z))
0.3b
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
1.1b
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
1.1b
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-+ flip-+
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
+-commutative fma-def sum-log fma-udef
Counts
4 → 60
Calls
4 calls:
4.0ms
(+ (* x y) (* z z))
1.0ms
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
5.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
5.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

series404.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* x y) (* z z))
168.0ms
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
97.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
101.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

simplify94.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0227611
1921525
23494517
35001508

prune166.0ms

Filtered
72 candidates to 61 candidates (84.7%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New72072
Fresh044
Picked011
Done033
Total72880

Merged error: 0b

Counts
80 → 8

regimes197.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample647.0ms

Algorithm
intervals
Results
389.0ms12183×body80valid