Cancel like terms

Time bar (total: 2.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
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)

sample916.0ms (43.8%)

Memory
22.0MiB live, 476.0MiB allocated; 853ms collecting garbage
Samples
586.0ms3 803×1valid
121.0ms4 453×0valid
Precisions
Click to see histograms. Total time spent on operations: 282.0ms
ival-add: 128.0ms (45.4% of total)
adjust: 89.0ms (31.6% of total)
ival-sub: 53.0ms (18.8% of total)
ival-true: 5.0ms (1.8% of total)
exact: 5.0ms (1.8% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain57.0ms (2.7%)

Memory
7.3MiB live, 53.7MiB allocated; 4ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1116(-117.53530214980604)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)cancellation1170
Confusion
Predicted +Predicted -
+1110
-6139
Precision
0.9487179487179487
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+11100
-60139
Precision?
0.9487179487179487
Recall?
1.0
Freqs
test
numberfreq
0139
1117
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
16.0ms222×1valid
12.0ms290×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 6.0ms (38% of total)
adjust: 5.0ms (31.7% of total)
ival-add: 4.0ms (25.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess227.0ms (10.8%)

Memory
6.9MiB live, 148.7MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0615
1112
2242
3672
42872
523402
045
065
1111
2181
3531
41941
516861
672831
080331
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
#s(literal 1 binary64)
Symmetry

(abs x)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
58.0%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 5 to 4 computations (20% saved)

simplify168.0ms (8%)

Memory
9.1MiB live, 100.4MiB allocated; 8ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff4
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
066
1116
2186
3536
41946
516866
672836
080336
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) x)
(-.f64 x #s(literal -1 binary64))
#s(literal 1 binary64)
x

localize17.0ms (0.8%)

Memory
11.1MiB live, 11.1MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 #s(literal 1 binary64) x)
accuracy26.890013819147434
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Samples
8.0ms111×1valid
5.0ms145×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
adjust: 3.0ms (45.7% of total)
ival-add: 2.0ms (30.5% of total)
ival-sub: 2.0ms (30.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Counts
2 → 4
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) x)
Outputs
1
(+ 1 x)
x
(* x (+ 1 (/ 1 x)))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((- (+ 1 x) x) (+ 1 x))
0.0ms
x
@-inf
((- (+ 1 x) x) (+ 1 x))
0.0ms
x
@0
((- (+ 1 x) x) (+ 1 x))

simplify169.0ms (8.1%)

Memory
-36.7MiB live, 79.7MiB allocated; 49ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1178
2318
31108
48008
553778
084818
Stop Event
iter limit
node limit
Counts
4 → 3
Calls
Call 1
Inputs
1
(+ 1 x)
x
(* x (+ 1 (/ 1 x)))
Outputs
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite60.0ms (2.9%)

Memory
-8.1MiB live, 37.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
068
1354
03074
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 12
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) x)
Outputs
#s(literal 1 binary64)
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)

eval1.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 147 to 49 computations (66.7% saved)

prune1.0ms (0%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New13114
Fresh000
Picked101
Done000
Total14115
Accuracy
100.0%
Counts
15 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify163.0ms (7.8%)

Memory
18.0MiB live, 109.1MiB allocated; 6ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058
058
1104
2184
3534
41944
517084
673154
080114
Stop Event
iter limit
node limit
saturated
Calls
Call 1
Inputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
#s(literal 1 binary64)

localize16.0ms (0.8%)

Memory
11.7MiB live, 11.7MiB allocated; 0ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Samples
8.0ms111×1valid
4.0ms145×0valid
Compiler

Compiled 8 to 6 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
adjust: 3.0ms (45.5% of total)
ival-add: 2.0ms (30.3% of total)
ival-sub: 2.0ms (30.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Outputs
1
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((- (+ 1 x) x))
0.0ms
x
@-inf
((- (+ 1 x) x))
0.0ms
x
@inf
((- (+ 1 x) x))

simplify160.0ms (7.6%)

Memory
-28.5MiB live, 70.3MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
131
261
3141
4401
51771
614201
743551
080261
Stop Event
iter limit
node limit
Counts
1 → 1
Calls
Call 1
Inputs
1
Outputs
1
#s(literal 1 binary64)

rewrite53.0ms (2.5%)

Memory
-10.3MiB live, 36.5MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057
057
1343
03073
Stop Event
iter limit
iter limit
iter limit
unsound
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Outputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 7 to 6 computations (14.3% saved)

prune1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New101
Fresh000
Picked011
Done000
Total112
Accuracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Compiler

Compiled 19 to 14 computations (26.3% saved)

regimes2.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated; 0ms collecting garbage
Accuracy

Total -26.9b remaining (-∞%)

Threshold costs -26.9b (-∞%)

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

2 calls:

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

Compiled 6 to 5 computations (16.7% saved)

simplify35.0ms (1.7%)

Memory
27.8MiB live, 27.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057
1105
2173
3413
41533
511413
649493
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))
Outputs
#s(approx (- (+ 1 x) x) #s(literal 1 binary64))

derivations35.0ms (1.7%)

Memory
-31.0MiB live, 15.5MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess8.0ms (0.4%)

Memory
8.9MiB live, 8.9MiB allocated; 0ms collecting garbage
Remove

(abs x)

Compiler

Compiled 38 to 32 computations (15.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...