Details

Time bar (total: 5.0s)

analyze327.0ms (6.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 (59%)

Results
1.5s2089×body2048valid
463.0ms1149×body1024valid
453.0ms1574×body512valid
296.0ms2594×body128valid
142.0ms739×body256valid
77.0ms111×body4096valid
Compiler

Compiled 20 to 14 computations (30% saved)

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

simplify18.0ms (0.4%)

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)

localize14.0ms (0.3%)

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

rewrite55.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
818×log1p-expm1-u_binary64
818×expm1-log1p-u_binary64
259×prod-diff_binary64
102×egg-rr
76×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
115318
2212818
Stop Event
node limit
Counts
2 → 102

simplify34.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
118 → 119

prune142.0ms (2.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1118119
Fresh000
Picked101
Done000
Total1128120
Error
0.0b
Counts
120 → 8
Alt Table
StatusErrorProgram
33.4b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (pow.f64 x -2))) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)))) (fma.f64 (neg.f64 (pow.f64 x -2)) (cos.f64 x) (*.f64 (pow.f64 x -2) (cos.f64 x))))
15.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
33.2b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 x -2)) (sqrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 x)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) (/.f64 1 x) (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 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)))
15.2b
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
33.1b
(log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))
40.8b
(+.f64 (fma.f64 1 (pow.f64 x -2) (neg.f64 (*.f64 (cos.f64 x) (pow.f64 x -2)))) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 (cos.f64 x) (pow.f64 x -2)))) (sqrt.f64 (*.f64 (cos.f64 x) (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)
Compiler

Compiled 3287 to 1912 computations (41.8% saved)

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

series30.0ms (0.6%)

Counts
4 → 40
Calls

12 calls:

8.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
5.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

rewrite61.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
456×prod-diff_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
145×egg-rr
114×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01046
122930
2347430
Stop Event
node limit
Counts
4 → 145

simplify39.0ms (0.8%)

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

prune120.0ms (2.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1772179
Fresh347
Picked101
Done000
Total1816187
Error
0b
Counts
187 → 6
Alt Table
StatusErrorProgram
33.2b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 x -2)) (sqrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 x)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) (/.f64 1 x) (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 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)))
15.3b
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))
33.1b
(log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))
14.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
33.5b
(pow.f64 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))) -1)
Compiler

Compiled 3165 to 1724 computations (45.5% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (sin.f64 x) 2)
0.3b
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
0.3b
(+.f64 1 (cos.f64 x))
14.1b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))

series26.0ms (0.5%)

Counts
3 → 12
Calls

9 calls:

7.0ms
(pow.f64 (sin.f64 x) 2)
x
inf
6.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
x
inf
6.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
x
-inf
2.0ms
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
x
-inf
1.0ms
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
x
inf

rewrite50.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
519×log-prod_binary64
191×fma-def_binary64
184×expm1-udef_binary64
184×log1p-udef_binary64
166×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01138
123330
2293830
Stop Event
node limit
Counts
3 → 117

simplify38.0ms (0.8%)

Algorithm
egg-herbie
Rules
786×fma-def_binary64
649×cancel-sign-sub-inv_binary64
390×fma-neg_binary64
211×*-commutative_binary64
145×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042192
1121184
2355176
31276174
44863174
Stop Event
node limit
Counts
129 → 140

prune137.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1781179
Fresh235
Picked011
Done000
Total1805185
Error
0b
Counts
185 → 5
Alt Table
StatusErrorProgram
33.2b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 x -2)) (sqrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 x)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) (/.f64 1 x) (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 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)))
15.1b
(*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x)))
33.1b
(log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))
14.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 3301 to 1922 computations (41.8% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series13.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

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

rewrite47.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
491×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
0926
119826
2264826
Stop Event
node limit
Counts
2 → 81

simplify34.0ms (0.7%)

Algorithm
egg-herbie
Rules
478×associate-*l*_binary64
417×associate-*r*_binary64
392×fma-def_binary64
355×times-frac_binary64
352×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045383
1119379
2315371
31067367
44496367
Stop Event
node limit
Counts
105 → 99

prune129.0ms (2.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh033
Picked011
Done011
Total995104
Error
0b
Counts
104 → 5
Alt Table
StatusErrorProgram
33.2b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 x -2)) (sqrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 x)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) (/.f64 1 x) (*.f64 (/.f64 (cos.f64 x) x) (/.f64 1 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)))
15.1b
(*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x)))
33.1b
(log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))
14.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 1601 to 1039 computations (35.1% saved)

regimes557.0ms (11.2%)

Accuracy

Total 0.1b remaining (75.3%)

Threshold costs 0.1b (75.3%)

Counts
233 → 1
Compiler

Compiled 8562 to 6041 computations (29.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11117
Stop Event
saturated

end95.0ms (1.9%)

Stop Event
fuel
Compiler

Compiled 115 to 79 computations (31.3% saved)

Profiling

Loading profile data...