aboutsummaryrefslogtreecommitdiff
path: root/doc/faq/FAQ.tex
diff options
context:
space:
mode:
authorGuillaume Melquiond2015-07-28 15:32:59 +0200
committerGuillaume Melquiond2015-07-28 15:56:15 +0200
commitd0ec5640994fefe6674c5abb6f7c7001305073cd (patch)
treeb8bc2d91d267b20b20bee0600d90968e543b8853 /doc/faq/FAQ.tex
parente706bbd36237abc6c63d3e30cdaf9a42ac458215 (diff)
Reset a dangling proof in the FAQ.
Diffstat (limited to 'doc/faq/FAQ.tex')
-rw-r--r--doc/faq/FAQ.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/faq/FAQ.tex b/doc/faq/FAQ.tex
index 8495156ca1..b03aa64090 100644
--- a/doc/faq/FAQ.tex
+++ b/doc/faq/FAQ.tex
@@ -755,19 +755,19 @@ the result (look at \verb=inj_pair2= in \vfile{\LogicEqdep}{Eqdep}).
E.g. in this case (this occurs only in the {\tt Set}-impredicative
variant of \Coq):
-\begin{coq_eval}
-Reset Initial.
-\end{coq_eval}
-
\begin{coq_example*}
Inductive I : Type :=
intro : forall k:Set, k -> I.
-Lemma eq_jdef :
+Lemma eq_jdef :
forall x y:nat, intro _ x = intro _ y -> x = y.
Proof.
intros x y H; injection H.
\end{coq_example*}
+\begin{coq_eval}
+Reset Initial.
+\end{coq_eval}
+
Injectivity of constructors is restricted to predicative types. If
injectivity on large inductive types were not restricted, we would be
allowed to derive an inconsistency (e.g. following the lines of