Skip to content

Commit

Permalink
Merge pull request #17 from coq-community/noaliasR2
Browse files Browse the repository at this point in the history
Prove noaliasR2
  • Loading branch information
anton-trunov authored Nov 19, 2018
2 parents d9e7036 + 246a8c5 commit 2aac56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/noaliasBT.v
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Structure form x y (s : seq ptr) :=
_ : uniq s -> untag eq_of}.

Lemma start_pf (x y : ptr) (f : Search2.form x y) : uniq f -> ineq x y.
Proof. by case: f=>[[s]] H /= U; case: H=>_ _; apply. Qed.
Proof. by case: f=>s []. Qed.

Canonical Structure start x y (f : Search2.form x y) :=
@Form x y f (ineq x y) (@start_pf x y f).
Expand All @@ -61,7 +61,7 @@ Export NoAlias2.Exports.

Lemma noaliasR2 s x y (f : Scan.form s) (g : NoAlias2.form x y s) :
def f -> NoAlias2.eq_of g.
Proof. admit. Admitted.
Proof. by case: f=> [h] H /H [U _]; case: g=> [] /= ? /(_ U). Qed.

Arguments noaliasR2 [s x y f g].

Expand Down

0 comments on commit 2aac56a

Please sign in to comment.