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
Environments
Terraform modules
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
Ike Mulder
Iris
Commits
e8ce5b38
Commit
e8ce5b38
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
test for 'crazy higher order'
parent
a1b07de1
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
program_logic/tests.v
+15
-1
15 additions, 1 deletion
program_logic/tests.v
with
15 additions
and
1 deletion
program_logic/tests.v
+
15
−
1
View file @
e8ce5b38
(** This file tests a bunch of things. *)
From
program_logic
Require
Import
model
.
From
program_logic
Require
Import
model
saved_prop
.
Module
ModelTest
.
(* Make sure we got the notations right. *)
Definition
iResTest
{
Λ
:
language
}
{
Σ
:
rFunctor
}
(
w
:
iWld
Λ
Σ
)
(
p
:
iPst
Λ
)
(
g
:
iGst
Λ
Σ
)
:
iRes
Λ
Σ
:=
Res
w
p
(
Some
g
)
.
End
ModelTest
.
Module
SavedPropTest
.
(* Test if we can really go "crazy higher order" *)
Section
sec
.
Definition
Σ
:
rFunctorG
:=
#
[
agreeRF
(
cofe_morCF
idCF
idCF
)
]
.
Context
{
Λ
:
language
}
.
Notation
iProp
:=
(
iPropG
Λ
Σ
)
.
Local
Instance
:
savedPropG
Λ
Σ
(
cofe_morCF
idCF
idCF
)
:=
_
.
Definition
own_pred
γ
(
φ
:
laterC
iProp
-
n
>
laterC
iProp
)
:
iProp
:=
saved_prop_own
γ
φ
.
End
sec
.
End
SavedPropTest
.
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