Details

Time bar (total: 2.9s)

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.3s (44.2%)

Results
1.1s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 65 to 50 computations (23.1% saved)

simplify124.0ms (4.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

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

Compiled 113 to 85 computations (24.8% 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 (*.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)))

series41.0ms (1.5%)

Counts
4 → 48
Calls

4 calls:

26.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
6.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))
5.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
4.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))

rewrite61.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
42×add-sqr-sqrt_binary64
39×*-un-lft-identity_binary64
39×add-cube-cbrt_binary64
27×sqrt-prod_binary64
Counts
4 → 134
Calls

4 calls:

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

simplify159.0ms (5.6%)

Algorithm
egg-herbie
Rules
880×fma-def_binary64
306×associate-/r*_binary64
254×sub-neg_binary64
223×fma-neg_binary64
173×associate-*r*_binary64
Counts
182 → 227
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03865649
110285260
236165237
347985236
449555236

prune232.0ms (8.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2261227
Fresh101
Picked011
Done000
Total2272229
Error
0b
Counts
229 → 2
Alt Table
StatusErrorProgram
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 1 (*.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) (/.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) -4/3)))
Compiler

Compiled 6634 to 4955 computations (25.3% saved)

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series52.0ms (1.8%)

Counts
3 → 36
Calls

3 calls:

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

rewrite32.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
61×add-exp-log_binary64
39×times-frac_binary64
35×add-cbrt-cube_binary64
33×*-un-lft-identity_binary64
33×add-sqr-sqrt_binary64
Counts
3 → 129
Calls

3 calls:

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

simplify192.0ms (6.7%)

Algorithm
egg-herbie
Rules
391×fma-neg_binary64
281×associate-*l*_binary64
274×associate-*r*_binary64
233×associate-/r*_binary64
222×fma-def_binary64
Counts
165 → 229
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03895878
111155112
243295108
349555108
449885108
549275108

prune291.0ms (10.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2620262
Fresh000
Picked011
Done011
Total2622264
Error
0b
Counts
264 → 2
Alt Table
StatusErrorProgram
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 1 (*.f64 (*.f64 (PI.f64) (fma.f64 v v -1)) (/.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) -4/3)))
Compiler

Compiled 8284 to 6359 computations (23.2% saved)

regimes306.0ms (10.7%)

Accuracy

Total 0.0b remaining (45.7%)

Threshold costs 0.0b (45.7%)

Counts
72 → 1
Compiler

Compiled 7031 to 5515 computations (21.6% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
12127
22027

end63.0ms (2.2%)

Compiler

Compiled 74 to 58 computations (21.6% saved)

Profiling

Loading profile data...