Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] "intros n. induction n." == "induction n."?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] "intros n. induction n." == "induction n."?


chronological Thread 
  • From: Adam Chlipala <adam AT chlipala.net>
  • To: Z <zell08v AT orange.fr>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] "intros n. induction n." == "induction n."?
  • Date: Thu, 01 Apr 2010 17:07:28 -0400

Z wrote:
Apparently it makes no difference to put or not put an  "intros n"
before "induction n"
Is this affirmation right?

My answer is "pedantic No, normal Yes." :)

If the conclusion starts with [forall n], then your statement is right. [induction] automatically does [intros] up to the variable you name, so it matters that the variable is called [n] if you just start with [induction n].

If the conclusion started with [forall m], then [induction n] would fail, while [intros n; induction n] would do what you want.

P.S.: A friendly prodding: This is explained in the first few paragraphs of the Coq manual's section on [induction].



Archive powered by MhonArc 2.6.16.

Top of Page