Details

Time bar (total: 8.2s)

analyze2.1s (25.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%87.4%0.1%6
18.7%81.2%0.1%7
25%73.4%1.7%8
28.1%68.7%3.2%9
31.2%62.8%6%10
32.8%60.1%7.1%11
34.3%56.7%9%12
35.1%55.2%9.7%13
35.9%53.4%10.7%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample264.0ms (3.2%)

Algorithm
intervals
Results
160.0ms134×body128valid
64.0ms75×body1024valid
16.0ms33×body512valid
5.0ms14×body256valid
2.0msbody128invalid
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify39.0ms (0.5%)

Algorithm
egg-herbie
Rules
105×fma-def_binary64
66×fma-neg_binary64
27×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
11×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
24814
38114
412214
516814
618714
722914
822614
924414
1024114
1121614

prune7.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
0.2b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
Compiler

Compiled 73 to 53 computations (27.4% saved)

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
0.1b
(/.f64 x (tan.f64 B))
0.1b
(/.f64 1 (sin.f64 B))

rewrite103.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
48×add-cube-cbrt_binary64
17×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×add-sqr-sqrt_binary64
12×pow1_binary64
Counts
3 → 145
Calls

3 calls:

32.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
28.0ms
(/.f64 x (tan.f64 B))
26.0ms
(/.f64 1 (sin.f64 B))

series449.0ms (5.5%)

Counts
3 → 52
Calls

3 calls:

226.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
199.0ms
(/.f64 x (tan.f64 B))
24.0ms
(/.f64 1 (sin.f64 B))

simplify251.0ms (3.1%)

Algorithm
egg-herbie
Rules
623×fma-neg_binary64
570×associate-/l/_binary64
313×cancel-sign-sub-inv_binary64
219×distribute-rgt-neg-in_binary64
198×distribute-lft-neg-in_binary64
Counts
197 → 269
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02122272
15002210
220642182
348852182
450802182

prune343.0ms (4.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2609269
Fresh101
Picked101
Done000
Total2629271
Error
0b
Counts
271 → 9
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
26.4b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
18.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (cbrt.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.f64 x (tan.f64 B)))))
10.7b
(-.f64 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
10.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
16.8b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (sin.f64 B) (sin.f64 B)) (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 3660 to 1519 computations (58.5% saved)

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x)
0.2b
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
0.2b
(/.f64 (tan.f64 B) (sin.f64 B))

rewrite116.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
46×add-cube-cbrt_binary64
17×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×add-sqr-sqrt_binary64
12×pow1_binary64
Counts
3 → 144
Calls

3 calls:

35.0ms
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
34.0ms
(/.f64 (tan.f64 B) (sin.f64 B))
31.0ms
(-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x)

series196.0ms (2.4%)

Counts
3 → 60
Calls

3 calls:

119.0ms
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
56.0ms
(-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x)
20.0ms
(/.f64 (tan.f64 B) (sin.f64 B))

simplify149.0ms (1.8%)

Algorithm
egg-herbie
Rules
825×fma-def_binary64
475×fma-neg_binary64
249×cancel-sign-sub-inv_binary64
198×distribute-rgt-in_binary64
154×distribute-rgt-neg-in_binary64
Counts
204 → 293
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02293000
15722912
222542638
345972638
449392638

prune159.0ms (2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2903293
Fresh448
Picked011
Done000
Total2948302
Error
0b
Counts
302 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
26.4b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.2b
(*.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (/.f64 1 (tan.f64 B)))
10.7b
(-.f64 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 4115 to 1072 computations (73.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x)
0.2b
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
0.2b
(/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B)))
0.2b
(*.f64 (sin.f64 B) (cos.f64 B))

rewrite94.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
46×add-cube-cbrt_binary64
23×pow1_binary64
22×add-exp-log_binary64
22×add-sqr-sqrt_binary64
22×add-cbrt-cube_binary64
Counts
4 → 184
Calls

4 calls:

38.0ms
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
15.0ms
(*.f64 (sin.f64 B) (cos.f64 B))
14.0ms
(-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x)
14.0ms
(/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B)))

series139.0ms (1.7%)

Counts
4 → 64
Calls

4 calls:

89.0ms
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
29.0ms
(-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x)
14.0ms
(/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B)))
6.0ms
(*.f64 (sin.f64 B) (cos.f64 B))

simplify144.0ms (1.8%)

Algorithm
egg-herbie
Rules
396×fma-neg_binary64
339×cancel-sign-sub-inv_binary64
198×times-frac_binary64
174×associate-*r*_binary64
171×associate-*l*_binary64
Counts
248 → 396
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02883205
17053052
229922849
348142849
449142849

prune254.0ms (3.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3951396
Fresh156
Picked011
Done011
Total3968404
Error
0b
Counts
404 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
26.4b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.4b
(/.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B)))) 3) x) (tan.f64 B))
0.2b
(*.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (/.f64 1 (tan.f64 B)))
0.2b
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 6295 to 1785 computations (71.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cos.f64 B) x)
0.2b
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))

rewrite34.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×add-cube-cbrt_binary64
15×pow1_binary64
12×add-exp-log_binary64
12×add-sqr-sqrt_binary64
12×add-cbrt-cube_binary64
Counts
2 → 88
Calls

2 calls:

18.0ms
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
12.0ms
(*.f64 (cos.f64 B) x)

series74.0ms (0.9%)

Counts
2 → 28
Calls

2 calls:

48.0ms
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
25.0ms
(*.f64 (cos.f64 B) x)

simplify100.0ms (1.2%)

Algorithm
egg-herbie
Rules
691×fma-def_binary64
207×fma-neg_binary64
192×associate-/l/_binary64
190×associate-/r/_binary64
182×cancel-sign-sub-inv_binary64
Counts
116 → 187
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01721563
14431454
217541414
347381413
449971413

prune114.0ms (1.4%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh055
Picked011
Done022
Total1878195
Error
0b
Counts
195 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
26.4b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 2)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.4b
(/.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B)))) 3) x) (tan.f64 B))
0.2b
(*.f64 (-.f64 (/.f64 (tan.f64 B) (sin.f64 B)) x) (/.f64 1 (tan.f64 B)))
0.2b
(/.f64 (-.f64 (/.f64 (sin.f64 B) (*.f64 (sin.f64 B) (cos.f64 B))) x) (tan.f64 B))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 2376 to 1079 computations (54.6% saved)

regimes635.0ms (7.8%)

Accuracy

Total 0.1b remaining (89.1%)

Threshold costs 0.1b (89.1%)

Compiler

Compiled 7807 to 5451 computations (30.2% 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
01014
11414
22014
32414
42714
52814
62714

end1.0ms (0%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.3s (28.5%)

Algorithm
intervals
Results
1.0s2300×body1024valid
412.0ms4023×body128valid
337.0ms1132×body512valid
102.0ms540×body256valid
15.0ms164×body128invalid
7.0msbody2048valid
Compiler

Compiled 151 to 103 computations (31.8% saved)

Profiling

Loading profile data...