Details

Time bar (total: 2.3s)

analyze6.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 21 to 16 computations (23.8% saved)

sample1.1s (49.6%)

Results
1.0s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 62 to 47 computations (24.2% saved)

simplify76.0ms (3.3%)

Algorithm
egg-herbie
Rules
750×div-sub_binary64
748×fma-neg_binary64
599×fma-def_binary64
502×associate-/l*_binary64
423×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01529
13729
28227
320127
452627
599125
6161425
7327325
8365325
9469425
10494225

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Compiler

Compiled 113 to 86 computations (23.9% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))
0.0b
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))

series28.0ms (1.2%)

Counts
3 → 36
Calls

3 calls:

14.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
9.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))
4.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))

rewrite70.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
629×log-prod_binary64
233×expm1-udef_binary64
233×log1p-udef_binary64
202×log-pow_binary64
134×add-sqr-sqrt_binary64
Counts
3 → 68
Calls

3 calls:

68.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))
68.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))
68.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01555
129253
2304953
3497953
000
100

simplify68.0ms (2.9%)

Algorithm
egg-herbie
Rules
716×fma-def_binary64
690×fma-neg_binary64
569×cancel-sign-sub-inv_binary64
444×times-frac_binary64
381×associate-/r*_binary64
Counts
104 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01331310
14441257
216281102
343721098
451831098

prune156.0ms (6.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh101
Picked011
Done000
Total1313134
Error
0b
Counts
134 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
0.2b
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))
Compiler

Compiled 3527 to 2933 computations (16.8% saved)

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))
0.0b
(*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))
0.0b
(log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))))
0.0b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))

series55.0ms (2.4%)

Counts
4 → 48
Calls

4 calls:

21.0ms
(log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))))
12.0ms
(*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))
12.0ms
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))
9.0ms
(sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))

rewrite73.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
616×log-prod_binary64
336×prod-diff_binary64
234×expm1-udef_binary64
234×log1p-udef_binary64
202×log-pow_binary64
Counts
4 → 117
Calls

4 calls:

70.0ms
(sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))
70.0ms
(*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))
70.0ms
(log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1)))))
70.0ms
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01684
129284
2303684
3546584
000
100

simplify85.0ms (3.7%)

Algorithm
egg-herbie
Rules
825×times-frac_binary64
823×fma-def_binary64
728×fma-neg_binary64
266×sub-neg_binary64
106×associate-*r*_binary64
Counts
165 → 161
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01742396
15852196
222192109
349862109
453882109

prune147.0ms (6.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1610161
Fresh011
Picked011
Done011
Total1613164
Error
0b
Counts
164 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
0.2b
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))
Compiler

Compiled 4906 to 4105 computations (16.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))

series5.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))

rewrite41.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
682×log1p-expm1-u_binary64
682×expm1-log1p-u_binary64
326×log-prod_binary64
143×expm1-udef_binary64
143×log1p-udef_binary64
Counts
1 → 22
Calls

1 calls:

40.0ms
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
118113
2178913
3515413
000
100

simplify149.0ms (6.4%)

Algorithm
egg-herbie
Rules
1403×fma-def_binary64
1077×cube-prod_binary64
943×fabs-mul_binary64
684×unswap-sqr_binary64
514×distribute-rgt-neg-in_binary64
Counts
34 → 27
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013210
131165
272165
3179147
4487147
5798147
61205147
71711147
82672147
94044147
103953147
114156147
123405147
133503147
144208147
154599147
164794147

prune26.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done022
Total27330
Error
0b
Counts
30 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 -1/4 (fma.f64 v v -1)) (sqrt.f64 (*.f64 2 (fma.f64 v (*.f64 v -3) 1))))))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
0.2b
(*.f64 (sqrt.f64 2) (fma.f64 (*.f64 v v) -5/8 1/4))
Compiler

Compiled 395 to 303 computations (23.3% saved)

regimes86.0ms (3.7%)

Accuracy

Total 0.0b remaining (50%)

Threshold costs 0.0b (50%)

Counts
30 → 1
Compiler

Compiled 1660 to 1350 computations (18.7% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
12125
22025

end66.0ms (2.9%)

Compiler

Compiled 83 to 65 computations (21.7% saved)

Profiling

Loading profile data...