leanprover-community / mathlib

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

Zulip Chat Archive

Stream: new members

Topic: exists.elim multiple


Bjørn Kjos-Hanssen (Jan 27 2022 at 18:26):

have h: ∃ x y z : ℕ, x+y=z,
exists.elim h ( ...)

Is there a way to discharge all the variables x y z at once instead of using three nested exists.elim's?

Patrick Johnson (Jan 27 2022 at 18:31):

In tactic mode you can use docs#tactic.rcases

rcases h with ⟨x, y, z, h⟩

Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll