Details

Time bar (total: 16.6s)

analyze3.9s (23.6%)

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)

sample497.0ms (3%)

Algorithm
intervals
Results
360.0ms65×body2048valid
72.0ms86×body1024valid
31.0ms61×body512valid
8.0msbody4096valid
6.0ms19×body256valid
4.0ms21×body128valid
Compiler

Compiled 22 to 14 computations (36.4% saved)

simplify103.0ms (0.6%)

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

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

localize16.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.9b
(-.f64 x (tan.f64 x))
0.9b
(-.f64 x (sin.f64 x))

rewrite42.0ms (0.3%)

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:

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

series52.0ms (0.3%)

Counts
3 → 30
Calls

3 calls:

21.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
21.0ms
(-.f64 x (tan.f64 x))
9.0ms
(-.f64 x (sin.f64 x))

simplify219.0ms (1.3%)

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 → 215
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02573004
15942580
219932458
347342458
448682458

prune156.0ms (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2114215
Fresh000
Picked101
Done000
Total2124216
Error
0b
Counts
216 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.8b
(-.f64 (+.f64 (+.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (-.f64 (/.f64 (sin.f64 x) (pow.f64 (cos.f64 x) 2)) (/.f64 (sin.f64 x) (cos.f64 x))))) (/.f64 (sin.f64 x) x))
32.2b
(fma.f64 9/40 (*.f64 x x) -1/2)
Compiler

Compiled 3234 to 916 computations (71.7% saved)

localize27.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.9b
(-.f64 x (tan.f64 x))
0.9b
(-.f64 x (sin.f64 x))

rewrite30.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64
33×add-sqr-sqrt_binary64
32×log-pow_binary64
31×exp-prod_binary64
25×times-frac_binary64
Counts
1 → 46
Calls

1 calls:

21.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))

series55.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

54.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))

simplify176.0ms (1.1%)

Algorithm
egg-herbie
Rules
717×fma-neg_binary64
417×unswap-sqr_binary64
355×times-frac_binary64
239×associate-/l*_binary64
207×sub-neg_binary64
Counts
58 → 110
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01611282
13031232
27721192
331331180
448981180
549761180

prune226.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3241325
Fresh123
Picked011
Done000
Total3254329
Error
0b
Counts
329 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))
32.2b
(fma.f64 9/40 (*.f64 x x) -1/2)
Compiler

Compiled 5252 to 1510 computations (71.2% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))
0.1b
(*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))
0.9b
(-.f64 x (tan.f64 x))
0.9b
(-.f64 x (sin.f64 x))

rewrite37.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
21×associate-*r*_binary64
17×times-frac_binary64
13×add-cube-cbrt_binary64
Counts
2 → 69
Calls

2 calls:

24.0ms
(*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))
4.0ms
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))

series71.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

51.0ms
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))
20.0ms
(*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))

simplify178.0ms (1.1%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
377×times-frac_binary64
338×associate-*l*_binary64
318×associate-/l*_binary64
313×associate-*r*_binary64
Counts
93 → 171
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01662214
13752060
211841984
345871984
451181984

prune226.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4090409
Fresh022
Picked011
Done011
Total4094413
Error
0b
Counts
413 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))
32.2b
(fma.f64 9/40 (*.f64 x x) -1/2)
Compiler

Compiled 4976 to 1972 computations (60.4% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.9b
(-.f64 x (tan.f64 x))
0.9b
(-.f64 x (tan.f64 x))
0.9b
(-.f64 x (sin.f64 x))
0.9b
(-.f64 x (sin.f64 x))

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune175.0ms (1.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New142801428
Fresh011
Picked011
Done022
Total142841432
Error
0b
Counts
1432 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
30.1b
(log.f64 (exp.f64 (*.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (-.f64 x (tan.f64 x))))))
32.2b
(fma.f64 9/40 (*.f64 x x) -1/2)
Compiler

Compiled 5532 to 1202 computations (78.3% saved)

regimes226.0ms (1.4%)

Accuracy

Total 0.1b remaining (64%)

Threshold costs 0.1b (64%)

Compiler

Compiled 1524 to 864 computations (43.3% saved)

bsearch88.0ms (0.5%)

Steps
ItersRangePoint
9
1.5917922070283656e-6
2056.451616149925
0.003965314230899635
10
-176548.3900270325
-2.343531164785286e-6
-2.208632844132881
Compiler

Compiled 2 to 1 computations (50% saved)

simplify11.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03796
15596
27196
37996
48396
58196

end2.0ms (0%)

Compiler

Compiled 62 to 36 computations (41.9% saved)

sample10.0s (60.1%)

Algorithm
intervals
Results
6.4s1999×body2048valid
2.1s2998×body1024valid
580.0ms1527×body512valid
184.0ms728×body256valid
170.0ms104×body4096valid
101.0ms644×body128valid
Compiler

Compiled 129 to 75 computations (41.9% saved)

Profiling

Loading profile data...