Repository navigation
The H-coefficient bound for random systems - #27
Merged
Merged
Conversation
This was referenced Oct 12, 2026
Merged
MarcIlunga
force-pushed
the
coupling-systems
branch
from
October 13, 2026 08:43
1ba9a13 to
cf8dbcc
Compare
`RandomSystem.transcriptDistance_le_add_of_ratio_on_good`, in the new `RandomSystems/Distance/HCoefficient.lean`: for random systems `R` (real) and `S` (ideal) replying at the queried label, if `(1 - ε₁) · S(h) ≤ R(h)` on every transcript outside `Bad`, and `Bad` has probability at most `ε₂` in the transcript law of `S` under every compatible query-bounded environment, then `Δ(R, S) ≤ ε₁ + ε₂` (`ε₁ ε₂ : ℝ≥0`). A transcript law restricts the system's probability to the transcripts the environment produces, the same restriction for both systems, so the ratio carries over to the transcript laws; the distribution-level bound `statDist_le_probBad_add_of_ratio_on_good` (Patarin's H-coefficient technique) applies under each environment, and `RandomSystem.transcriptDistance_le` crosses to ℝ≥0∞. The statement is the case of #20 with nothing revealed and two classes. THEORY.md §1.4 states the bound beside the transcript distance; `Tests/Axioms/Systems.lean` prints its axioms. Closes #19. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E7GPy1oUx164NSZsxJT3N9
MarcIlunga
force-pushed
the
h-coefficient
branch
from
October 13, 2026 08:52
fddadfc to
355b09c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proof-technique stack, layer 2 (systems level). Based on the couplings PR, though independent of it. Closes #19.
RandomSystem.transcriptDistance_le_add_of_ratio_on_good, in the newRandomSystems/Distance/HCoefficient.lean. For random systemsR(real) andS(ideal) replying at the queried label:(1 - ε₁) · S(h) ≤ R(h)on every transcript outsideBad,Badhas probability at mostε₂in the transcript law ofSunder every compatible query-bounded environment,Δ(R, S) ≤ ε₁ + ε₂, withε₁ ε₂ : ℝ≥0.A transcript law restricts the system's probability to the transcripts the environment produces, and the restriction is the same for both systems. So the ratio carries over to the transcript laws, and the distribution-level bound
statDist_le_probBad_add_of_ratio_on_good(Patarin's H-coefficient technique) applies under each environment. The statement is the case of #20 with nothing revealed and two classes. The original HCTR2 proof (ePrint 2021/1441, §3.3) uses this form.Checks: build with
--wfail, axiom audit, linter set, anchors, math rendering.The stack
Proof techniques for the HCTR2 port, one technique per PR, ordered by abstraction (merge bottom-up):
🤖 Generated with Claude Code
https://claude.ai/code/session_01E7GPy1oUx164NSZsxJT3N9