leanprover-community / mathlib

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

Zulip Chat Archive

Stream: Is there code for X?

Topic: Split prop into T/F cases


Chris Murray (Dec 21 2020 at 22:31):

Is there a way to split into 2 goals w.r.t a certain proposition, one where it is true and another where it is false? I tried googling this but couldn't find it

Mario Carneiro (Dec 21 2020 at 22:32):

by_cases h : thing_I_want_true_or_false


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll