Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan Frumin
iris-coq
Commits
cdb38447
Commit
cdb38447
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Counting CMRA" because it is already in cmra.v (called natR).
This reverts commit
4c056f5e
.
parent
abaf388a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_CoqProject
+0
-1
0 additions, 1 deletion
_CoqProject
algebra/count.v
+0
-21
0 additions, 21 deletions
algebra/count.v
with
0 additions
and
22 deletions
_CoqProject
+
0
−
1
View file @
cdb38447
...
@@ -55,7 +55,6 @@ algebra/upred_tactics.v
...
@@ -55,7 +55,6 @@ algebra/upred_tactics.v
algebra/upred_big_op.v
algebra/upred_big_op.v
algebra/upred_hlist.v
algebra/upred_hlist.v
algebra/frac.v
algebra/frac.v
algebra/count.v
algebra/csum.v
algebra/csum.v
algebra/list.v
algebra/list.v
algebra/updates.v
algebra/updates.v
...
...
This diff is collapsed.
Click to expand it.
algebra/count.v
deleted
100644 → 0
+
0
−
21
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
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment