Details

Time bar (total: 1.6s)

analyze141.0ms (8.6%)

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
25%74.9%0.1%5
25%62.4%12.6%6
25%46.8%28.2%7
31.2%35.9%32.9%8
39%25%36%9
42.9%18.7%38.3%10
47.2%12.9%39.9%11
49.4%9.6%41.1%12
51.6%6.5%41.9%13
52.7%4.8%42.4%14
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample840.0ms (51.4%)

Symmetry

(sort x y)

Results
782.0ms8256×body128valid
19.0ms212×body128invalid
Compiler

Compiled 47 to 29 computations (38.3% saved)

simplify8.0ms (0.5%)

Algorithm
egg-herbie
Rules
33×fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01017
11914
24712
38112
48312
Stop Event
saturated
Counts
1 → 2

prune4.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 54 to 30 computations (44.4% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y))
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))

series12.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

6.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
6.0ms
(+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y))

rewrite58.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
667×fma-def_binary64
292×fma-neg_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
172×egg-rr
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01028
122324
2312320
Stop Event
node limit
Counts
2 → 172
Calls

2 calls:

55.0ms
(+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y))
55.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))

simplify78.0ms (4.8%)

Algorithm
egg-herbie
Rules
613×fma-def_binary64
391×sqr-pow_binary64
374×*-commutative_binary64
372×unswap-sqr_binary64
362×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012525
132480
269399
3151393
4412393
51498393
62779393
73051393
83237393
93481393
103784393
114175393
124682393
Stop Event
node limit
Counts
220 → 184

prune119.0ms (7.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1831184
Fresh000
Picked011
Done000
Total1832185
Error
0b
Counts
185 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x x (*.f64 y (fma.f64 x 2 y)))
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 3092 to 1523 computations (50.7% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 y (fma.f64 x 2 y))

series5.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

5.0ms
(*.f64 y (fma.f64 x 2 y))

rewrite35.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
507×log1p-expm1-u_binary64
507×expm1-log1p-u_binary64
315×unpow-prod-down_binary64
268×log-prod_binary64
153×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11208
213748
Stop Event
node limit
Counts
1 → 21
Calls

1 calls:

34.0ms
(*.f64 y (fma.f64 x 2 y))

simplify65.0ms (4%)

Algorithm
egg-herbie
Rules
564×fma-def_binary64
469×associate-*l*_binary64
434×unswap-sqr_binary64
370×sqr-pow_binary64
292×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08231
119231
237213
375177
4168177
5464177
61534177
72777177
83132177
93354177
103576177
113880177
124302177
134812177
Stop Event
node limit
Counts
45 → 27

prune21.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done011
Total27229
Error
0b
Counts
29 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x x (*.f64 y (fma.f64 x 2 y)))
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 348 to 192 computations (44.8% saved)

regimes159.0ms (9.8%)

Accuracy

Total 0.0b remaining (58.2%)

Threshold costs 0.0b (58.2%)

Counts
60 → 1
Compiler

Compiled 2220 to 1340 computations (39.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
1915
Stop Event
saturated

end73.0ms (4.5%)

Remove

(sort x y)

Compiler

Compiled 78 to 43 computations (44.9% saved)

Profiling

Loading profile data...