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
Snippets
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
Michael Sammler
iris-coq
Commits
24710264
Commit
24710264
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
changelog and comments
parent
f5a5f1f1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
theories/base_logic/primitive.v
+5
-0
5 additions, 0 deletions
theories/base_logic/primitive.v
with
6 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
24710264
...
@@ -7,6 +7,7 @@ Coq development, but not every API-breaking change is listed. Changes marked
...
@@ -7,6 +7,7 @@ Coq development, but not every API-breaking change is listed. Changes marked
Changes in and extensions of the theory:
Changes in and extensions of the theory:
*
[#] Add new modality: ■ ("plainly").
*
[#] Camera morphisms have to be homomorphisms, not just monotone functions.
*
[#] Camera morphisms have to be homomorphisms, not just monotone functions.
*
[#] A proof that
`f`
has a fixed point if
`f^k`
is contractive.
*
[#] A proof that
`f`
has a fixed point if
`f^k`
is contractive.
*
Constructions for least and greatest fixed points over monotone predicates
*
Constructions for least and greatest fixed points over monotone predicates
...
...
This diff is collapsed.
Click to expand it.
theories/base_logic/primitive.v
+
5
−
0
View file @
24710264
...
@@ -97,6 +97,9 @@ Definition uPred_wand {M} := unseal uPred_wand_aux M.
...
@@ -97,6 +97,9 @@ Definition uPred_wand {M} := unseal uPred_wand_aux M.
Definition
uPred_wand_eq
:
Definition
uPred_wand_eq
:
@
uPred_wand
=
@
uPred_wand_def
:=
seal_eq
uPred_wand_aux
.
@
uPred_wand
=
@
uPred_wand_def
:=
seal_eq
uPred_wand_aux
.
(* Equivalently, this could be `∀ y, P n y`. That's closer to the intuition
of "embedding the step-indexed logic in Iris", but the two are equivalent
because Iris is afine. The following is easier to work with. *)
Program
Definition
uPred_plainly_def
{
M
}
(
P
:
uPred
M
)
:
uPred
M
:=
Program
Definition
uPred_plainly_def
{
M
}
(
P
:
uPred
M
)
:
uPred
M
:=
{|
uPred_holds
n
x
:=
P
n
ε
|}
.
{|
uPred_holds
n
x
:=
P
n
ε
|}
.
Solve
Obligations
with
naive_solver
eauto
using
uPred_closed
,
ucmra_unit_validN
.
Solve
Obligations
with
naive_solver
eauto
using
uPred_closed
,
ucmra_unit_validN
.
...
@@ -480,6 +483,8 @@ Proof.
...
@@ -480,6 +483,8 @@ Proof.
by
rewrite
cmra_core_l
cmra_core_idemp
.
by
rewrite
cmra_core_l
cmra_core_idemp
.
Qed
.
Qed
.
(* The following two laws are very similar, and indeed they hold not just for □
and ■, but for any modality defined as `M P n x := ∀ y, R x y → P n y`. *)
Lemma
persistently_impl_plainly
P
Q
:
(
■
P
→
□
Q
)
⊢
□
(
■
P
→
Q
)
.
Lemma
persistently_impl_plainly
P
Q
:
(
■
P
→
□
Q
)
⊢
□
(
■
P
→
Q
)
.
Proof
.
Proof
.
unseal
;
split
=>
/=
n
x
?
HPQ
n'
x'
????
.
unseal
;
split
=>
/=
n
x
?
HPQ
n'
x'
????
.
...
...
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