OpenCertificates
Abstract
Stable partial matchings and the Mertens range-two probability estimate.
Theorem 1.1 (rank_injective).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.rank_injective
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.rank_injective (✓ std3). ∎
Source. Repository-derived.
Commentary.
For a ranking permutation and nonzero integer offsets a and b between -2 and 2, equality of offsetRank implies a=b. The paired-certificate construction uses this injectivity.
Definition 1.2 (offsetRank).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.offsetRank
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.offsetRank (✓ std3).
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Definition 1.3 (Certificate).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.Certificate
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.Certificate (✓ std3).
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Definition 1.4 (CertifiedWord).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.CertifiedWord
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.CertifiedWord (✓ std3).
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Definition 1.5 (count).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count (✓ std3).
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Theorem 1.6 (certificate_restrict).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.certificate_restrict
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.certificate_restrict (✓ std3). ∎
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Theorem 1.7 (count_submultiplicative).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_submultiplicative
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_submultiplicative (✓ std3). ∎
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Theorem 1.8 (count_lower).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_lower
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_lower (✓ std3). ∎
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Definition 1.9 (ExclusiveTriangle).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.ExclusiveTriangle
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.ExclusiveTriangle (✓ std3).
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Theorem 1.10 (exclusive_triangle_not_certified).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.exclusive_triangle_not_certified
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.exclusive_triangle_not_certified (✓ std3). ∎
Source. Repository-derived.
Commentary.
Open certificates retain the ranks of exterior requests and injectivity of all integer targets. Restricting an interval preserves reciprocity and internal nonblocking. Splitting is injective on ranking words, not on chosen certificates. The lower bound pairs successive sites and permits the last odd site to request an exterior partner. The directed exclusive triangle cannot be certified even with exterior partners or singles. PaddedCompletion supplies concatenation; CyclicClosure supplies both cyclic comparisons; the exclusive-triangle count gives the strict bound, and GrowthTransfer.result is their common-base probability consumer.
Definition 1.11 (Interval reflection).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.reflectWord
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.reflectWord (✓ std3).
Source. Repository-derived.
Commentary.
Reflection reverses the three interval positions and negates every signed offset. The certificate transport retains all integer-target injectivity constraints, including exterior targets, reciprocity and nonblocking. Zero remains single with rank four.
Definition 1.12 (Sixteen ranking words).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenWord
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenWord (✓ std3).
Source. Repository-derived.
Commentary.
The index is one orientation bit and three independent Boolean choices. In the forward orientation, positions zero, one and two respectively prefer signed offsets (1,2), (1,-1) and (-2,-1), in that order, to both exterior offsets. Each Boolean chooses the order of the bottom two offsets. Reflection gives the other orientation. The sixteen ranking words are distinct.
Theorem 1.13 (Every listed profile is impossible).
\forall (s:\operatorname{TriangleIndex}\left(\right)), \neg \exists (d:\operatorname{Assignments}\left(\right)), \operatorname{Certificate}\left(\operatorname{forbiddenWord}\left(s\right), d\right)
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbidden_not_certified (✓ std3). ∎
Source. Repository-derived.
Commentary.
TriangleIndex abbreviates Bool times (Fin 3 to Bool), and Assignments abbreviates Fin 3 to the integers. The forward case applies exclusive_triangle_not_certified. The reverse case transports a hypothetical certificate through reflection and applies the same theorem. No matching witness is enumerated; exterior partners and singles remain allowed.
Definition 1.14 (Removed profiles).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenProfiles
Formalization. D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenProfiles (✓ std3).
Source. Repository-derived.
Commentary.
The finite set is the image of forbiddenWord over its complete sixteen-element index type.
Theorem 1.15 (Exact removal cardinality).
\operatorname{card}\left(\operatorname{forbiddenProfiles}\left(\right)\right) = 16
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbidden_card (✓ std3). ∎
Source. Repository-derived.
Commentary.
The rank of offset 1 at the middle position recovers the orientation: it is zero forward and one after reflection. After undoing reflection, ranks at coordinates 2, 1 and 0 of positions 0, 1 and 2 respectively recover the three exterior-order bits. This word-level injection proves that precisely sixteen ranking profiles are removed, without enumerating all pairs of profiles.
Theorem 1.16 (Three-site count bound).
\operatorname{count}\left(3\right) \le 13808
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_three_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
The map sends each existentially certified word to its underlying ranking word in the complement of the sixteen forbidden profiles. It is injective on words. The whole space has 24 cubed = 13824 elements; complement cardinality gives 13824 minus 16 = 13808. GrowthTransfer.result uses this bound to obtain strict exponential growth below 24. The source model is credited to The Formal Conjectures Authors under Apache-2.0.
References
- Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.Certificate - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.CertifiedWord - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.ExclusiveTriangle - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.certificate_restrict - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_lower - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_submultiplicative - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.count_three_bound - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.exclusive_triangle_not_certified - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenProfiles - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbiddenWord - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbidden_card - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.forbidden_not_certified - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.offsetRank - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.rank_injective - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/OpenCertificates.reflectWord