Details

Time bar (total: 2.9s)

analyze7.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.2s (42%)

Results
1.1s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 65 to 50 computations (23.1% saved)

simplify102.0ms (3.6%)

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
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01731
14228
210226
326126
468426
5108824
6180124
7354124
8391424
9400224
10441624
11440924
12441524
13515924
Stop Event
node limit
Counts
1 → 2

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.4%)

Local error

Found 3 expressions with local error:

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

series29.0ms (1%)

Counts
3 → 36
Calls

3 calls:

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

rewrite59.0ms (2.1%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01445
129345
2350445
3488945
Stop Event
node limit
Counts
3 → 80
Calls

3 calls:

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

simplify66.0ms (2.3%)

Algorithm
egg-herbie
Rules
672×fma-def_binary64
660×times-frac_binary64
581×fma-neg_binary64
252×cancel-sign-sub-inv_binary64
132×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01781475
15651444
220051340
347171334
450801334
Stop Event
node limit
Counts
116 → 124

prune127.0ms (4.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh101
Picked101
Done000
Total1233126
Error
0b
Counts
126 → 3
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)))
0.0b
(/.f64 (cbrt.f64 (pow.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) 3)) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(sqrt.f64 (/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 3572 to 2706 computations (24.2% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2))
0.0b
(pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)
0.0b
(*.f64 (PI.f64) (fma.f64 v v -1))
0.0b
(/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2))

series32.0ms (1.1%)

Counts
3 → 36
Calls

3 calls:

14.0ms
(/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2))
12.0ms
(/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2))
5.0ms
(pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)

rewrite64.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
656×log-prod_binary64
247×expm1-udef_binary64
247×log1p-udef_binary64
211×log-pow_binary64
139×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01452
129852
2342252
3579552
Stop Event
node limit
Counts
3 → 93
Calls

3 calls:

62.0ms
(/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2))
62.0ms
(pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)
62.0ms
(/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2))

simplify69.0ms (2.4%)

Algorithm
egg-herbie
Rules
802×fma-neg_binary64
522×associate-/l/_binary64
392×unswap-sqr_binary64
304×associate-/r*_binary64
276×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0911146
12641069
27801062
326561046
448571046
552211046
Stop Event
node limit
Counts
129 → 132

prune163.0ms (5.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1570157
Fresh022
Picked011
Done000
Total1573160
Error
0b
Counts
160 → 3
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)))
0.0b
(/.f64 (cbrt.f64 (pow.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) 3)) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(sqrt.f64 (/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 3986 to 3002 computations (24.7% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.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)))
0.0b
(*.f64 (/.f64 -4/3 (PI.f64)) (/.f64 1 (fma.f64 v v -1)))
1.0b
(/.f64 -4/3 (PI.f64))

series30.0ms (1.1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite67.0ms (2.3%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01649
133749
2401649
3483449
Stop Event
node limit
Counts
4 → 141
Calls

4 calls:

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

simplify67.0ms (2.3%)

Algorithm
egg-herbie
Rules
738×fma-def_binary64
660×times-frac_binary64
596×fma-neg_binary64
258×cancel-sign-sub-inv_binary64
145×distribute-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01911557
15991529
221431437
347671431
451341431
Stop Event
node limit
Counts
177 → 194

prune169.0ms (5.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1931194
Fresh101
Picked101
Done011
Total1952197
Error
0b
Counts
197 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (/.f64 (PI.f64) (/.f64 1 (fma.f64 v v -1)))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(sqrt.f64 (/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 5060 to 3822 computations (24.5% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series29.0ms (1%)

Counts
3 → 36
Calls

3 calls:

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

rewrite61.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
278×expm1-udef_binary64
278×log1p-udef_binary64
161×add-sqr-sqrt_binary64
152×log1p-expm1-u_binary64
152×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01654
133945
2402345
3484545
Stop Event
node limit
Counts
3 → 108
Calls

3 calls:

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

simplify63.0ms (2.2%)

Algorithm
egg-herbie
Rules
672×fma-def_binary64
660×times-frac_binary64
581×fma-neg_binary64
252×cancel-sign-sub-inv_binary64
132×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01781475
15651444
220051340
347171334
450801334
Stop Event
node limit
Counts
144 → 151

prune142.0ms (4.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1890189
Fresh000
Picked011
Done011
Total1892191
Error
0b
Counts
191 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (/.f64 (PI.f64) (/.f64 1 (fma.f64 v v -1)))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(sqrt.f64 (/.f64 (/.f64 16/9 (pow.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) 2)) (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 4989 to 3741 computations (25% saved)

regimes204.0ms (7.1%)

Accuracy

Total 0.0b remaining (38.9%)

Threshold costs 0.0b (38.9%)

Counts
60 → 1
Compiler

Compiled 4733 to 3737 computations (21% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01527
11727
21727
Stop Event
saturated

end65.0ms (2.3%)

Compiler

Compiled 76 to 60 computations (21.1% saved)

Profiling

Loading profile data...