Details

Time bar (total: 12.2s)

analyze1.8s (14.3%)

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.0s (73.8%)

Results
5.5s2030×body2048valid
2.3s3151×body1024valid
613.0ms1572×body512valid
207.0ms718×body256valid
146.0ms104×body4096valid
114.0ms681×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify84.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
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.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.5b
(-.f64 x (sin.f64 x))

series15.0ms (0.1%)

Counts
3 → 30
Calls

3 calls:

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

rewrite21.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:

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

simplify104.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

prune81.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1493152
Fresh000
Picked011
Done000
Total1494153
Error
0.0b
Counts
153 → 4
Alt Table
StatusErrorProgram
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
29.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.8b
(-.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))
29.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 3172 to 909 computations (71.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))
0.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
1.4b
(-.f64 x (tan.f64 x))
1.5b
(-.f64 x (sin.f64 x))

series12.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
5.0ms
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))

rewrite50.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
218×times-frac_binary64
194×*-un-lft-identity_binary64
194×add-sqr-sqrt_binary64
90×add-cube-cbrt_binary64
52×distribute-lft-out--_binary64
Counts
2 → 204
Calls

2 calls:

15.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
7.0ms
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))

simplify196.0ms (1.6%)

Algorithm
egg-herbie
Rules
643×times-frac_binary64
434×fma-def_binary64
272×distribute-rgt-in_binary64
239×div-sub_binary64
233×distribute-lft-in_binary64
Counts
228 → 239
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02376694
15766207
218676034
347356028
453716028

prune136.0ms (1.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3231324
Fresh022
Picked011
Done011
Total3235328
Error
0b
Counts
328 → 5
Alt Table
StatusErrorProgram
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
29.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
33.8b
(-.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))
29.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 7708 to 2250 computations (70.8% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (cos.f64 x))
0.2b
(/.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)

series26.0ms (0.2%)

Counts
4 → 32
Calls

4 calls:

9.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
9.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
5.0ms
(/.f64 1 (cos.f64 x))
3.0ms
(/.f64 (sin.f64 x) x)

rewrite29.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:

11.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
5.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
5.0ms
(/.f64 (sin.f64 x) x)
2.0ms
(/.f64 1 (cos.f64 x))

simplify92.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

prune127.0ms (1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done022
Total2155220
Error
0b
Counts
220 → 5
Alt Table
StatusErrorProgram
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
29.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
33.8b
(-.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))
29.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 4501 to 2470 computations (45.1% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
0.0b
(fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2))
0.1b
(fma.f64 (*.f64 x x) -9/10 -2)

series9.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
3.0ms
(fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2))
2.0ms
(fma.f64 (*.f64 x x) -9/10 -2)

rewrite5.0ms (0%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64
Counts
3 → 53
Calls

3 calls:

2.0ms
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
0.0ms
(fma.f64 (*.f64 x x) -9/10 -2)
0.0ms
(fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2))

simplify89.0ms (0.7%)

Algorithm
egg-herbie
Rules
766×fma-neg_binary64
603×fma-def_binary64
453×div-sub_binary64
359×cancel-sign-sub-inv_binary64
285×times-frac_binary64
Counts
89 → 107
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01111731
12221527
25131521
317721517
442121517
552251517

prune75.0ms (0.6%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done033
Total1075112
Error
0b
Counts
112 → 5
Alt Table
StatusErrorProgram
29.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
29.7b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(/.f64 1 (fma.f64 (pow.f64 x 4) -513/1400 (fma.f64 (*.f64 x x) -9/10 -2)))
33.8b
(-.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))
29.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 2184 to 1652 computations (24.4% saved)

regimes104.0ms (0.8%)

Accuracy

Total 0.2b remaining (93.4%)

Threshold costs 0.2b (93.4%)

Counts
36 → 3
Compiler

Compiled 1082 to 772 computations (28.7% saved)

bsearch59.0ms (0.5%)

Steps
ItersRangePoint
10
9.190145687768286e-5
113294488792.16826
4.99533306627316
8
-99.69361360461316
-0.026239293976662876
-0.09740715512336516
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
03570
14770
25670
36270
46570
56470

end96.0ms (0.8%)

Compiler

Compiled 164 to 118 computations (28% saved)

Profiling

Loading profile data...