Details

Time bar (total: 16.6s)

analyze3.5s (21.2%)

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)

sample286.0ms (1.7%)

Algorithm
intervals
Results
141.0ms96×body1024valid
109.0ms58×body2048valid
12.0ms51×body512valid
6.0msbody4096valid
5.0ms31×body256valid
1.0ms15×body128valid
Compiler

Compiled 22 to 14 computations (36.4% saved)

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

series18.0ms (0.1%)

Counts
3 → 30
Calls

3 calls:

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

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

7.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
4.0ms
(-.f64 x (tan.f64 x))
3.0ms
(-.f64 x (sin.f64 x))

simplify104.0ms (0.6%)

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

prune72.0ms (0.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1484152
Fresh000
Picked101
Done000
Total1494153
Error
0.0b
Counts
153 → 4
Alt Table
StatusErrorProgram
46.2b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 (fma.f64 1 x (neg.f64 (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))))
30.4b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
30.2b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 3218 to 921 computations (71.4% saved)

localize8.0ms (0%)

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.1b
(-.f64 x (tan.f64 x))
1.1b
(-.f64 x (sin.f64 x))

series18.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

10.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
8.0ms
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))

rewrite45.0ms (0.3%)

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:

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

simplify185.0ms (1.1%)

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

prune160.0ms (1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3240324
Fresh033
Picked011
Done000
Total3244328
Error
0.0b
Counts
328 → 4
Alt Table
StatusErrorProgram
46.2b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 (fma.f64 1 x (neg.f64 (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))))
30.4b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
30.2b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 7726 to 2240 computations (71% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series56.0ms (0.3%)

Counts
4 → 32
Calls

4 calls:

24.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
14.0ms
(/.f64 1 (cos.f64 x))
10.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
6.0ms
(/.f64 (sin.f64 x) x)

rewrite50.0ms (0.3%)

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:

22.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
13.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
4.0ms
(/.f64 1 (cos.f64 x))
4.0ms
(/.f64 (sin.f64 x) x)

simplify101.0ms (0.6%)

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

prune169.0ms (1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done011
Total2154219
Error
0.0b
Counts
219 → 4
Alt Table
StatusErrorProgram
46.2b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 (fma.f64 1 x (neg.f64 (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))))
30.4b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (*.f64 9/40 (*.f64 x x)) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
30.2b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
Compiler

Compiled 4519 to 2458 computations (45.6% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series14.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

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

simplify74.0ms (0.4%)

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

prune55.0ms (0.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New80181
Fresh011
Picked101
Done022
Total81485
Error
0.0b
Counts
85 → 4
Alt Table
StatusErrorProgram
30.2b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
33.4b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 (pow.f64 x 4) -27/2800)) 1/2)
46.2b
(/.f64 (-.f64 x (sin.f64 x)) (+.f64 (fma.f64 1 x (neg.f64 (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))))
30.4b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
Compiler

Compiled 1580 to 1145 computations (27.5% saved)

regimes119.0ms (0.7%)

Accuracy

Total 0.0b remaining (38.4%)

Threshold costs 0.0b (38.4%)

Counts
33 → 3
Compiler

Compiled 937 to 615 computations (34.4% saved)

bsearch93.0ms (0.6%)

Steps
ItersRangePoint
9
3.5509424094744937e-9
0.21010183126687135
0.0294829394400758
9
-172.9036424740226
-0.00038194101173499374
-0.03251857343197739
Compiler

Compiled 2 to 1 computations (50% saved)

simplify7.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
02764
13164
23964
34364
44564
54564

end2.0ms (0%)

Compiler

Compiled 43 to 25 computations (41.9% saved)

sample11.3s (68%)

Algorithm
intervals
Results
7.0s1991×body2048valid
2.4s3053×body1024valid
613.0ms1490×body512valid
256.0ms101×body4096valid
253.0ms747×body256valid
95.0ms618×body128valid
Compiler

Compiled 127 to 75 computations (40.9% saved)

Profiling

Loading profile data...