The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.Matroid.Minor.Delete

50 declarations and 1 deprecated aliases. Mathlib docs · Source

Matroid Deletion

For M : Matroid α and X : Set α, the deletion of X from M is the matroid M \ X with ground set M.E \ X, in which a subset of M.E \ X is independent if and only if it is independent in M.

The deletion M \ X is equal to the restriction M ↾ (M.E \ X), but is of special importance in the theory because it is the dual notion of contraction, and thus plays a more central and natural role than restriction in many contexts.

Because of the implementation of the restriction M ↾ R allowing R to not be a subset of M.E, the relation M ↾ R ≤r M holds only with the assumption R ⊆ M.E, whereas M \ D, being defined as M ↾ (M.E \ D), satisfies M \ D ≤r M unconditionally. This is often quite convenient.

Main Declarations

  • Matroid.delete M D, written M \ D, is the restriction of M to the set M.E \ D, or equivalently the matroid on M.E \ D whose independent sets are the M-independent sets.

Naming conventions

We use the abbreviation deleteElem in lemma names to refer to the deletion M \ {e} of a single element e : α from M : Matroid α.

Deletion

Independence and Bases

Loops, circuits and closure

Finiteness

def Matroid.delete E1 #

{α : Type u_1} → Matroid α → Set α → Matroid α

The deletion M \ D is the restriction of a matroid M to M.E \ D. Its independent sets are the M-independent subsets of M.E \ D.

def Matroid.«term_\_» E1 #

Lean.TrailingParserDescr

M \ D refers to the deletion of a set D from the matroid M.

theorem Matroid.delete_eq_restrict E1 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), M.delete D = M.restrict (M.E \ D)

theorem Matroid.restrict_compl E1 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), M.restrict (M.E \ D) = M.delete D

theorem Matroid.delete_compl E0 #

∀ {α : Type u_1} {M : Matroid α} {R : Set α},
  autoParam (R ⊆ M.E) Matroid.delete_compl._auto_1 → M.delete (M.E \ R) = M.restrict R

theorem Matroid.delete_isRestriction E0 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), (M.delete D).IsRestriction M

theorem Matroid.IsRestriction.exists_eq_delete E1 #

∀ {α : Type u_1} {M N : Matroid α}, N.IsRestriction M → ∃ D ⊆ M.E, N = M.delete D

theorem Matroid.isRestriction_iff_exists_eq_delete E1 #

∀ {α : Type u_1} {M N : Matroid α}, N.IsRestriction M ↔ ∃ D ⊆ M.E, N = M.delete D

theorem Matroid.delete_ground E0 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), (M.delete D).E = M.E \ D

theorem Matroid.delete_subset_ground E1 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), (M.delete D).E ⊆ M.E

theorem Matroid.delete_eq_self_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {D : Set α}, M.delete D = M ↔ Disjoint D M.E

theorem Matroid.delete_eq_self E1 #

∀ {α : Type u_1} {M : Matroid α} {D : Set α}, Disjoint D M.E → M.delete D = M

Alias of the reverse direction of Matroid.delete_eq_self_iff.

theorem Matroid.deleteElem_eq_self E1 #

∀ {α : Type u_1} {M : Matroid α} {e : α}, e ∉ M.E → M.delete {e} = M

theorem Matroid.delete_delete E0 #

∀ {α : Type u_1} (M : Matroid α) (D₁ D₂ : Set α), (M.delete D₁).delete D₂ = M.delete (D₁ ∪ D₂)

theorem Matroid.delete_comm E1 #

∀ {α : Type u_1} (M : Matroid α) (D₁ D₂ : Set α), (M.delete D₁).delete D₂ = (M.delete D₂).delete D₁

theorem Matroid.delete_inter_ground_eq E0 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), M.delete (D ∩ M.E) = M.delete D

theorem Matroid.delete_eq_delete_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {D₁ D₂ : Set α}, M.delete D₁ = M.delete D₂ ↔ D₁ ∩ M.E = D₂ ∩ M.E

theorem Matroid.delete_empty E0 #

∀ {α : Type u_1} (M : Matroid α), M.delete ∅ = M

theorem Matroid.delete_delete_eq_delete_sdiff E1 #

∀ {α : Type u_1} (M : Matroid α) (D₁ D₂ : Set α), (M.delete D₁).delete D₂ = (M.delete D₁).delete (D₂ \ D₁)

theorem Matroid.IsRestriction.restrict_delete_of_disjoint E1 #

∀ {α : Type u_1} {M N : Matroid α} {X : Set α}, N.IsRestriction M → Disjoint X N.E → N.IsRestriction (M.delete X)

theorem Matroid.IsRestriction.isRestriction_deleteElem E1 #

∀ {α : Type u_1} {M N : Matroid α} {e : α}, N.IsRestriction M → e ∉ N.E → N.IsRestriction (M.delete {e})

theorem Matroid.delete_indep_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {I D : Set α}, (M.delete D).Indep I ↔ M.Indep I ∧ Disjoint I D

theorem Matroid.deleteElem_indep_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {e : α} {I : Set α}, (M.delete {e}).Indep I ↔ M.Indep I ∧ e ∉ I

theorem Matroid.Indep.of_delete E1 #

∀ {α : Type u_1} {M : Matroid α} {I D : Set α}, (M.delete D).Indep I → M.Indep I

