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
94216199
Commit
94216199
authored
Mar 10, 2016
by
Robbert Krebbers
Browse files
Give the project a top-level name so it can be make installed.
Thanks to Amin Timany for the suggestion.
parent
d72200d0
Changes
92
Hide whitespace changes
Inline
Side-by-side
program_logic/model.v
View file @
94216199
From
algebra
Require
Export
upred
.
From
program_logic
Require
Export
resources
.
From
algebra
Require
Import
cofe_solver
.
From
iris
.
algebra
Require
Export
upred
.
From
iris
.
program_logic
Require
Export
resources
.
From
iris
.
algebra
Require
Import
cofe_solver
.
(* The Iris program logic is parametrized by a locally contractive functor
from the category of COFEs to the category of CMRAs, which is instantiated
...
...
program_logic/namespaces.v
View file @
94216199
From
prelude
Require
Export
countable
co_pset
.
From
algebra
Require
Export
base
.
From
iris
.
prelude
Require
Export
countable
co_pset
.
From
iris
.
algebra
Require
Export
base
.
Definition
namespace
:
=
list
positive
.
Definition
nroot
:
namespace
:
=
nil
.
...
...
program_logic/ownership.v
View file @
94216199
From
program_logic
Require
Export
model
.
From
iris
.
program_logic
Require
Export
model
.
Definition
ownI
{
Λ
Σ
}
(
i
:
positive
)
(
P
:
iProp
Λ
Σ
)
:
iProp
Λ
Σ
:
=
uPred_ownM
(
Res
{[
i
:
=
to_agree
(
Next
(
iProp_unfold
P
))
]}
∅
∅
).
...
...
program_logic/pviewshifts.v
View file @
94216199
From
prelude
Require
Export
co_pset
.
From
program_logic
Require
Export
model
.
From
program_logic
Require
Import
ownership
wsat
.
From
iris
.
prelude
Require
Export
co_pset
.
From
iris
.
program_logic
Require
Export
model
.
From
iris
.
program_logic
Require
Import
ownership
wsat
.
Local
Hint
Extern
10
(
_
≤
_
)
=>
omega
.
Local
Hint
Extern
100
(@
eq
coPset
_
_
)
=>
set_solver
.
Local
Hint
Extern
100
(
_
∉
_
)
=>
set_solver
.
...
...
program_logic/resources.v
View file @
94216199
From
algebra
Require
Export
fin_maps
agree
excl
.
From
algebra
Require
Import
upred
.
From
program_logic
Require
Export
language
.
From
iris
.
algebra
Require
Export
fin_maps
agree
excl
.
From
iris
.
algebra
Require
Import
upred
.
From
iris
.
program_logic
Require
Export
language
.
Record
res
(
Λ
:
language
)
(
A
:
cofeT
)
(
M
:
cmraT
)
:
=
Res
{
wld
:
mapR
positive
(
agreeR
A
)
;
...
...
program_logic/saved_prop.v
View file @
94216199
From
algebra
Require
Export
agree
.
From
program_logic
Require
Export
ghost_ownership
.
From
iris
.
algebra
Require
Export
agree
.
From
iris
.
program_logic
Require
Export
ghost_ownership
.
Import
uPred
.
Class
savedPropG
(
Λ
:
language
)
(
Σ
:
gFunctors
)
(
F
:
cFunctor
)
:
=
...
...
program_logic/sts.v
View file @
94216199
From
algebra
Require
Export
sts
upred_tactics
.
From
program_logic
Require
Export
invariants
ghost_ownership
.
From
iris
.
algebra
Require
Export
sts
upred_tactics
.
From
iris
.
program_logic
Require
Export
invariants
ghost_ownership
.
Import
uPred
.
(** The CMRA we need. *)
...
...
program_logic/tactics.v
View file @
94216199
From
algebra
Require
Export
upred_tactics
.
From
program_logic
Require
Export
pviewshifts
.
From
iris
.
algebra
Require
Export
upred_tactics
.
From
iris
.
program_logic
Require
Export
pviewshifts
.
Import
uPred
.
Module
uPred_reflection_pvs
.
...
...
program_logic/tests.v
View file @
94216199
(** This file tests a bunch of things. *)
From
program_logic
Require
Import
model
saved_prop
.
From
iris
.
program_logic
Require
Import
model
saved_prop
.
Module
ModelTest
.
(* Make sure we got the notations right. *)
Definition
iResTest
{
Λ
:
language
}
{
Σ
:
iFunctor
}
...
...
program_logic/viewshifts.v
View file @
94216199
From
program_logic
Require
Import
ownership
.
From
program_logic
Require
Export
pviewshifts
invariants
ghost_ownership
.
From
iris
.
program_logic
Require
Import
ownership
.
From
iris
.
program_logic
Require
Export
pviewshifts
invariants
ghost_ownership
.
Import
uPred
.
Definition
vs
{
Λ
Σ
}
(
E1
E2
:
coPset
)
(
P
Q
:
iProp
Λ
Σ
)
:
iProp
Λ
Σ
:
=
...
...
program_logic/weakestpre.v
View file @
94216199
From
program_logic
Require
Export
pviewshifts
.
From
program_logic
Require
Import
wsat
.
From
iris
.
program_logic
Require
Export
pviewshifts
.
From
iris
.
program_logic
Require
Import
wsat
.
Local
Hint
Extern
10
(
_
≤
_
)
=>
omega
.
Local
Hint
Extern
100
(@
eq
coPset
_
_
)
=>
eassumption
||
set_solver
.
Local
Hint
Extern
100
(
_
∉
_
)
=>
set_solver
.
...
...
program_logic/wsat.v
View file @
94216199
From
prelude
Require
Export
co_pset
.
From
program_logic
Require
Export
model
.
From
algebra
Require
Export
cmra_big_op
cmra_tactics
.
From
iris
.
prelude
Require
Export
co_pset
.
From
iris
.
program_logic
Require
Export
model
.
From
iris
.
algebra
Require
Export
cmra_big_op
cmra_tactics
.
Local
Hint
Extern
10
(
_
≤
_
)
=>
omega
.
Local
Hint
Extern
10
(
✓
{
_
}
_
)
=>
solve_validN
.
Local
Hint
Extern
1
(
✓
{
_
}
gst
_
)
=>
apply
gst_validN
.
...
...
Prev
1
2
3
4
5
Next
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