Details

Time bar (total: 13.5s)

analyze4.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
37.5%12.5%50%3
43.7%6.2%50%4
46.8%3.1%50%5
48.4%1.6%50%6
49.2%0.8%50%7
49.6%0.4%50%8
49.8%0.2%50%9
49.9%0.1%50%10
49.9%0%50%11
49.9%0%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 15 to 10 computations (33.3% saved)

sample12.2s (90.2%)

Results
9.8s4287×body2048valid
1.7s2128×body1024valid
403.0ms1011×body512valid
152.0ms543×body256valid
42.0ms287×body128valid
Compiler

Compiled 38 to 25 computations (34.2% saved)

simplify50.0ms (0.4%)

Algorithm
egg-herbie
Rules
577×fma-def_binary64
278×fma-neg_binary64
246×times-frac_binary64
181×div-sub_binary64
119×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
11111
21811
32911
45111
57411
612211
718411
826511
946111
1075811
1182211
1276311
1377811
1480011
1581011
1674111

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
27.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.0b
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize5.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
2.5b
(-.f64 x (sin.f64 x))

series13.0ms (0.1%)

Counts
2 → 18
Calls

2 calls:

11.0ms
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
2.0ms
(-.f64 x (sin.f64 x))

rewrite110.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
864×log1p-expm1-u_binary64
864×expm1-log1p-u_binary64
591×prod-diff_binary64
254×egg-rr
75×add-sqr-sqrt_binary64
Counts
2 → 254
Calls

2 calls:

100.0ms
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
100.0ms
(-.f64 x (sin.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
114017
2207917
3644617
000
100

simplify104.0ms (0.8%)

Algorithm
egg-herbie
Rules
726×fma-def_binary64
598×distribute-rgt-neg-in_binary64
542×sub-neg_binary64
478×cancel-sign-sub-inv_binary64
455×distribute-lft-neg-in_binary64
Counts
272 → 274
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049272
1132266
2331262
31015248
42739248
54359248
64736248
74965248
84900248

prune143.0ms (1.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2713274
Fresh000
Picked101
Done000
Total2723275
Error
0.1b
Counts
275 → 3
Alt Table
StatusErrorProgram
0.2b
(fma.f64 1/6 (*.f64 x x) (fma.f64 (pow.f64 x 8) -143/604800 (fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (pow.f64 x 4) -23/360))))
0.2b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
8.9b
(/.f64 (fma.f64 (pow.f64 x 5) -1/120 (*.f64 1/6 (pow.f64 x 3))) (tan.f64 x))
Compiler

Compiled 10437 to 2731 computations (73.8% saved)

localize7.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 x x) -23/360 1/6)
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
0.3b
(*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))

series9.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
3.0ms
(*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))
2.0ms
(fma.f64 (*.f64 x x) -23/360 1/6)

rewrite48.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
673×log1p-expm1-u_binary64
673×expm1-log1p-u_binary64
355×log-prod_binary64
136×expm1-udef_binary64
136×log1p-udef_binary64
Counts
3 → 71
Calls

3 calls:

46.0ms
(fma.f64 (*.f64 x x) -23/360 1/6)
46.0ms
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
46.0ms
(*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0833
116333
2176133
3518333
000
100

simplify145.0ms (1.1%)

Algorithm
egg-herbie
Rules
1048×fma-def_binary64
808×fma-neg_binary64
804×unswap-sqr_binary64
386×distribute-rgt-neg-in_binary64
348×distribute-lft-neg-in_binary64
Counts
107 → 86
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022405
155369
2118351
3316351
4972351
51853351
64476351
74753351
84995351
94999351
104989351
114999351
125256351

prune74.0ms (0.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh022
Picked011
Done000
Total84589
Error
0.0b
Counts
89 → 5
Alt Table
StatusErrorProgram
0.2b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)
0.2b
(fma.f64 1/6 (*.f64 x x) (fma.f64 (pow.f64 x 8) -143/604800 (fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (pow.f64 x 4) -23/360))))
0.3b
(*.f64 x (*.f64 x (exp.f64 (log.f64 (fma.f64 (*.f64 x x) -23/360 1/6)))))
0.2b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
8.9b
(/.f64 (fma.f64 (pow.f64 x 5) -1/120 (*.f64 1/6 (pow.f64 x 3))) (tan.f64 x))
Compiler

Compiled 1333 to 812 computations (39.1% saved)

localize6.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 x x) -23/360 1/6)
0.0b
(*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6)))
0.2b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)

series48.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

40.0ms
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)
8.0ms
(*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6)))

rewrite44.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
762×log1p-expm1-u_binary64
762×expm1-log1p-u_binary64
157×expm1-udef_binary64
157×log1p-udef_binary64
92×add-sqr-sqrt_binary64
Counts
2 → 43
Calls

2 calls:

43.0ms
(*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6)))
43.0ms
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
120527
2200227
3496827
000
100

simplify52.0ms (0.4%)

Algorithm
egg-herbie
Rules
832×fma-neg_binary64
753×fma-def_binary64
581×times-frac_binary64
493×cancel-sign-sub-inv_binary64
234×unswap-sqr_binary64
Counts
67 → 72
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066550
1200464
2566450
31952448
44908448
55247448

prune80.0ms (0.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1021103
Fresh123
Picked011
Done011
Total1035108
Error
0.0b
Counts
108 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6))
0.3b
(*.f64 x (*.f64 x (exp.f64 (log.f64 (fma.f64 (*.f64 x x) -23/360 1/6)))))
0.2b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)
0.2b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
8.9b
(/.f64 (fma.f64 (pow.f64 x 5) -1/120 (*.f64 1/6 (pow.f64 x 3))) (tan.f64 x))
Compiler

Compiled 1818 to 1288 computations (29.2% saved)

localize4.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 x x) -23/360 1/6)
0.2b
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6))

series4.0ms (0%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6))

rewrite38.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
594×log1p-expm1-u_binary64
594×expm1-log1p-u_binary64
296×log-prod_binary64
171×pow2_binary64
120×pow1/3_binary64
Counts
1 → 24
Calls

1 calls:

37.0ms
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
114414
2154014
3486814
000
100

simplify144.0ms (1.1%)

Algorithm
egg-herbie
Rules
1570×fma-def_binary64
710×distribute-rgt-in_binary64
710×fma-neg_binary64
584×distribute-rgt-neg-in_binary64
487×cancel-sign-sub-inv_binary64
Counts
36 → 30
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013165
128147
258147
3160147
4515147
5963147
61784147
72810147
83880147
94122147
102794147
112925147
123119147
134949147
144751147

prune43.0ms (0.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New60161
Fresh112
Picked011
Done022
Total61566
Error
0b
Counts
66 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6))
0.2b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)
0.2b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
0.3b
(*.f64 (*.f64 x x) (exp.f64 (log.f64 (fma.f64 (*.f64 x x) -23/360 1/6))))
8.9b
(/.f64 (fma.f64 (pow.f64 x 5) -1/120 (*.f64 1/6 (pow.f64 x 3))) (tan.f64 x))
Compiler

Compiled 913 to 502 computations (45% saved)

regimes88.0ms (0.7%)

Accuracy

Total 0.2b remaining (40.7%)

Threshold costs 0.2b (40.7%)

Counts
62 → 1
Compiler

Compiled 1426 to 986 computations (30.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11014
21014

end64.0ms (0.5%)

Compiler

Compiled 83 to 55 computations (33.7% saved)

Profiling

Loading profile data...