Prove minimality is unique and add it to the headlines

- Define `ConflictRange.toSet`, the set of keys lying in a range
- Add the headline `MinimalUnique`: any two minimal sound ranges for the
  same read and result denote the same set of keys
- Transport `FormalConflictRange.Minimal.toSet_eq` across the bridge; the
  statement is unconditional, since `Minimal` already carries soundness
- State `Statement.minimalUnique` in the challenge and add it to the
  comparator's `theorem_names`

`lake build` is warning-free and `lake comparator` accepts both headlines.
This commit is contained in:
andrew committed 2026-11-17 11:39:52 -05:00
1 parent bd5b3c885c
commit efd1b323e7
4 files changed
+47 -6

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"challenge_module": "Challenge",
"solution_module": "Solution",
"theorem_names": ["Statement.closedFormMinimal"],
"theorem_names": ["Statement.closedFormMinimal", "Statement.minimalUnique"],
"permitted_axioms": ["propext", "Quot.sound", "Classical.choice"]
}