Details

Time bar (total: 13.1s)

analyze1.8s (13.6%)

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)

sample9.1s (69.6%)

Results
5.6s2026×body2048valid
2.1s3148×body1024valid
745.0ms1554×body512valid
196.0ms754×body256valid
180.0ms660×body128valid
153.0ms114×body4096valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify82.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
32.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
32.8b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series18.0ms (0.1%)

Counts
3 → 30
Calls

3 calls:

9.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (tan.f64 x))
3.0ms
(-.f64 x (sin.f64 x))

rewrite150.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
336×egg-rr
Counts
3 → 336
Calls

2 calls:

133.0ms
((-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)) (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0726
117026
2262226
3519326
000
100

simplify99.0ms (0.8%)

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
366 → 367
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092658
1258654
2840614
33583602
44943602

prune277.0ms (2.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3652367
Fresh000
Picked101
Done000
Total3662368
Error
0.0b
Counts
368 → 2
Alt Table
StatusErrorProgram
33.0b
(+.f64 1 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (-.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (-.f64 (/.f64 (sin.f64 x) (pow.f64 (cos.f64 x) 2)) (/.f64 (sin.f64 x) (cos.f64 x)))) (/.f64 (sin.f64 x) x))))
30.5b
(-.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 16685 to 4069 computations (75.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.0b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
19.7b
(-.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))

series17.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

7.0ms
(-.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))
4.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
3.0ms
(*.f64 27/112000 (pow.f64 x 6))
3.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)

rewrite72.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
110×egg-rr
Counts
4 → 110
Calls

2 calls:

70.0ms
((-.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)) (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2) (*.f64 27/112000 (pow.f64 x 6)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01553
132553
2329053
3488953
000
100

simplify75.0ms (0.6%)

Algorithm
egg-herbie
Rules
829×distribute-rgt-neg-in_binary64
802×fma-neg_binary64
670×distribute-lft-neg-in_binary64
618×cancel-sign-sub-inv_binary64
344×neg-mul-1_binary64
Counts
146 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
023424
162416
2133408
3374408
41238408
53147408
64625408
75121408

prune111.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1272129
Fresh011
Picked101
Done000
Total1283131
Error
0.0b
Counts
131 → 3
Alt Table
StatusErrorProgram
30.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
33.0b
(+.f64 1 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (-.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (-.f64 (/.f64 (sin.f64 x) (pow.f64 (cos.f64 x) 2)) (/.f64 (sin.f64 x) (cos.f64 x)))) (/.f64 (sin.f64 x) x))))
30.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1))
Compiler

Compiled 3464 to 2602 computations (24.9% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
0.5b
(exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2)))
19.7b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1))
24.0b
(log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))

series33.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

20.0ms
(exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2)))
7.0ms
(log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))
6.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1))

rewrite72.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
100×egg-rr
Counts
3 → 100
Calls

2 calls:

70.0ms
((log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2)) (-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1)) (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01946
138845
2402045
3488745
000
100

simplify95.0ms (0.7%)

Algorithm
egg-herbie
Rules
577×cancel-sign-sub-inv_binary64
484×sub-neg_binary64
480×times-frac_binary64
381×fma-neg_binary64
232×fma-def_binary64
Counts
136 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083577
1244553
2681533
32093501
44296501
53975501
64908501
74720501

prune159.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1721173
Fresh022
Picked101
Done000
Total1733176
Error
0b
Counts
176 → 3
Alt Table
StatusErrorProgram
30.5b
(-.f64 (-.f64 (exp.f64 (log1p.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))))) 1) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1))
30.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
33.0b
(+.f64 1 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (-.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (-.f64 (/.f64 (sin.f64 x) (pow.f64 (cos.f64 x) 2)) (/.f64 (sin.f64 x) (cos.f64 x)))) (/.f64 (sin.f64 x) x))))
Compiler

Compiled 5030 to 3907 computations (22.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 27/112000 (pow.f64 x 6) -1/2)
0.1b
(fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800))
0.2b
(*.f64 (pow.f64 x 3) -27/2800)
16.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))

series15.0ms (0.1%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
3.0ms
(fma.f64 27/112000 (pow.f64 x 6) -1/2)
3.0ms
(fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800))
3.0ms
(*.f64 (pow.f64 x 3) -27/2800)

rewrite67.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
101×egg-rr
Counts
4 → 101
Calls

2 calls:

62.0ms
((fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2)) (*.f64 (pow.f64 x 3) -27/2800) (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01448
129448
2292448
3491148
000
100

simplify84.0ms (0.6%)

Algorithm
egg-herbie
Rules
468×unswap-sqr_binary64
438×associate-*l*_binary64
419×distribute-rgt-neg-in_binary64
382×distribute-lft-neg-in_binary64
326×associate-*r*_binary64
Counts
149 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031496
182470
2190462
3538462
41829462
54935462
64950462
74935462

prune107.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1190119
Fresh022
Picked011
Done000
Total1193122
Error
0b
Counts
122 → 3
Alt Table
StatusErrorProgram
30.5b
(-.f64 (-.f64 (exp.f64 (log1p.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))))) 1) (-.f64 (exp.f64 (log1p.f64 (fma.f64 27/2800 (pow.f64 x 4) 1/2))) 1))
30.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
33.0b
(+.f64 1 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (-.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (-.f64 (/.f64 (sin.f64 x) (pow.f64 (cos.f64 x) 2)) (/.f64 (sin.f64 x) (cos.f64 x)))) (/.f64 (sin.f64 x) x))))
Compiler

Compiled 2603 to 2044 computations (21.5% saved)

regimes454.0ms (3.5%)

Accuracy

Total -0.1b remaining (-101.7%)

Threshold costs -0.1b (-101.7%)

Counts
157 → 3
Compiler

Compiled 6234 to 3808 computations (38.9% saved)

bsearch58.0ms (0.4%)

Steps
ItersRangePoint
9
0.051859422883366
31356.31780747472
2.788871323292318
9
-2283252.67822101
-0.023847521134197004
-0.09522604487482855
Compiler

Compiled 2 to 1 computations (50% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
048129
167129
282129
390129
493129
592129

end116.0ms (0.9%)

Compiler

Compiled 247 to 149 computations (39.7% saved)

Profiling

Loading profile data...