Commit e122078
committed
feat(Combinatorics/SimpleGraph/Finite): LocallyFiniteOrder
Adds the order-theoretic local-finiteness of `SimpleGraph V` (every `Icc G H`
is a `Finset`), distinct from the existing graph-theoretic `LocallyFinite`
(every vertex has a finite neighborhood) elsewhere in the file.
* `SimpleGraph.decidableLE` (instance): `G ≤ H` is decidable under `[Fintype V]`
and per-graph adjacency decidability `[DecidableRel G.Adj] [DecidableRel H.Adj]`.
* `SimpleGraph.locallyFiniteOrder` (non-instance abbrev): produces
`LocallyFiniteOrder (SimpleGraph V)` under
`[Fintype V] [DecidableEq V] [DecidableLE (SimpleGraph V)]`, built via
`LocallyFiniteOrder.ofIcc'`.
The abbrev is deliberately not an instance — `DecidableLE (SimpleGraph V)`
cannot be synthesised globally because `DecidableRel G.Adj` is value-dependent.
Callers either compose `decidableLE` after providing per-graph adjacency
decidability, or use `letI := Classical.decRel _` for a noncomputable order.
Required downstream for `Finset.Icc G ⊤` in the Möbius inversion between copy
counts and induced copy counts.1 parent 11a4a72 commit e122078
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
529 | 530 | | |
530 | 531 | | |
531 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
532 | 552 | | |
533 | 553 | | |
534 | 554 | | |
| |||
0 commit comments