Zulip Chat Archive
Stream: new members
Topic: tactic 'introN' failed, insufficient number of binders
Sam Vervaeck (Jun 23 2025 at 18:58):
Hi all, I'm a total beginner when it comes to Lean (and to be honest mathematics) and I'm doing the Natural Numbers Game to learn more. I'm stuck at this exercise:
theorem succ_le_succ (x y : ℕ) (hx : succ x ≤ succ y) : x ≤ y := by
intro h
I get the following error:
Line 1, Character 0
tactic 'introN' failed, insufficient number of binders
xy: ℕ
hx: succ x ≤ succ y
⊢ x ≤ y
I've looked at sample solutions and at least one starts with this. Is this some kind of bug in the Natural Numbers Game server? If not, do I need to use something else like induction?
By the way if anyone has any hints on what resources to read, I'm all ears :)
All the best,
Sam
Etienne Marion (Jun 23 2025 at 19:01):
Hi, and welcome! The intro tactic is supposed to be used on a goal of the form p -> q, to introduce the hypothesis p. But here your hypotheses are already introduced (they are x, y and hx), so intro has nothing to introduce.
Sam Vervaeck (Jun 23 2025 at 19:02):
Wow that I missed that! Thanks!
Last updated: Dec 20 2025 at 21:32 UTC