No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
A graph class is a set of finite simple graphs: for each number of vertices n, some of the simple graphs on the canonical n-element vertex type. A graph class is weakly sparse if some complete bipartite graph occurs in no member as a subgraph.
Lean source view on GitHub
| 1 | import Lax12.GraphClasses |
| 2 | import Mathlib.Combinatorics.SimpleGraph.Copy |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Weakly sparse graph classes |
| 7 | type: definition |
| 8 | --- |
| 9 | A graph class is a set of finite simple graphs: for each number of |
| 10 | vertices *n*, some of the simple graphs on the canonical *n*-element |
| 11 | vertex type. A graph class is weakly sparse if some complete bipartite |
| 12 | graph occurs in no member as a subgraph. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | The notion of a graph class is not restated here. `GraphClass` is the |
| 17 | abbreviation of the *Sparsity Lectures* submission (Lax12), imported and |
| 18 | used as is, so that the statements of this submission and the statements |
| 19 | assumed from that one speak about literally the same objects. This |
| 20 | concept adds the two class-level notions this submission needs on top of |
| 21 | it: the class of all graphs, which the definition of monadic dependence |
| 22 | names as the transduction target, and weak sparseness. |
| 23 | |
| 24 | Subgraph containment is mathlib's `⊑` (an injective homomorphism of |
| 25 | `completeBipartiteGraph (Fin t) (Fin t)` into the member). The value |
| 26 | `t = 0` does not trivialize weak sparseness: the empty graph is |
| 27 | contained in every graph, so `¬ K_{0,0} ⊑ G` never holds and no side |
| 28 | condition on `t` is needed. |
| 29 | -/ |
| 30 | |
| 31 | namespace Lax5.GraphClasses |
| 32 | |
| 33 | open scoped SimpleGraph |
| 34 | open Lax12.GraphClasses |
| 35 | |
| 36 | /-- The class of all finite simple graphs. -/ |
| 37 | def allGraphs : GraphClass := fun _ _ => True |
| 38 | |
| 39 | /-- A graph class is weakly sparse if some complete bipartite graph |
| 40 | `K_{t,t}` occurs in no member as a subgraph. -/ |
| 41 | def WeaklySparse (C : GraphClass) : Prop := |
| 42 | ∃ t : ℕ, ∀ (n : ℕ) (G : SimpleGraph (Fin n)), C n G → |
| 43 | ¬ completeBipartiteGraph (Fin t) (Fin t) ⊑ G |
| 44 | |
| 45 | end Lax5.GraphClasses |
| 46 |
Formalization notes
The notion of a graph class is not restated here. is the abbreviation of the Sparsity Lectures submission (Lax12), imported and used as is, so that the statements of this submission and the statements assumed from that one speak about literally the same objects. This concept adds the two class-level notions this submission needs on top of it: the class of all graphs, which the definition of monadic dependence names as the transduction target, and weak sparseness.
Subgraph containment is mathlib's (an injective homomorphism of into the member). The value does not trivialize weak sparseness: the empty graph is contained in every graph, so never holds and no side condition on is needed.
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments