Cancel like terms

Time bar (total: 1.4s)

analyze0.0ms (0%)

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 5 computations (28.6% 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-add, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample1.0s (73.7%)

Results
380.0ms4530×0valid
564.0ms3725×1valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 352.0ms
Operation backward-pass, time spent: 195.0ms, 55.0% of total-time
Operation ival-add, time spent: 80.0ms, 23.0% of total-time
Operation ival-sub, time spent: 63.0ms, 18.0% of total-time
Operation const, time spent: 14.0ms, 4.0% of total-time
Bogosity

preprocess310.0ms (22.5%)

Algorithm
egg-herbie
Rules
28×fma-neg
21×sub-neg
13×fma-define
10×distribute-lft-neg-in
10×associate-+l-
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1284(5914544708168.19)0-(-.f64 (+.f64 #s(literal 1 binary64) x) x)
00-0-x
00-0-#s(literal 1 binary64)
00-0-(+.f64 #s(literal 1 binary64) x)
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)

Compiler

Compiled 30 to 20 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 214.0ms
Operation ival-add, time spent: 208.0ms, 97.0% of total-time
Operation ival-sub, time spent: 4.0ms, 2.0% of total-time
Operation const, time spent: 2.0ms, 1.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0.1%)

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

Compiled 2 to 2 computations (0% saved)

localize10.0ms (0.7%)

Compiler

Compiled 3 to 3 computations (0% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation const, time spent: 0.0ms, 0.0% of total-time

eval0.0ms (0%)

Compiler

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

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0.2%)

Accuracy

Total -31.0b remaining (-∞%)

Threshold costs -31b (-∞%)

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:

2.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)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 2 to 2 computations (0% saved)

soundness15.0ms (1.1%)

Rules
28×fma-neg
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
Compiler

Compiled 15 to 11 computations (26.7% saved)

end0.0ms (0%)

preprocess18.0ms (1.3%)

Remove

(abs x)

Compiler

Compiled 24 to 20 computations (16.7% saved)

Profiling

Loading profile data...