Details

Time bar (total: 3.0s)

analyze6.0ms (0.2%)

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 22 to 17 computations (22.7% saved)

sample1.4s (45.4%)

Results
1.2s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 65 to 50 computations (23.1% saved)

simplify121.0ms (4%)

Algorithm
egg-herbie
Rules
1332×fma-def_binary64
889×associate-/r*_binary64
605×neg-sub0_binary64
599×neg-mul-1_binary64
576×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01731
14228
210226
326126
468426
5108824
6180124
7354124
8391424
9400224
10441624
11440924
12441524
13515924

prune5.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
1.0b
(/.f64 4 (*.f64 (*.f64 (*.f64 3 (PI.f64)) (-.f64 1 (*.f64 v v))) (sqrt.f64 (-.f64 2 (*.f64 6 (*.f64 v v))))))
0.0b
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 113 to 85 computations (24.8% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series34.0ms (1.1%)

Counts
4 → 48
Calls

4 calls:

19.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
7.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))
4.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
3.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))

rewrite70.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
251×expm1-udef_binary64
251×log1p-udef_binary64
216×log-pow_binary64
151×log-div_binary64
142×add-sqr-sqrt_binary64
Counts
4 → 107
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01455
129355
2350455
3488955

simplify58.0ms (1.9%)

Algorithm
egg-herbie
Rules
762×fma-def_binary64
741×times-frac_binary64
293×cancel-sign-sub-inv_binary64
187×fma-neg_binary64
172×sub-neg_binary64
Counts
155 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02161794
16911745
224071699
350381699

prune140.0ms (4.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1702172
Fresh101
Picked101
Done000
Total1722174
Error
0b
Counts
174 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
1.0b
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))
Compiler

Compiled 4695 to 3558 computations (24.2% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series27.0ms (0.9%)

Counts
3 → 24
Calls

3 calls:

21.0ms
(/.f64 (*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
5.0ms
(*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1)))
0.0ms
(/.f64 -4/3 (PI.f64))

rewrite80.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
276×expm1-udef_binary64
276×log1p-udef_binary64
159×add-sqr-sqrt_binary64
149×add-cbrt-cube_binary64
149×add-log-exp_binary64
Counts
3 → 120
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01641
133741
2401641
3483441

simplify67.0ms (2.2%)

Algorithm
egg-herbie
Rules
669×fma-def_binary64
660×times-frac_binary64
600×fma-neg_binary64
252×cancel-sign-sub-inv_binary64
130×associate-/r*_binary64
Counts
144 → 158
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01751347
15591325
219941239
347651233
451511233

prune155.0ms (5.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2040204
Fresh011
Picked011
Done000
Total2042206
Error
0b
Counts
206 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
1.0b
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))
Compiler

Compiled 5435 to 4148 computations (23.7% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1)))
0.0b
(*.f64 (PI.f64) (fma.f64 v v -1))
0.0b
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))
1.0b
(*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2))

series114.0ms (3.8%)

Counts
3 → 36
Calls

3 calls:

47.0ms
(/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1)))
46.0ms
(*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2))
20.0ms
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))

rewrite64.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
280×expm1-udef_binary64
280×log1p-udef_binary64
243×log-pow_binary64
162×add-sqr-sqrt_binary64
152×log1p-expm1-u_binary64
Counts
3 → 73
Calls

3 calls:

63.0ms
(/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1)))
63.0ms
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))
62.0ms
(*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01759
134659
2372759
3483659

simplify68.0ms (2.3%)

Algorithm
egg-herbie
Rules
807×times-frac_binary64
805×fma-def_binary64
275×sub-neg_binary64
173×fma-neg_binary64
165×associate-+r+_binary64
Counts
109 → 136
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02232303
17272291
227532250
349932250

prune296.0ms (9.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1610161
Fresh000
Picked011
Done011
Total1612163
Error
0b
Counts
163 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
1.0b
(*.f64 -4/3 (*.f64 (/.f64 1 (*.f64 (PI.f64) (fma.f64 v v -1))) (pow.f64 (fma.f64 v (*.f64 v -6) 2) -1/2)))
Compiler

Compiled 5086 to 3952 computations (22.3% saved)

regimes232.0ms (7.8%)

Accuracy

Total 0.0b remaining (60.9%)

Threshold costs 0.0b (60.9%)

Counts
49 → 1
Compiler

Compiled 3889 to 3097 computations (20.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
12027
21927

end64.0ms (2.1%)

Compiler

Compiled 77 to 61 computations (20.8% saved)

Profiling

Loading profile data...