Cancel like terms

Time bar (total: 900.0ms)

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

sample693.0ms (77%)

Results
356.0ms3889×1valid
172.0ms4367×0valid
Precisions
Click to see histograms. Total time spent on operations: 217.0ms
ival-add: 81.0ms (37.3% of total)
ival-sub: 65.0ms (29.9% of total)
backward-pass: 57.0ms (26.2% of total)
const: 14.0ms (6.4% of total)
Bogosity

preprocess22.0ms (2.5%)

Algorithm
egg-herbie
Rules
82×fmsub-define
80×fnmsub-define
80×fnmadd-define
68×sum3-define
56×fmm-def
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1253
2893
31433
42363
53093
63533
73673
045
1111
2241
3271
4351
5471
6611
7851
81031
91051
01051
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
Call 2
Inputs
(- (+ 1 x) x)
(- (+ 1 (neg x)) (neg x))
(neg (- (+ 1 (neg x)) (neg x)))
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(- (+ 1 (neg x)) (neg x))
#s(literal 1 binary64)
(neg (- (+ 1 (neg x)) (neg x)))
#s(literal -1 binary64)
Symmetry

(abs x)

explain75.0ms (8.4%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1285(1818.7357701359433)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)
Results
36.0ms254×1valid
19.0ms258×0valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-sub: 7.0ms (39.9% of total)
ival-add: 5.0ms (28.5% of total)
backward-pass: 4.0ms (22.8% of total)
const: 1.0ms (5.7% of total)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% 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)

simplify3.0ms (0.3%)

Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

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

localize8.0ms (0.9%)

Results
5.0ms256×0valid
Compiler

Compiled 3 to 3 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)

series0.0ms (0%)

Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite36.0ms (4%)

Algorithm
batch-egg-rewrite
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

simplify3.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

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 6 computations (33.3% saved)

regimes3.0ms (0.3%)

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:

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)

simplify30.0ms (3.3%)

Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

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

soundness6.0ms (0.7%)

Rules
48×sum3-define
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
045
1111
2241
3271
4351
5471
6611
7851
81031
91051
01051
Stop Event
done
iter limit
saturated
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess18.0ms (2.1%)

Remove

(abs x)

Compiler

Compiled 24 to 20 computations (16.7% saved)

end0.0ms (0%)

Profiling

Loading profile data...