Details

Time bar (total: 12.4s)

analyze1.8s (14.8%)

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%100%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample9.2s (74.5%)

Results
5.4s2147×body2048valid
2.6s3069×body1024valid
672.0ms1519×body512valid
203.0ms759×body256valid
146.0ms109×body4096valid
110.0ms653×body128valid
Compiler

Compiled 21 to 13 computations (38.1% saved)

simplify88.0ms (0.7%)

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

series22.0ms (0.2%)

Counts
3 → 30
Calls

3 calls:

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

rewrite22.0ms (0.2%)

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 (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))

simplify109.0ms (0.9%)

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

prune73.0ms (0.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1484152
Fresh000
Picked101
Done000
Total1494153
Error
0b
Counts
153 → 4
Alt Table
StatusErrorProgram
33.2b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
43.7b
(/.f64 (/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.1b
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
Compiler

Compiled 3188 to 915 computations (71.3% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
1.4b
(-.f64 x (tan.f64 x))
1.4b
(+.f64 x (neg.f64 (sin.f64 x)))

series12.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

10.0ms
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
3.0ms
(+.f64 x (neg.f64 (sin.f64 x)))

rewrite18.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
25×times-frac_binary64
15×add-cube-cbrt_binary64
14×distribute-lft-out_binary64
Counts
2 → 76
Calls

2 calls:

8.0ms
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
4.0ms
(+.f64 x (neg.f64 (sin.f64 x)))

simplify112.0ms (0.9%)

Algorithm
egg-herbie
Rules
854×times-frac_binary64
511×fma-neg_binary64
410×fma-def_binary64
322×distribute-rgt-in_binary64
267×distribute-lft-in_binary64
Counts
100 → 120
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01662057
14171972
213081943
345161931
449761931
549261931

prune88.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1620162
Fresh033
Picked011
Done000
Total1624166
Error
0b
Counts
166 → 4
Alt Table
StatusErrorProgram
33.2b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
43.7b
(/.f64 (/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.1b
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
Compiler

Compiled 3292 to 894 computations (72.8% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series65.0ms (0.5%)

Counts
4 → 32
Calls

4 calls:

47.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
8.0ms
(/.f64 1 (cos.f64 x))
7.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
3.0ms
(/.f64 (sin.f64 x) x)

rewrite30.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
43×*-un-lft-identity_binary64
41×times-frac_binary64
35×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
4 → 138
Calls

4 calls:

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

simplify99.0ms (0.8%)

Algorithm
egg-herbie
Rules
443×fma-def_binary64
410×associate-*l/_binary64
341×associate-/l*_binary64
334×distribute-rgt-in_binary64
312×associate-*r/_binary64
Counts
170 → 215
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02092417
15732236
214852213
343912213
449802213

prune144.0ms (1.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done011
Total2154219
Error
0b
Counts
219 → 4
Alt Table
StatusErrorProgram
33.2b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
43.7b
(/.f64 (/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.1b
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
Compiler

Compiled 4490 to 2455 computations (45.3% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.2b
(*.f64 9/40 (*.f64 x x))
13.5b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

series10.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
3.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
2.0ms
(*.f64 9/40 (*.f64 x x))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
Counts
3 → 52
Calls

3 calls:

5.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
4.0ms
(*.f64 9/40 (*.f64 x x))
0.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)

simplify71.0ms (0.6%)

Algorithm
egg-herbie
Rules
407×fma-neg_binary64
399×associate-+r+_binary64
379×associate-+l+_binary64
320×fma-def_binary64
300×times-frac_binary64
Counts
88 → 81
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01041147
11991072
2668980
32038980
44543969
54942969

prune52.0ms (0.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done022
Total81485
Error
0b
Counts
85 → 4
Alt Table
StatusErrorProgram
33.2b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
43.7b
(/.f64 (/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.1b
(/.f64 (+.f64 x (neg.f64 (sin.f64 x))) (-.f64 x (tan.f64 x)))
30.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
Compiler

Compiled 1565 to 1142 computations (27% saved)

regimes77.0ms (0.6%)

Accuracy

Total 0.1b remaining (84.7%)

Threshold costs 0.1b (84.7%)

Counts
27 → 3
Compiler

Compiled 696 to 452 computations (35.1% saved)

bsearch49.0ms (0.4%)

Steps
ItersRangePoint
10
3.916820032061989e-9
72095225371.52528
2.6632315197980545
7
-0.5146009897314334
-0.0049087755324097255
-0.03232663999321673
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.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
02867
13967
25167
35767
46067
55967

end129.0ms (1%)

Compiler

Compiled 147 to 91 computations (38.1% saved)

Profiling

Loading profile data...