Details

Time bar (total: 4.6s)

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)

sample163.0ms (3.6%)

Algorithm
intervals
Results
64.0ms125×body2048valid
20.0ms70×body1024valid
4.0ms30×body512valid
2.0ms24×body256valid
0.0msbody128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify58.0ms (1.3%)

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
32.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
32.1b
(+.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.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

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

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×prod-diff_binary64
18×add-cube-cbrt_binary64
13×associate-+l+_binary64
Counts
2 → 69
Calls

2 calls:

8.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
326×fma-def_binary64
296×distribute-rgt-in_binary64
282×distribute-lft-in_binary64
268×distribute-rgt-out_binary64
Counts
85 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451174
1295959
2717942
32801932
44435932
54838932

prune70.0ms (1.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1113114
Fresh000
Picked011
Done000
Total1114115
Error
0b
Counts
115 → 4
Alt Table
StatusErrorProgram
32.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
Compiler

Compiled 2103 to 1202 computations (42.8% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))

series16.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

8.0ms
(*.f64 1/20160 (pow.f64 x 8))
5.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
add-exp-log_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 47
Calls

3 calls:

4.0ms
(*.f64 1/20160 (pow.f64 x 8))
0.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))

simplify52.0ms (1.1%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
562×associate-+l+_binary64
546×associate-+r+_binary64
247×associate-*l*_binary64
214×associate-*r*_binary64
Counts
71 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911228
11621128
23901110
315981110
451541110

prune71.0ms (1.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New71071
Fresh022
Picked011
Done011
Total71475
Error
0b
Counts
75 → 4
Alt Table
StatusErrorProgram
32.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
Compiler

Compiled 1657 to 1247 computations (24.7% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

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

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 37
Calls

2 calls:

4.0ms
(*.f64 1/12 (pow.f64 x 4))
0.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Rules
703×fma-def_binary64
562×unswap-sqr_binary64
352×*-commutative_binary64
333×distribute-rgt-out_binary64
291×distribute-lft-out_binary64
Counts
49 → 49
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
066570
1110535
2240517
3668517
41295511
53475506
64962506
74950506

prune40.0ms (0.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New49049
Fresh011
Picked011
Done022
Total49453
Error
0b
Counts
53 → 4
Alt Table
StatusErrorProgram
32.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
Compiler

Compiled 705 to 494 computations (29.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
0.0b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
0.0b
(-.f64 (exp.f64 x) 2)
4.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series287.0ms (6.3%)

Counts
2 → 24
Calls

2 calls:

284.0ms
(log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
3.0ms
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
0.0ms
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))

simplify58.0ms (1.3%)

Algorithm
egg-herbie
Rules
877×distribute-rgt-in_binary64
831×distribute-lft-in_binary64
815×fma-def_binary64
496×fma-neg_binary64
246×cancel-sign-sub-inv_binary64
Counts
46 → 55
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
070760
1145671
2369636
31201624
44661624
54946624

prune104.0ms (2.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1690169
Fresh000
Picked011
Done033
Total1694173
Error
0b
Counts
173 → 4
Alt Table
StatusErrorProgram
32.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
Compiler

Compiled 3072 to 1819 computations (40.8% saved)

regimes40.0ms (0.9%)

Accuracy

Total 0.5b remaining (97.8%)

Threshold costs 0.5b (97.8%)

Counts
23 → 1
Compiler

Compiled 538 to 418 computations (22.3% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01931
12531
22531

end1.0ms (0%)

Compiler

Compiled 22 to 18 computations (18.2% saved)

sample3.4s (73.7%)

Algorithm
intervals
Results
2.4s4214×body2048valid
506.0ms1934×body1024valid
137.0ms996×body512valid
42.0ms507×body256valid
15.0ms349×body128valid
0.0msbody128invalid
Compiler

Compiled 81 to 63 computations (22.2% saved)

Profiling

Loading profile data...