Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] Equation on two parameters

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] Equation on two parameters


Chronological Thread 
  • From: Cyril Cohen <>
  • To:
  • Subject: Re: [ssreflect] Equation on two parameters
  • Date: Tue, 28 Jan 2014 20:05:32 +0100

Le 28/01/2014 19:59, Cyril Cohen a écrit :
> case: {-2}_ {-2}_ / dummyn (erefl n1) (erefl n2).

With {-1} instead (I had Coq, I should have tested).

but Enrico's solution works as well:

Goal forall n1 n2 : nat, dummy n1 n2 -> n1 = n2.
move=> n1 n2 dummyn.
case H1: _ {-1}_ / dummyn (erefl n2) => [|n dummyn].

and of course if you use this induction principle regularly, you might want to
do a specific _spec inductive as Enrico said :).

Cheers,
--
Cyril



Archive powered by MHonArc 2.6.18.

Top of Page