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
Gaëtan Gilbert
Iris
Commits
23f7fac4
Commit
23f7fac4
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
bind types to scopes as early as possible, to functions get their arguments set appropriately
parent
492609d6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
algebra/upred.v
+4
-4
4 additions, 4 deletions
algebra/upred.v
heap_lang/heap_lang.v
+3
-0
3 additions, 0 deletions
heap_lang/heap_lang.v
heap_lang/notation.v
+0
-3
0 additions, 3 deletions
heap_lang/notation.v
with
7 additions
and
7 deletions
algebra/upred.v
+
4
−
4
View file @
23f7fac4
...
...
@@ -15,6 +15,10 @@ Local Transparent uPred_holds.
Add
Printing
Constructor
uPred
.
Instance
:
Params
(
@
uPred_holds
)
3
.
Delimit
Scope
uPred_scope
with
I
.
Bind
Scope
uPred_scope
with
uPred
.
Arguments
uPred_holds
{_}
_
%
I
_
_
.
Section
cofe
.
Context
{
M
:
cmraT
}
.
Instance
uPred_equiv
:
Equiv
(
uPred
M
)
:=
λ
P
Q
,
∀
x
n
,
...
...
@@ -185,10 +189,6 @@ Program Definition uPred_valid {M A : cmraT} (a : A) : uPred M :=
{|
uPred_holds
n
x
:=
✓
{
n
}
a
|}
.
Solve
Obligations
with
naive_solver
eauto
2
using
cmra_validN_le
.
Delimit
Scope
uPred_scope
with
I
.
Bind
Scope
uPred_scope
with
uPred
.
Arguments
uPred_holds
{_}
_
%
I
_
_
.
Arguments
uPred_entails
_
_
%
I
_
%
I
.
Notation
"P ⊑ Q"
:=
(
uPred_entails
P
%
I
Q
%
I
)
(
at
level
70
)
:
C_scope
.
Notation
"(⊑)"
:=
uPred_entails
(
only
parsing
)
:
C_scope
.
Notation
"■ φ"
:=
(
uPred_const
φ
%
C
%
type
)
...
...
This diff is collapsed.
Click to expand it.
heap_lang/heap_lang.v
+
3
−
0
View file @
23f7fac4
...
...
@@ -49,6 +49,9 @@ Inductive val :=
|
InjRV
(
v
:
val
)
|
LocV
(
l
:
loc
)
.
Delimit
Scope
lang_scope
with
L
.
Bind
Scope
lang_scope
with
expr
val
.
Fixpoint
of_val
(
v
:
val
)
:
expr
:=
match
v
with
|
RecV
f
x
e
=>
Rec
f
x
e
...
...
This diff is collapsed.
Click to expand it.
heap_lang/notation.v
+
0
−
3
View file @
23f7fac4
Require
Export
heap_lang
.
derived
.
Delimit
Scope
lang_scope
with
L
.
Bind
Scope
lang_scope
with
expr
val
.
(* What about Arguments for hoare triples?. *)
Arguments
wp
{_
_}
_
_
%
L
_
.
...
...
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