Option.mem_powerset_iff
theoremverifiedformalizationimported Lean
Option.mem_powerset_iff
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {๐ฉ : Type} in variable [DecidableEq ๐ฉ] in @[simp] lemma Option.mem_powerset_iff {x : Option ๐ฉ} (y : Option ๐ฉ) : y โ x.powerset โ y.toFinset โ x.toFinset
- Formalizes
- Physlib, `Option.mem_powerset_iff`
- Lean proof
- By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Option.mem_powerset_iff← Option.mem_powerset_iff (Physlib/Particles/SuperSymmetry/SU5/ChargeSpectrum/Basic.lean:289): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- Option.powersetThe powerset of
x : Option ๐ฉdefined as{none}ifxisnoneand{none, some y}isxissome y.
- Option.powersetThe powerset of
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {๐ฉ : Type} invariable [DecidableEq ๐ฉ] in@[simp]lemma Option.mem_powerset_iff {x : Option ๐ฉ} (y : Option ๐ฉ) : y โ x.powerset โ y.toFinset โ x.toFinset := by cases x <;> cases y <;> simp [Option.powerset]