Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_TenChallenges_MatroidRepresentability.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 30 Nov 2026original source ↗
/-From Prove2Me, definition `TenChallenges_MatroidRepresentability` (https://prove2.me/definitions/940e9a77-7b9c-4cb5-b2a8-6aace9c00efb). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Combinatorics.Matroid.Minor.Orderimport Mathlib.FieldTheory.Finite.GaloisFieldimport Mathlib.LinearAlgebra.LinearIndependent.Defs open Matroid variable {α β : Type*} /-- `M` is representable over the Galois field `GF(pᵐ)`: some assignment ofvectors to the elements of `M` makes a set independent exactly when its vectorsare linearly independent. -/def IsGFRepresentable (p m : ℕ) [Fact p.Prime] (M : Matroid α) : Prop := ∃ (W : Type) (_ : AddCommGroup W) (_ : Module (GaloisField p m) W) (v : α → W), ∀ I, M.Indep I ↔ LinearIndepOn (GaloisField p m) v I /-- `M` fails `P`, but every proper minor satisfies `P`. -/def IsExcludedMinorFor (P : Matroid α → Prop) (M : Matroid α) : Prop := ¬ P M ∧ ∀ N : Matroid α, N <m M → P N /-- `M` and `N` are isomorphic: a bijection between their ground sets carriesindependent sets exactly to independent sets. -/def Matroid.IsIso (M : Matroid α) (N : Matroid β) : Prop := ∃ e : M.E ≃ N.E, ∀ I : Set M.E, M.Indep (Subtype.val '' I) ↔ N.Indep (Subtype.val '' (e '' I)) /-- Given a prime power `pᵐ` and a number `B`, the following says that theclass of `GF(pᵐ)`-representable matroids has at most `B` excluded minors, upto isomorphism. Equivalently, there is a set `S` of at most `B` matroids thatcontains, up to isomorphism, every excluded minor for `GF(pᵐ)`-representability. -/def ExcludedMinorsAtMost (p m : ℕ) [Fact p.Prime] (B : ℕ) : Prop := ∃ S : Finset (Matroid ℕ), S.card ≤ B ∧ ∀ {β : Type} (M : Matroid β), M.Finite → IsExcludedMinorFor (IsGFRepresentable p m) M → ∃ N ∈ S, N.IsIso M