The areas / V30. Combinatorics
Mathlib.Combinatorics.Matroid.Constructions
52 declarations. Mathlib docs · Source
theorem Matroid.mk.congr_simp E1 #
∀ {α : Type u_1} (E E_1 : Set α) (e_E : E = E_1) (IsBase IsBase_1 : Set α → Prop) (e_IsBase : IsBase = IsBase_1)
(Indep Indep_1 : Set α → Prop) (e_Indep : Indep = Indep_1)
(indep_iff' : ∀ ⦃I : Set α⦄, Indep I ↔ ∃ B, IsBase B ∧ I ⊆ B) (exists_isBase : ∃ B, IsBase B)
(isBase_exchange : Matroid.ExchangeProperty IsBase)
(maximality : ∀ X ⊆ E, Matroid.ExistsMaximalSubsetProperty Indep X) (subset_ground : ∀ (B : Set α), IsBase B → B ⊆ E),
{ E := E, IsBase := IsBase, Indep := Indep, indep_iff' := indep_iff', exists_isBase := exists_isBase,
isBase_exchange := isBase_exchange, maximality := maximality, subset_ground := subset_ground } =
{ E := E_1, IsBase := IsBase_1, Indep := Indep_1, indep_iff' := ⋯, exists_isBase := ⋯, isBase_exchange := ⋯,
maximality := ⋯, subset_ground := ⋯ }
def Matroid.emptyOn E1 #
(α : Type u_2) → Matroid α
The Matroid α with empty ground set.
theorem Matroid.emptyOn_ground E0 #
∀ {α : Type u_1}, (Matroid.emptyOn α).E = ∅
theorem Matroid.emptyOn_isBase_iff E0 #
∀ {α : Type u_1} {B : Set α}, (Matroid.emptyOn α).IsBase B ↔ B = ∅
theorem Matroid.emptyOn_indep_iff E0 #
∀ {α : Type u_1} {I : Set α}, (Matroid.emptyOn α).Indep I ↔ I = ∅
theorem Matroid.ground_eq_empty_iff E0 #
∀ {α : Type u_1} {M : Matroid α}, M.E = ∅ ↔ M = Matroid.emptyOn α
theorem Matroid.emptyOn_dual_eq E0 #
∀ {α : Type u_1}, (Matroid.emptyOn α)✶ = Matroid.emptyOn α
theorem Matroid.restrict_empty E0 #
∀ {α : Type u_1} (M : Matroid α), M.restrict ∅ = Matroid.emptyOn α
instance Matroid.finite_emptyOn E0 #
∀ (α : Type u_2), (Matroid.emptyOn α).Finite
def Matroid.loopyOn E1 #
{α : Type u_1} → Set α → Matroid α
The Matroid α with ground set E whose only base is ∅.
The elements are all 'loops' - see Matroid.IsLoop and Matroid.loopyOn_isLoop_iff.
theorem Matroid.loopyOn_ground E0 #
∀ {α : Type u_1} (E : Set α), (Matroid.loopyOn E).E = E
theorem Matroid.loopyOn_empty E0 #
∀ (α : Type u_2), Matroid.loopyOn ∅ = Matroid.emptyOn α
theorem Matroid.loopyOn_indep_iff E0 #
∀ {α : Type u_1} {E I : Set α}, (Matroid.loopyOn E).Indep I ↔ I = ∅
theorem Matroid.loopyOn_isBase_iff E0 #
∀ {α : Type u_1} {E B : Set α}, (Matroid.loopyOn E).IsBase B ↔ B = ∅
theorem Matroid.loopyOn_isBasis_iff E0 #
∀ {α : Type u_1} {E I X : Set α}, (Matroid.loopyOn E).IsBasis I X ↔ I = ∅ ∧ X ⊆ E
instance Matroid.loopyOn_rankFinite E0 #
∀ {α : Type u_1} {E : Set α}, (Matroid.loopyOn E).RankFinite
theorem Matroid.Finite.loopyOn_finite E1 #
∀ {α : Type u_1} {E : Set α}, E.Finite → (Matroid.loopyOn E).Finite
theorem Matroid.loopyOn_restrict E0 #
∀ {α : Type u_1} (E R : Set α), (Matroid.loopyOn E).restrict R = Matroid.loopyOn R
theorem Matroid.empty_isBase_iff E0 #
∀ {α : Type u_1} {M : Matroid α}, M.IsBase ∅ ↔ M = Matroid.loopyOn M.E
theorem Matroid.not_rankPos_iff E0 #
∀ {α : Type u_1} {M : Matroid α}, ¬M.RankPos ↔ M = Matroid.loopyOn M.E
def Matroid.freeOn E1 #
{α : Type u_1} → Set α → Matroid α
The Matroid α with ground set E whose only base is E.
theorem Matroid.freeOn_ground E0 #
∀ {α : Type u_1} {E : Set α}, (Matroid.freeOn E).E = E
theorem Matroid.freeOn_dual_eq E0 #
∀ {α : Type u_1} {E : Set α}, (Matroid.freeOn E)✶ = Matroid.loopyOn E
theorem Matroid.loopyOn_dual_eq E0 #
∀ {α : Type u_1} {E : Set α}, (Matroid.loopyOn E)✶ = Matroid.freeOn E
theorem Matroid.freeOn_empty E0 #
∀ (α : Type u_2), Matroid.freeOn ∅ = Matroid.emptyOn α
theorem Matroid.freeOn_isBase_iff E0 #
∀ {α : Type u_1} {E B : Set α}, (Matroid.freeOn E).IsBase B ↔ B = E
theorem Matroid.freeOn_indep_iff E0 #
∀ {α : Type u_1} {E I : Set α}, (Matroid.freeOn E).Indep I ↔ I ⊆ E
theorem Matroid.freeOn_indep E1 #
∀ {α : Type u_1} {E I : Set α}, I ⊆ E → (Matroid.freeOn E).Indep I
theorem Matroid.freeOn_isBasis_iff E0 #
∀ {α : Type u_1} {E I X : Set α}, (Matroid.freeOn E).IsBasis I X ↔ I = X ∧ X ⊆ E
theorem Matroid.freeOn_isBasis'_iff E0 #
∀ {α : Type u_1} {E I X : Set α}, (Matroid.freeOn E).IsBasis' I X ↔ I = X ∩ E
theorem Matroid.ground_indep_iff_eq_freeOn E1 #
∀ {α : Type u_1} {M : Matroid α}, M.Indep M.E ↔ M = Matroid.freeOn M.E
theorem Matroid.freeOn_restrict E1 #
∀ {α : Type u_1} {E R : Set α}, R ⊆ E → (Matroid.freeOn E).restrict R = Matroid.freeOn R
theorem Matroid.restrict_eq_freeOn_iff E0 #
∀ {α : Type u_1} {M : Matroid α} {I : Set α}, M.restrict I = Matroid.freeOn I ↔ M.Indep I
theorem Matroid.Indep.restrict_eq_freeOn E1 #
∀ {α : Type u_1} {M : Matroid α} {I : Set α}, M.Indep I → M.restrict I = Matroid.freeOn I
instance Matroid.freeOn_finitary E0 #
∀ {α : Type u_1} {E : Set α}, (Matroid.freeOn E).Finitary
theorem Matroid.freeOn_rankPos E1 #
∀ {α : Type u_1} {E : Set α}, E.Nonempty → (Matroid.freeOn E).RankPos
def Matroid.uniqueBaseOn E1 #
{α : Type u_1} → Set α → Set α → Matroid α
The matroid on E whose unique base is the subset I of E.
Intended for use when I ⊆ E; if this is not the case, then the base is I ∩ E.
theorem Matroid.uniqueBaseOn_ground E0 #
∀ {α : Type u_1} {E I : Set α}, (Matroid.uniqueBaseOn I E).E = E
theorem Matroid.uniqueBaseOn_isBase_iff E0 #
∀ {α : Type u_1} {E B I : Set α}, I ⊆ E → ((Matroid.uniqueBaseOn I E).IsBase B ↔ B = I)
theorem Matroid.uniqueBaseOn_inter_ground_eq E0 #
∀ {α : Type u_1} (I E : Set α), Matroid.uniqueBaseOn (I ∩ E) E = Matroid.uniqueBaseOn I E
theorem Matroid.uniqueBaseOn_indep_iff' E0 #
∀ {α : Type u_1} {E I J : Set α}, (Matroid.uniqueBaseOn I E).Indep J ↔ J ⊆ I ∩ E
theorem Matroid.uniqueBaseOn_indep_iff E0 #
∀ {α : Type u_1} {E I J : Set α}, I ⊆ E → ((Matroid.uniqueBaseOn I E).Indep J ↔ J ⊆ I)
theorem Matroid.uniqueBaseOn_isBasis_iff E0 #
∀ {α : Type u_1} {E I X J : Set α}, X ⊆ E → ((Matroid.uniqueBaseOn I E).IsBasis J X ↔ J = X ∩ I)
theorem Matroid.uniqueBaseOn_inter_isBasis E1 #
∀ {α : Type u_1} {E I X : Set α}, X ⊆ E → (Matroid.uniqueBaseOn I E).IsBasis (X ∩ I) X
theorem Matroid.uniqueBaseOn_dual_eq E0 #
∀ {α : Type u_1} (I E : Set α), (Matroid.uniqueBaseOn I E)✶ = Matroid.uniqueBaseOn (E \ I) E
theorem Matroid.uniqueBaseOn_self E0 #
∀ {α : Type u_1} (I : Set α), Matroid.uniqueBaseOn I I = Matroid.freeOn I
theorem Matroid.uniqueBaseOn_empty E0 #
∀ {α : Type u_1} (I : Set α), Matroid.uniqueBaseOn ∅ I = Matroid.loopyOn I
theorem Matroid.uniqueBaseOn_restrict' E1 #
∀ {α : Type u_1} (I E R : Set α), (Matroid.uniqueBaseOn I E).restrict R = Matroid.uniqueBaseOn (I ∩ R ∩ E) R
theorem Matroid.uniqueBaseOn_restrict E1 #
∀ {α : Type u_1} {E I : Set α},
I ⊆ E → ∀ (R : Set α), (Matroid.uniqueBaseOn I E).restrict R = Matroid.uniqueBaseOn (I ∩ R) R
theorem Matroid.uniqueBaseOn_rankFinite E1 #
∀ {α : Type u_1} {E I : Set α}, I.Finite → (Matroid.uniqueBaseOn I E).RankFinite
instance Matroid.uniqueBaseOn_finitary E0 #
∀ {α : Type u_1} {E I : Set α}, (Matroid.uniqueBaseOn I E).Finitary
theorem Matroid.uniqueBaseOn_rankPos E1 #
∀ {α : Type u_1} {E I : Set α}, I ⊆ E → I.Nonempty → (Matroid.uniqueBaseOn I E).RankPos