Details

Time bar (total: 7.0s)

analyze1.6s (22.7%)

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)

sample75.0ms (1.1%)

Algorithm
intervals
Results
35.0ms75×body1024valid
14.0ms136×body128valid
10.0ms30×body512valid
3.0ms14×body256valid
1.0msbody2048valid
1.0msbody128invalid
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify29.0ms (0.4%)

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

prune4.0ms (0%)

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)

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

rewrite44.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
288×times-frac_binary64
239×add-sqr-sqrt_binary64
231×*-un-lft-identity_binary64
222×add-cube-cbrt_binary64
182×prod-diff_binary64
Counts
3 → 295
Calls

3 calls:

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

series165.0ms (2.4%)

Counts
3 → 52
Calls

3 calls:

80.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
76.0ms
(/.f64 x (tan.f64 B))
9.0ms
(/.f64 1 (sin.f64 B))

simplify324.0ms (4.6%)

Algorithm
egg-herbie
Rules
908×fma-def_binary64
454×times-frac_binary64
255×fma-neg_binary64
182×associate-/l/_binary64
153×cancel-sign-sub-inv_binary64
Counts
347 → 612
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031211199
17497806
217756080
343566080
448286080
549966080
647886080

prune265.0ms (3.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New6048612
Fresh101
Picked101
Done000
Total6068614
Error
0.0b
Counts
614 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
31.2b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
31.5b
(-.f64 (/.f64 1 (sin.f64 B)) (cbrt.f64 (/.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 (tan.f64 B) (tan.f64 B)) (tan.f64 B)))))
14.6b
(-.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)))
23.4b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (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 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
9.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
30.5b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
Compiler

Compiled 11931 to 3738 computations (68.7% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
37×times-frac_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
13×fma-neg_binary64
Counts
3 → 105
Calls

3 calls:

6.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
5.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
2.0ms
(/.f64 x (sin.f64 B))

series141.0ms (2%)

Counts
3 → 52
Calls

3 calls:

57.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
52.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
32.0ms
(/.f64 x (sin.f64 B))

simplify153.0ms (2.2%)

Algorithm
egg-herbie
Rules
673×fma-def_binary64
414×fma-neg_binary64
372×associate-/l*_binary64
342×times-frac_binary64
338×associate-*l/_binary64
Counts
157 → 251
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01942974
14762749
214262544
343282511
449452511
549952511
649202511

prune180.0ms (2.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3082310
Fresh257
Picked011
Done000
Total3108318
Error
0.0b
Counts
318 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
31.2b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B)))
9.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
23.4b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
30.5b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
14.6b
(-.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)))
Compiler

Compiled 4773 to 1771 computations (62.9% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 72
Calls

3 calls:

4.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
3.0ms
(*.f64 x (cos.f64 B))
2.0ms
(-.f64 1 (*.f64 x (cos.f64 B)))

series215.0ms (3.1%)

Counts
3 → 55
Calls

3 calls:

163.0ms
(*.f64 x (cos.f64 B))
38.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
15.0ms
(-.f64 1 (*.f64 x (cos.f64 B)))

simplify89.0ms (1.3%)

Algorithm
egg-herbie
Rules
695×fma-def_binary64
458×fma-neg_binary64
343×associate-+l+_binary64
244×cancel-sign-sub-inv_binary64
241×associate-+r+_binary64
Counts
127 → 202
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01821949
14291830
213761785
341771783
449171783

prune91.0ms (1.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2020202
Fresh066
Picked011
Done011
Total2028210
Error
0.0b
Counts
210 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
31.2b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B)))
9.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
23.4b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
30.5b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
14.6b
(-.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)))
Compiler

Compiled 2109 to 1036 computations (50.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64
103×add-sqr-sqrt_binary64
91×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
44×associate-*l*_binary64
Counts
3 → 181
Calls

3 calls:

11.0ms
(*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B))
4.0ms
(/.f64 1 (/.f64 (sin.f64 B) x))
2.0ms
(/.f64 (sin.f64 B) x)

series151.0ms (2.1%)

Counts
3 → 52
Calls

3 calls:

73.0ms
(/.f64 1 (/.f64 (sin.f64 B) x))
52.0ms
(*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B))
25.0ms
(/.f64 (sin.f64 B) x)

simplify179.0ms (2.5%)

Algorithm
egg-herbie
Rules
812×fma-def_binary64
478×fma-neg_binary64
391×times-frac_binary64
389×cancel-sign-sub-inv_binary64
270×associate-*l/_binary64
Counts
233 → 410
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01923387
14213025
213022981
331562974
444922974
549642972
649812972

prune296.0ms (4.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New5280528
Fresh055
Picked011
Done022
Total5288536
Error
0.0b
Counts
536 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
31.2b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B)))
9.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
23.4b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
30.5b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
14.6b
(-.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)))
Compiler

Compiled 7471 to 3266 computations (56.3% saved)

regimes453.0ms (6.4%)

Accuracy

Total 0.1b remaining (80.3%)

Threshold costs 0.1b (80.3%)

Compiler

Compiled 5368 to 3720 computations (30.7% saved)

simplify4.0ms (0.1%)

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
0914
11314
21914
32314
42614
52714
62614

end0.0ms (0%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.5s (35.4%)

Algorithm
intervals
Results
1.1s2294×body1024valid
504.0ms3954×body128valid
347.0ms1189×body512valid
107.0ms557×body256valid
21.0ms198×body128invalid
6.0msbody2048valid
0.0msbody512invalid
Compiler

Compiled 164 to 112 computations (31.7% saved)

Profiling

Loading profile data...