Set-system representation of simple graphs
Lax683916.SetSystemRepresentation · concepts/Lax683916/SetSystemRepresentation.lean · lax-683916
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Simple graphs on are equivalent to 2-uniform set systems on : an edge with endpoints and is represented by the two-element set .
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Basic |
| 2 | import Lax683916.TwoUniformSetSystems |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Set-system representation of simple graphs |
| 7 | type: theorem |
| 8 | --- |
| 9 | Simple graphs on `V` are equivalent to 2-uniform set systems on `V`: an edge |
| 10 | with endpoints `u` and `v` is represented by the two-element set `{u, v}`. |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | The equivalence uses ordinary sets rather than `Sym2 V`, matching the usual |
| 15 | set-system language. The 2-uniformity proof ensures that every member has a |
| 16 | unique interpretation as an unordered pair of distinct vertices. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax683916.SetSystemRepresentation |
| 20 | |
| 21 | open Lax683916.TwoUniformSetSystems |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | /-- An equivalence that sends graph edges to their two-element endpoint sets. -/ |
| 26 | structure RepresentationEquiv (V : Type u) where |
| 27 | /-- The equivalence between the two representation types. -/ |
| 28 | toEquiv : SimpleGraph V ≃ TwoUniformSetSystem V |
| 29 | /-- A pair belongs to the image set system exactly when its two elements are adjacent. -/ |
| 30 | map_pair : ∀ (G : SimpleGraph V) (u v : V), |
| 31 | {u, v} ∈ (toEquiv G).sets ↔ G.Adj u v |
| 32 | |
| 33 | /-- Simple graphs and 2-uniform set systems on the same ground type are equivalent. -/ |
| 34 | axiom simpleGraphEquiv (V : Type u) : |
| 35 | Nonempty (RepresentationEquiv V) |
| 36 | |
| 37 | end Lax683916.SetSystemRepresentation |
| 38 |
Formalization notes
The equivalence uses ordinary sets rather than , matching the usual set-system language. The 2-uniformity proof ensures that every member has a unique interpretation as an unordered pair of distinct vertices.
Builds on
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments