Details

Time bar (total: 4.5s)

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 (63.3%)

Results
1.5s2061×body1024valid
752.0ms4620×body128valid
446.0ms1050×body512valid
154.0ms522×body256valid
5.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))

series40.0ms (0.9%)

Counts
2 → 28
Calls

2 calls:

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

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
58×egg-rr
Counts
2 → 58
Calls

2 calls:

50.0ms
((*.f64 e (sin.f64 v)) (/.f64 (*.f64 e (sin.f64 v)) (fma.f64 e (cos.f64 v) 1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
117821
2223821
3549621
000
100

simplify55.0ms (1.2%)

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
86 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0112983
1345941
21320901
34791901
45067901

prune86.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New82789
Fresh000
Picked101
Done000
Total83790
Error
0.0b
Counts
90 → 7
Alt Table
StatusErrorProgram
0.6b
(pow.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))) -1)
29.8b
(/.f64 (-.f64 (+.f64 (*.f64 v e) (*.f64 1/120 (*.f64 (pow.f64 v 5) e))) (*.f64 1/6 (*.f64 (pow.f64 v 3) e))) (fma.f64 e (cos.f64 v) 1))
1.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) 2) (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
0.1b
(*.f64 e (*.f64 (sin.f64 v) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
0.2b
(*.f64 e (/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))
34.9b
(/.f64 (cbrt.f64 (*.f64 (pow.f64 e 3) (pow.f64 (sin.f64 v) 3))) (fma.f64 e (cos.f64 v) 1))
24.7b
(/.f64 (pow.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) 2) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 2110 to 1175 computations (44.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series80.0ms (1.8%)

Counts
3 → 72
Calls

3 calls:

31.0ms
(*.f64 e (*.f64 (sin.f64 v) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
27.0ms
(*.f64 (sin.f64 v) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
22.0ms
(/.f64 1 (fma.f64 e (cos.f64 v) 1))

rewrite53.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
67×egg-rr
Counts
3 → 67
Calls

2 calls:

52.0ms
((*.f64 e (*.f64 (sin.f64 v) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))) (*.f64 (sin.f64 v) (/.f64 1 (fma.f64 e (cos.f64 v) 1))) (/.f64 1 (fma.f64 e (cos.f64 v) 1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01037
120137
2232937
3551037
000
100

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Rules
768×fma-def_binary64
469×fma-neg_binary64
421×cancel-sign-sub-inv_binary64
202×neg-mul-1_binary64
182×sub-neg_binary64
Counts
139 → 139
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02102424
16592341
225382292
345902292
450082292

prune149.0ms (3.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1345139
Fresh156
Picked101
Done000
Total13610146
Error
0.0b
Counts
146 → 10
Alt Table
StatusErrorProgram
29.8b
(/.f64 (-.f64 (+.f64 (*.f64 v e) (*.f64 1/120 (*.f64 (pow.f64 v 5) e))) (*.f64 1/6 (*.f64 (pow.f64 v 3) e))) (fma.f64 e (cos.f64 v) 1))
0.2b
(*.f64 e (log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))))
1.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) 2) (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
8.3b
(*.f64 e (cbrt.f64 (pow.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)) 3)))
0.2b
(*.f64 e (/.f64 1 (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v))))
16.8b
(*.f64 e (log.f64 (exp.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))))
0.6b
(pow.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))) -1)
1.0b
(*.f64 e (/.f64 (pow.f64 (cbrt.f64 (sin.f64 v)) 2) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
1.0b
(*.f64 e (pow.f64 (cbrt.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) 3))
24.7b
(/.f64 (pow.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) 2) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 3668 to 2223 computations (39.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series132.0ms (2.9%)

Counts
4 → 96
Calls

4 calls:

46.0ms
(expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))
30.0ms
(*.f64 e (log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))))
28.0ms
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))))
26.0ms
(/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))

rewrite60.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
114×egg-rr
Counts
4 → 114
Calls

2 calls:

