Details

Time bar (total: 6.5s)

analyze1.2s (18%)

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 (42.5%)

Results
1.4s2381×body1024valid
700.0ms4154×body128valid
436.0ms1141×body512valid
157.0ms576×body256valid
28.0ms179×body128invalid
4.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify13.0ms (0.2%)

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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
24814
38114
412214
516814
618714
722914
822614
924414
1024114
1121614
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 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 73 to 53 computations (27.4% saved)

localize7.0ms (0.1%)

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

series79.0ms (1.2%)

Counts
3 → 52
Calls

3 calls:

37.0ms
(/.f64 x (tan.f64 B))
36.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
5.0ms
(/.f64 1 (sin.f64 B))

rewrite109.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
785×prod-diff_binary64
276×fma-def_binary64
254×egg-rr
223×fma-neg_binary64
184×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119926
2271426
3496526
4496626
Stop Event
node limit
Counts
3 → 254
Calls

3 calls:

102.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
102.0ms
(/.f64 x (tan.f64 B))
102.0ms
(/.f64 1 (sin.f64 B))

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Rules
610×+-commutative_binary64
500×sub-neg_binary64
422×associate--l+_binary64
420×fma-def_binary64
331×associate-+l+_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
063830
1177817
2528799
31983797
44141793
54721793
64945793
Stop Event
node limit
Counts
306 → 281

prune215.0ms (3.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2747281
Fresh101
Picked101
Done000
Total2767283
Error
0b
Counts
283 → 7
Alt Table
StatusErrorProgram
9.0b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
0.2b
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
34.7b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
26.8b
(-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (sin.f64 B))))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 8032 to 3036 computations (62.2% 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))

series50.0ms (0.8%)

Counts
3 → 35
Calls

3 calls:

24.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
19.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
6.0ms
(*.f64 x (cos.f64 B))

rewrite205.0ms (3.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01031
121826
2304326
3520226
Stop Event
node limit
Counts
3 → 328
Calls

3 calls:

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

simplify69.0ms (1%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
076526
1217514
2656492
32541488
44791484
55040484
Stop Event
node limit
Counts
363 → 356

prune291.0ms (4.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3860386
Fresh066
Picked011
Done000
Total3867393
Error
0b
Counts
393 → 7
Alt Table
StatusErrorProgram
9.0b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
0.2b
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
34.7b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
26.8b
(-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (sin.f64 B))))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 13217 to 4946 computations (62.6% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series118.0ms (1.8%)

Counts
4 → 76
Calls

4 calls:

67.0ms
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
26.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B))
17.0ms
(-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x))
7.0ms
(*.f64 (sin.f64 B) x)

rewrite178.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
960×prod-diff_binary64
417×egg-rr
111×add-sqr-sqrt_binary64
105×log1p-expm1-u_binary64
105×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0954
120954
2314654
3507454
Stop Event
node limit
Counts
4 → 417
Calls

4 calls:

161.0ms
(-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x))
161.0ms
(*.f64 (sin.f64 B) x)
161.0ms
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
161.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B))

simplify74.0ms (1.1%)

Algorithm
egg-herbie
Rules
709×fma-def_binary64
648×fma-neg_binary64
572×associate-+l+_binary64
368×associate-+r+_binary64
272×associate--l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01151395
13361374
210381215
341471215
450091215
Stop Event
node limit
Counts
493 → 464

prune289.0ms (4.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New4631464
Fresh145
Picked101
Done011
Total4656471
Error
0b
Counts
471 → 6
Alt Table
StatusErrorProgram
9.0b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
26.8b
(-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (sin.f64 B))))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.2b
(/.f64 (-.f64 (/.f64 1 (cos.f64 B)) x) (tan.f64 B))
Compiler

Compiled 20092 to 4906 computations (75.6% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series44.0ms (0.7%)

Counts
2 → 28
Calls

2 calls:

37.0ms
(/.f64 (-.f64 (/.f64 1 (cos.f64 B)) x) (tan.f64 B))
6.0ms
(/.f64 1 (cos.f64 B))

rewrite116.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
761×prod-diff_binary64
217×egg-rr
201×fma-def_binary64
182×expm1-udef_binary64
182×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
119820
2267220
3491220
4517420
Stop Event
node limit
Counts
2 → 217
Calls

2 calls:

107.0ms
(/.f64 1 (cos.f64 B))
107.0ms
(/.f64 (-.f64 (/.f64 1 (cos.f64 B)) x) (tan.f64 B))

simplify54.0ms (0.8%)

Algorithm
egg-herbie
Rules
615×+-commutative_binary64
605×associate-*l*_binary64
493×unswap-sqr_binary64
488×fma-neg_binary64
427×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
073534
1184523
2517427
31920425
43954419
55594419
Stop Event
node limit
Counts
245 → 237

prune166.0ms (2.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2361237
Fresh134
Picked011
Done011
Total2376243
Error
0b
Counts
243 → 6
Alt Table
StatusErrorProgram
9.0b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
0.3b
(/.f64 (-.f64 (cbrt.f64 (pow.f64 (cos.f64 B) -3)) x) (tan.f64 B))
0.2b
(/.f64 (-.f64 (/.f64 1 (cos.f64 B)) x) (tan.f64 B))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 9300 to 3297 computations (64.5% saved)

regimes315.0ms (4.8%)

Accuracy

Total 0.1b remaining (83.3%)

Threshold costs 0.1b (83.3%)

Counts
103 → 1
Compiler

Compiled 4147 to 3042 computations (26.6% saved)

simplify2.0ms (0%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01116
12014
22914
33114
43214
53014
Stop Event
saturated

end85.0ms (1.3%)

Compiler

Compiled 104 to 68 computations (34.6% saved)

Profiling

Loading profile data...