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
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation ival-div, time spent: 0.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample993.0ms (81%)

Results
895.0ms8255×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 176.0ms
Operation ival-div, time spent: 70.0ms, 40.0% of total-time
Operation ival-sub, time spent: 60.0ms, 34.0% of total-time
Operation ival-fabs, time spent: 33.0ms, 19.0% of total-time
Operation const, time spent: 14.0ms, 8.0% of total-time
Bogosity

preprocess154.0ms (12.6%)

Algorithm
egg-herbie
Rules
136×fma-neg
48×sub-neg
44×fma-define
28×*-commutative
26×distribute-lft-neg-in
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)
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)

Compiler

Compiled 46 to 22 computations (52.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
Operation ival-div, time spent: 6.0ms, 44.0% of total-time
Operation ival-sub, time spent: 4.0ms, 29.0% of total-time
Operation ival-fabs, time spent: 3.0ms, 22.0% of total-time
Operation const, time spent: 1.0ms, 7.0% of total-time

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)

localize37.0ms (3%)

Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
Operation ival-sub, time spent: 10.0ms, 70.0% of total-time
Operation ival-div, time spent: 2.0ms, 14.0% of total-time
Operation ival-fabs, time spent: 2.0ms, 14.0% of total-time
Operation const, time spent: 1.0ms, 7.0% of total-time

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)

regimes14.0ms (1.1%)

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:

4.0ms
b
3.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
3.0ms
(-.f64 a b)
2.0ms
(fabs.f64 (-.f64 a b))
2.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)

simplify3.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
done
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))
Compiler

Compiled 8 to 6 computations (25% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess23.0ms (1.8%)

Remove

(sort a b)

Compiler

Compiled 64 to 48 computations (25% saved)

Profiling

Loading profile data...