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
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
Amin Timany
iris-coq
Commits
576860d0
Commit
576860d0
authored
10 years ago
by
David Swasey
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of git.fp.mpi-sws.org:nowbook
parents
9443b015
1416310b
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
world_prop.v
+9
-9
9 additions, 9 deletions
world_prop.v
with
9 additions
and
9 deletions
world_prop.v
+
9
−
9
View file @
576860d0
...
@@ -99,15 +99,6 @@ Module WorldProp (Res : PCM_T) : WORLD_PROP Res.
...
@@ -99,15 +99,6 @@ Module WorldProp (Res : PCM_T) : WORLD_PROP Res.
Definition
Props
:=
FProp
PreProp
.
Definition
Props
:=
FProp
PreProp
.
Definition
Wld
:=
(
nat
-
f
>
PreProp
)
.
Definition
Wld
:=
(
nat
-
f
>
PreProp
)
.
(* Establish the isomorphism (FIXME: do it only once...) *)
Definition
ı
:
PreProp
-
t
>
halve
(
cmfromType
Props
)
:=
Unfold
.
Definition
ı'
:
halve
(
cmfromType
Props
)
-
t
>
PreProp
:=
Fold
.
Lemma
iso
P
:
ı'
(
ı
P
)
==
P
.
Proof
.
apply
(
FU_id
P
)
.
Qed
.
Lemma
isoR
T
:
ı
(
ı'
T
)
==
T
.
Proof
.
apply
(
UF_id
T
)
.
Qed
.
(* Define an order on PreProp. *)
(* Define an order on PreProp. *)
Instance
PProp_preo
:
preoType
PreProp
:=
disc_preo
PreProp
.
Instance
PProp_preo
:
preoType
PreProp
:=
disc_preo
PreProp
.
Instance
PProp_pcm
:
pcmType
PreProp
:=
disc_pcm
PreProp
.
Instance
PProp_pcm
:
pcmType
PreProp
:=
disc_pcm
PreProp
.
...
@@ -120,4 +111,13 @@ Module WorldProp (Res : PCM_T) : WORLD_PROP Res.
...
@@ -120,4 +111,13 @@ Module WorldProp (Res : PCM_T) : WORLD_PROP Res.
Instance
Props_preo
:
preoType
Props
:=
_
.
Instance
Props_preo
:
preoType
Props
:=
_
.
Instance
Props_pcm
:
pcmType
Props
:=
_
.
Instance
Props_pcm
:
pcmType
Props
:=
_
.
(* Establish the isomorphism *)
Definition
ı
:
PreProp
-
t
>
halve
(
cmfromType
Props
)
:=
Unfold
.
Definition
ı'
:
halve
(
cmfromType
Props
)
-
t
>
PreProp
:=
Fold
.
Lemma
iso
P
:
ı'
(
ı
P
)
==
P
.
Proof
.
apply
(
FU_id
P
)
.
Qed
.
Lemma
isoR
T
:
ı
(
ı'
T
)
==
T
.
Proof
.
apply
(
UF_id
T
)
.
Qed
.
End
WorldProp
.
End
WorldProp
.
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