Zulip Chat Archive

Stream: mathlib4

Topic: Rewriting fin_cases


Violeta Hernández (Aug 30 2024 at 06:24):

Is there any tactic like fin_cases that allows rewriting? Specifically, I want to rewrite ∃ x : α, p x as p x₁ ∨ p x₂ ∨ ... within a larger expression.

Daniel Weber (Aug 30 2024 at 06:37):

There's docs#Fin.sum_univ_three, docs#Fin.sum_univ_four, docs#Fin.sum_univ_five, ..., perhaps you can do something similar for your type (with exists instead of sum)

Violeta Hernández (Aug 30 2024 at 06:40):

My type in question is Set Prop, which I don't think is quite common enough to justify this special casing


Last updated: May 02 2025 at 03:31 UTC