Details

Time bar (total: 2.2s)

sample19.0ms

Algorithm
intervals
Results
9.0ms375×body80valid

simplify273.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

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

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

series37.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
17952
225652
3102552
4500152

prune35.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New10313
Fresh011
Picked011
Done000
Total10515

Merged error: 0.1b

Counts
15 → 5

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

series134.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ (+ (* x y) (* z z)) (* z z))
39.0ms
(+ (* x y) (* z z))
48.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify133.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0235373
11084317
24667293
35001292

prune123.0ms

Filtered
60 candidates to 47 candidates (78.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New55560
Fresh123
Picked101
Done101
Total58765

Merged error: 0.0b

Counts
65 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

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

series156.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0169289
1744258
23209235
35001230

prune112.0ms

Filtered
54 candidates to 44 candidates (81.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51354
Fresh426
Picked011
Done000
Total55661

Merged error: 0.0b

Counts
61 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x y (* 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-def fma-udef
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative associate-+l+ associate-+r+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 29
Calls
2 calls:
1.0ms
(fma x y (* z z))
3.0ms
(+ (fma x y (* z z)) (fma z z (* z z)))

series110.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
098174
1353161
21604157
35002154

prune72.0ms

Filtered
35 candidates to 29 candidates (82.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New31435
Fresh224
Picked011
Done101
Total34741

Merged error: 0b

Counts
41 → 7

regimes158.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
085
185

end0.0ms

sample594.0ms

Algorithm
intervals
Results
332.0ms12236×body80valid

Profiling

Loading profile data...