Details

Time bar (total: 6.4s)

analyze1.2s (18.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)

sample2.8s (43.1%)

Results
1.4s2342×body1024valid
638.0ms4077×body128valid
457.0ms1190×body512valid
179.0ms644×body256valid
28.0ms177×body128invalid
3.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 30 to 24 computations (20% saved)

preprocess47.0ms (0.7%)

Algorithm
egg-herbie
Rules
698×fma-def_binary64
260×fma-neg_binary64
146×times-frac_binary64
110×cancel-sign-sub-inv_binary64
104×div-sub_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01838
14128
29428
316928
427128
541328
651528
765828
882128
987028
1091028
11107528
12157228
13238928
14260728
15266728
16270328
022
Stop Event
saturated
saturated
Compiler

Compiled 14 to 11 computations (21.4% saved)

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
105×fma-def_binary64
66×fma-neg_binary64
25×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
11×associate-/l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
25114
39014
414314
521614
626714
733714
841914
943914
1044414
Stop Event
saturated
Counts
1 → 2

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

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series81.0ms (1.3%)

Counts
4 → 56
Calls

18 calls:

9.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
B
-inf
9.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
B
inf
7.0ms
(/.f64 x (tan.f64 B))
x
inf
7.0ms
(/.f64 x (tan.f64 B))
B
inf
7.0ms
(/.f64 x (tan.f64 B))
B
-inf

rewrite89.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
785×prod-diff_binary64
253×egg-rr
184×expm1-udef_binary64
184×log1p-udef_binary64
103×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
120029
2290329
Stop Event
node limit
Counts
4 → 253

simplify41.0ms (0.6%)

Algorithm
egg-herbie
Rules
481×cancel-sign-sub-inv_binary64
475×fma-def_binary64
382×fma-neg_binary64
370×associate-*l*_binary64
328×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
075882
1219869
2671847
32883845
Stop Event
node limit
Counts
309 → 289

prune265.0ms (4.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2827289
Fresh101
Picked101
Done000
Total2847291
Error
0.0b
Counts
291 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
Compiler

Compiled 7996 to 3417 computations (57.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series49.0ms (0.8%)

Counts
3 → 35
Calls

18 calls:

5.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
B
-inf
5.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
B
inf
4.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
x
0
4.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
x
-inf
4.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
B
inf

rewrite118.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
911×prod-diff_binary64
328×egg-rr
111×add-sqr-sqrt_binary64
104×add-cbrt-cube_binary64
104×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01031
121926
2325626
Stop Event
node limit
Counts
3 → 328

simplify52.0ms (0.8%)

Algorithm
egg-herbie
Rules
504×fma-neg_binary64
428×fma-def_binary64
310×associate-+l+_binary64
257×distribute-rgt-neg-in_binary64
252×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076526
1218514
2686492
33116488
Stop Event
node limit
Counts
363 → 356

prune306.0ms (4.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3860386
Fresh066
Picked011
Done000
Total3867393
Error
0.0b
Counts
393 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
Compiler

Compiled 13236 to 5129 computations (61.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
0.2b
(expm1.f64 (sin.f64 B))
0.2b
(/.f64 x (tan.f64 B))
0.2b
(log1p.f64 (expm1.f64 (sin.f64 B)))

series10.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

3.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
B
inf
2.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
B
-inf
1.0ms
(log1p.f64 (expm1.f64 (sin.f64 B)))
B
0
1.0ms
(expm1.f64 (sin.f64 B))
B
0
1.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
B
0

rewrite38.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
461×expm1-log1p-u_binary64
460×log1p-expm1-u_binary64
293×unpow-prod-down_binary64
232×log-prod_binary64
136×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
111914
2130914
Stop Event
node limit
Counts
3 → 108

simplify37.0ms (0.6%)

Algorithm
egg-herbie
Rules
683×fma-def_binary64
556×distribute-rgt-neg-in_binary64
366×associate-*l*_binary64
332×cancel-sign-sub-inv_binary64
322×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049269
1135267
2352257
31145253
43894253
Stop Event
node limit
Counts
144 → 130

prune136.0ms (2.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh055
Picked011
Done011
Total1727179
Error
0.0b
Counts
179 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
Compiler

Compiled 2908 to 1429 computations (50.9% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series102.0ms (1.6%)

Counts
4 → 84
Calls

21 calls:

18.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
B
inf
18.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
B
-inf
12.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
x
0
10.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
x
-inf
10.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
x
inf

rewrite74.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
635×log-prod_binary64
243×fma-def_binary64
196×egg-rr
196×expm1-udef_binary64
196×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0946
120446
2318246
Stop Event
node limit
Counts
4 → 196

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Rules
670×fma-def_binary64
598×fma-neg_binary64
538×associate-+l+_binary64
351×associate-+r+_binary64
244×associate--l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01081336
13171317
210471290
348011290
Stop Event
node limit
Counts
280 → 240

prune153.0ms (2.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2373240
Fresh224
Picked101
Done022
Total2407247
Error
0b
Counts
247 → 7
Alt Table
StatusErrorProgram
0.3b
(pow.f64 (/.f64 (sin.f64 B) (/.f64 (fma.f64 (sin.f64 B) (neg.f64 x) (tan.f64 B)) (tan.f64 B))) -1)
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
26.8b
(/.f64 (/.f64 1 (/.f64 (fma.f64 (*.f64 x (sin.f64 B)) (fma.f64 x (sin.f64 B) (tan.f64 B)) (pow.f64 (tan.f64 B) 2)) (-.f64 (pow.f64 (tan.f64 B) 3) (pow.f64 (*.f64 x (sin.f64 B)) 3)))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
0.2b
(*.f64 (/.f64 (fma.f64 (sin.f64 B) (neg.f64 x) (tan.f64 B)) (tan.f64 B)) (/.f64 1 (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 5481 to 1460 computations (73.4% saved)

regimes612.0ms (9.6%)

Accuracy

Total 0.2b remaining (83.1%)

Threshold costs 0.2b (83.1%)

Counts
189 → 1
Compiler

Compiled 8440 to 5862 computations (30.5% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11519
22119
33119
43819
54319
64519
Stop Event
saturated

end110.0ms (1.7%)

Stop Event
fuel
Compiler

Compiled 161 to 99 computations (38.5% saved)

Profiling

Loading profile data...