fabs fraction 2

Time bar (total: 1.3s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-div, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 0.0ms, 0.0% of total-time
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time

sample1.1s (86.3%)

Results
1.1s8255×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 491.0ms
Operation ival-sub, time spent: 313.0ms, 64.0% of total-time
Operation ival-div, time spent: 135.0ms, 27.0% of total-time
Operation ival-fabs, time spent: 29.0ms, 6.0% of total-time
Operation const, time spent: 14.0ms, 3.0% of total-time
Bogosity

preprocess109.0ms (8.3%)

Algorithm
egg-herbie
Rules
162×fma-def
48×sub-neg
26×distribute-lft-neg-in
26×cancel-sign-sub-inv
22×*-commutative
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-b
00-0-(/.f64 (fabs.f64 (-.f64 a b)) 2)
00-0-(-.f64 a b)
00-0-(fabs.f64 (-.f64 a b))
00-0-a
00-0-2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025185
148169
294169
3189161
4269161
5322161
6353161
7373161
8376161
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) 2)
(/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) 2)
(neg.f64 (/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) 2))
(neg.f64 (/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) 2))
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) 2)
(/.f64 (fabs.f64 (+.f64 a b)) 2)
(*.f64 1/2 (fabs.f64 (+.f64 a b)))
(*.f64 (fabs.f64 (+.f64 a b)) 1/2)
(/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) 2)
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) 2)
(/.f64 (fabs.f64 (+.f64 a b)) 2)
(*.f64 1/2 (fabs.f64 (+.f64 a b)))
(*.f64 (fabs.f64 (+.f64 a b)) 1/2)
(neg.f64 (/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) 2))
(/.f64 (neg.f64 (fabs.f64 (-.f64 (neg.f64 a) b))) 2)
(/.f64 (neg.f64 (fabs.f64 (+.f64 a b))) 2)
(*.f64 -1/2 (fabs.f64 (+.f64 a b)))
(*.f64 (fabs.f64 (+.f64 a b)) -1/2)
(neg.f64 (/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) 2))
(/.f64 (neg.f64 (fabs.f64 (-.f64 (neg.f64 a) b))) 2)
(/.f64 (neg.f64 (fabs.f64 (+.f64 a b))) 2)
(*.f64 -1/2 (fabs.f64 (+.f64 a b)))
(*.f64 (fabs.f64 (+.f64 a b)) -1/2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
(*.f64 1/2 (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) 1/2)
Symmetry

(sort a b)

Compiler

Compiled 46 to 22 computations (52.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
Operation ival-div, time spent: 5.0ms, 40.0% of total-time
Operation ival-sub, time spent: 4.0ms, 32.0% of total-time
Operation ival-fabs, time spent: 3.0ms, 24.0% of total-time
Operation const, time spent: 1.0ms, 8.0% of total-time

eval1.0ms (0%)

Compiler

Compiled 20 to 10 computations (50% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Compiler

Compiled 8 to 6 computations (25% saved)

localize27.0ms (2.1%)

Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
Operation ival-div, time spent: 2.0ms, 43.0% of total-time
Operation ival-sub, time spent: 2.0ms, 43.0% of total-time
Operation const, time spent: 1.0ms, 22.0% of total-time
Operation ival-fabs, time spent: 0.0ms, 0.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.2%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes13.0ms (1%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
Calls

5 calls:

3.0ms
(/.f64 (fabs.f64 (-.f64 a b)) 2)
2.0ms
(fabs.f64 (-.f64 a b))
2.0ms
(-.f64 a b)
2.0ms
a
2.0ms
b
Results
AccuracySegmentsBranch
100.0%1a
100.0%1b
100.0%1(/.f64 (fabs.f64 (-.f64 a b)) 2)
100.0%1(fabs.f64 (-.f64 a b))
100.0%1(-.f64 a b)
Compiler

Compiled 25 to 17 computations (32% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
neg-mul-1
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01223
11623
22323
32823
43123
53223
Stop Event
done
saturated
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) 2)
(/.f64 (fabs.f64 (-.f64 b a)) 2)
Compiler

Compiled 8 to 6 computations (25% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess25.0ms (1.9%)

Remove

(sort a b)

Compiler

Compiled 64 to 48 computations (25% saved)

Profiling

Loading profile data...