diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-12-08 18:12:27 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-12-08 18:12:27 +0100 |
commit | e70165079e8defe490a568ece20a7029e4c1626e (patch) | |
tree | 7e8ad97cbe6e06251fae9cc2da48acc8ab36d303 /theories/Program | |
parent | 071a458681254716a83b1802d5b6a30edda37892 (diff) | |
parent | 19ea51a4b7f7debbe5bdeb2b2689cddadd9876f4 (diff) |
Merge branch 'v8.5'
Diffstat (limited to 'theories/Program')
-rw-r--r-- | theories/Program/Subset.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Program/Subset.v b/theories/Program/Subset.v index 50b89b5c0..ce1f7768d 100644 --- a/theories/Program/Subset.v +++ b/theories/Program/Subset.v @@ -82,7 +82,7 @@ Qed. Definition match_eq (A B : Type) (x : A) (fn : {y : A | y = x} -> B) : B := fn (exist _ x eq_refl). -(* This is what we want to be able to do: replace the originaly matched object by a new, +(* This is what we want to be able to do: replace the originally matched object by a new, propositionally equal one. If [fn] works on [x] it should work on any [y | y = x]. *) Lemma match_eq_rewrite : forall (A B : Type) (x : A) (fn : {y : A | y = x} -> B) |