Details

Time bar (total: 4.4s)

analyze22.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
12.5%12.5%75%2
12.5%12.5%75%3
18.7%6.2%75%4
21.8%3.1%75%5
23.4%1.6%75%6
23.4%1.6%75%7
24.2%0.8%75%8
24.2%0.8%75%9
24.6%0.4%75%10
24.6%0.4%75%11
24.8%0.2%75%12
24.8%0.2%75%13
24.9%0.1%75%14
Compiler

Compiled 20 to 14 computations (30% saved)

sample83.0ms (1.9%)

Algorithm
intervals
Results
26.0ms50×body1024valid
13.0ms149×body128valid
11.0ms44×body512valid
6.0ms256×pre128true
2.0ms13×body256valid
Compiler

Compiled 35 to 25 computations (28.6% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-/r/_binary64
fma-def_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01017
11715
22315
32615
42715
52615

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 47 to 28 computations (40.4% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 v)
0.0b
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 e (sin.f64 v))

series41.0ms (0.9%)

Counts
3 → 32
Calls

3 calls:

32.0ms
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
7.0ms
(*.f64 e (sin.f64 v))
2.0ms
(cos.f64 v)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 52
Calls

3 calls:

4.0ms
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
3.0ms
(*.f64 e (sin.f64 v))
1.0ms
(cos.f64 v)

simplify55.0ms (1.2%)

Algorithm
egg-herbie
Rules
593×associate-/r*_binary64
503×fma-def_binary64
289×cancel-sign-sub-inv_binary64
287×associate-/r/_binary64
260×associate-/l/_binary64
Counts
84 → 96
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01981787
15221642
220321598
350061598

prune96.0ms (2.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New89796
Fresh000
Picked101
Done000
Total90797
Error
0.0b
Counts
97 → 7
Alt Table
StatusErrorProgram
22.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) (sqrt.f64 (*.f64 e (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.4b
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
1.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 e) (cbrt.f64 e)) (*.f64 (cbrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
36.6b
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 e e) e) (*.f64 (*.f64 (sin.f64 v) (sin.f64 v)) (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
1.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (cbrt.f64 (*.f64 e (sin.f64 v)))) (cbrt.f64 (*.f64 e (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 2301 to 1195 computations (48.1% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e))
0.1b
(*.f64 (cos.f64 v) (pow.f64 e 3))
0.1b
(*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))
0.1b
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))

series101.0ms (2.3%)

Counts
4 → 76
Calls

4 calls:

44.0ms
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))
26.0ms
(*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))
16.0ms
(-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e))
14.0ms
(*.f64 (cos.f64 v) (pow.f64 e 3))

rewrite25.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
18×associate-*r*_binary64
13×add-exp-log_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
Counts
4 → 101
Calls

4 calls:

6.0ms
(*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))
5.0ms
(-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e))
5.0ms
(*.f64 (cos.f64 v) (pow.f64 e 3))
5.0ms
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))

simplify102.0ms (2.3%)

Algorithm
egg-herbie
Rules
745×cancel-sign-sub-inv_binary64
417×fma-neg_binary64
393×unswap-sqr_binary64
346×associate-*r*_binary64
321×associate-*l*_binary64
Counts
177 → 207
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02834265
17613902
229053868
351963868

prune206.0ms (4.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2061207
Fresh066
Picked011
Done000
Total2068214
Error
0.0b
Counts
214 → 8
Alt Table
StatusErrorProgram
22.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) (sqrt.f64 (*.f64 e (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.4b
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
1.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 e) (cbrt.f64 e)) (*.f64 (cbrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
36.6b
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 e e) e) (*.f64 (*.f64 (sin.f64 v) (sin.f64 v)) (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
1.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (cbrt.f64 (*.f64 e (sin.f64 v)))) (cbrt.f64 (*.f64 e (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
1.0b
(*.f64 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))) (*.f64 (fma.f64 (cos.f64 v) (-.f64 (*.f64 (pow.f64 e 3) (cos.f64 v)) (*.f64 e e)) e) (cbrt.f64 (sin.f64 v))))
Compiler

Compiled 6146 to 2922 computations (52.5% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 v)
0.1b
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))
0.2b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))

series49.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

31.0ms
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
18.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
52×*-un-lft-identity_binary64
52×add-sqr-sqrt_binary64
52×add-cube-cbrt_binary64
16×associate-/r*_binary64
Counts
2 → 101
Calls

2 calls:

4.0ms
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
2.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))

simplify119.0ms (2.7%)

Algorithm
egg-herbie
Rules
565×associate-/r/_binary64
530×fma-def_binary64
425×associate-/l/_binary64
345×fma-neg_binary64
299×cancel-sign-sub-inv_binary64
Counts
149 → 181
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02854112
17113934
225363870
350003870
452073870

prune166.0ms (3.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1944198
Fresh516
Picked011
Done011
Total1997206
Error
0b
Counts
206 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.5b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
0.9b
(/.f64 1 (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) e))
0.1b
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))
1.0b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))) (sqrt.f64 e)) (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
1.1b
(/.f64 (*.f64 (cbrt.f64 e) (cbrt.f64 e)) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (cbrt.f64 e))))
36.6b
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 e e) e) (*.f64 (*.f64 (sin.f64 v) (sin.f64 v)) (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 4615 to 2258 computations (51.1% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 v)
0.2b
(/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
0.3b
(*.f64 (sin.f64 v) (sqrt.f64 e))
0.3b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))

series93.0ms (2.1%)

Counts
3 → 44
Calls

3 calls:

43.0ms
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
37.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
13.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))

rewrite24.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
42×add-sqr-sqrt_binary64
38×*-un-lft-identity_binary64
38×add-cube-cbrt_binary64
28×sqrt-prod_binary64
Counts
3 → 121
Calls

3 calls:

7.0ms
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
4.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
4.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))

simplify179.0ms (4.1%)

Algorithm
egg-herbie
Rules
775×fma-def_binary64
434×cancel-sign-sub-inv_binary64
229×fma-neg_binary64
214×associate-*r*_binary64
148×unswap-sqr_binary64
Counts
165 → 193
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03034872
17894300
230504253
348404253
449524253
549974253
649464253

prune174.0ms (3.9%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2091210
Fresh134
Picked011
Done022
Total2107217
Error
0b
Counts
217 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.5b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
0.9b
(/.f64 1 (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) e))
0.1b
(*.f64 (sin.f64 v) (+.f64 e (*.f64 (cos.f64 v) (-.f64 (*.f64 (cos.f64 v) (pow.f64 e 3)) (*.f64 e e)))))
1.0b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))) (sqrt.f64 e)) (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
36.6b
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 e e) e) (*.f64 (*.f64 (sin.f64 v) (sin.f64 v)) (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
1.0b
(/.f64 1 (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))) (sqrt.f64 e)))
Compiler

Compiled 5346 to 2320 computations (56.6% saved)

regimes442.0ms (10%)

Accuracy

Total 0.6b remaining (95.3%)

Threshold costs 0.6b (95.3%)

Counts
153 → 1
Compiler

Compiled 7769 to 4979 computations (35.9% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01223
12023
22723
33123
43323
53323

end1.0ms (0%)

Compiler

Compiled 17 to 11 computations (35.3% saved)

sample2.4s (53.4%)

Algorithm
intervals
Results
1.0s1979×body1024valid
396.0ms4502×body128valid
259.0ms1020×body512valid
157.0ms8000×pre128true
87.0ms495×body256valid
5.0msbody2048valid
Compiler

Compiled 167 to 105 computations (37.1% saved)

Profiling

Loading profile data...