Commute and associate

Time bar (total: 2.9s)

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
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 13 to 10 computations (23.1% saved)

sample2.0s (70.7%)

Memory
41.6MiB live, 1 358.2MiB allocated
Samples
921.0ms5 914×2valid
445.0ms1 780×1valid
97.0ms559×3valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 1.1s
ival-add: 723.0ms (66.8% of total)
adjust: 255.0ms (23.5% of total)
ival-sub: 96.0ms (8.9% of total)
ival-true: 5.0ms (0.5% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

preprocess285.0ms (9.9%)

Memory
-20.1MiB live, 47.0MiB allocated
Algorithm
egg-herbie
Rules
1 242×associate-+r+
1 197×associate-+r-
1 191×associate-+l+
848×fmm-def
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)

explain131.0ms (4.6%)

Memory
23.1MiB live, 213.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (+.f64 x y) z)
00-0-(+.f64 y z)
00-0-y
00-0-(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
00-0-(+.f64 x y)
00-0-(+.f64 x (+.f64 y z))
00-0-z
00-0-x
Confusion
Predicted +Predicted -
+01
-0255
Precision
0/0
Recall
0.0
Confusion?
Predicted +Predicted MaybePredicted -
+001
-00255
Precision?
0/0
Recall?
0.0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+001
-000
Precision?
0/0
Recall?
0.0
Samples
54.0ms366×2valid
12.0ms114×1valid
6.0ms32×3valid
Compiler

Compiled 92 to 36 computations (60.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
ival-add: 25.0ms (58.8% of total)
adjust: 12.0ms (28.2% of total)
ival-sub: 6.0ms (14.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 15 to 9 computations (40% saved)

prune1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 0 binary64)
Compiler

Compiled 4 to 4 computations (0% saved)

simplify7.0ms (0.2%)

Memory
-23.7MiB live, 7.7MiB allocated
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)

localize7.0ms (0.2%)

Memory
13.8MiB live, 13.8MiB allocated
Samples
4.0ms256×0valid
Compiler

Compiled 3 to 6 computations (-100% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
...in/eval/compile.rkt:76:19: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 3 to 3 computations (0% saved)

prune1.0ms (0%)

Memory
2.5MiB live, 2.5MiB allocated
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)

regimes5.0ms (0.2%)

Memory
10.4MiB live, 10.4MiB allocated
Accuracy

Total -0.2b remaining (-∞%)

Threshold costs -0.2b (-∞%)

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:

1.0ms
y
1.0ms
x
1.0ms
z
1.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%)

Memory
1.1MiB live, 1.1MiB allocated
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)

soundness375.0ms (13%)

Memory
-37.2MiB live, 37.9MiB allocated
Rules
1 242×associate-+r+
1 197×associate-+r-
1 191×associate-+l+
848×fmm-def
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 (1.1%)

Memory
15.7MiB live, 79.1MiB allocated
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%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...