fabs fraction 2

Time bar (total: 1.2s)

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
ival-sub: 0.0ms (0% of total)
ival-div: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
const: 0.0ms (0% of total)

sample1.0s (83.5%)

Results
773.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 212.0ms
ival-div: 77.0ms (36.2% of total)
ival-sub: 65.0ms (30.6% of total)
ival-fabs: 55.0ms (25.9% of total)
const: 12.0ms (5.6% of total)
backward-pass: 4.0ms (1.9% of total)
Bogosity

preprocess50.0ms (4.2%)

Algorithm
egg-herbie
Rules
68×fma-neg
24×sub-neg
22×fma-define
14×*-commutative
13×distribute-lft-neg-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
025177
152161
298161
3189161
4266161
5318161
6346161
7358161
8359161
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) #s(literal 2 binary64))
(neg.f64 (/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal 2 binary64)))
(neg.f64 (/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (+.f64 a b)) #s(literal 2 binary64))
(*.f64 (fabs.f64 (+.f64 a b)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) #s(literal 2 binary64))
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal 2 binary64))
(/.f64 (fabs.f64 (+.f64 a b)) #s(literal 2 binary64))
(*.f64 (fabs.f64 (+.f64 a b)) #s(literal 1/2 binary64))
(neg.f64 (/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal -2 binary64))
(/.f64 (fabs.f64 (+.f64 a b)) #s(literal -2 binary64))
(*.f64 (fabs.f64 (+.f64 a b)) #s(literal -1/2 binary64))
(neg.f64 (/.f64 (fabs.f64 (-.f64 a (neg.f64 b))) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (-.f64 (neg.f64 a) b)) #s(literal -2 binary64))
(/.f64 (fabs.f64 (+.f64 a b)) #s(literal -2 binary64))
(*.f64 (fabs.f64 (+.f64 a b)) #s(literal -1/2 binary64))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
Symmetry

(sort a b)

explain80.0ms (6.6%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
00-0-b
00-0-(-.f64 a b)
00-0-(fabs.f64 (-.f64 a b))
00-0-a
00-0-#s(literal 2 binary64)
Results
60.0ms512×0valid
Compiler

Compiled 46 to 22 computations (52.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
ival-sub: 17.0ms (60.5% of total)
ival-div: 7.0ms (24.9% of total)
ival-fabs: 3.0ms (10.7% of total)
const: 1.0ms (3.6% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 14 to 8 computations (42.9% saved)

prune1.0ms (0.1%)

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

Compiled 8 to 6 computations (25% saved)

localize35.0ms (2.9%)

Results
27.0ms256×0valid
Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-sub: 2.0ms (33.3% of total)
ival-div: 2.0ms (33.3% of total)
ival-fabs: 2.0ms (33.3% of total)
const: 1.0ms (16.7% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

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)) #s(literal 2 binary64))
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes8.0ms (0.7%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

3.0ms
b
1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
(-.f64 a b)
1.0ms
a
Results
AccuracySegmentsBranch
100.0%1a
100.0%1b
100.0%1(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
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
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

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

soundness0.0ms (0%)

Stop Event
done
Compiler

Compiled 8 to 6 computations (25% saved)

preprocess21.0ms (1.7%)

Remove

(sort a b)

Compiler

Compiled 64 to 48 computations (25% saved)

end0.0ms (0%)

Profiling

Loading profile data...