Zulip Chat Archive

Stream: general

Topic: custom induction


Kenny Lau (Sep 12 2018 at 08:48):

Can we tag our induction lemmas and have the tactic induction recognize it? Maybe create a new tactic induction'?

Chris Hughes (Sep 12 2018 at 08:57):

You can do induction using

Kenny Lau (Sep 12 2018 at 09:30):

@Chris Hughes I can't work it out for polynomials

Chris Hughes (Sep 12 2018 at 09:48):

example (p : polynomial ) : 1 = 2 :=
begin
  induction p using polynomial.induction_on,
end

Kenny Lau (Sep 12 2018 at 09:51):

can you put p in the result?

Chris Hughes (Sep 12 2018 at 09:52):

example (p : polynomial ) : p = 2 :=
begin
  induction p using polynomial.induction_on,
end

Last updated: Dec 20 2023 at 11:08 UTC