Details

Time bar (total: 12.8s)

analyze1.8s (13.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.1%99.9%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample9.2s (72.1%)

Results
5.8s2056×body2048valid
2.1s3098×body1024valid
661.0ms1616×body512valid
222.0ms768×body256valid
183.0ms91×body4096valid
105.0ms627×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

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

Compiled 30 to 18 computations (40% saved)

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

series17.0ms (0.1%)

Counts
3 → 30
Calls

3 calls:

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

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

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

simplify100.0ms (0.8%)

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

prune74.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1502152
Fresh000
Picked011
Done000
Total1503153
Error
0b
Counts
153 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 9/40 (*.f64 x x) -1/2)
30.4b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
30.4b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
Compiler

Compiled 3128 to 867 computations (72.3% saved)

localize8.0ms (0.1%)

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

series33.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

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

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

simplify738.0ms (5.8%)

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

prune268.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New6580658
Fresh011
Picked011
Done011
Total6583661
Error
0b
Counts
661 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 9/40 (*.f64 x x) -1/2)
30.4b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
30.4b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
Compiler

Compiled 33949 to 4830 computations (85.8% saved)

localize3.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 9/40 (*.f64 x x) -1/2)

series3.0ms (0%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(fma.f64 9/40 (*.f64 x x) -1/2)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 9/40 (*.f64 x x) -1/2)

simplify48.0ms (0.4%)

Algorithm
egg-herbie
Rules
540×fma-def_binary64
474×unswap-sqr_binary64
438×*-commutative_binary64
374×distribute-rgt-in_binary64
370×distribute-lft-in_binary64
Counts
22 → 16
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021214
130197
259197
3156197
4622197
52186197
62781197
75149197

prune7.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New16016
Fresh000
Picked011
Done022
Total16319
Error
0b
Counts
19 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 9/40 (*.f64 x x) -1/2)
30.4b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
30.4b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
Compiler

Compiled 180 to 111 computations (38.3% saved)

regimes73.0ms (0.6%)

Accuracy

Total 0.0b remaining (14.9%)

Threshold costs 0.0b (14.9%)

Counts
24 → 3
Compiler

Compiled 860 to 498 computations (42.1% saved)

bsearch54.0ms (0.4%)

Steps
ItersRangePoint
10
8.453658229200438e-6
208903.99368110354
0.005151709527736681
10
-18211.29370148022
-3.61456099401465e-10
-0.005033392592531496
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.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
02360
12960
24160
34760
45060
55060

end60.0ms (0.5%)

Compiler

Compiled 112 to 60 computations (46.4% saved)

Profiling

Loading profile data...