Graphs sampled from a hole relation
Lax342547.SampledGraph · concepts/Lax342547/SampledGraph.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Given a symmetric relation of holes and a list of raw vertices, join two distinct positions exactly when their entries have no hole. Repeated raw vertices are permitted. If the hole relation has no triangles, every independent set of the sampled graph has size at most two, as in (2.2).
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Clique |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Graphs sampled from a hole relation |
| 6 | type: lemma |
| 7 | --- |
| 8 | Given a symmetric relation of holes and a list of raw vertices, join two |
| 9 | distinct positions exactly when their entries have no hole. Repeated raw |
| 10 | vertices are permitted. If the hole relation has no triangles, every |
| 11 | independent set of the sampled graph has size at most two, as in (2.2). |
| 12 | -/ |
| 13 | |
| 14 | namespace Lax342547.SampledGraph |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def sampleGraph {Ω : Type u} (hole : Ω → Ω → Prop) (hsymm : (∀ ⦃i j⦄, hole i j → hole j i)) |
| 19 | {m : ℕ} (sample : Fin m → Ω) : SimpleGraph (Fin m) where |
| 20 | Adj i j := i ≠ j ∧ ¬ hole (sample i) (sample j) |
| 21 | symm := ⟨fun _ _ h ↦ ⟨h.1.symm, fun h' ↦ h.2 (hsymm h')⟩⟩ |
| 22 | loopless := ⟨fun _ h ↦ h.1 rfl⟩ |
| 23 | |
| 24 | axiom sampleGraph_indepNum_le_two {Ω : Type u} |
| 25 | (hole : Ω → Ω → Prop) (hsymm : (∀ ⦃i j⦄, hole i j → hole j i)) |
| 26 | (htriangle : ∀ i j k, hole i j → hole j k → ¬ hole k i) |
| 27 | {m : ℕ} (sample : Fin m → Ω) : |
| 28 | (sampleGraph hole hsymm sample).indepNum ≤ 2 |
| 29 | |
| 30 | end Lax342547.SampledGraph |
| 31 |
Builds on
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments