Formal source for the results and lemmas in PatternPoset. Run cd lean and then lake build PatternPoset with the supplied toolchain and pinned Mathlib. See the theorem statements for the exact scope.
