The areas / V30. Combinatorics
Mathlib.Combinatorics.Matroid.Map
100 declarations. Mathlib docs · Source
Maps between matroids
This file defines maps and comaps, which move a matroid on one type to a matroid on another using a function between the types. The constructions are (up to isomorphism) just combinations of restrictions and parallel extensions, so are not mathematically difficult.
Because a matroid M : Matroid α is defined with am embedded ground set M.E : Set α
which contains all the structure of M, there are several types of map and comap
one could reasonably ask for;
for instance, we could map M : Matroid α to a Matroid β using either
a function f : α → β, a function f : ↑M.E → β or indeed a function f : ↑M.E → ↑E
for some E : Set β. We attempt to give definitions that capture most reasonable use cases.
Matroid.map and Matroid.comap are defined in terms of bare functions rather than
functions defined on subtypes, so are often easier to work in practice than the subtype variants.
In fact, the statement that N = Matroid.map M f _ for some f : α → β
is equivalent to the existence of an isomorphism from M to N,
except in the trivial degenerate case where M is an empty matroid on a nonempty type and N
is an empty matroid on an empty type.
This can be simpler to use than an actual formal isomorphism, which requires subtypes.
Main definitions
In the definitions below, M and N are matroids on α and β respectively.
-
For
f : α → β,Matroid.comap N fis the matroid onαwith ground setf ⁻¹' N.Ein which eachIis independent if and only iffis injective onIandf '' Iis independent inN. (For each nonloopxofN, the setf ⁻¹' {x}is a parallel class ofN.comap f) -
Matroid.comapOn N f Eis the restriction ofN.comap ftoEfor someE : Set α. -
For an embedding
f : M.E ↪ βdefined on the subtype↑M.E,Matroid.mapSetEmbedding M fis the matroid onβwith ground setrange fwhose independent sets are the images of those inM. This matroid is isomorphic toM. -
For a function
f : α → βand a proofhfthatfis injective onM.E,Matroid.map f hfis the matroid onβwith ground setf '' M.Ewhose independent sets are the images of those inM. This matroid is isomorphic toM, and does not depend on the valuesftakes outsideM.E. -
Matroid.mapEmbedding fis a version ofMatroid.mapwheref : α ↪ βis a bundled embedding. It is defined separately because the global injectivity offgives some nicersimplemmas. -
Matroid.mapEquiv fis a version ofMatroid.mapwheref : α ≃ βis a bundled equivalence. It is defined separately because we get even nicersimplemmas. -
Matroid.mapSetEquiv fis a version ofMatroid.mapwheref : M.E ≃ Eis an equivalence on subtypes. It gives a matroid onβwith ground setE. -
For
X : Set α,Matroid.restrictSubtype M Xis theMatroid ↥Xwith ground setuniv : Set ↥X. This matroid is isomorphic toM ↾ X.
Implementation notes
The definition of comap is the only place where we need to actually define a matroid from scratch.
After comap is defined, we can define map and its variants indirectly in terms of comap.
If f : α → β is injective on M.E, the independent sets of M.map f hf are the images of
the independent set of M; i.e. (M.map f hf).Indep I ↔ ∃ I₀, M.Indep I₀ ∧ I = f '' I₀.
But if f is globally injective, we can phrase this more directly;
indeed, (M.map f _).Indep I ↔ M.Indep (f ⁻¹' I) ∧ I ⊆ range f.
If f is an equivalence we have (M.map f _).Indep I ↔ M.Indep (f.symm '' I).
In order that these stronger statements can be @[simp],
we define mapEmbedding and mapEquiv separately from map.
Notes
For finite matroids, both maps and comaps are a special case of a construction of
Perfect [perfect1969matroid] in which a matroid structure can be transported across an arbitrary
bipartite graph that may not correspond to a function at all (See [oxley2011], Theorem 11.2.12).
It would have been nice to use this more general construction as a basis for the definition
of both Matroid.map and Matroid.comap.
Unfortunately, we can't do this, because the construction doesn't extend to infinite matroids.
Specifically, if M₁ and M₂ are matroids on the same type α,
and f is the natural function from α ⊕ α to α,
then the images under f of the independent sets of the direct sum M₁ ⊕ M₂ are
the independent sets of a matroid if and only if the union of M₁ and M₂ is a matroid,
and unions do not exist for some pairs of infinite matroids: see [aignerhorev2012infinite].
For this reason, Matroid.map requires injectivity to be well-defined in general.
TODO
- Bundled matroid isomorphisms.
- Maps of finite matroids across bipartite graphs.
References
- [E. Aigner-Horev, J. Carmesin, J. Fröhlich, Infinite Matroid Union][aignerhorev2012infinite]
- [H. Perfect, Independence Spaces and Combinatorial Problems][perfect1969matroid]
- [J. Oxley, Matroid Theory][oxley2011]
theorem Matroid.map.congr_simp E1 #
∀ {α : Type u_1} {β : Type u_2} (M M_1 : Matroid α) (e_M : M = M_1) (f f_1 : α → β) (e_f : f = f_1)
(hf : Set.InjOn f M.E), M.map f hf = M_1.map f_1 ⋯
def Matroid.comap E1 #
{α : Type u_1} → {β : Type u_2} → Matroid β → (α → β) → Matroid α
The pullback of a matroid on β by a function f : α → β to a matroid on α.
Elements with the same (nonloop) image are parallel and the ground set is f ⁻¹' M.E.
The matroids M.comap f and M ↾ range f have isomorphic simplifications;
the preimage of each nonloop of M ↾ range f is a parallel class.
theorem Matroid.comap_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {I : Set α} {N : Matroid β},
(N.comap f).Indep I ↔ N.Indep (f '' I) ∧ Set.InjOn f I
theorem Matroid.comap_ground_eq E0 #
∀ {α : Type u_1} {β : Type u_2} (N : Matroid β) (f : α → β), (N.comap f).E = f ⁻¹' N.E
theorem Matroid.comap_dep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {I : Set α} {N : Matroid β},
(N.comap f).Dep I ↔ N.Dep (f '' I) ∨ N.Indep (f '' I) ∧ ¬Set.InjOn f I
theorem Matroid.comap_id E0 #
∀ {β : Type u_2} (N : Matroid β), N.comap id = N
theorem Matroid.comap_indep_iff_of_injOn E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {I : Set α} {N : Matroid β},
Set.InjOn f (f ⁻¹' N.E) → ((N.comap f).Indep I ↔ N.Indep (f '' I))
theorem Matroid.comap_emptyOn E0 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β), (Matroid.emptyOn β).comap f = Matroid.emptyOn α
theorem Matroid.comap_loopyOn E0 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β) (E : Set β), (Matroid.loopyOn E).comap f = Matroid.loopyOn (f ⁻¹' E)
theorem Matroid.comap_isBasis_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {I X : Set α},
(N.comap f).IsBasis I X ↔ N.IsBasis (f '' I) (f '' X) ∧ Set.InjOn f I ∧ I ⊆ X
theorem Matroid.comap_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {B : Set α},
(N.comap f).IsBase B ↔ N.IsBasis (f '' B) (f '' f ⁻¹' N.E) ∧ Set.InjOn f B ∧ B ⊆ f ⁻¹' N.E
theorem Matroid.comap_isBasis'_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {I X : Set α},
(N.comap f).IsBasis' I X ↔ N.IsBasis' (f '' I) (f '' X) ∧ Set.InjOn f I ∧ I ⊆ X
instance Matroid.comap_finitary E0 #
∀ {α : Type u_1} {β : Type u_2} (N : Matroid β) [N.Finitary] (f : α → β), (N.comap f).Finitary
instance Matroid.comap_rankFinite E0 #
∀ {α : Type u_1} {β : Type u_2} (N : Matroid β) [N.RankFinite] (f : α → β), (N.comap f).RankFinite
def Matroid.comapOn E1 #
{α : Type u_1} → {β : Type u_2} → Matroid β → Set α → (α → β) → Matroid α
The pullback of a matroid on β by a function f : α → β to a matroid on α,
restricted to a ground set E.
The matroids M.comapOn f E and M ↾ (f '' E) have isomorphic simplifications;
elements with the same nonloop image are parallel.
theorem Matroid.comapOn_preimage_eq E0 #
∀ {α : Type u_1} {β : Type u_2} (N : Matroid β) (f : α → β), N.comapOn (f ⁻¹' N.E) f = N.comap f
theorem Matroid.comapOn_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E I : Set α},
(N.comapOn E f).Indep I ↔ N.Indep (f '' I) ∧ Set.InjOn f I ∧ I ⊆ E
theorem Matroid.comapOn_ground_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E : Set α}, (N.comapOn E f).E = E
theorem Matroid.comapOn_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E B : Set α},
(N.comapOn E f).IsBase B ↔ N.IsBasis' (f '' B) (f '' E) ∧ Set.InjOn f B ∧ B ⊆ E
theorem Matroid.comapOn_isBase_iff_of_surjOn E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E B : Set α},
Set.SurjOn f E N.E → ((N.comapOn E f).IsBase B ↔ N.IsBase (f '' B) ∧ Set.InjOn f B ∧ B ⊆ E)
theorem Matroid.comapOn_isBase_iff_of_bijOn E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E B : Set α},
Set.BijOn f E N.E → ((N.comapOn E f).IsBase B ↔ N.IsBase (f '' B) ∧ B ⊆ E)
theorem Matroid.comapOn_dual_eq_of_bijOn E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E : Set α},
Set.BijOn f E N.E → (N.comapOn E f)✶ = N✶.comapOn E f
instance Matroid.comapOn_finitary E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E : Set α} [N.Finitary], (N.comapOn E f).Finitary
instance Matroid.comapOn_rankFinite E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {N : Matroid β} {E : Set α} [N.RankFinite], (N.comapOn E f).RankFinite
def Matroid.mapSetEmbedding E1 #
{α : Type u_1} → {β : Type u_2} → (M : Matroid α) → (↑M.E ↪ β) → Matroid β
Map a matroid M to an isomorphic copy in β using an embedding M.E ↪ β.
theorem Matroid.mapSetEmbedding_ground E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) (f : ↑M.E ↪ β), (M.mapSetEmbedding f).E = Set.range ⇑f
theorem Matroid.mapSetEmbedding_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : ↑M.E ↪ β} {I : Set β},
(M.mapSetEmbedding f).Indep I ↔ M.Indep (Subtype.val '' ⇑f ⁻¹' I) ∧ I ⊆ Set.range ⇑f
theorem Matroid.Indep.exists_eq_image_of_mapSetEmbedding E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : ↑M.E ↪ β} {I : Set β},
(M.mapSetEmbedding f).Indep I → ∃ I₀, M.Indep (Subtype.val '' I₀) ∧ I = ⇑f '' I₀
theorem Matroid.mapSetEmbedding_indep_iff' E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : ↑M.E ↪ β} {I : Set β},
(M.mapSetEmbedding f).Indep I ↔ ∃ I₀, M.Indep (Subtype.val '' I₀) ∧ I = ⇑f '' I₀
def Matroid.map E3 #
{α : Type u_1} → {β : Type u_2} → (M : Matroid α) → (f : α → β) → Set.InjOn f M.E → Matroid β
Given a function f that is injective on M.E, the copy of M in β whose independent sets
are the images of those in M. If β is a nonempty type, then N : Matroid β is a map of M
if and only if M and N are isomorphic.
theorem Matroid.map_ground E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) (f : α → β) (hf : Set.InjOn f M.E), (M.map f hf).E = f '' M.E
theorem Matroid.map_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {hf : Set.InjOn f M.E} {I : Set β},
(M.map f hf).Indep I ↔ ∃ I₀, M.Indep I₀ ∧ I = f '' I₀
theorem Matroid.Indep.map E1 #
∀ {α : Type u_1} {β : Type u_2} {I : Set α} {M : Matroid α},
M.Indep I → ∀ (f : α → β) (hf : Set.InjOn f M.E), (M.map f hf).Indep (f '' I)
theorem Matroid.Indep.exists_bijOn_of_map E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {I : Set β} (hf : Set.InjOn f M.E),
(M.map f hf).Indep I → ∃ I₀, M.Indep I₀ ∧ Set.BijOn f I₀ I
theorem Matroid.map_image_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {hf : Set.InjOn f M.E} {I : Set α},
I ⊆ M.E → ((M.map f hf).Indep (f '' I) ↔ M.Indep I)
theorem Matroid.map_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) (f : α → β) (hf : Set.InjOn f M.E) {B : Set β},
(M.map f hf).IsBase B ↔ ∃ B₀, M.IsBase B₀ ∧ B = f '' B₀
theorem Matroid.IsBase.map E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {B : Set α},
M.IsBase B → ∀ {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).IsBase (f '' B)
theorem Matroid.map_dep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {hf : Set.InjOn f M.E} {D : Set β},
(M.map f hf).Dep D ↔ ∃ D₀, M.Dep D₀ ∧ D = f '' D₀
theorem Matroid.map_image_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {hf : Set.InjOn f M.E} {B : Set α},
B ⊆ M.E → ((M.map f hf).IsBase (f '' B) ↔ M.IsBase B)
theorem Matroid.IsBasis.map E1 #
∀ {α : Type u_1} {β : Type u_2} {I : Set α} {M : Matroid α} {X : Set α},
M.IsBasis I X → ∀ {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).IsBasis (f '' I) (f '' X)
theorem Matroid.map_isBasis_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {I X : Set α} (f : α → β) (hf : Set.InjOn f M.E),
I ⊆ M.E → X ⊆ M.E → ((M.map f hf).IsBasis (f '' I) (f '' X) ↔ M.IsBasis I X)
theorem Matroid.map_isBasis_iff' E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {I X : Set β} {hf : Set.InjOn f M.E},
(M.map f hf).IsBasis I X ↔ ∃ I₀ X₀, M.IsBasis I₀ X₀ ∧ I = f '' I₀ ∧ X = f '' X₀
theorem Matroid.map_dual E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {M : Matroid α} {hf : Set.InjOn f M.E}, (M.map f hf)✶ = M✶.map f hf
theorem Matroid.map_emptyOn E0 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β), (Matroid.emptyOn α).map f ⋯ = Matroid.emptyOn β
theorem Matroid.map_loopyOn E0 #
∀ {α : Type u_1} {β : Type u_2} {E : Set α} (f : α → β) (hf : Set.InjOn f (Matroid.loopyOn E).E),
(Matroid.loopyOn E).map f hf = Matroid.loopyOn (f '' E)
theorem Matroid.map_freeOn E0 #
∀ {α : Type u_1} {β : Type u_2} {E : Set α} (f : α → β) (hf : Set.InjOn f (Matroid.freeOn E).E),
(Matroid.freeOn E).map f hf = Matroid.freeOn (f '' E)
theorem Matroid.map_id E0 #
∀ {α : Type u_1} {M : Matroid α}, M.map id ⋯ = M
theorem Matroid.map_comap E0 #
∀ {α : Type u_1} {β : Type u_2} {N : Matroid β} {f : α → β},
N.E ⊆ Set.range f → ∀ (hf : Set.InjOn f (f ⁻¹' N.E)), (N.comap f).map f hf = N
theorem Matroid.comap_map E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α → β} (hf : Function.Injective f), (M.map f ⋯).comap f = M
instance Matroid.instNonemptyMap E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Nonempty] {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).Nonempty
instance Matroid.instFiniteMap E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finite] {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).Finite
instance Matroid.instFinitaryMap E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finitary] {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).Finitary
instance Matroid.instRankFiniteMap E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankFinite] {f : α → β} (hf : Set.InjOn f M.E),
(M.map f hf).RankFinite
instance Matroid.instRankPosMap E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankPos] {f : α → β} (hf : Set.InjOn f M.E), (M.map f hf).RankPos
def Matroid.mapSetEquiv E1 #
{α : Type u_1} → {β : Type u_2} → (M : Matroid α) → {E : Set β} → ↑M.E ≃ ↑E → Matroid β
Map M : Matroid α to a Matroid β with ground set E using an equivalence M.E ≃ E.
Defined using Matroid.ofExistsMatroid for better defeq.
theorem Matroid.mapSetEquiv_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) {E : Set β} (e : ↑M.E ≃ ↑E) {I : Set β},
(M.mapSetEquiv e).Indep I ↔ M.Indep (Subtype.val '' ⇑e.symm '' Subtype.val ⁻¹' I) ∧ I ⊆ E
theorem Matroid.mapSetEquiv.ground E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) {E : Set β} (e : ↑M.E ≃ ↑E), (M.mapSetEquiv e).E = E
def Matroid.mapEmbedding E1 #
{α : Type u_1} → {β : Type u_2} → Matroid α → (α ↪ β) → Matroid β
Map M : Matroid α across an embedding defined on all of α
theorem Matroid.mapEmbedding_ground_eq E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) (f : α ↪ β), (M.mapEmbedding f).E = ⇑f '' M.E
theorem Matroid.mapEmbedding_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ↪ β} {I : Set β},
(M.mapEmbedding f).Indep I ↔ M.Indep (⇑f ⁻¹' I) ∧ I ⊆ Set.range ⇑f
theorem Matroid.Indep.mapEmbedding E1 #
∀ {α : Type u_1} {β : Type u_2} {I : Set α} {M : Matroid α},
M.Indep I → ∀ (f : α ↪ β), (M.mapEmbedding f).Indep (⇑f '' I)
theorem Matroid.IsBase.mapEmbedding E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {B : Set α},
M.IsBase B → ∀ (f : α ↪ β), (M.mapEmbedding f).IsBase (⇑f '' B)
theorem Matroid.IsBasis.mapEmbedding E1 #
∀ {α : Type u_1} {β : Type u_2} {I : Set α} {M : Matroid α} {X : Set α},
M.IsBasis I X → ∀ (f : α ↪ β), (M.mapEmbedding f).IsBasis (⇑f '' I) (⇑f '' X)
theorem Matroid.mapEmbedding_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ↪ β} {B : Set β},
(M.mapEmbedding f).IsBase B ↔ M.IsBase (⇑f ⁻¹' B) ∧ B ⊆ Set.range ⇑f
theorem Matroid.mapEmbedding_isBasis_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ↪ β} {I X : Set β},
(M.mapEmbedding f).IsBasis I X ↔ M.IsBasis (⇑f ⁻¹' I) (⇑f ⁻¹' X) ∧ I ⊆ X ∧ X ⊆ Set.range ⇑f
instance Matroid.instNonemptyMapEmbedding E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Nonempty] {f : α ↪ β}, (M.mapEmbedding f).Nonempty
instance Matroid.instFiniteMapEmbedding E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finite] {f : α ↪ β}, (M.mapEmbedding f).Finite
instance Matroid.instFinitaryMapEmbedding E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finitary] {f : α ↪ β}, (M.mapEmbedding f).Finitary
instance Matroid.instRankFiniteMapEmbedding E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankFinite] {f : α ↪ β}, (M.mapEmbedding f).RankFinite
instance Matroid.instRankPosMapEmbedding E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankPos] {f : α ↪ β}, (M.mapEmbedding f).RankPos
def Matroid.mapEquiv E1 #
{α : Type u_1} → {β : Type u_2} → Matroid α → α ≃ β → Matroid β
Map M : Matroid α across an equivalence α ≃ β
theorem Matroid.mapEquiv_ground_eq E0 #
∀ {α : Type u_1} {β : Type u_2} (M : Matroid α) (f : α ≃ β), (M.mapEquiv f).E = ⇑f '' M.E
theorem Matroid.mapEquiv_eq_map E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} (f : α ≃ β), M.mapEquiv f = M.map ⇑f ⋯
theorem Matroid.mapEquiv_indep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ≃ β} {I : Set β}, (M.mapEquiv f).Indep I ↔ M.Indep (⇑f.symm '' I)
theorem Matroid.mapEquiv_dep_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ≃ β} {D : Set β}, (M.mapEquiv f).Dep D ↔ M.Dep (⇑f.symm '' D)
theorem Matroid.mapEquiv_isBase_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} {f : α ≃ β} {B : Set β},
(M.mapEquiv f).IsBase B ↔ M.IsBase (⇑f.symm '' B)
theorem Matroid.mapEquiv_isBasis_iff E0 #
∀ {α : Type u_3} {β : Type u_4} {M : Matroid α} (f : α ≃ β) {I X : Set β},
(M.mapEquiv f).IsBasis I X ↔ M.IsBasis (⇑f.symm '' I) (⇑f.symm '' X)
instance Matroid.instNonemptyMapEquiv E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Nonempty] {f : α ≃ β}, (M.mapEquiv f).Nonempty
instance Matroid.instFiniteMapEquiv E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finite] {f : α ≃ β}, (M.mapEquiv f).Finite
instance Matroid.instFinitaryMapEquiv E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.Finitary] {f : α ≃ β}, (M.mapEquiv f).Finitary
instance Matroid.instRankFiniteMapEquiv E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankFinite] {f : α ≃ β}, (M.mapEquiv f).RankFinite
instance Matroid.instRankPosMapEquiv E0 #
∀ {α : Type u_1} {β : Type u_2} {M : Matroid α} [M.RankPos] {f : α ≃ β}, (M.mapEquiv f).RankPos
def Matroid.restrictSubtype E1 #
{α : Type u_1} → Matroid α → (X : Set α) → Matroid ↑X
Given M : Matroid α and X : Set α, the restriction of M to X,
viewed as a matroid on type X with ground set univ.
Always isomorphic to M ↾ X. If X = M.E, then isomorphic to M.
theorem Matroid.restrictSubtype_ground E0 #
∀ {α : Type u_1} {X : Set α} {M : Matroid α}, (M.restrictSubtype X).E = Set.univ
theorem Matroid.restrictSubtype_indep_iff E0 #
∀ {α : Type u_1} {X : Set α} {M : Matroid α} {I : Set ↑X}, (M.restrictSubtype X).Indep I ↔ M.Indep (Subtype.val '' I)
theorem Matroid.restrictSubtype_indep_iff_of_subset E1 #
∀ {α : Type u_1} {X I : Set α} {M : Matroid α}, I ⊆ X → ((M.restrictSubtype X).Indep (Subtype.val ⁻¹' I) ↔ M.Indep I)
theorem Matroid.restrictSubtype_inter_indep_iff E0 #
∀ {α : Type u_1} {X I : Set α} {M : Matroid α}, (M.restrictSubtype X).Indep (Subtype.val ⁻¹' I) ↔ M.Indep (X ∩ I)
theorem Matroid.restrictSubtype_isBasis_iff E0 #
∀ {α : Type u_1} {M : Matroid α} {Y : Set α} {I X : Set ↑Y},
(M.restrictSubtype Y).IsBasis I X ↔ M.IsBasis' (Subtype.val '' I) (Subtype.val '' X)
theorem Matroid.restrictSubtype_isBase_iff E0 #
∀ {α : Type u_1} {X : Set α} {M : Matroid α} {B : Set ↑X},
(M.restrictSubtype X).IsBase B ↔ M.IsBasis' (Subtype.val '' B) X
theorem Matroid.restrictSubtype_ground_isBase_iff E0 #
∀ {α : Type u_1} {M : Matroid α} {B : Set ↑M.E}, (M.restrictSubtype M.E).IsBase B ↔ M.IsBase (Subtype.val '' B)
theorem Matroid.restrictSubtype_ground_isBasis_iff E0 #
∀ {α : Type u_1} {M : Matroid α} {I X : Set ↑M.E},
(M.restrictSubtype M.E).IsBasis I X ↔ M.IsBasis (Subtype.val '' I) (Subtype.val '' X)
theorem Matroid.restrictSubtype_dual E0 #
∀ {α : Type u_1} {M : Matroid α}, (M.restrictSubtype M.E)✶ = M✶.restrictSubtype M.E
theorem Matroid.restrictSubtype_dual' E1 #
∀ {α : Type u_1} {E : Set α} {M : Matroid α}, M.E = E → (M.restrictSubtype E)✶ = M✶.restrictSubtype E
theorem Matroid.map_val_restrictSubtype_eq E0 #
∀ {α : Type u_1} (M : Matroid α) (X : Set α), (M.restrictSubtype X).map Subtype.val ⋯ = M.restrict X
M.restrictSubtype X is isomorphic to M ↾ X.
theorem Matroid.map_val_restrictSubtype_ground_eq E0 #
∀ {α : Type u_1} (M : Matroid α), (M.restrictSubtype M.E).map Subtype.val ⋯ = M
M.restrictSubtype M.E is isomorphic to M.
instance Matroid.instFinitaryElemRestrictSubtype E0 #
∀ {α : Type u_1} {M : Matroid α} [M.Finitary] {X : Set α}, (M.restrictSubtype X).Finitary
instance Matroid.instRankFiniteElemRestrictSubtype E0 #
∀ {α : Type u_1} {M : Matroid α} [M.RankFinite] {X : Set α}, (M.restrictSubtype X).RankFinite
instance Matroid.instFiniteElemERestrictSubtype E0 #
∀ {α : Type u_1} {M : Matroid α} [M.Finite], (M.restrictSubtype M.E).Finite
instance Matroid.instNonemptyElemERestrictSubtype E0 #
∀ {α : Type u_1} {M : Matroid α} [M.Nonempty], (M.restrictSubtype M.E).Nonempty
instance Matroid.instRankPosElemERestrictSubtype E0 #
∀ {α : Type u_1} {M : Matroid α} [M.RankPos], (M.restrictSubtype M.E).RankPos