Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jonas Kastberg
iris
Commits
29a97bb2
Commit
29a97bb2
authored
Nov 16, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use solve_proper_core for saved_pred_own_contractive
parent
8c13c02f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
theories/algebra/ofe.v
theories/algebra/ofe.v
+3
-3
theories/base_logic/lib/saved_prop.v
theories/base_logic/lib/saved_prop.v
+1
-2
No files found.
theories/algebra/ofe.v
View file @
29a97bb2
...
...
@@ -620,9 +620,9 @@ Definition ccompose {A B C}
(
f
:
B
-
n
>
C
)
(
g
:
A
-
n
>
B
)
:
A
-
n
>
C
:
=
CofeMor
(
f
∘
g
).
Instance
:
Params
(@
ccompose
)
3
.
Infix
"◎"
:
=
ccompose
(
at
level
40
,
left
associativity
).
Lemma
ccompose_ne
{
A
B
C
}
(
f1
f2
:
B
-
n
>
C
)
(
g1
g2
:
A
-
n
>
B
)
n
:
f1
≡
{
n
}
≡
f2
→
g1
≡
{
n
}
≡
g2
→
f1
◎
g1
≡
{
n
}
≡
f2
◎
g2
.
Proof
.
by
intros
Hf
Hg
x
;
rewrite
/=
(
Hg
x
)
(
Hf
(
g2
x
))
.
Qed
.
Global
Instance
ccompose_ne
{
A
B
C
}
:
NonExpansive2
(@
ccompose
A
B
C
)
.
Proof
.
intros
n
??
Hf
g1
g2
Hg
x
.
rewrite
/=
(
Hg
x
)
(
Hf
(
g2
x
))
//
.
Qed
.
(* Function space maps *)
Definition
ofe_mor_map
{
A
A'
B
B'
}
(
f
:
A'
-
n
>
A
)
(
g
:
B
-
n
>
B'
)
...
...
theories/base_logic/lib/saved_prop.v
View file @
29a97bb2
...
...
@@ -95,8 +95,7 @@ Definition saved_pred_own `{savedPredG Σ A} (γ : gname) (Φ : A -n> iProp Σ)
Instance
saved_pred_own_contractive
`
{
savedPredG
Σ
A
}
γ
:
Contractive
(
saved_pred_own
γ
).
Proof
.
intros
n
Φ
Φ
'
H
Φ
.
rewrite
/
saved_pred_own
/
saved_anything_own
/=.
do
3
f_equiv
.
intros
x
.
rewrite
/=.
by
f_contractive
.
solve_proper_core
ltac
:
(
fun
_
=>
first
[
intros
?
;
progress
simpl
|
f_contractive
|
f_equiv
]).
Qed
.
Lemma
saved_pred_alloc_strong
`
{
savedPredG
Σ
A
}
(
G
:
gset
gname
)
(
Φ
:
A
-
n
>
iProp
Σ
)
:
...
...
Write
Preview
Markdown
is supported
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