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
William Mansky
Iris
Commits
97dc4393
Commit
97dc4393
authored
8 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Use projections in the instance of Timeless for pairs
parent
8c77aa2f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algebra/cofe.v
+3
-3
3 additions, 3 deletions
algebra/cofe.v
program_logic/boxes.v
+0
-5
0 additions, 5 deletions
program_logic/boxes.v
with
3 additions
and
8 deletions
algebra/cofe.v
+
3
−
3
View file @
97dc4393
...
...
@@ -323,9 +323,9 @@ Section product.
apply
(
conv_compl
n
(
chain_map
snd
c
))
.
Qed
.
Canonical
Structure
prodC
:
cofeT
:=
CofeT
(
A
*
B
)
prod_cofe_mixin
.
Global
Instance
p
air
_timeless
(
x
:
A
)
(
y
:
B
)
:
Timeless
x
→
Timeless
y
→
Timeless
(
x
,
y
)
.
Proof
.
by
intros
??
[
x'
y'
]
[??];
split
;
apply
(
timeless
_)
.
Qed
.
Global
Instance
p
rod
_timeless
(
x
:
A
*
B
)
:
Timeless
(
x
.
1
)
→
Timeless
(
x
.
2
)
→
Timeless
x
.
Proof
.
by
intros
??
?
[??];
split
;
apply
(
timeless
_)
.
Qed
.
Global
Instance
prod_discrete_cofe
:
Discrete
A
→
Discrete
B
→
Discrete
prodC
.
Proof
.
intros
??
[??];
apply
_
.
Qed
.
End
product
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/boxes.v
+
0
−
5
View file @
97dc4393
...
...
@@ -57,11 +57,6 @@ Proof. solve_proper. Qed.
Global
Instance
slice_persistent
γ
P
:
PersistentP
(
slice
N
γ
P
)
.
Proof
.
apply
_
.
Qed
.
(* This should go automatic *)
Instance
box_own_auth_timeless
γ
(
a
:
auth
(
option
(
excl
bool
)))
:
TimelessP
(
box_own_auth
γ
a
)
.
Proof
.
apply
own_timeless
,
pair_timeless
;
apply
_
.
Qed
.
Lemma
box_own_auth_agree
γ
b1
b2
:
box_own_auth
γ
(
●
Excl'
b1
)
★
box_own_auth
γ
(
◯
Excl'
b2
)
⊢
b1
=
b2
.
Proof
.
...
...
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