Details

Time bar (total: 4.4s)

analyze25.0ms (0.6%)

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)

sample2.9s (65%)

Results
1.5s2039×body1024valid
755.0ms4659×body128valid
441.0ms1048×body512valid
152.0ms504×body256valid
8.0msbody2048valid
Compiler

Compiled 53 to 37 computations (30.2% saved)

simplify6.0ms (0.1%)

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 2 expressions with local error:

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

series33.0ms (0.7%)

Counts
2 → 28
Calls

2 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 43
Calls

2 calls:

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

simplify69.0ms (1.6%)

Algorithm
egg-herbie
Rules
590×associate-/r*_binary64
466×fma-def_binary64
433×fma-neg_binary64
287×associate-/r/_binary64
260×associate-/l/_binary64
Counts
71 → 79
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01751682
14751537
219111497
347951497
450521497

prune73.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New72779
Fresh000
Picked101
Done000
Total73780
Error
0.0b
Counts
80 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
33.7b
(/.f64 (cbrt.f64 (pow.f64 (*.f64 e (sin.f64 v)) 3)) (fma.f64 e (cos.f64 v) 1))
1.0b
(/.f64 (*.f64 (*.f64 e (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v)))) (cbrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
0.4b
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 (*.f64 e (sin.f64 v)) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
1.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1)))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))))
27.7b
(/.f64 (*.f64 (*.f64 e (sqrt.f64 (sin.f64 v))) (sqrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 2031 to 1072 computations (47.2% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series46.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

26.0ms
(*.f64 (*.f64 e (sin.f64 v)) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
20.0ms
(/.f64 1 (fma.f64 e (cos.f64 v) 1))

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-exp-log_binary64
18×times-frac_binary64
17×*-un-lft-identity_binary64
17×add-sqr-sqrt_binary64
17×add-cube-cbrt_binary64
Counts
2 → 73
Calls

2 calls:

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

simplify73.0ms (1.6%)

Algorithm
egg-herbie
Rules
670×associate-/r*_binary64
524×fma-def_binary64
281×cancel-sign-sub-inv_binary64
216×associate-/r/_binary64
204×associate-*l*_binary64
Counts
121 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02272857
16272629
223872592
354672592

prune161.0ms (3.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1770177
Fresh066
Picked011
Done000
Total1777184
Error
0.0b
Counts
184 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
33.7b
(/.f64 (cbrt.f64 (pow.f64 (*.f64 e (sin.f64 v)) 3)) (fma.f64 e (cos.f64 v) 1))
1.0b
(/.f64 (*.f64 (*.f64 e (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v)))) (cbrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
0.4b
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 (*.f64 e (sin.f64 v)) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
1.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1)))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))))
27.7b
(/.f64 (*.f64 (*.f64 e (sqrt.f64 (sin.f64 v))) (sqrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 4367 to 2390 computations (45.3% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
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)))

series44.0ms (1%)

Counts
2 → 48
Calls

2 calls:

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

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

simplify123.0ms (2.8%)

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

prune156.0ms (3.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1774181
Fresh235
Picked101
Done011
Total1808188
Error
0b
Counts
188 → 8
Alt Table
StatusErrorProgram
17.1b
(/.f64 e (log1p.f64 (expm1.f64 (/.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))
8.0b
(/.f64 e (cbrt.f64 (*.f64 (*.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))))
0.4b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
0.1b
(*.f64 (*.f64 e (sin.f64 v)) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
1.0b
(/.f64 (/.f64 e (*.f64 (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))) (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))) (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))
1.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1)))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))))
27.7b
(/.f64 (*.f64 (*.f64 e (sqrt.f64 (sin.f64 v))) (sqrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 4465 to 2176 computations (51.3% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series50.0ms (1.1%)

Counts
3 → 44
Calls

3 calls:

33.0ms
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
10.0ms
(*.f64 (sqrt.f64 e) (sin.f64 v))
8.0ms
(*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v)))

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube_binary64
19×add-exp-log_binary64
14×add-sqr-sqrt_binary64
12×associate-*l*_binary64
10×*-un-lft-identity_binary64
Counts
3 → 72
Calls

3 calls:

6.0ms
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
6.0ms
(*.f64 (sqrt.f64 e) (*.f64 (sqrt.f64 e) (sin.f64 v)))
5.0ms
(*.f64 (sqrt.f64 e) (sin.f64 v))

simplify80.0ms (1.8%)

Algorithm
egg-herbie
Rules
572×fma-def_binary64
463×fma-neg_binary64
330×cancel-sign-sub-inv_binary64
321×associate-/l/_binary64
214×associate-*r*_binary64
Counts
116 → 133
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02112164
15881939
223991885
345741885
449551885

prune128.0ms (2.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1321133
Fresh156
Picked101
Done011
Total1347141
Error
0b
Counts
141 → 7
Alt Table
StatusErrorProgram
8.0b
(/.f64 e (cbrt.f64 (*.f64 (*.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))))
0.4b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
27.7b
(/.f64 (*.f64 (*.f64 e (sqrt.f64 (sin.f64 v))) (sqrt.f64 (sin.f64 v))) (fma.f64 e (cos.f64 v) 1))
0.5b
(/.f64 (*.f64 (sqrt.f64 (sqrt.f64 e)) (*.f64 (sqrt.f64 (sqrt.f64 e)) (*.f64 (sqrt.f64 e) (sin.f64 v)))) (fma.f64 e (cos.f64 v) 1))
0.1b
(*.f64 (*.f64 e (sin.f64 v)) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
1.0b
(/.f64 (/.f64 e (*.f64 (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))) (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))) (cbrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))
1.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1)))) (cbrt.f64 (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))))
Compiler

Compiled 3242 to 1400 computations (56.8% saved)

regimes272.0ms (6.2%)

Accuracy

Total 0.1b remaining (79.8%)

Threshold costs 0.1b (79.8%)

Counts
99 → 1
Compiler

Compiled 5162 to 3230 computations (37.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
21318

end116.0ms (2.6%)

Compiler

Compiled 197 to 117 computations (40.6% saved)

Profiling

Loading profile data...