theorem Matroid.Indep.indep_delete_of_disjoint E1 #

∀ {α : Type u_1} {M : Matroid α} {I D : Set α}, M.Indep I → Disjoint I D → (M.delete D).Indep I

theorem Matroid.indep_iff_delete_of_disjoint E1 #

∀ {α : Type u_1} {M : Matroid α} {I D : Set α}, Disjoint I D → (M.Indep I ↔ (M.delete D).Indep I)

theorem Matroid.delete_dep_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {D X : Set α}, (M.delete D).Dep X ↔ M.Dep X ∧ Disjoint X D

theorem Matroid.delete_isBase_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {B D : Set α}, (M.delete D).IsBase B ↔ M.IsBasis B (M.E \ D)

theorem Matroid.delete_isBasis_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {I D X : Set α}, (M.delete D).IsBasis I X ↔ M.IsBasis I X ∧ Disjoint X D

theorem Matroid.delete_isBasis'_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {I D X : Set α}, (M.delete D).IsBasis' I X ↔ M.IsBasis' I (X \ D)

theorem Matroid.IsBasis.of_delete E1 #

∀ {α : Type u_1} {M : Matroid α} {I D X : Set α}, (M.delete D).IsBasis I X → M.IsBasis I X

theorem Matroid.IsBasis.delete E1 #

∀ {α : Type u_1} {M : Matroid α} {I D X : Set α}, M.IsBasis I X → Disjoint X D → (M.delete D).IsBasis I X

theorem Matroid.Coindep.delete_isBase_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {B D : Set α}, M.Coindep D → ((M.delete D).IsBase B ↔ M.IsBase B ∧ Disjoint B D)

theorem Matroid.Coindep.delete_rankPos E1 #

∀ {α : Type u_1} {M : Matroid α} {D : Set α} [M.RankPos], M.Coindep D → (M.delete D).RankPos

theorem Matroid.Coindep.delete_spanning_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {D S : Set α}, M.Coindep D → ((M.delete D).Spanning S ↔ M.Spanning S ∧ Disjoint S D)

theorem Matroid.delete_isLoop_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {e : α} {D : Set α}, (M.delete D).IsLoop e ↔ M.IsLoop e ∧ e ∉ D

theorem Matroid.delete_isNonloop_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {e : α} {D : Set α}, (M.delete D).IsNonloop e ↔ M.IsNonloop e ∧ e ∉ D

theorem Matroid.IsNonloop.of_delete E1 #

∀ {α : Type u_1} {M : Matroid α} {e : α} {D : Set α}, (M.delete D).IsNonloop e → M.IsNonloop e

theorem Matroid.isNonloop_iff_delete_of_notMem E1 #

∀ {α : Type u_1} {M : Matroid α} {e : α} {D : Set α}, e ∉ D → (M.IsNonloop e ↔ (M.delete D).IsNonloop e)

theorem Matroid.delete_loops_eq_removeLoops E1 #

∀ {α : Type u_1} (M : Matroid α), M.delete M.loops = M.removeLoops

theorem Matroid.delete_isCircuit_iff E0 #

∀ {α : Type u_1} {M : Matroid α} {D C : Set α}, (M.delete D).IsCircuit C ↔ M.IsCircuit C ∧ Disjoint C D

theorem Matroid.IsCircuit.of_delete E1 #

∀ {α : Type u_1} {M : Matroid α} {D C : Set α}, (M.delete D).IsCircuit C → M.IsCircuit C

theorem Matroid.circuit_iff_delete_of_disjoint E1 #

∀ {α : Type u_1} {M : Matroid α} {D C : Set α}, Disjoint C D → (M.IsCircuit C ↔ (M.delete D).IsCircuit C)

theorem Matroid.delete_closure_eq E0 #

∀ {α : Type u_1} (M : Matroid α) (D X : Set α), (M.delete D).closure X = M.closure (X \ D) \ D

theorem Matroid.delete_closure_eq_of_disjoint E1 #

∀ {α : Type u_1} (M : Matroid α) {D X : Set α}, Disjoint X D → (M.delete D).closure X = M.closure X \ D

theorem Matroid.delete_loops_eq E0 #

∀ {α : Type u_1} (M : Matroid α) (D : Set α), (M.delete D).loops = M.loops \ D

theorem Matroid.delete_isColoop_iff E0 #

∀ {α : Type u_1} {e : α} (M : Matroid α) (D : Set α),
  (M.delete D).IsColoop e ↔ e ∉ M.closure ((M.E \ D) \ {e}) ∧ e ∈ M.E ∧ e ∉ D

instance Matroid.delete_finitary E0 #

∀ {α : Type u_1} (M : Matroid α) [M.Finitary] (D : Set α), (M.delete D).Finitary

instance Matroid.delete_finite E0 #

∀ {α : Type u_1} {M : Matroid α} {D : Set α} [M.Finite], (M.delete D).Finite

instance Matroid.delete_rankFinite E0 #

∀ {α : Type u_1} {M : Matroid α} {D : Set α} [M.RankFinite], (M.delete D).RankFinite

Deprecated aliases

NameNew nameSince
Matroid.delete_delete_eq_delete_diffMatroid.delete_delete_eq_delete_sdiff2026-06-03