Details

Time bar (total: 15.0s)

analyze2.1s (14.3%)

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
0%99.9%0.1%6
0%99.9%0.1%7
0%93.6%6.4%8
9.4%84.3%6.4%9
14.8%75.7%9.5%10
16%71.4%12.6%11
20.9%65.7%13.4%12
24.2%60.5%15.3%13
24.8%58.6%16.6%14
Compiler

Compiled 31 to 24 computations (22.6% saved)

sample5.1s (34.2%)

Results
2.5s2251×body1024valid
1.1s4313×body128valid
768.0ms1116×body512valid
317.0ms568×body256valid
305.0ms835×body128invalid
13.0msbody2048valid
1.0msbody1024invalid
0.0msbody256invalid
Compiler

Compiled 92 to 71 computations (22.8% saved)

simplify53.0ms (0.4%)

Algorithm
egg-herbie
Rules
640×distribute-rgt-neg-in_binary64
474×fma-neg_binary64
418×distribute-lft-neg-in_binary64
379×div-sub_binary64
378×fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02335
14928
210028
319528
439128
5107528
6254328
7420028
8495528

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 153 to 108 computations (29.4% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 x (tan.f64 B))
0.2b
(/.f64 F (sin.f64 B))
5.0b
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))
16.6b
(pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)

series242.0ms (1.6%)

Counts
4 → 80
Calls

4 calls:

142.0ms
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))
41.0ms
(pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)
40.0ms
(/.f64 x (tan.f64 B))
18.0ms
(/.f64 F (sin.f64 B))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
31×*-un-lft-identity_binary64
31×add-cube-cbrt_binary64
30×times-frac_binary64
22×add-exp-log_binary64
Counts
4 → 123
Calls

4 calls:

8.0ms
(pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)
7.0ms
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))
2.0ms
(/.f64 x (tan.f64 B))
2.0ms
(/.f64 F (sin.f64 B))

simplify172.0ms (1.2%)

Algorithm
egg-herbie
Rules
302×fma-def_binary64
223×*-commutative_binary64
221×associate-*r*_binary64
218×fma-neg_binary64
202×+-commutative_binary64
Counts
203 → 271
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05005883
113605603
245185575
349845575
449325575

prune350.0ms (2.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New26011271
Fresh101
Picked101
Done000
Total26211273
Error
0.0b
Counts
273 → 11
Alt Table
StatusErrorProgram
19.0b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))) (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)))) (/.f64 x (tan.f64 B)))
11.4b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
8.9b
(-.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) (/.f64 x (tan.f64 B)))
29.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))) (/.f64 x (tan.f64 B)))
11.5b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
10.8b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 x (/.f64 1 (tan.f64 B))))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 1 (/.f64 (tan.f64 B) x)))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (*.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/4) (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/4))) (/.f64 x (tan.f64 B)))
29.7b
(-.f64 (/.f64 -1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 10393 to 5818 computations (44% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 x (tan.f64 B))
0.2b
(*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)))
0.4b
(*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))
16.6b
(pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)

series283.0ms (1.9%)

Counts
2 → 56
Calls

2 calls:

143.0ms
(*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)))
140.0ms
(*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
62×add-exp-log_binary64
37×prod-exp_binary64
30×add-sqr-sqrt_binary64
16×associate-*l*_binary64
16×add-cbrt-cube_binary64
Counts
2 → 86
Calls

2 calls:

9.0ms
(*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)))
8.0ms
(*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))

simplify146.0ms (1%)

Algorithm
egg-herbie
Rules
672×times-frac_binary64
344×cancel-sign-sub-inv_binary64
245×sub-neg_binary64
243×associate-*r*_binary64
229×fma-def_binary64
Counts
142 → 199
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03485119
19654691
231554663
351824663

prune451.0ms (3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New3142316
Fresh2810
Picked011
Done000
Total31611327
Error
0.0b
Counts
327 → 11
Alt Table
StatusErrorProgram
29.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))) (/.f64 x (tan.f64 B)))
11.4b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
8.9b
(-.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.3b
(-.f64 (cbrt.f64 (pow.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) 3)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))) (/.f64 x (tan.f64 B)))
11.5b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
10.8b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 x (/.f64 1 (tan.f64 B))))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 1 (/.f64 (tan.f64 B) x)))
29.7b
(-.f64 (/.f64 -1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 12868 to 7920 computations (38.5% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 x (tan.f64 B))
0.2b
(*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B)))
0.3b
(/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))
16.6b
(pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2)

series329.0ms (2.2%)

