Skip to content

Commit

Permalink
last admits, delete redundant lemmas, upd todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaptch committed Dec 11, 2023
1 parent 53af87e commit 247d0db
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 311 deletions.
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
- cleanup code
+ especially implicit arguments, inserted by typeclasses
+ lemmas for logrel
+ update opam ci
- backward compatibility
+ instances of CtxIndep from individual effects, from sreifiers to greifiers
+ last admits
- write summary
+ reifiers changes
+ non-cps vs cps
Expand Down
13 changes: 11 additions & 2 deletions theories/affine_lang/logrel1.v
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,16 @@ Proof.
simpl.
destruct σ as [? [? ?]].
simpl.
admit.
match goal with
| |- context G [@mbind option option_bind _ _ ?a ?b] => set (x := b)
end.
symmetry.
match goal with
| |- context G [@mbind option option_bind _ _ ?a ?b] => set (y := b)
end.
assert (y = x) as ->.
{ reflexivity. }
destruct x as [x |]; reflexivity.
+ constructor.
unshelve eexists (λne '((l,n),(s, s'')), let s' := <[l:=n]>s
in Some ((), (s', s''))).
Expand Down Expand Up @@ -546,7 +555,7 @@ Proof.
destruct σ as [σ1 [? []]]; simpl in *.
reflexivity.
+ intros i; by apply fin_0_inv.
Admitted.
Qed.

Variable Hdisj : ∀ (Σ : gFunctors) (P Q : iProp Σ), disjunction_property P Q.

Expand Down
13 changes: 11 additions & 2 deletions theories/affine_lang/logrel2.v
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,16 @@ Proof.
simpl.
destruct σ as [? [? ?]].
simpl.
admit.
match goal with
| |- context G [@mbind option option_bind _ _ ?a ?b] => set (x := b)
end.
symmetry.
match goal with
| |- context G [@mbind option option_bind _ _ ?a ?b] => set (y := b)
end.
assert (y = x) as ->.
{ reflexivity. }
destruct x as [x |]; reflexivity.
+ constructor.
unshelve eexists (λne '((l,n),(s, s'')), let s' := <[l:=n]>s
in Some ((), (s', s''))).
Expand Down Expand Up @@ -585,7 +594,7 @@ Proof.
destruct σ as [σ1 [? []]]; simpl in *.
reflexivity.
+ intros i; by apply fin_0_inv.
Admitted.
Qed.

Variable Hdisj : ∀ (Σ : gFunctors) (P Q : iProp Σ), disjunction_property P Q.

Expand Down
Loading

0 comments on commit 247d0db

Please sign in to comment.