SourceModel
Abstract
Stable partial matchings and the Mertens range-two probability estimate.
Definition 1.1 (offset).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Definition 1.2 (ring).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.ring
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.ring (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Definition 1.3 (Profile).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.Profile
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.Profile (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Definition 1.4 (rank).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Definition 1.5 (HasStableMatching).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.HasStableMatching
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.HasStableMatching (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Definition 1.6 (solutionProbability).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.solutionProbability
Formalization. D5/S3/Combinatorics/Graph/Roommates/SourceModel.solutionProbability (✓ std3).
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.7 (offset_injective).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_injective
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_injective (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.8 (offset_ne_zero).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_ne_zero
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_ne_zero (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.9 (exists_offset_neg).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.exists_offset_neg
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.exists_offset_neg (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.10 (rank_neighbor).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.11 (rank_self).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_self
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_self (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.12 (rank_neighbor_lt_self).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor_lt_self
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor_lt_self (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
Theorem 1.13 (card_profile).
Lean statement: D5/S3/Combinatorics/Graph/Roommates/SourceModel.card_profile
Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/Roommates/SourceModel.card_profile (✓ std3). ∎
Source. Repository-derived.
Commentary.
Supplier model with N=n+5. Matching is an involutive permutation, fixed points are singles, stability tests improvement at both endpoints, and solutionProbability counts profiles with an existential matching once. The definitions and API lemmas are compatibility ports credited to the Formal Conjectures Authors, not new mathematical contributions.
References
- Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.HasStableMatching - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.Profile - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.card_profile - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.exists_offset_neg - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_injective - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.offset_ne_zero - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_neighbor_lt_self - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.rank_self - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.ring - Truth anchor:
D5/S3/Combinatorics/Graph/Roommates/SourceModel.solutionProbability