Details

Time bar (total: 2.6s)

sample21.0ms

Algorithm
intervals
Results
10.0ms395×body80valid

simplify280.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

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

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite18.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))
3.0ms
(+ (* x y) (* z z))
8.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series129.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0235373
11084317
24667293
35001292

prune137.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

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

series151.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x y) (* z z))
56.0ms
(fma z z (* z z))
60.0ms
(+ (+ (* x y) (* z z)) (fma z z (* z z)))

simplify92.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0192271
1771246
23210236
35001230

prune140.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-udef
pow1 add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
+-commutative associate-+l+ associate-+r+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 39
Calls
3 calls:
1.0ms
(fma x y (* z z))
1.0ms
(fma z z (* z z))
3.0ms
(+ (fma x y (* z z)) (fma z z (* z z)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(fma x y (* z z))
51.0ms
(fma z z (* z z))
65.0ms
(+ (fma x y (* z z)) (fma z z (* z z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0106212
1372195
21817191
35001188

prune327.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
2 → 27
Calls
2 calls:
1.0ms
(fma x y (* z z))
3.0ms
(+ (fma z z (fma x y (* z z))) (* z z))

series106.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(fma x y (* z z))
64.0ms
(+ (fma z z (fma x y (* z z))) (* z z))

simplify54.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0109171
1441152
21732147
35001138

prune77.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes123.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085
185

end0.0ms

sample570.0ms

Algorithm
intervals
Results
319.0ms12223×body80valid