Details

Time bar (total: 5.2s)

analyze25.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.9s (54.7%)

Results
1.5s2061×body1024valid
739.0ms4620×body128valid
446.0ms1050×body512valid
158.0ms522×body256valid
4.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)

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

series37.0ms (0.7%)

Counts
2 → 28
Calls

2 calls:

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

rewrite138.0ms (2.6%)

Algorithm
egg-rewrite
Rules
58×egg
43×egg
Counts
2 → 101
Calls

2 calls:

82.0ms
(*.f64 e (sin.f64 v))
54.0ms
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1976
211146
347366
462426
0915
117815
2223815
3549615

simplify65.0ms (1.3%)

Algorithm
egg-herbie
Rules
688×times-frac_binary64
456×associate-/l*_binary64
414×fma-neg_binary64
404×fma-def_binary64
359×associate-/r*_binary64
Counts
129 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0112983
1345941
21320901
34791901
45067901

prune113.0ms (2.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1266132
Fresh000
Picked011
Done000
Total1267133
Error
0b
Counts
133 → 7
Alt Table
StatusErrorProgram
0.2b
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
32.1b
(/.f64 (*.f64 (pow.f64 (sin.f64 v) 2/3) (*.f64 (cbrt.f64 (sin.f64 v)) e)) (fma.f64 e (cos.f64 v) 1))
0.4b
(/.f64 (sqrt.f64 e) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e)))
1.1b
(/.f64 (pow.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) 2) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (*.f64 e (sin.f64 v)))))
17.7b
(/.f64 (cbrt.f64 (*.f64 e e)) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (cbrt.f64 e)))
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)) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 2770 to 1419 computations (48.8% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series40.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

30.0ms
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
10.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) e)

rewrite135.0ms (2.6%)

Algorithm
egg-rewrite
Rules
60×egg
46×egg
Counts
2 → 106
Calls

2 calls:

86.0ms
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
46.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) e)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
118415
2240015
3494415
4558715
0710
113710
2164710
3518910

simplify69.0ms (1.3%)

Algorithm
egg-herbie
Rules
677×times-frac_binary64
422×associate-/l*_binary64
364×fma-neg_binary64
363×associate-/r*_binary64
348×fma-def_binary64
Counts
154 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251164
13651114
213421080
348381080
450801080

prune117.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1422144
Fresh325
Picked011
Done011
Total1456151
Error
0b
Counts
151 → 6
Alt Table
StatusErrorProgram
0.4b
(/.f64 (sqrt.f64 e) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e)))
17.7b
(/.f64 (cbrt.f64 (*.f64 e e)) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (cbrt.f64 e)))
1.0b
(/.f64 (pow.f64 (cbrt.f64 (sin.f64 v)) 2) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) e) (cbrt.f64 (sin.f64 v))))
0.2b
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
0.1b
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
0.5b
(/.f64 (sin.f64 v) (pow.f64 (sqrt.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) e)) 2))
Compiler

Compiled 2849 to 1573 computations (44.8% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series93.0ms (1.8%)

Counts
3 → 56
Calls

3 calls:

41.0ms
(/.f64 (sqrt.f64 e) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e)))
35.0ms
(/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e))
17.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))

rewrite243.0ms (4.7%)

Algorithm
egg-rewrite
Rules
69×egg
58×egg
43×egg
Counts
3 → 170
Calls

3 calls:

97.0ms
(/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e))
78.0ms
(/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))
65.0ms
(/.f64 (sqrt.f64 e) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
120317
2261917
3495117
4556817
01122
122915
2306115
3557715
0812
115612
2185812
3498012
4497612

simplify81.0ms (1.6%)

Algorithm
egg-herbie
Rules
796×fma-def_binary64
674×times-frac_binary64
440×fma-neg_binary64
425×cancel-sign-sub-inv_binary64
148×sub-neg_binary64
Counts
226 → 215
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01621606
14991501
219011430
345861427
449641427

prune173.0ms (3.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2141215
Fresh123
Picked011
Done022
Total2156221
Error
0b
Counts
221 → 6
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) (pow.f64 e -1/2))
0.4b
(/.f64 (sqrt.f64 e) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (sqrt.f64 e)))
17.7b
(/.f64 (cbrt.f64 (*.f64 e e)) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (cbrt.f64 e)))
1.0b
(/.f64 (pow.f64 (cbrt.f64 (sin.f64 v)) 2) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) e) (cbrt.f64 (sin.f64 v))))
0.2b
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
0.1b
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 4857 to 2495 computations (48.6% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series132.0ms (2.5%)

Counts
3 → 56
Calls

3 calls:

56.0ms
(*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))
48.0ms
(/.f64 (*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) (pow.f64 e -1/2))
28.0ms
(/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))

rewrite247.0ms (4.7%)

Algorithm
egg-rewrite
Rules
61×egg
50×egg
43×egg
Counts
3 → 154
Calls

3 calls:

104.0ms
(/.f64 (*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) (pow.f64 e -1/2))
83.0ms
(/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))
57.0ms
(*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
119717
2236817
3512817
01323
127215
2339615
3498815
4568315
0812
115612
2185812
3498012
4497612

simplify96.0ms (1.8%)

Algorithm
egg-herbie
Rules
551×fma-neg_binary64
428×cancel-sign-sub-inv_binary64
205×associate-/r/_binary64
202×neg-mul-1_binary64
197×fma-def_binary64
Counts
210 → 209
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02082164
16692080
226262034
345672032
450392032

prune172.0ms (3.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2081209
Fresh112
Picked011
Done123
Total2105215
Error
0b
Counts
215 → 5
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (sqrt.f64 e) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) (pow.f64 e -1/2))
0.4b
(/.f64 (/.f64 (sqrt.f64 e) (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))) (pow.f64 e -1/2))
17.7b
(/.f64 (cbrt.f64 (*.f64 e e)) (/.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)) (cbrt.f64 e)))
0.2b
(/.f64 (sin.f64 v) (/.f64 (fma.f64 e (cos.f64 v) 1) e))
0.1b
(/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 5440 to 3147 computations (42.2% saved)

regimes258.0ms (4.9%)

Accuracy

Total 0.1b remaining (68.2%)

Threshold costs 0.1b (68.2%)

Counts
92 → 1
Compiler

Compiled 4196 to 2897 computations (31% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11215
21115

end81.0ms (1.6%)

Compiler

Compiled 100 to 68 computations (32% saved)

Profiling

Loading profile data...