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
Gaëtan Gilbert
Iris
Commits
3570accc
Commit
3570accc
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Add Inhabited in bi_index.
parent
4ad2b78f
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/monpred.v
+4
-3
4 additions, 3 deletions
theories/bi/monpred.v
with
4 additions
and
3 deletions
theories/bi/monpred.v
+
4
−
3
View file @
3570accc
...
@@ -5,10 +5,11 @@ From iris.bi Require Import derived_laws.
...
@@ -5,10 +5,11 @@ From iris.bi Require Import derived_laws.
Structure
bi_index
:=
Structure
bi_index
:=
BiIndex
BiIndex
{
bi_index_type
:>
Type
;
{
bi_index_type
:>
Type
;
bi_index_inhabited
:
Inhabited
bi_index_type
;
bi_index_rel
:
SqSubsetEq
bi_index_type
;
bi_index_rel
:
SqSubsetEq
bi_index_type
;
bi_index_rel_preorder
:
PreOrder
(
⊑
)
}
.
bi_index_rel_preorder
:
PreOrder
(
⊑
)
}
.
Existing
Instances
bi_index_rel
bi_index_rel_preorder
.
Existing
Instances
bi_index_inhabited
bi_index_rel
bi_index_rel_preorder
.
Section
Ofe_Cofe
.
Section
Ofe_Cofe
.
Context
{
I
:
bi_index
}
{
PROP
:
bi
}
.
Context
{
I
:
bi_index
}
{
PROP
:
bi
}
.
...
@@ -483,9 +484,9 @@ Proof.
...
@@ -483,9 +484,9 @@ Proof.
by
apply
absorbing
,
bi
.
forall_absorbing
.
by
apply
absorbing
,
bi
.
forall_absorbing
.
Qed
.
Qed
.
Global
Instance
monPred_all_affine
P
:
Global
Instance
monPred_all_affine
P
:
Inhabited
I
→
Affine
P
→
Affine
(
@
monPred_all
I
PROP
P
)
.
Affine
P
→
Affine
(
@
monPred_all
I
PROP
P
)
.
Proof
.
Proof
.
move
=>
?
[]
.
unfold
Affine
.
unseal
=>
Hp
.
split
=>
?
.
move
=>
[]
.
unfold
Affine
.
unseal
=>
Hp
.
split
=>
?
.
by
apply
affine
,
bi
.
forall_affine
.
by
apply
affine
,
bi
.
forall_affine
.
Qed
.
Qed
.
End
bi_facts
.
End
bi_facts
.
...
...
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