Counts
3 → 80
Calls

3 calls:

146.0ms
(*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B)))
138.0ms
(/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))
44.0ms
(pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2)

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt_binary64
45×times-frac_binary64
36×*-un-lft-identity_binary64
36×add-cube-cbrt_binary64
25×associate-*r*_binary64
Counts
3 → 116
Calls

3 calls:

8.0ms
(*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B)))
4.0ms
(/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))
2.0ms
(pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2)

simplify170.0ms (1.1%)

Algorithm
egg-herbie
Rules
347×fma-def_binary64
295×fma-neg_binary64
245×associate-*r*_binary64
228×associate-/l*_binary64
215×associate-/r*_binary64
Counts
196 → 268
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05327772
114827320
249837320
351997320

prune429.0ms (2.9%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New3090309
Fresh099
Picked011
Done011
Total30911320
Error
0.0b
Counts
320 → 11
Alt Table
StatusErrorProgram
29.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))) (/.f64 x (tan.f64 B)))
11.4b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
8.9b
(-.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.3b
(-.f64 (cbrt.f64 (pow.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) 3)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))) (/.f64 x (tan.f64 B)))
11.5b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
10.8b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 x (/.f64 1 (tan.f64 B))))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 1 (/.f64 (tan.f64 B) x)))
29.7b
(-.f64 (/.f64 -1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 12694 to 7610 computations (40.1% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B))
0.4b
(*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))
16.6b
(sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2)))
16.6b
(sqrt.f64 (fma.f64 2 x (fma.f64 F F 2)))

series1.8s (12.1%)

Counts
4 → 104
Calls

4 calls:

1.2s
(*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))
537.0ms
(/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B))
33.0ms
(sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2)))
30.0ms
(sqrt.f64 (fma.f64 2 x (fma.f64 F F 2)))

rewrite43.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt_binary64
76×times-frac_binary64
66×unpow-prod-down_binary64
52×*-un-lft-identity_binary64
52×add-cube-cbrt_binary64
Counts
4 → 178
Calls

4 calls:

12.0ms
(*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))
5.0ms
(/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B))
1.0ms
(sqrt.f64 (fma.f64 2 x (fma.f64 F F 2)))
1.0ms
(sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2)))

simplify333.0ms (2.2%)

Algorithm
egg-herbie
Rules
415×*-commutative_binary64
298×times-frac_binary64
266×+-commutative_binary64
232×fma-def_binary64
199×associate-+r+_binary64
Counts
282 → 369
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0117117351
1369916642
2498416642
3492416642

prune778.0ms (5.2%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New3690369
Fresh088
Picked011
Done022
Total36911380
Error
0.0b
Counts
380 → 11
Alt Table
StatusErrorProgram
29.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 (pow.f64 (sqrt.f64 (fma.f64 2 x (fma.f64 F F 2))) -1/2) (sin.f64 B)) (pow.f64 (sqrt.f64 (fma.f64 x 2 (fma.f64 F F 2))) -1/2))) (/.f64 x (tan.f64 B)))
11.4b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
8.9b
(-.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.3b
(-.f64 (cbrt.f64 (pow.f64 (*.f64 F (/.f64 (pow.f64 (fma.f64 2 x (fma.f64 F F 2)) -1/2) (sin.f64 B))) 3)) (/.f64 x (tan.f64 B)))
8.9b
(-.f64 (*.f64 F (*.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2))) (/.f64 x (tan.f64 B)))
11.5b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
10.8b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (*.f64 x (/.f64 1 (tan.f64 B))))
10.9b
(-.f64 (*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (fma.f64 x 2 (fma.f64 F F 2)) -1/2)) (/.f64 1 (/.f64 (tan.f64 B) x)))
29.7b
(-.f64 (/.f64 -1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 26366 to 17469 computations (33.7% saved)

regimes1.6s (10.5%)

Accuracy

Total 0.2b remaining (77.4%)

Threshold costs 0.2b (77.4%)

Counts
182 → 3
Compiler

Compiled 20936 to 14360 computations (31.4% saved)

bsearch165.0ms (1.1%)

Steps
ItersRangePoint
5
0.008463844253899424
2149153837086.8728
200098337.16463616
9
-2.2598587931480683e+32
-30670068559557460.0
-32523940678871004.0
Compiler

Compiled 4 to 3 computations (25% 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
02868
13668
24368
34768
45068
55168
65068

end219.0ms (1.5%)

Compiler

Compiled 356 to 234 computations (34.3% saved)

Profiling

Loading profile data...