Theorems · Theorem · combinatorics
FinEnum.recEmptyOption.eq_def
∀ {P : Type u → Sort v} (finChoice : (n : ℕ) → Fin (n + 1))
(congr : {α β : Type u} → (x : FinEnum α) → (x_1 : FinEnum β) → FinEnum.card β = FinEnum.card α → P α → P β)
(empty : P PEmpty.{u + 1}) (option : {α : Type u} → FinEnum α → P α → P (Option α)) (α : Type u) [inst : FinEnum α],
FinEnum.recEmptyOption finChoice congr empty option α =
match cardeq : FinEnum.card α with
| 0 => congr FinEnum.pempty inst cardeq empty
| n.succ =>
let fN := ULift.instFinEnum;
have this := ⋯;
congr (FinEnum.insertNone (ULift.{u, 0} (Fin n)) ↑↑(finChoice n)) inst ⋯
(option fN
(FinEnum.recEmptyOption finChoice (fun {α β} => congr) empty (fun {α} => option) (ULift.{u, 0} (Fin n))))- Defined in
- Mathlib.Data.FinEnum.Option
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 64 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- FinEnum
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- FinEnum.cardstatement and proof · cited by 32
- FinEnumstatement and proof · cited by 21
- FinEnum.insertNonestatement · cited by 3
- FinEnum.recEmptyOptionstatement · cited by 3
Cited by2
Results whose statement or proof uses this declaration.
- FinEnum.recEmptyOption_of_card_eq_zeroproof · cited by 0
- FinEnum.recEmptyOption_of_card_posproof · cited by 0