Commit c758342
* feat: generalize induce-univ correlation to any full set (Part of #2965)
* feat: generalize induce-univ correlation to any full set
Add correlation_induce_of_forall_mem: if s contains every vertex (∀ x, x ∈ s),
then correlation (G.induce s) p A = correlation G p (A.map (subtypeUnivEquiv hs)),
since G.induce s ≃g G. Generalizes correlation_induce_univ from Set.univ to any
full set.
Applies to s = ↑(S ∪ Sᶜ) (full by Finset.union_compl), letting the Phase A
capstone's inducedGraph _ (S ∪ Sᶜ) left side connect to the raw bond-deleted
graph WITHOUT forcing the propositional Finset equality S ∪ Sᶜ = univ at the
type level — the clean route through the per-stage-increment type-transport.
Part of #2965
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 3099aa4 commit c758342
3 files changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
401 | 430 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12633 | 12633 | | |
12634 | 12634 | | |
12635 | 12635 | | |
| 12636 | + | |
| 12637 | + | |
| 12638 | + | |
| 12639 | + | |
| 12640 | + | |
| 12641 | + | |
| 12642 | + | |
| 12643 | + | |
| 12644 | + | |
| 12645 | + | |
| 12646 | + | |
| 12647 | + | |
| 12648 | + | |
12636 | 12649 | | |
12637 | 12650 | | |
12638 | 12651 | | |
| |||
0 commit comments