You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Combinatorics/SimpleGraph/Matching): add IsCycles and IsAlternating with basic results (#19250)
add `SimpleGraph.IsCycles` and `SimpleGraph.IsAlternating` with some basic results involving matchings. These are defined on `SimpleGraph`, because we want to use the `symmDiff` defined on there.
This is in preparation for Tutte's theorem.
Co-authored-by: Pim Otte <otte.pim@gmail.com>
Copy file name to clipboardExpand all lines: Mathlib/Combinatorics/SimpleGraph/Matching.lean
+87Lines changed: 87 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,14 @@ one edge, and the edges of the subgraph represent the paired vertices.
27
27
* `SimpleGraph.Subgraph.IsPerfectMatching` defines when a subgraph `M` of a simple graph is a
28
28
perfect matching, denoted `M.IsPerfectMatching`.
29
29
30
+
* `SimpleGraph.IsMatchingFree` means that a graph `G` has no perfect matchings.
31
+
32
+
* `SimpleGraph.IsCycles` means that a graph consists of cycles (including cycles of length 0,
33
+
also known as isolated vertices)
34
+
35
+
* `SimpleGraph.IsAlternating` means that edges in a graph `G` are alternatingly
36
+
included and not included in some other graph `G'`
37
+
30
38
## TODO
31
39
32
40
* Define an `other` function and prove useful results about it (https://leanprover.zulipchat.com/#narrow/stream/252551-graph-theory/topic/matchings/near/266205863)
0 commit comments