2-uniform set system
Lax683916.TwoUniformSetSystems · concepts/Lax683916/TwoUniformSetSystems.lean · lax-683916
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A 2-uniform set system on a ground type is a family of subsets of , each containing exactly two elements.
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Data.Set.Card |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: 2-uniform set system |
| 6 | type: definition |
| 7 | --- |
| 8 | A 2-uniform set system on a ground type `V` is a family of subsets of `V`, |
| 9 | each containing exactly two elements. |
| 10 | |
| 11 | # Formalization notes |
| 12 | |
| 13 | The family is represented as `Set (Set V)`, so it has neither repeated |
| 14 | members nor a separate ambient vertex set. No looplessness field is carried: |
| 15 | a singleton has cardinality one, so 2-uniformity already excludes loops. |
| 16 | -/ |
| 17 | |
| 18 | namespace Lax683916.TwoUniformSetSystems |
| 19 | |
| 20 | /-- A family of two-element subsets of `V`. -/ |
| 21 | structure TwoUniformSetSystem (V : Type*) where |
| 22 | /-- The sets belonging to the family. -/ |
| 23 | sets : Set (Set V) |
| 24 | /-- Every member of the family has exactly two elements. -/ |
| 25 | twoUniform : ∀ s ∈ sets, Set.ncard s = 2 |
| 26 | |
| 27 | end Lax683916.TwoUniformSetSystems |
| 28 |
Formalization notes
The family is represented as , so it has neither repeated members nor a separate ambient vertex set. No looplessness field is carried: a singleton has cardinality one, so 2-uniformity already excludes loops.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments