AFTD Auto-Formalizing Theoretical Domains

is_hereditary

def

A set of finsets F is hereditary (or downward-closed) if the empty set belongs to F and every subset of an element of F also belongs to F.

Statement

def is_hereditary {α : Type*} (F : Set (Finset α)) : Prop
Defined in
arXiv:2611.34488, Section 2
Verified
26 Nov 2026
Axioms
none listed
Used by 5

Read back from the Lean

Given a type α and a set of finite subsets F : Set (Finset α), is_hereditary F is the proposition that: 1. The empty finset ∅ belongs to F, and 2. For all finsets S and T of type Finset α, if S ∈ F and T ⊆ S, then T ∈ F.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- A set of finsets is hereditary (downward-closed) if it contains ∅ and is closed under taking subsets. -/
def is_hereditary {α : Type*} (F : Set (Finset α)) : Prop := ∅ ∈ F ∧ ∀ {S T : Finset α}, S ∈ F → T ⊆ S → T ∈ F
See it in the graphDiscuss this resultChallenge it