Details

Time bar (total: 17.8s)

analyze1.8s (9.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample13.0s (73.1%)

Results
8.4s2088×body2048valid
2.8s3146×body1024valid
926.0ms1504×body512valid
287.0ms774×body256valid
206.0ms111×body4096valid
161.0ms633×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify102.0ms (0.6%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
430×div-sub_binary64
430×fma-def_binary64
335×times-frac_binary64
160×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11414
22414
34114
46714
511514
621214
741614
869914
9117614
10155514
11162114
12165214
13167914
14168914
15169314
16169314
17159214

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
35.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
35.2b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
2.0b
(-.f64 x (tan.f64 x))
2.1b
(-.f64 x (sin.f64 x))

series32.0ms (0.2%)

Counts
3 → 30
Calls

3 calls:

18.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
10.0ms
(-.f64 x (tan.f64 x))
4.0ms
(-.f64 x (sin.f64 x))

rewrite253.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
982×prod-diff_binary64
336×egg-rr
170×expm1-udef_binary64
170×log1p-udef_binary64
92×add-sqr-sqrt_binary64
Counts
3 → 336
Calls

3 calls:

224.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
224.0ms
(-.f64 x (tan.f64 x))
223.0ms
(-.f64 x (sin.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0726
117026
2262226
3519326
000
100

simplify92.0ms (0.5%)

Algorithm
egg-herbie
Rules
419×unswap-sqr_binary64
338×times-frac_binary64
303×fma-def_binary64
278×sub-neg_binary64
224×distribute-rgt-neg-in_binary64
Counts
366 → 367
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092658
1258654
2840614
33583602
44943602

prune378.0ms (2.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3652367
Fresh000
Picked011
Done000
Total3653368
Error
0.0b
Counts
368 → 3
Alt Table
StatusErrorProgram
27.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
35.2b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
35.2b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 16653 to 4053 computations (75.7% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
17.9b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

series26.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

8.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
6.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
6.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
6.0ms
(*.f64 27/112000 (pow.f64 x 6))

rewrite115.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
552×prod-diff_binary64
249×expm1-udef_binary64
249×log1p-udef_binary64
149×log1p-expm1-u_binary64
149×expm1-log1p-u_binary64
Counts
4 → 110
Calls

4 calls:

110.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
110.0ms
(*.f64 27/112000 (pow.f64 x 6))
110.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
110.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01553
132553
2329053
3488953
000
100

simplify117.0ms (0.7%)

Algorithm
egg-herbie
Rules
829×distribute-rgt-neg-in_binary64
802×fma-neg_binary64
670×distribute-lft-neg-in_binary64
618×cancel-sign-sub-inv_binary64
344×neg-mul-1_binary64
Counts
146 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
023424
162416
2133408
3374408
41238408
53147408
64625408
75121408

prune198.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh011
Picked101
Done011
Total1293132
Error
0b
Counts
132 → 3
Alt Table
StatusErrorProgram
27.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
35.2b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
35.2b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 3388 to 2550 computations (24.7% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 27/112000 (pow.f64 x 6) -1/2)
0.1b
(fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800))
0.1b
(*.f64 (pow.f64 x 3) -27/2800)
16.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))

series24.0ms (0.1%)

Counts
4 → 48
Calls

4 calls:

7.0ms
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
6.0ms
(fma.f64 27/112000 (pow.f64 x 6) -1/2)
6.0ms
(*.f64 (pow.f64 x 3) -27/2800)
5.0ms
(fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800))

rewrite102.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
504×log-prod_binary64
231×expm1-udef_binary64
231×log1p-udef_binary64
189×log-pow_binary64
181×prod-diff_binary64
Counts
4 → 101
Calls

4 calls:

98.0ms
(fma.f64 27/112000 (pow.f64 x 6) -1/2)
98.0ms
(fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800))
98.0ms
(*.f64 (pow.f64 x 3) -27/2800)
98.0ms
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01448
129448
2292448
3491148
000
100

simplify105.0ms (0.6%)

Algorithm
egg-herbie
Rules
468×unswap-sqr_binary64
438×associate-*l*_binary64
419×distribute-rgt-neg-in_binary64
382×distribute-lft-neg-in_binary64
326×associate-*r*_binary64
Counts
149 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031496
182470
2190462
3538462
41829462
54935462
64950462
74935462

prune167.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh011
Picked011
Done011
Total1193122
Error
0b
Counts
122 → 3
Alt Table
StatusErrorProgram
27.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
35.2b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
35.2b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 2581 to 2024 computations (21.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (-.f64 x (tan.f64 x)))
0.1b
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
1.9b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
2.0b
(-.f64 x (tan.f64 x))

series48.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

23.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
14.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
11.0ms
(/.f64 x (-.f64 x (tan.f64 x)))

rewrite179.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
564×fma-def_binary64
288×fma-neg_binary64
237×egg-rr
196×expm1-udef_binary64
196×log1p-udef_binary64
Counts
3 → 237
Calls

3 calls:

166.0ms
(/.f64 x (-.f64 x (tan.f64 x)))
166.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
166.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0834
119834
2319334
3498134
000
100

simplify121.0ms (0.7%)

Algorithm
egg-herbie
Rules
757×fma-neg_binary64
560×unswap-sqr_binary64
428×times-frac_binary64
258×associate-/l*_binary64
243×sub-neg_binary64
Counts
273 → 278
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0821068
12231064
27201024
33406990
45252990

prune351.0ms (2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4040404
Fresh000
Picked011
Done022
Total4043407
Error
0b
Counts
407 → 3
Alt Table
StatusErrorProgram
27.5b
(fma.f64 x (fma.f64 9/40 x (*.f64 (pow.f64 x 3) -27/2800)) (fma.f64 27/112000 (pow.f64 x 6) -1/2))
35.2b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
35.2b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 10222 to 2550 computations (75.1% saved)

regimes230.0ms (1.3%)

Accuracy

Total 0.1b remaining (86.6%)

Threshold costs 0.1b (86.6%)

Counts
41 → 3
Compiler

Compiled 1358 to 918 computations (32.4% saved)

bsearch97.0ms (0.5%)

Steps
ItersRangePoint
8
0.015257484308970703
56.929367671460824
0.08325210214059432
10
-18225976.90997477
-0.001948778834252129
-2.7697968612028183
Compiler

Compiled 2 to 1 computations (50% saved)

simplify9.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
043112
158112
275112
385112
491112
592112
691112

end218.0ms (1.2%)

Compiler

Compiled 190 to 108 computations (43.2% saved)

Profiling

Loading profile data...