Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Pierre Roux
Iris
Commits
89d172ed
Commit
89d172ed
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Take comments into account.
parent
7b460868
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/bi/lib/counterexamples.v
+6
-6
6 additions, 6 deletions
theories/bi/lib/counterexamples.v
with
6 additions
and
6 deletions
theories/bi/lib/counterexamples.v
+
6
−
6
View file @
89d172ed
...
...
@@ -5,9 +5,9 @@ From iris Require Import options.
(* The sections add extra BI assumptions, which is only picked up with "Type"*. *)
Set
Default
Proof
Using
"Type*"
.
(** This proves that
the combination of affinity [P ∗ Q ⊢ P] and the classical
excluded
-
middle [P ∨ ¬P] axiom makes the separation conjunction
trivial, i.e.,
it gives [P -∗ P ∗ P] and [P ∧ Q -∗ P ∗ Q].
(** This proves that
in an affine BI (i.e., a BI that enjoys [P ∗ Q ⊢ P]), the
classical
excluded
middle
(
[P ∨ ¬P]
)
axiom makes the separation conjunction
trivial, i.e.,
it gives [P -∗ P ∗ P] and [P ∧ Q -∗ P ∗ Q].
Our proof essentially follows the structure of the proof of Theorem 3 in
https://scholar.princeton.edu/sites/default/files/qinxiang/files/putting_order_to_the_separation_logic_jungle_revised_version.pdf *)
...
...
@@ -34,16 +34,16 @@ End affine_em. End affine_em.
(** This proves that the combination of Löb induction [(▷ P → P) ⊢ P] and the
classical excluded-middle [P ∨ ¬P] axiom makes the later operator trivial, i.e.,
it gives [▷
Fals
e]. *)
it gives [▷
P] for any [P], or equivalently [▷ P ≡ Tru
e]. *)
Module
löb_em
.
Section
löb_em
.
Context
`{
!
BiLöb
PROP
}
.
Context
(
em
:
∀
P
:
PROP
,
⊢
P
∨
¬
P
)
.
Implicit
Types
P
:
PROP
.
Lemma
later_
False
:
⊢@
{
PROP
}
▷
False
.
Lemma
later_
anything
P
:
⊢@
{
PROP
}
▷
P
.
Proof
.
iDestruct
(
em
(
▷
False
)
%
I
)
as
"#[HP|HnotP]"
.
-
done
.
-
iNext
.
done
.
-
iExFalso
.
iLöb
as
"IH"
.
iSpecialize
(
"HnotP"
with
"IH"
)
.
done
.
Qed
.
End
löb_em
.
End
löb_em
.
...
...
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