leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: Is there code for X?

Topic: Tactic for checking all 128 cases given n : ℕ, n < 128


Geoffrey Irving (Nov 26 2023 at 13:15):

Say I have a theorem that I want to hold whenever n < 128, and tactic that closes the goal for any specific n < 128. Is there an existing tactic that loops over all 128 cases (resp. some other concrete number in place of 128)?

Eric Rodriguez (Nov 26 2023 at 13:16):

fin_cases or interval_cases


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll