Details

Time bar (total: 5.1s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample4.7s (91.9%)

Results
3.4s4385×body2048valid
849.0ms1994×body1024valid
259.0ms999×body512valid
93.0ms533×body256valid
79.0ms345×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Rules
819×div-sub_binary64
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23513
35713
411213
522313
648113
789013
8157013
9477813
10581513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
4.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series4.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

3.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
2.0ms
(-.f64 (exp.f64 x) 2)

rewrite56.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
815×log1p-expm1-u_binary64
815×expm1-log1p-u_binary64
536×prod-diff_binary64
92×add-sqr-sqrt_binary64
87×add-log-exp_binary64
Counts
2 → 78
Calls

2 calls:

55.0ms
(-.f64 (exp.f64 x) 2)
55.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
118117
2201217
3584217
000
100

simplify74.0ms (1.4%)

Algorithm
egg-herbie
Rules
750×unswap-sqr_binary64
683×distribute-rgt-out_binary64
567×associate-*l*_binary64
524×fma-def_binary64
411×associate-*r*_binary64
Counts
94 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045198
1108196
2236196
3630191
42026191
54956191
64921191
74962191

prune50.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh000
Picked011
Done000
Total94296
Error
0b
Counts
96 → 2
Alt Table
StatusErrorProgram
31.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 1435 to 830 computations (42.2% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/12 (pow.f64 x 4))

series3.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

3.0ms
(*.f64 1/12 (pow.f64 x 4))

rewrite75.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
850×log1p-udef_binary64
465×log1p-expm1-u_binary64
465×expm1-log1p-u_binary64
292×unpow-prod-down_binary64
232×log-prod_binary64
Counts
1 → 20
Calls

1 calls:

74.0ms
(*.f64 1/12 (pow.f64 x 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11267
212377
349057
462037
000
100

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune12.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New20020
Fresh000
Picked011
Done011
Total20222
Error
0b
Counts
22 → 2
Alt Table
StatusErrorProgram
31.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 255 to 185 computations (27.5% saved)

regimes20.0ms (0.4%)

Accuracy

Total 0.7b remaining (90.3%)

Threshold costs 0.7b (90.3%)

Counts
9 → 1
Compiler

Compiled 162 to 118 computations (27.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1811
2811

end42.0ms (0.8%)

Compiler

Compiled 36 to 25 computations (30.6% saved)

Profiling

Loading profile data...