Pure Lean 4 · No Mathlib
MediumQuantifiers
12. Existential Premise to Universal
Prove the quantifier currying equivalence: proving `Q` from an existential hypothesis `∃ x, P x` is equivalent to proving `P x → Q` for every `x`.
Target Theorem
theorem exists_imp_forall {α : Type} (P : α → Prop) (Q : Prop) : ((∃ x, P x) → Q) ↔ (∀ x, P x → Q)Hints (0/3)
Stuck? Reveal hints one step at a time without spoiling the full proof.
Symbols:
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).