Cancel like terms

Time bar (total: 919.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)

sample692.0ms (75.3%)

Results
349.0ms3839×1valid
169.0ms4417×0valid
Precisions
Click to see histograms. Total time spent on operations: 238.0ms
backward-pass: 85.0ms (35.7% of total)
ival-add: 77.0ms (32.4% of total)
ival-sub: 61.0ms (25.6% of total)
const: 14.0ms (5.9% of total)
Bogosity

preprocess21.0ms (2.3%)

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)

explain72.0ms (7.8%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1227(5071533826352.166)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
29.0ms238×1valid
19.0ms274×0valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 5.0ms (35.4% of total)
ival-sub: 4.0ms (28.3% of total)
backward-pass: 4.0ms (28.3% of total)
const: 1.0ms (7.1% 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)

localize13.0ms (1.4%)

Results
10.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

rewrite57.0ms (6.2%)

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 -29.6b remaining (-∞%)

Threshold costs -29.6b (-∞%)

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)

simplify6.0ms (0.7%)

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)

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

preprocess40.0ms (4.3%)

Remove

(abs x)

Compiler

Compiled 24 to 20 computations (16.7% saved)

end0.0ms (0%)

Profiling

Loading profile data...