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
Tej Chajed
iris
Commits
2ac88879
Commit
2ac88879
authored
10 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
start writing a signature for the world-prop solution
parent
209ec3aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
world_prop_sig.v
+44
-0
44 additions, 0 deletions
world_prop_sig.v
with
44 additions
and
0 deletions
world_prop_sig.v
0 → 100644
+
44
−
0
View file @
2ac88879
(* For some reason, the order matters. We cannot import Constr last. *)
Require
Import
ModuRes
.
Finmap
ModuRes
.
Constr
ModuRes
.
PCM
ModuRes
.
UPred
ModuRes
.
BI
ModuRes
.
PreoMet
.
Module
Type
WorldPropSig
(
Res
:
PCM_T
)
.
(** The construction is parametric in the monoid we choose *)
Import
Res
.
(* The functor is fixed *)
Section
Definitions
.
(** We'll be working with complete metric spaces, so whenever
something needs an additional preorder, we'll just take a
discrete one. *)
Local
Instance
pt_disc
P
`{
cmetric
P
}
:
preoType
P
|
2000
:=
disc_preo
P
.
Local
Instance
pcm_disc
P
`{
cmetric
P
}
:
pcmType
P
|
2000
:=
disc_pcm
P
.
Definition
FProp
P
`{
cmP
:
cmetric
P
}
:=
(
nat
-
f
>
P
)
-
m
>
UPred
res
.
End
Definitions
.
Parameter
PreProp
:
Type
.
Parameter
PrePropS
:
Setoid
PreProp
.
Parameter
PrePropM
:
metric
PreProp
.
Parameter
PrePropCM
:
cmetric
PreProp
.
Definition
Props
:=
FProp
PreProp
.
Parameter
PropS
:
Setoid
Props
.
Parameter
PropM
:
metric
Props
.
Parameter
PropCM
:
cmetric
Props
.
Definition
Wld
:=
(
nat
-
f
>
PreProp
)
.
Parameter
ı
:
PreProp
->
halve
(
cmfromType
Props
)
.
Parameter
ı'
:
halve
(
cmfromType
Props
)
->
PreProp
.
Axiom
iso
:
forall
P
,
ı'
(
ı
P
)
==
P
.
Axiom
isoR
:
forall
T
,
ı
(
ı'
T
)
==
T
.
(*Parameter PProp_preo : preoType PreProp.
Parameter PProp_pcm : pcmType PreProp.
Parameter PProp_ext : extensible PreProp.*)
End
WorldPropSig
.
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