Property (1), p. 978 — stability is inherited under refinement
ProvedPaigeTarjan.Coarsest.stableWrt_of_refinesLet be a relation on a finite set , let and be partitions of with a refinement of , and let . If is stable with respect to , then so is :
This is why a set, once used as a splitter, can never be used as a splitter again: every later partition refines the one that was made stable with respect to it.
import Mathlib import Definitions.Def_PaigeTarjan_Coarsest_Basic
namespace PaigeTarjan.Coarsest
/-- Property (1), p. 978: stability is inherited under refinement — if `R` is a refinement of
`P` and `P` is stable with respect to a set `S`, then so is `R`. -/
theorem stableWrt_of_refines {U : Type*} [Fintype U] [DecidableEq U]
(E : U → U → Prop) [DecidableRel E] (P R : Finset (Finset U)) (S : Finset U)
(hP : IsPartition P) (hR : IsPartition R) (hRP : Refines R P)
(hPS : StableWrt E P S) :
StableWrt E R S := by sorry
end PaigeTarjan.Coarsest
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Take a finite set with decidable equality, a decidable binary relation on , families and of subsets of , and a set . Assume:
- is a partition of ;
- is a partition of ;
- refines , meaning every block of lies inside some block of ;
- is stable with respect to , meaning every block satisfies or , where .
Then is stable with respect to : every block satisfies or .
Degenerate cases. If , both partitions are empty and the conclusion holds vacuously. If , then and every family is stable with respect to .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.