Details

Time bar (total: 4.8s)

analyze658.0ms (13.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
37.4%62.4%0.1%8
40.6%56.9%2.5%9
45.2%50.7%4%10
57.7%33.5%8.7%11
59.7%29.4%11%12
62%25%13%13
68.3%17.4%14.4%14
Compiler

Compiled 17 to 12 computations (29.4% saved)

sample2.2s (47%)

Symmetry

(sort d2 d3)

Results
2.0s8209×body128valid
131.0ms721×body128invalid
11.0ms26×body512valid
5.0msbody1024valid
4.0ms12×body256valid
Compiler

Compiled 50 to 35 computations (30% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Rules
114×fma-def_binary64
61×associate-+l+_binary64
40×associate-+r+_binary64
34×distribute-lft-out_binary64
33×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01217
12114
25010
312510
421610
523710
624910
723510

prune8.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
0.0b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Compiler

Compiled 75 to 51 computations (32% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1))
0.0b
(*.f64 (+.f64 d3 5) d1)
0.0b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))

series33.0ms (0.7%)

Counts
3 → 96
Calls

3 calls:

14.0ms
(+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1))
12.0ms
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
6.0ms
(*.f64 (+.f64 d3 5) d1)

rewrite111.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
811×fma-def_binary64
384×fma-neg_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
186×egg-rr
Counts
3 → 186
Calls

3 calls:

101.0ms
(+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1))
101.0ms
(*.f64 (+.f64 d3 5) d1)
101.0ms
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01235
127331
2362031
3548731

simplify48.0ms (1%)

Algorithm
egg-herbie
Rules
50×fma-def_binary64
17×+-commutative_binary64
13×*-commutative_binary64
13×distribute-rgt-in_binary64
associate-+r+_binary64
Counts
282 → 209
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
032820
177819
2103819
3117819
4116819

prune274.0ms (5.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2072209
Fresh101
Picked011
Done000
Total2083211
Error
0b
Counts
211 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))
0.0b
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
0.0b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Compiler

Compiled 3695 to 2196 computations (40.6% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 d3 5) 32)
0.0b
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
0.0b
(*.f64 d1 (+.f64 (+.f64 d3 5) 32))

series18.0ms (0.4%)

Counts
3 → 72
Calls

3 calls:

11.0ms
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
6.0ms
(*.f64 d1 (+.f64 (+.f64 d3 5) 32))
1.0ms
(+.f64 (+.f64 d3 5) 32)

rewrite148.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
457×prod-diff_binary64
378×fma-udef_binary64
263×fma-def_binary64
234×fma-neg_binary64
207×expm1-udef_binary64
Counts
3 → 141
Calls

3 calls:

145.0ms
(+.f64 (+.f64 d3 5) 32)
145.0ms
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
145.0ms
(*.f64 d1 (+.f64 (+.f64 d3 5) 32))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01022
123021
2290121
3483421
4479321
5499221

simplify26.0ms (0.6%)

Algorithm
egg-herbie
Rules
25×fma-def_binary64
10×+-commutative_binary64
*-commutative_binary64
associate-+l+_binary64
associate-+r+_binary64
Counts
213 → 158
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017528
135528
257528
366528
467528
567528

prune128.0ms (2.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done011
Total1583161
Error
0b
Counts
161 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))
0.0b
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
0.0b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Compiler

Compiled 2286 to 1432 computations (37.4% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 d3 5) 32)
0.0b
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))

series13.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

13.0ms
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))

rewrite64.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
476×log-prod_binary64
320×prod-diff_binary64
219×fma-def_binary64
203×expm1-udef_binary64
203×log1p-udef_binary64
Counts
1 → 30
Calls

1 calls:

63.0ms
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01011
122410
2277510
3539110

simplify29.0ms (0.6%)

Algorithm
egg-herbie
Rules
28×fma-def_binary64
10×+-commutative_binary64
*-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Counts
66 → 40
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
016331
134330
258330
366330
467330
567330

prune117.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh000
Picked011
Done022
Total86389
Error
0b
Counts
89 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 d1 (+.f64 (+.f64 d3 5) 32) (*.f64 d1 d2))
0.0b
(fma.f64 d1 d2 (*.f64 d1 (+.f64 (+.f64 d3 5) 32)))
0.0b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Compiler

Compiled 1181 to 720 computations (39% saved)

regimes698.0ms (14.7%)

Accuracy

Total 0.0b remaining (72.2%)

Threshold costs 0.0b (72.2%)

Counts
93 → 1
Compiler

Compiled 5808 to 4035 computations (30.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11215
21215

end107.0ms (2.3%)

Remove

(sort d2 d3)

Compiler

Compiled 98 to 65 computations (33.7% saved)

Profiling

Loading profile data...