Commute and associate

Time bar (total: 3.5s)

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 15 to 9 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-add: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample2.8s (78.7%)

Results
1.5s5890×2valid
594.0ms1933×1valid
117.0ms422×3valid
1.0ms11×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.5s
ival-add: 868.0ms (56.2% of total)
backward-pass: 565.0ms (36.6% of total)
ival-sub: 106.0ms (6.9% of total)
const: 7.0ms (0.5% of total)
Bogosity

preprocess192.0ms (5.4%)

Algorithm
egg-herbie
Rules
1242×associate-+r+
1197×associate-+r-
1191×associate-+l+
848×fma-neg
670×fma-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046539
114011
255111
3174511
4320711
5391511
6392611
7393411
8393411
9431611
10431611
11431611
12431611
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(-.f64 (+.f64 (+.f64 (neg.f64 x) y) z) (+.f64 (neg.f64 x) (+.f64 y z)))
(-.f64 (+.f64 (+.f64 x (neg.f64 y)) z) (+.f64 x (+.f64 (neg.f64 y) z)))
(-.f64 (+.f64 (+.f64 x y) (neg.f64 z)) (+.f64 x (+.f64 y (neg.f64 z))))
(neg.f64 (-.f64 (+.f64 (+.f64 (neg.f64 x) y) z) (+.f64 (neg.f64 x) (+.f64 y z))))
(neg.f64 (-.f64 (+.f64 (+.f64 x (neg.f64 y)) z) (+.f64 x (+.f64 (neg.f64 y) z))))
(neg.f64 (-.f64 (+.f64 (+.f64 x y) (neg.f64 z)) (+.f64 x (+.f64 y (neg.f64 z)))))
(-.f64 (+.f64 (+.f64 y x) z) (+.f64 y (+.f64 x z)))
(-.f64 (+.f64 (+.f64 z y) x) (+.f64 z (+.f64 y x)))
(-.f64 (+.f64 (+.f64 x z) y) (+.f64 x (+.f64 z y)))
Outputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 (neg.f64 x) y) z) (+.f64 (neg.f64 x) (+.f64 y z)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 x (neg.f64 y)) z) (+.f64 x (+.f64 (neg.f64 y) z)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 x y) (neg.f64 z)) (+.f64 x (+.f64 y (neg.f64 z))))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(neg.f64 (-.f64 (+.f64 (+.f64 (neg.f64 x) y) z) (+.f64 (neg.f64 x) (+.f64 y z))))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(neg.f64 (-.f64 (+.f64 (+.f64 x (neg.f64 y)) z) (+.f64 x (+.f64 (neg.f64 y) z))))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(neg.f64 (-.f64 (+.f64 (+.f64 x y) (neg.f64 z)) (+.f64 x (+.f64 y (neg.f64 z)))))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 y x) z) (+.f64 y (+.f64 x z)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 z y) x) (+.f64 z (+.f64 y x)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 x z) y) (+.f64 x (+.f64 z y)))
(+.f64 (+.f64 x y) (-.f64 z (+.f64 y (+.f64 x z))))
#s(literal 0 binary64)
Symmetry

(abs x)

(abs y)

(abs z)

(negabs x)

(negabs y)

(negabs z)

(sort x y z)

explain155.0ms (4.4%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-z
00-0-(+.f64 x (+.f64 y z))
00-0-(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
00-0-(+.f64 x y)
00-0-y
00-0-(+.f64 y z)
00-0-(+.f64 (+.f64 x y) z)
Results
81.0ms332×2valid
23.0ms146×1valid
15.0ms34×3valid
Compiler

Compiled 82 to 26 computations (68.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 61.0ms
ival-add: 31.0ms (50.8% of total)
backward-pass: 24.0ms (39.4% of total)
ival-sub: 6.0ms (9.8% of total)
const: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 15 to 9 computations (40% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 0 binary64)
Compiler

Compiled 4 to 4 computations (0% saved)

localize8.0ms (0.2%)

Results
6.0ms256×0valid
Compiler

Compiled 5 to 5 computations (0% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

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

Compiled 19 to 13 computations (31.6% saved)

regimes13.0ms (0.4%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 0 binary64)
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Outputs
#s(literal 0 binary64)
Calls

4 calls:

9.0ms
x
1.0ms
z
1.0ms
y
0.0ms
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
Stop Event
saturated
Calls
Call 1
Inputs
#s(literal 0 binary64)
Outputs
#s(literal 0 binary64)

soundness349.0ms (9.9%)

Rules
1242×associate-+r+
1197×associate-+r-
1191×associate-+l+
848×fma-neg
670×fma-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046539
114011
255111
3174511
4320711
5391511
6392611
7393411
8393411
9431611
10431611
11431611
12431611
Stop Event
done
node limit
Compiler

Compiled 52 to 18 computations (65.4% saved)

preprocess31.0ms (0.9%)

Remove

(sort x y z)

(negabs z)

(negabs y)

(negabs x)

(abs z)

(abs y)

(abs x)

Compiler

Compiled 148 to 136 computations (8.1% saved)

end0.0ms (0%)

Profiling

Loading profile data...