Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
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
Rice Wine
Iris
Commits
d9cad5bf
Commit
d9cad5bf
authored
8 years ago
by
Janno
Browse files
Options
Downloads
Patches
Plain Diff
Add IntoPure instances for ∗, ∧, and ∨.
parent
84d78426
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/proofmode/class_instances.v
+9
-0
9 additions, 0 deletions
theories/proofmode/class_instances.v
with
9 additions
and
0 deletions
theories/proofmode/class_instances.v
+
9
−
0
View file @
d9cad5bf
...
@@ -55,6 +55,15 @@ Global Instance into_pure_forall {X : Type} (Φ : X → uPred M) φ :
...
@@ -55,6 +55,15 @@ Global Instance into_pure_forall {X : Type} (Φ : X → uPred M) φ :
Proof
.
Proof
.
rewrite
/
IntoPure
=>
Hx
.
rewrite
-
pure_forall_2
.
by
setoid_rewrite
Hx
.
rewrite
/
IntoPure
=>
Hx
.
rewrite
-
pure_forall_2
.
by
setoid_rewrite
Hx
.
Qed
.
Qed
.
Global
Instance
into_pure_pure_conj
(
φ1
φ2
:
uPred
M
)
P1
P2
:
IntoPure
φ1
P1
->
IntoPure
φ2
P2
->
IntoPure
(
φ1
∧
φ2
)
(
P1
∧
P2
)
.
Proof
.
rewrite
/
IntoPure
pure_and
.
by
intros
->
->
.
Qed
.
Global
Instance
into_pure_pure_sep
(
φ1
φ2
:
uPred
M
)
P1
P2
:
IntoPure
φ1
P1
->
IntoPure
φ2
P2
->
IntoPure
(
φ1
∗
φ2
)
(
P1
∧
P2
)
.
Proof
.
rewrite
/
IntoPure
sep_and
pure_and
.
by
intros
->
->
.
Qed
.
Global
Instance
into_pure_pure_disj
(
φ1
φ2
:
uPred
M
)
P1
P2
:
IntoPure
φ1
P1
->
IntoPure
φ2
P2
->
IntoPure
(
φ1
∨
φ2
)
(
P1
∨
P2
)
.
Proof
.
rewrite
/
IntoPure
pure_or
.
by
intros
->
->
.
Qed
.
(* FromPure *)
(* FromPure *)
Global
Instance
from_pure_pure
φ
:
@
FromPure
M
⌜
φ
⌝
φ
.
Global
Instance
from_pure_pure
φ
:
@
FromPure
M
⌜
φ
⌝
φ
.
...
...
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