58.0ms
((log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))) (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) (*.f64 e (log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))))) (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01153
119553
2231153
3563253
000
100

simplify94.0ms (2.1%)

Algorithm
egg-herbie
Rules
541×cancel-sign-sub-inv_binary64
270×fma-neg_binary64
241×sub-neg_binary64
235×associate-*r*_binary64
222×fma-def_binary64
Counts
210 → 151
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02514002
18253898
233753871
349993871

prune152.0ms (3.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1492151
Fresh279
Picked011
Done000
Total15110161
Error
0.0b
Counts
161 → 10
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (sin.f64 v) e) (fma.f64 e (cos.f64 v) 1))
1.0b
(*.f64 e (/.f64 (pow.f64 (cbrt.f64 (sin.f64 v)) 2) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
29.8b
(/.f64 (-.f64 (+.f64 (*.f64 v e) (*.f64 1/120 (*.f64 (pow.f64 v 5) e))) (*.f64 1/6 (*.f64 (pow.f64 v 3) e))) (fma.f64 e (cos.f64 v) 1))
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.2b
(*.f64 e (log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))))
1.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) 2) (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
8.3b
(*.f64 e (cbrt.f64 (pow.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)) 3)))
0.6b
(pow.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))) -1)
1.0b
(*.f64 e (pow.f64 (cbrt.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) 3))
24.7b
(/.f64 (pow.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) 2) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 4506 to 2613 computations (42% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series39.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

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

rewrite50.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
58×egg-rr
Counts
2 → 58
Calls

2 calls:

49.0ms
((*.f64 (sin.f64 v) e) (/.f64 (*.f64 (sin.f64 v) e) (fma.f64 e (cos.f64 v) 1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
117821
2223821
3549621
000
100

simplify58.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
106 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01121103
13451061
213201021
347911021
450671021

prune88.0ms (1.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh088
Picked011
Done011
Total891099
Error
0.0b
Counts
99 → 10
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (sin.f64 v) e) (fma.f64 e (cos.f64 v) 1))
1.0b
(*.f64 e (/.f64 (pow.f64 (cbrt.f64 (sin.f64 v)) 2) (/.f64 (fma.f64 e (cos.f64 v) 1) (cbrt.f64 (sin.f64 v)))))
29.8b
(/.f64 (-.f64 (+.f64 (*.f64 v e) (*.f64 1/120 (*.f64 (pow.f64 v 5) e))) (*.f64 1/6 (*.f64 (pow.f64 v 3) e))) (fma.f64 e (cos.f64 v) 1))
0.3b
(/.f64 e (/.f64 (fma.f64 e (cos.f64 v) 1) (sin.f64 v)))
0.2b
(*.f64 e (log1p.f64 (expm1.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)))))
1.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) 2) (*.f64 (cbrt.f64 (*.f64 e (sin.f64 v))) (/.f64 1 (fma.f64 e (cos.f64 v) 1))))
8.3b
(*.f64 e (cbrt.f64 (pow.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1)) 3)))
0.6b
(pow.f64 (/.f64 (fma.f64 e (cos.f64 v) 1) (*.f64 e (sin.f64 v))) -1)
1.0b
(*.f64 e (pow.f64 (cbrt.f64 (/.f64 (sin.f64 v) (fma.f64 e (cos.f64 v) 1))) 3))
24.7b
(/.f64 (pow.f64 (sqrt.f64 (*.f64 e (sin.f64 v))) 2) (fma.f64 e (cos.f64 v) 1))
Compiler

Compiled 2034 to 1119 computations (45% saved)

regimes185.0ms (4.1%)

Accuracy

Total 0.1b remaining (74.1%)

Threshold costs 0.1b (74.1%)

Counts
69 → 1
Compiler

Compiled 2927 to 2054 computations (29.8% saved)

simplify2.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
01119
12119
23319
34119
44619
54819
64719

end142.0ms (3.1%)

Compiler

Compiled 194 to 134 computations (30.9% saved)

Profiling

Loading profile data...