simple fma test

Time bar (total: 3.0s)

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 16 to 10 computations (37.5% saved)

sample1.8s (62%)

Results
357.0ms3087×256valid
848.0ms2693×1024valid
251.0ms1336×512valid
369.0ms1140×2048valid
Bogosity

preprocess583.0ms (19.7%)

Algorithm
egg-herbie
Rules
5206×fma-define
1822×fma-neg
1652×unsub-neg
952×sub-neg
582×distribute-neg-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2115(1.767453085989687e-157 5.44663903551989e-17 19377023.08218274)0-(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
00-0-(+.f64 1 (+.f64 (*.f64 x y) z))
00-0-x
00-0-y
00-0-(*.f64 x y)
00-0-z
00-0-(fma.f64 x y z)
00-0-(+.f64 (*.f64 x y) z)
00-0-1
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052553
1137541
237811
3153411
4359911
5504611
6598811
7702211
8766011
9774411
10774411
11785211
12793911
13796011
14797211
15797811
16797811
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
(-.f64 (fma.f64 (neg.f64 x) y z) (+.f64 1 (+.f64 (*.f64 (neg.f64 x) y) z)))
(-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (+.f64 (*.f64 x (neg.f64 y)) z)))
(-.f64 (fma.f64 x y (neg.f64 z)) (+.f64 1 (+.f64 (*.f64 x y) (neg.f64 z))))
(neg.f64 (-.f64 (fma.f64 (neg.f64 x) y z) (+.f64 1 (+.f64 (*.f64 (neg.f64 x) y) z))))
(neg.f64 (-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (+.f64 (*.f64 x (neg.f64 y)) z))))
(neg.f64 (-.f64 (fma.f64 x y (neg.f64 z)) (+.f64 1 (+.f64 (*.f64 x y) (neg.f64 z)))))
(-.f64 (fma.f64 y x z) (+.f64 1 (+.f64 (*.f64 y x) z)))
(-.f64 (fma.f64 z y x) (+.f64 1 (+.f64 (*.f64 z y) x)))
(-.f64 (fma.f64 x z y) (+.f64 1 (+.f64 (*.f64 x z) y)))
Outputs
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 (neg.f64 x) y z) (+.f64 1 (+.f64 (*.f64 (neg.f64 x) y) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (+.f64 (*.f64 x (neg.f64 y)) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 x y (neg.f64 z)) (+.f64 1 (+.f64 (*.f64 x y) (neg.f64 z))))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(neg.f64 (-.f64 (fma.f64 (neg.f64 x) y z) (+.f64 1 (+.f64 (*.f64 (neg.f64 x) y) z))))
(neg.f64 (-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (fma.f64 x (neg.f64 y) z))))
(+.f64 (-.f64 (*.f64 x y) z) (+.f64 z (-.f64 1 (*.f64 x y))))
1
(neg.f64 (-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (+.f64 (*.f64 x (neg.f64 y)) z))))
(neg.f64 (-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (fma.f64 x (neg.f64 y) z))))
(+.f64 (-.f64 (*.f64 x y) z) (+.f64 z (-.f64 1 (*.f64 x y))))
1
(neg.f64 (-.f64 (fma.f64 x y (neg.f64 z)) (+.f64 1 (+.f64 (*.f64 x y) (neg.f64 z)))))
(neg.f64 (-.f64 (fma.f64 x (neg.f64 y) z) (+.f64 1 (fma.f64 x (neg.f64 y) z))))
(+.f64 (-.f64 (*.f64 x y) z) (+.f64 z (-.f64 1 (*.f64 x y))))
1
(-.f64 (fma.f64 y x z) (+.f64 1 (+.f64 (*.f64 y x) z)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 z y x) (+.f64 1 (+.f64 (*.f64 z y) x)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
(-.f64 (fma.f64 x z y) (+.f64 1 (+.f64 (*.f64 x z) y)))
(-.f64 (fma.f64 x y z) (+.f64 1 (fma.f64 x y z)))
-1
Symmetry

(abs x)

(abs y)

(abs z)

(sort x y z)

Compiler

Compiled 93 to 35 computations (62.4% saved)

eval0.0ms (0%)

Compiler

Compiled 15 to 8 computations (46.7% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
-1
Compiler

Compiled 4 to 4 computations (0% saved)

localize11.0ms (0.4%)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

prune1.0ms (0%)

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%
-1
Compiler

Compiled 20 to 14 computations (30% saved)

regimes70.0ms (2.4%)

Accuracy

Total -51.2b remaining (-∞%)

Threshold costs -51.2b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
-1
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
Outputs
-1
Calls

4 calls:

62.0ms
(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
3.0ms
z
3.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 (fma.f64 x y z) (+.f64 1 (+.f64 (*.f64 x y) z)))
Compiler

Compiled 27 to 18 computations (33.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
Stop Event
done
saturated
Calls
Call 1
Inputs
-1
Outputs
-1
Compiler

Compiled 4 to 4 computations (0% saved)

soundness410.0ms (13.8%)

Rules
5206×fma-define
1822×fma-neg
1652×unsub-neg
952×sub-neg
582×distribute-neg-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052553
1137541
237811
3153411
4359911
5504611
6598811
7702211
8766011
9774411
10774411
11785211
12793911
13796011
14797211
15797811
16797811
Stop Event
node limit
Compiler

Compiled 58 to 22 computations (62.1% saved)

end0.0ms (0%)

preprocess46.0ms (1.6%)

Remove

(sort x y z)

(abs z)

(abs y)

(abs x)

Compiler

Compiled 110 to 98 computations (10.9% saved)

Profiling

Loading profile data...