Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
76
Issues
76
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
cdb38447
Commit
cdb38447
authored
Jun 28, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Counting CMRA" because it is already in cmra.v (called natR).
This reverts commit
4c056f5e
.
parent
abaf388a
Pipeline
#1684
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
_CoqProject
_CoqProject
+0
-1
count.v
algebra/count.v
+0
-21
No files found.
_CoqProject
View file @
cdb38447
...
...
@@ -55,7 +55,6 @@ algebra/upred_tactics.v
algebra/upred_big_op.v
algebra/upred_hlist.v
algebra/frac.v
algebra/count.v
algebra/csum.v
algebra/list.v
algebra/updates.v
...
...
algebra/count.v
deleted
100644 → 0
View file @
abaf388a
From
iris
.
algebra
Require
Export
cmra
.
From
iris
.
algebra
Require
Import
upred
.
Notation
count
:=
nat
(
only
parsing
).
Section
count
.
Canonical
Structure
countC
:=
leibnizC
count
.
Instance
count_valid
:
Valid
count
:=
λ
_,
True
.
Instance
count_pcore
:
PCore
count
:=
λ
_,
None
.
Instance
count_op
:
Op
count
:=
λ
x
y
,
(
x
+
y
)%
nat
.
Definition
count_ra_mixin
:
RAMixin
nat
.
Proof
.
by
split
;
try
apply
_.
Qed
.
Canonical
Structure
countR
:=
discreteR
count
count_ra_mixin
.
End
count
.
(** Internalized properties *)
Lemma
count_equivI
{
M
}
(
x
y
:
count
)
:
x
≡
y
⊣⊢
(
x
=
y
:
uPred
M
).
Proof
.
by
uPred
.
unseal
.
Qed
.
Lemma
count_validI
{
M
}
(
x
:
count
)
:
✓
x
⊣⊢
(
True
:
uPred
M
).
Proof
.
by
uPred
.
unseal
.
Qed
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment