Commit 00f0743
committed
feat(Combinatorics/SimpleGraph): extract
`f v ∈ f.toSubgraph.verts` is a basic membership fact about `Copy.toSubgraph` —
combining `verts_toSubgraph` (`f.toSubgraph.verts = Set.range f`) with the obvious
`v ∈ Set.range f`. It was inlined twice as `f.verts_toSubgraph ▸ Set.mem_range_self _`
inside `Copy.toEmbeddingOfIsInduced`. Extract and use the named lemma; mirror on the
Embedding side.apply_mem_verts_toSubgraph for Copy + Embedding1 parent 1a1a4e8 commit 00f0743
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
133 | | - | |
134 | | - | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
0 commit comments