Commit c6d766d
committed
refactor(Combinatorics/SimpleGraph/InducedCopy): hoist
Moves the `namespace Embedding` block (containing `toSubgraph`, `toSubgraph_isInduced`, and
`range_toSubgraph`) out of `section UnlabeledEmbeddingCount` to its own block immediately after the
`SimpleGraph` namespace opens, with a section heading `Embedding to subgraph`.
This mirrors `Copy.lean`'s structure (where `Copy.toSubgraph` and `range_toSubgraph` live in the
early `section Copy` / `namespace Copy` block alongside the type's core API, separately from the
count sections). The previous placement nested the core embedding-image API inside the unlabelled
count section, which made it harder to find when navigating the file.
Pure code motion: no statement, proof, or attribute changes.Embedding.toSubgraph API to the top1 parent 97c26fb commit c6d766d
1 file changed
Lines changed: 32 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
60 | 92 | | |
61 | 93 | | |
62 | 94 | | |
| |||
249 | 281 | | |
250 | 282 | | |
251 | 283 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 284 | | |
277 | 285 | | |
278 | 286 | | |
| |||
0 commit comments