Details

Time bar (total: 15.6s)

analyze1.8s (11.5%)

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.2s (58.9%)

Results
5.1s2132×body2048valid
2.3s3100×body1024valid
893.0ms1575×body512valid
384.0ms598×body128valid
202.0ms742×body256valid
154.0ms109×body4096valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify85.0ms (0.5%)

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
31.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.3b
(/.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 (tan.f64 x))
0.8b
(-.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))
2.0ms
(-.f64 x (sin.f64 x))

rewrite21.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity_binary64
59×add-sqr-sqrt_binary64
31×add-cube-cbrt_binary64
25×times-frac_binary64
18×prod-diff_binary64
Counts
3 → 114
Calls

3 calls:

8.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
3.0ms
(-.f64 x (tan.f64 x))
3.0ms
(-.f64 x (sin.f64 x))

simplify107.0ms (0.7%)

Algorithm
egg-herbie
Rules
815×fma-def_binary64
368×fma-neg_binary64
252×associate-/l/_binary64
250×cancel-sign-sub-inv_binary64
202×distribute-rgt-in_binary64
Counts
144 → 152
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02573004
15942580
219932458
347342458
448682458

prune78.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1502152
Fresh000
Picked101
Done000
Total1512153
Error
0.0b
Counts
153 → 2
Alt Table
StatusErrorProgram
31.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))
31.3b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
Compiler

Compiled 3140 to 879 computations (72% saved)

localize8.0ms (0%)

Local error

Found 4 expressions with local error:

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

series27.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

12.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
8.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
7.0ms
(/.f64 x (-.f64 x (tan.f64 x)))

rewrite240.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
727×*-un-lft-identity_binary64
717×add-sqr-sqrt_binary64
708×times-frac_binary64
441×prod-diff_binary64
421×add-cube-cbrt_binary64
Counts
3 → 591
Calls

3 calls:

31.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
5.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
4.0ms
(/.f64 x (-.f64 x (tan.f64 x)))

simplify1.4s (9.1%)

Algorithm
egg-herbie
Rules
461×fma-neg_binary64
412×unsub-neg_binary64
312×fma-udef_binary64
280×sub-neg_binary64
250×associate-+r-_binary64
Counts
627 → 574
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
062241023
1142227517
2325120234
3426320192
4488420192
5482920192

prune381.0ms (2.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New6571658
Fresh011
Picked101
Done000
Total6582660
Error
0b
Counts
660 → 2
Alt Table
StatusErrorProgram
31.3b
(+.f64 (fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))
31.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 34024 to 4873 computations (85.7% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))
0.6b
(fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))
0.8b
(-.f64 x (tan.f64 x))
30.1b
(fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))

series361.0ms (2.3%)

Counts
3 → 36
Calls

3 calls:

334.0ms
(fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))
15.0ms
(*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))
12.0ms
(fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
21×associate-*l*_binary64
20×*-un-lft-identity_binary64
17×times-frac_binary64
13×add-cube-cbrt_binary64
Counts
3 → 65
Calls

3 calls:

8.0ms
(*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))
0.0ms
(fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))
0.0ms
(fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))

simplify90.0ms (0.6%)

Algorithm
egg-herbie
Rules
883×times-frac_binary64
419×associate-/l*_binary64
372×associate-*l*_binary64
281×fma-def_binary64
256×associate-/r*_binary64
Counts
101 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01642080
13701836
211491708
346611684
449341684

prune291.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3870387
Fresh011
Picked011
Done000
Total3872389
Error
0b
Counts
389 → 2
Alt Table
StatusErrorProgram
31.3b
(+.f64 (fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))
31.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 18285 to 6899 computations (62.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series14.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

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

simplify122.0ms (0.8%)

Algorithm
egg-herbie
Rules
445×fma-neg_binary64
370×fma-def_binary64
341×distribute-rgt-in_binary64
340×distribute-lft-in_binary64
292×exp-prod_binary64
Counts
115 → 125
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01432086
12601929
27991728
328101715
443771706
549971706
647541706

prune117.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done011
Total1252127
Error
0b
Counts
127 → 2
Alt Table
StatusErrorProgram
31.3b
(+.f64 (fma.f64 1 (/.f64 x (-.f64 x (tan.f64 x))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x (tan.f64 x)))) (sin.f64 x) (*.f64 (/.f64 1 (-.f64 x (tan.f64 x))) (sin.f64 x))))
31.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 3428 to 2562 computations (25.3% saved)

regimes1.0s (6.5%)

Accuracy

Total 0.0b remaining (71.6%)

Threshold costs 0.0b (71.6%)

Counts
293 → 3
Compiler

Compiled 14329 to 7181 computations (49.9% saved)

bsearch61.0ms (0.4%)

Steps
ItersRangePoint
10
1.5772227619424086e-7
980.049692893398
0.005566771948535619
8
-0.0592193551147717
-2.7210276697383724e-6
-0.004881470445787531
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
034118
154118
266118
372118
474118
571118

end89.0ms (0.6%)

Compiler

Compiled 213 to 115 computations (46% saved)

Profiling

Loading profile data...