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
William Mansky
Iris
Commits
3ecc3dc6
Commit
3ecc3dc6
authored
10 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make Coq *much* faster by introducing names for some instances
parent
4741f72f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure
+2
-0
2 additions, 0 deletions
configure
iris.v
+12
-4
12 additions, 4 deletions
iris.v
world_prop.v
+12
-0
12 additions, 0 deletions
world_prop.v
with
26 additions
and
4 deletions
configure
0 → 100755
+
2
−
0
View file @
3ecc3dc6
#!/bin/sh
coq_makefile lib/ModuRes
-R
lib/ModuRes ModuRes
*
.v
-o
Makefile
This diff is collapsed.
Click to expand it.
iris.v
+
12
−
4
View file @
3ecc3dc6
...
...
@@ -25,7 +25,7 @@ Module Iris (RL : PCM_T) (C : CORE_LANG).
Instance
Props_BI
:
ComplBI
Props
|
0
:=
_
.
Instance
Props_Later
:
Later
Props
|
0
:=
_
.
(* Benchmark: How large is thid type? *)
Section
Benchmark
.
Local
Open
Scope
mask_scope
.
...
...
@@ -33,11 +33,12 @@ Module Iris (RL : PCM_T) (C : CORE_LANG).
Local
Open
Scope
bi_scope
.
Local
Open
Scope
lang_scope
.
Local
Instance
expr_type
:
Setoid
expr
:=
discreteType
.
Local
Instance
expr_metr
:
metric
expr
:=
discreteMetric
.
Local
Instance
expr
_cmetr
:
cmetric
expr
:=
discreteCMetric
.
Local
Instance
_
bench_
expr_type
:
Setoid
expr
:=
discreteType
.
Local
Instance
_
bench_
expr_metr
:
metric
expr
:=
discreteMetric
.
Local
Instance
_
bench
_cmetr
:
cmetric
expr
:=
discreteCMetric
.
Set
Printing
All
.
Check
(
expr
-
n
>
(
value
-
n
>
Props
)
-
n
>
Props
)
.
Check
((
expr
-
n
>
(
value
-
n
>
Props
)
-
n
>
Props
)
-
n
>
expr
-
n
>
(
value
-
n
>
Props
)
-
n
>
Props
)
.
End
Benchmark
.
...
...
@@ -403,6 +404,7 @@ Module Iris (RL : PCM_T) (C : CORE_LANG).
End
Erasure
.
Check
erasure
.
Notation
" p @ k "
:=
((
p
:
UPred
())
k
tt
)
(
at
level
60
,
no
associativity
)
.
...
...
@@ -484,6 +486,8 @@ Module Iris (RL : PCM_T) (C : CORE_LANG).
End
ViewShifts
.
Check
vs
.
Section
ViewShiftProps
.
Local
Open
Scope
mask_scope
.
Local
Open
Scope
pcm_scope
.
...
...
@@ -996,6 +1000,8 @@ Qed.
End
HoareTriples
.
Check
wp
.
Section
Soundness
.
Local
Open
Scope
mask_scope
.
Local
Open
Scope
pcm_scope
.
...
...
@@ -1211,6 +1217,8 @@ Qed.
End
Soundness
.
Check
soundness
.
Section
HoareTripleProperties
.
Local
Open
Scope
mask_scope
.
Local
Open
Scope
pcm_scope
.
...
...
This diff is collapsed.
Click to expand it.
world_prop.v
+
12
−
0
View file @
3ecc3dc6
...
...
@@ -80,8 +80,20 @@ Module WorldProp (Res : PCM_T).
Lemma
isoR
T
:
ı
(
ı'
T
)
==
T
.
Proof
.
apply
(
UF_id
T
)
.
Qed
.
Set
Printing
All
.
(* PreProp has an equivalence and a complete metric. It also has a preorder that fits to everything else. *)
Instance
PProp_ty
:
Setoid
PreProp
:=
_
.
Instance
PProp_m
:
metric
PreProp
:=
_
.
Instance
PProp_cm
:
cmetric
PreProp
:=
_
.
Instance
PProp_preo
:
preoType
PreProp
:=
disc_preo
PreProp
.
Instance
PProp_pcm
:
pcmType
PreProp
:=
disc_pcm
PreProp
.
Instance
PProp_ext
:
extensible
PreProp
:=
disc_ext
PreProp
.
(* Give names to the things for Props, so the terms can get shorter. *)
Instance
Props_ty
:
Setoid
Props
:=
_
.
Instance
Props_m
:
metric
Props
:=
_
.
Instance
Props_cm
:
cmetric
Props
:=
_
.
Instance
Props_preo
:
preoType
Props
:=
_
.
Instance
Props_pcm
:
pcmType
Props
:=
_
.
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