Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
iris
Commits
4741f72f
Commit
4741f72f
authored
Jan 31, 2015
by
Ralf Jung
Browse files
add our "type size benchmark": the type of wpF (the function wp is the fixed point of)
parent
2ac88879
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
iris.v
View file @
4741f72f
...
...
@@ -26,6 +26,21 @@ 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
.
Local
Open
Scope
pcm_scope
.
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
.
Set
Printing
All
.
Check
((
expr
-
n
>
(
value
-
n
>
Props
)
-
n
>
Props
)
-
n
>
expr
-
n
>
(
value
-
n
>
Props
)
-
n
>
Props
).
End
Benchmark
.
(** And now we're ready to build the IRIS-specific connectives! *)
Section
Necessitation
.
...
...
@@ -388,6 +403,7 @@ Module Iris (RL : PCM_T) (C : CORE_LANG).
End
Erasure
.
Notation
" p @ k "
:
=
((
p
:
UPred
())
k
tt
)
(
at
level
60
,
no
associativity
).
Section
ViewShifts
.
...
...
wp-type-0.txt
0 → 100644
View file @
4741f72f
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment