Details

Time bar (total: 4.3s)

analyze332.0ms (7.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample2.9s (66%)

Results
1.5s2089×body2048valid
455.0ms1149×body1024valid
437.0ms1574×body512valid
274.0ms2594×body128valid
137.0ms739×body256valid
79.0ms111×body4096valid
Compiler

Compiled 20 to 14 computations (30% saved)

preprocess32.0ms (0.7%)

Algorithm
egg-herbie
Rules
424×fma-def_binary64
293×fma-neg_binary64
86×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512712
619212
731712
862112
9114012
10170012
11182912
011
Stop Event
saturated
saturated
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify22.0ms (0.5%)

Algorithm
egg-herbie
Rules
424×fma-def_binary64
293×fma-neg_binary64
86×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512712
619212
731712
862112
9114012
10170012
11182912
Stop Event
saturated
Counts
1 → 1

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
33.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
2.3b
(-.f64 1 (cos.f64 x))
14.6b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series5.0ms (0.1%)

Counts
2 → 16
Calls

6 calls:

1.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
x
-inf
1.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
x
inf
1.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
x
0
1.0ms
(-.f64 1 (cos.f64 x))
x
0
0.0ms
(-.f64 1 (cos.f64 x))
x
inf

rewrite42.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
818×log1p-expm1-u_binary64
818×expm1-log1p-u_binary64
78×add-sqr-sqrt_binary64
75×*-un-lft-identity_binary64
75×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
115218
2213018
Stop Event
node limit
Counts
2 → 66

simplify32.0ms (0.7%)

Algorithm
egg-herbie
Rules
588×associate-*l*_binary64
468×fma-def_binary64
434×associate-*r*_binary64
413×unswap-sqr_binary64
387×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035224
197220
2266214
3901212
44446212
Stop Event
node limit
Counts
82 → 83

prune67.0ms (1.5%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New74983
Fresh000
Picked101
Done000
Total75984
Error
0.0b
Counts
84 → 9
Alt Table
StatusErrorProgram
15.2b
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
33.1b
(*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))
32.7b
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
33.5b
(pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)
33.3b
(pow.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 3)
30.0b
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 6) -1/40320 (fma.f64 1/720 (pow.f64 x 4) 1/2)))
42.6b
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 x 4))) (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))
33.5b
(*.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))
15.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
Compiler

Compiled 1363 to 856 computations (37.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.3b
(+.f64 1 (cos.f64 x))
14.6b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series27.0ms (0.6%)

Counts
4 → 40
Calls

12 calls:

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

rewrite62.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
456×prod-diff_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
120×add-sqr-sqrt_binary64
116×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01046
122830
2352130
Stop Event
node limit
Counts
4 → 145

simplify41.0ms (1%)

Algorithm
egg-herbie
Rules
920×times-frac_binary64
452×fma-neg_binary64
209×*-commutative_binary64
187×fma-def_binary64
167×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
054564
1155556
2460496
31638496
44511496
Stop Event
node limit
Counts
185 → 179

prune117.0ms (2.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1745179
Fresh628
Picked101
Done000
Total1817188
Error
0b
Counts
188 → 7
Alt Table
StatusErrorProgram
15.7b
(*.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))))
33.5b
(pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)
15.2b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
30.0b
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 6) -1/40320 (fma.f64 1/720 (pow.f64 x 4) 1/2)))
33.1b
(pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)
32.6b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
15.3b
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))
Compiler

Compiled 3149 to 1739 computations (44.8% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
14.1b
(/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))

series18.0ms (0.4%)

Counts
2 → 24
Calls

6 calls:

4.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
x
-inf
4.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
x
inf
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))
x
-inf
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x))
x
inf
1.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
x
0

rewrite45.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
492×log-prod_binary64
180×pow1/3_binary64
176×expm1-udef_binary64
176×log1p-udef_binary64
163×pow3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
119829
2261929
Stop Event
node limit
Counts
2 → 71

simplify37.0ms (0.9%)

Algorithm
egg-herbie
Rules
492×unswap-sqr_binary64
463×associate-*l*_binary64
423×associate-*r*_binary64
417×fma-def_binary64
350×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045467
1115465
2289457
3927455
44038455
Stop Event
node limit
Counts
95 → 89

prune71.0ms (1.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh426
Picked101
Done000
Total91596
Error
0b
Counts
96 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 x) (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (/.f64 1 x)))
0.1b
(/.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)
33.1b
(pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)
0.3b
(/.f64 (sin.f64 x) (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)))
15.7b
(*.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))))
Compiler

Compiled 1502 to 1025 computations (31.8% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)
0.1b
(/.f64 (tan.f64 (*.f64 x 1/2)) x)
0.1b
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x))

series36.0ms (0.8%)

Counts
3 → 36
Calls

9 calls:

10.0ms
(/.f64 (tan.f64 (*.f64 x 1/2)) x)
x
inf
5.0ms
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x))
x
-inf
5.0ms
(/.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)
x
-inf
4.0ms
(/.f64 (tan.f64 (*.f64 x 1/2)) x)
x
-inf
4.0ms
(/.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)
x
inf

rewrite59.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
553×log-prod_binary64
180×expm1-udef_binary64
180×log1p-udef_binary64
156×log-div_binary64
150×log-pow_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0940
119540
2271040
Stop Event
node limit
Counts
3 → 114

simplify46.0ms (1%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
429×cancel-sign-sub-inv_binary64
259×fma-neg_binary64
241×times-frac_binary64
210×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
053680
1152672
2415664
31393662
44523662
Stop Event
node limit
Counts
150 → 140

prune103.0ms (2.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1391140
Fresh134
Picked011
Done000
Total1405145
Error
0b
Counts
145 → 5
Alt Table
StatusErrorProgram
33.1b
(pow.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)) 1)
0.3b
(/.f64 (sin.f64 x) (/.f64 x (/.f64 (tan.f64 (*.f64 x 1/2)) x)))
15.7b
(*.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (*.f64 (+.f64 1 (cos.f64 x)) (*.f64 x x))))
0.2b
(*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (*.f64 (sin.f64 x) (/.f64 1 x)))
0.1b
(/.f64 (*.f64 (/.f64 (tan.f64 (*.f64 x 1/2)) x) (sin.f64 x)) x)
Compiler

Compiled 2360 to 1456 computations (38.3% saved)

regimes181.0ms (4.2%)

Accuracy

Total 0.1b remaining (79.2%)

Threshold costs 0.1b (79.2%)

Counts
107 → 1
Compiler

Compiled 2899 to 2104 computations (27.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
Stop Event
saturated

end72.0ms (1.7%)

Stop Event
fuel
Compiler

Compiled 89 to 63 computations (29.2% saved)

Profiling

Loading profile data...