Details

Time bar (total: 14.0s)

analyze1.9s (13.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample10.0s (71.4%)

Results
6.0s2066×body2048valid
2.2s3055×body1024valid
795.0ms1649×body512valid
432.0ms105×body4096valid
300.0ms764×body256valid
112.0ms617×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify83.0ms (0.6%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
430×div-sub_binary64
430×fma-def_binary64
335×times-frac_binary64
160×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11414
22414
34114
46714
511514
621214
741614
869914
9117614
10155514
11162114
12165214
13167914
14168914
15169314
16169314
17159214

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 18 computations (40% saved)

localize7.0ms (0%)

Local error

Found 3 expressions with local error:

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

series14.0ms (0.1%)

Counts
3 → 30
Calls

3 calls:

7.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
5.0ms
(-.f64 x (tan.f64 x))
2.0ms
(-.f64 x (sin.f64 x))

rewrite144.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
982×prod-diff_binary64
339×egg-rr
170×expm1-udef_binary64
170×log1p-udef_binary64
92×add-sqr-sqrt_binary64
Counts
3 → 339
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0726
117026
2262226
3519326

simplify57.0ms (0.4%)

Algorithm
egg-herbie
Rules
419×unswap-sqr_binary64
338×times-frac_binary64
303×fma-def_binary64
278×sub-neg_binary64
224×distribute-rgt-neg-in_binary64
Counts
369 → 370
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092658
1258654
2840614
33583602
44943602

prune209.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3664370
Fresh000
Picked101
Done000
Total3674371
Error
0.0b
Counts
371 → 4
Alt Table
StatusErrorProgram
29.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
29.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
33.9b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Compiler

Compiled 16724 to 4086 computations (75.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.8b
(-.f64 x (sin.f64 x))
0.9b
(-.f64 x (tan.f64 x))

series18.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

18.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)

rewrite65.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
425×fma-def_binary64
252×fma-neg_binary64
213×log1p-udef_binary64
212×expm1-udef_binary64
177×log-pow_binary64
Counts
1 → 88
Calls

1 calls:

62.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
123114
2329514
3505514

simplify54.0ms (0.4%)

Algorithm
egg-herbie
Rules
661×fma-neg_binary64
413×unswap-sqr_binary64
338×times-frac_binary64
219×associate-/l*_binary64
186×sub-neg_binary64
Counts
100 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052436
1146436
2497402
32574374
44912374
55051374

prune303.0ms (2.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4711472
Fresh123
Picked011
Done000
Total4724476
Error
0b
Counts
476 → 4
Alt Table
StatusErrorProgram
29.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
33.9b
(fma.f64 9/40 (*.f64 x x) (fma.f64 27/112000 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -27/2800 -1/2)))
29.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
Compiler

Compiled 20328 to 6100 computations (70% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
0.2b
(/.f64 (sin.f64 x) (cos.f64 x))
0.8b
(-.f64 x (sin.f64 x))
0.9b
(-.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))

series23.0ms (0.2%)

Counts
3 → 22
Calls

3 calls:

12.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
6.0ms
(/.f64 (sin.f64 x) (cos.f64 x))
5.0ms
(-.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))

rewrite69.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
369×fma-def_binary64
198×log-div_binary64
192×expm1-udef_binary64
192×log1p-udef_binary64
188×fma-neg_binary64
Counts
3 → 183
Calls

3 calls:

66.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
66.0ms
(/.f64 (sin.f64 x) (cos.f64 x))
66.0ms
(-.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0823
119423
2301523
3501723

simplify64.0ms (0.5%)

Algorithm
egg-herbie
Rules
419×unswap-sqr_binary64
338×times-frac_binary64
293×fma-def_binary64
235×sub-neg_binary64
219×associate-/l*_binary64
Counts
205 → 211
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
081560
1234560
2759522
33343510
44918510
55017510

prune116.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2690269
Fresh022
Picked011
Done011
Total2694273
Error
0b
Counts
273 → 4
Alt Table
StatusErrorProgram
29.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
33.9b
(fma.f64 9/40 (*.f64 x x) (fma.f64 27/112000 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -27/2800 -1/2)))
29.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
Compiler

Compiled 5115 to 1584 computations (69% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
0.1b
(*.f64 (cos.f64 x) x)
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))

series24.0ms (0.2%)

Counts
4 → 18
Calls

4 calls:

13.0ms
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))
6.0ms
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
3.0ms
(/.f64 (sin.f64 x) x)
3.0ms
(*.f64 (cos.f64 x) x)

rewrite131.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
492×fma-def_binary64
278×fma-neg_binary64
274×egg-rr
208×log1p-udef_binary64
207×expm1-udef_binary64
Counts
4 → 274
Calls

4 calls:

125.0ms
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
125.0ms
(*.f64 (cos.f64 x) x)
125.0ms
(/.f64 (sin.f64 x) x)
125.0ms
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01045
122735
2329535
3497235
4497835

simplify116.0ms (0.8%)

Algorithm
egg-herbie
Rules
459×distribute-rgt-neg-in_binary64
436×cancel-sign-sub-inv_binary64
392×sub-neg_binary64
331×distribute-lft-neg-in_binary64
314×*-commutative_binary64
Counts
292 → 300
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
058210
1158202
2406190
31190190
42386190
54367190
64508190
74906190
84976190
94758190

prune186.0ms (1.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3000300
Fresh011
Picked011
Done022
Total3004304
Error
0b
Counts
304 → 4
Alt Table
StatusErrorProgram
29.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))) 1)
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (/.f64 (sin.f64 x) (cos.f64 x))))
33.9b
(fma.f64 9/40 (*.f64 x x) (fma.f64 27/112000 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) -27/2800 -1/2)))
29.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1) (/.f64 (sin.f64 x) x))
Compiler

Compiled 6541 to 2487 computations (62% saved)

regimes273.0ms (1.9%)

Accuracy

Total 0.0b remaining (55.1%)

Threshold costs 0.0b (55.1%)

Counts
109 → 3
Compiler

Compiled 2900 to 2010 computations (30.7% saved)

bsearch53.0ms (0.4%)

Steps
ItersRangePoint
8
0.019192885769408086
1066.2349824186103
0.10426411295694243
7
-4.405919906614823
-0.024577214894328694
-0.0891042472909989
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03473
14373
25373
35973
46273
56173

end90.0ms (0.6%)

Compiler

Compiled 157 to 103 computations (34.4% saved)

Profiling

Loading profile data...