Cochromatic partitions
Lax560391.CochromaticPartition · concepts/Lax560391/CochromaticPartition.lean · lax-560391
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A cochromatic partition assigns each vertex a part, each part inducing either a clique or an independent set. Empty labels are allowed. Parts need not be modules.
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Basic |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Cochromatic partitions |
| 6 | type: definition |
| 7 | --- |
| 8 | A cochromatic partition assigns each vertex a part, each part inducing |
| 9 | either a clique or an independent set. Empty labels are allowed. Parts need |
| 10 | not be modules. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax560391.CochromaticPartition |
| 14 | |
| 15 | structure CochromaticPartition {V : Type} (G : SimpleGraph V) (k : ℕ) where |
| 16 | part : V → Fin k |
| 17 | homogeneous : ∀ i, |
| 18 | (∀ u v, u ≠ v → part u = i → part v = i → G.Adj u v) ∨ |
| 19 | (∀ u v, part u = i → part v = i → ¬ G.Adj u v) |
| 20 | |
| 21 | end Lax560391.CochromaticPartition |
| 22 |
Builds on
none
Used by
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments