Details

Time bar (total: 4.8s)

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

sample2.8s (59.1%)

Results
1.5s2102×body1024valid
718.0ms4589×body128valid
432.0ms1029×body512valid
161.0ms532×body256valid
6.0msbody2048valid
Compiler

Compiled 53 to 37 computations (30.2% saved)

simplify10.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.1%)

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

series31.0ms (0.6%)

Counts
2 → 28
Calls

2 calls:

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

rewrite8.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:

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

simplify68.0ms (1.4%)

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

prune75.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh000
Picked101
Done000
Total72880
Error
0.0b
Counts
80 → 8
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sin.f64 v) (-.f64 e (*.f64 (cos.f64 v) (*.f64 e e))))
34.2b
(/.f64 (*.f64 (*.f64 e (sqrt.f64 (sin.f64 v))) (sqrt.f64 (sin.f64 v))) (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.2b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.8b
(/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))))
32.4b
(/.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.1b
(/.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 2049 to 1076 computations (47.5% saved)

localize7.0ms (0.1%)

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

series40.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

24.0ms
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
16.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))

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

simplify120.0ms (2.5%)

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

prune171.0ms (3.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1756181
Fresh527
Picked011
Done000
Total1809189
Error
0.0b
Counts
189 → 9
Alt Table
StatusErrorProgram
0.8b
(/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (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.1b
(*.f64 (/.f64 e (fma.f64 e (cos.f64 v) 1)) (sin.f64 v))
1.0b
(*.f64 (/.f64 (sqrt.f64 e) (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))))) (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
34.2b
(*.f64 (sqrt.f64 (sin.f64 v)) (/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sqrt.f64 (sin.f64 v)))))
1.1b
(*.f64 (*.f64 (cbrt.f64 e) (cbrt.f64 e)) (/.f64 (cbrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))
0.5b
(*.f64 (sqrt.f64 e) (/.f64 (sqrt.f64 e) (/.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)))
32.4b
(/.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 4423 to 2158 computations (51.2% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series44.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
19×times-frac_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×associate-*l*_binary64
Counts
2 → 63
Calls

2 calls:

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

simplify71.0ms (1.5%)

Algorithm
egg-herbie
Rules
782×associate-/r*_binary64
519×fma-def_binary64
299×cancel-sign-sub-inv_binary64
276×associate-/r/_binary64
184×unswap-sqr_binary64
Counts
111 → 135
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02422781
16472619
223312575
356612575

prune126.0ms (2.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1341135
Fresh257
Picked011
Done011
Total1368144
Error
0.0b
Counts
144 → 8
Alt Table
StatusErrorProgram
0.8b
(/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (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.1b
(*.f64 (/.f64 e (fma.f64 e (cos.f64 v) 1)) (sin.f64 v))
1.0b
(*.f64 (/.f64 (sqrt.f64 e) (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))))) (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
34.2b
(*.f64 (sqrt.f64 (sin.f64 v)) (/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sqrt.f64 (sin.f64 v)))))
0.2b
(*.f64 (/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) e)) (sin.f64 v))
0.2b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
32.4b
(/.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 3438 to 1857 computations (46% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series53.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

25.0ms
(*.f64 (/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) e)) (sin.f64 v))
19.0ms
(/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) e))
9.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) e)

rewrite33.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64
103×add-sqr-sqrt_binary64
91×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
44×associate-*l*_binary64
Counts
3 → 181
Calls

3 calls:

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

simplify182.0ms (3.8%)

Algorithm
egg-herbie
Rules
634×fma-def_binary64
394×cancel-sign-sub-inv_binary64
306×fma-neg_binary64
228×associate-*r*_binary64
193×associate-*l*_binary64
Counts
253 → 326
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03095567
17725117
229025054
344805054
449835054
549475054

prune314.0ms (6.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3251326
Fresh055
Picked011
Done112
Total3268334
Error
0b
Counts
334 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.5b
(*.f64 (/.f64 1 (sqrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) e))) (/.f64 (sin.f64 v) (sqrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) e))))
0.8b
(/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))))
0.5b
(/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
34.2b
(*.f64 (sqrt.f64 (sin.f64 v)) (/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sqrt.f64 (sin.f64 v)))))
0.2b
(*.f64 (/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) e)) (sin.f64 v))
32.4b
(/.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 (/.f64 (sqrt.f64 e) (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 v)) (cbrt.f64 (sin.f64 v))))) (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
Compiler

Compiled 7993 to 4541 computations (43.2% saved)

regimes422.0ms (8.8%)

Accuracy

Total 0.1b remaining (83.1%)

Threshold costs 0.1b (83.1%)

Counts
145 → 1
Compiler

Compiled 8465 to 5522 computations (34.8% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
21318

end114.0ms (2.4%)

Compiler

Compiled 175 to 112 computations (36% saved)

Profiling

Loading profile data...