Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lennard Gäher
Iris
Commits
dfc4dca9
Commit
dfc4dca9
authored
Mar 21, 2018
by
Ralf Jung
Browse files
split derived_laws into BI and SBI laws
parent
c2a8bce0
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
_CoqProject
View file @
dfc4dca9
...
...
@@ -27,7 +27,8 @@ theories/algebra/deprecated.v
theories/algebra/proofmode_classes.v
theories/bi/interface.v
theories/bi/derived_connectives.v
theories/bi/derived_laws.v
theories/bi/derived_laws_bi.v
theories/bi/derived_laws_sbi.v
theories/bi/plainly.v
theories/bi/big_op.v
theories/bi/updates.v
...
...
theories/base_logic/derived.v
View file @
dfc4dca9
From
iris
.
base_logic
Require
Export
upred
.
From
iris
.
bi
Require
Export
derived_laws
.
From
iris
.
bi
Require
Export
bi
.
Set
Default
Proof
Using
"Type"
.
Import
upred
.
uPred
.
Import
interface
.
bi
derived_laws
.
bi
.
Import
upred
.
uPred
bi
.
Module
uPred
.
Section
derived
.
...
...
theories/base_logic/lib/boxes.v
View file @
dfc4dca9
...
...
@@ -100,8 +100,7 @@ Qed.
Lemma
box_alloc
:
box
N
∅
True
%
I
.
Proof
.
iIntros
;
iExists
(
λ
_
,
True
)%
I
;
iSplit
;
last
by
auto
.
iNext
.
by
rewrite
big_opM_empty
.
iIntros
.
iExists
(
λ
_
,
True
)%
I
.
iSplit
;
by
auto
.
Qed
.
Lemma
slice_insert_empty
E
q
f
Q
P
:
...
...
theories/bi/bi.v
View file @
dfc4dca9
From
iris
.
bi
Require
Export
derived_laws
big_op
updates
plainly
embedding
.
From
iris
.
bi
Require
Export
derived_laws_bi
derived_laws_sbi
big_op
updates
plainly
embedding
.
Set
Default
Proof
Using
"Type"
.
Module
Import
bi
.
Export
bi
.
interface
.
bi
.
Export
bi
.
derived_laws
.
bi
.
Export
bi
.
derived_laws_bi
.
bi
.
Export
bi
.
derived_laws_sbi
.
bi
.
Export
bi
.
big_op
.
bi
.
End
bi
.
...
...
theories/bi/big_op.v
View file @
dfc4dca9
From
iris
.
algebra
Require
Export
big_op
.
From
iris
.
bi
Require
Export
derived_laws
.
From
iris
.
bi
Require
Import
plainly
.
From
iris
.
bi
Require
Import
derived_laws_sbi
plainly
.
From
stdpp
Require
Import
countable
fin_collections
functions
.
Set
Default
Proof
Using
"Type"
.
...
...
@@ -42,7 +41,7 @@ Notation "'[∗' 'mset]' x ∈ X , P" := (big_opMS bi_sep (λ x, P) X)
(** * Properties *)
Module
bi
.
Import
interface
.
bi
derived_laws
.
bi
.
Import
interface
.
bi
derived_laws
_bi
.
bi
.
Section
bi_big_op
.
Context
{
PROP
:
bi
}.
Implicit
Types
Ps
Qs
:
list
PROP
.
...
...
theories/bi/derived_laws.v
→
theories/bi/derived_laws
_bi
.v
View file @
dfc4dca9
This diff is collapsed.
Click to expand it.
theories/bi/derived_laws_sbi.v
0 → 100644
View file @
dfc4dca9
This diff is collapsed.
Click to expand it.
theories/bi/embedding.v
View file @
dfc4dca9
From
iris
.
algebra
Require
Import
monoid
.
From
iris
.
bi
Require
Import
interface
derived_laws
big_op
plainly
updates
.
From
iris
.
bi
Require
Import
interface
derived_laws
_sbi
big_op
plainly
updates
.
From
stdpp
Require
Import
hlist
.
Class
Embed
(
A
B
:
Type
)
:
=
embed
:
A
→
B
.
...
...
theories/bi/plainly.v
View file @
dfc4dca9
From
iris
.
bi
Require
Import
derived_laws
.
From
iris
.
bi
Require
Import
derived_laws
_sbi
.
From
iris
.
algebra
Require
Import
monoid
.
Import
interface
.
bi
derived_laws
.
bi
.
Import
interface
.
bi
derived_laws
_bi
.
bi
derived_laws_sbi
.
bi
.
Class
Plainly
(
A
:
Type
)
:
=
plainly
:
A
→
A
.
Hint
Mode
Plainly
!
:
typeclass_instances
.
...
...
theories/bi/updates.v
View file @
dfc4dca9
From
stdpp
Require
Import
coPset
.
From
iris
.
bi
Require
Import
interface
derived_laws
big_op
plainly
.
From
iris
.
bi
Require
Import
interface
derived_laws
_sbi
big_op
plainly
.
(* We first define operational type classes for the notations, and then later
bundle these operational type classes with the laws. *)
...
...
theories/proofmode/class_instances.v
View file @
dfc4dca9
...
...
@@ -1089,7 +1089,7 @@ Proof.
Qed
.
(* We add a useless hypothesis [BiEmbed PROP PROP'] in order to make
sure this
i
instance is not used when there is no embedding between
sure this instance is not used when there is no embedding between
PROP and PROP'.
The first [`{BiEmbed PROP PROP'}] is not considered as a premise by
Coq TC search mechanism because the rest of the hypothesis is dependent
...
...
theories/proofmode/tactics.v
View file @
dfc4dca9
From
iris
.
proofmode
Require
Import
coq_tactics
.
From
iris
.
proofmode
Require
Import
base
intro_patterns
spec_patterns
sel_patterns
.
From
iris
.
bi
Require
Export
bi
big_op
.
From
iris
.
bi
Require
Export
bi
.
From
stdpp
Require
Import
namespaces
.
From
iris
.
proofmode
Require
Export
classes
notation
.
From
iris
.
proofmode
Require
Import
class_instances
.
...
...
Write
Preview
Supports
Markdown
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