Cancel like terms

Time bar (total: 673.0ms)

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample507.0ms (75.4%)

Memory
11.2MiB live, 522.6MiB allocated
Samples
224.0ms3 752×1valid
134.0ms4 504×0valid
Precisions
Click to see histograms. Total time spent on operations: 176.0ms
ival-sub: 70.0ms (39.9% of total)
ival-add: 63.0ms (35.9% of total)
adjust: 32.0ms (18.2% of total)
ival-true: 5.0ms (2.8% of total)
...in/eval/compile.rkt:110:19: 3.0ms (1.7% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

preprocess42.0ms (6.2%)

Memory
19.0MiB live, 49.6MiB allocated
Algorithm
egg-herbie
Rules
28×fmm-def
21×sub-neg
13×fma-define
10×distribute-lft-neg-in
10×associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01384
1334
2914
31304
41774
52034
62154
72194
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) x) (neg.f64 x)))
#s(literal -1 binary64)
Symmetry

(abs x)

explain66.0ms (9.8%)

Memory
-26.0MiB live, 75.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1163(13944225.635319734)0-(-.f64 (+.f64 #s(literal 1 binary64) x) x)
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (+.f64 #s(literal 1 binary64) x) x)cancellation1190
Confusion
Predicted +Predicted -
+1160
-3137
Precision
0.9747899159663865
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+11600
-30137
Precision?
0.9747899159663865
Recall?
1.0
Freqs
test
numberfreq
0137
1119
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
12.0ms224×1valid
11.0ms288×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 6.0ms (49.9% of total)
ival-sub: 3.0ms (24.9% of total)
adjust: 2.0ms (16.6% of total)
...in/eval/compile.rkt:110:19: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

eval0.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 7 to 4 computations (42.9% saved)

prune1.0ms (0.1%)

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

Compiled 2 to 2 computations (0% saved)

simplify5.0ms (0.8%)

Memory
5.3MiB live, 5.3MiB allocated
Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

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

localize6.0ms (0.8%)

Memory
8.5MiB live, 8.5MiB allocated
Samples
3.0ms256×0valid
Compiler

Compiled 3 to 4 computations (-33.3% saved)

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

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB 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 1 binary64)
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes3.0ms (0.4%)

Memory
5.1MiB live, 5.1MiB allocated
Accuracy

Total -28.1b remaining (-∞%)

Threshold costs -28.1b (-∞%)

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

2 calls:

1.0ms
x
1.0ms
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify1.0ms (0.2%)

Memory
1.5MiB live, 1.5MiB allocated
Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

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

soundness21.0ms (3.1%)

Memory
-22.1MiB live, 8.0MiB allocated
Rules
28×fmm-def
21×sub-neg
13×fma-define
10×distribute-lft-neg-in
10×associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01384
1334
2914
31304
41774
52034
62154
72194
Stop Event
done
saturated
Compiler

Compiled 17 to 10 computations (41.2% saved)

preprocess19.0ms (2.8%)

Memory
7.7MiB live, 38.4MiB allocated
Remove

(abs x)

Compiler

Compiled 24 to 20 computations (16.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...