AFTD Auto-Formalizing Theoretical Domains

op_1370_middle

def

The two middle layers of the power set of a five-element set: all subsets of size two or three.

Statement

def op_1370_middle : Finset (Finset (Fin 5))
Source
step towards op_1370_five_middle_layers_three_components_bound
Verified
16 Nov 2026
Axioms
none listed

Lean source view module on GitHub

/-- op_1370_middle = the finset of all 2- and 3-element subsets of Fin 5 (the two middle levels). -/
def op_1370_middle : Finset (Finset (Fin 5)) := Finset.univ.filter (fun S => S.card = 2 ∨ S.card = 3)
See it in the graphDiscuss this resultChallenge it