Repository navigation
AUTHQ-01/02: exact authorization fibres and audit-budget obstruction - #140
Merged
Merged
Conversation
This was referenced Nov 17, 2026
patrickdugan
marked this pull request as ready for review
November 17, 2026 17:10
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.
Lean 4.35 kernel results
MathCan/AuthorizationQuotient.leanproves that an authorization predicate factors through a surjective public observation iff it is constant on observation fibres. A pair of visually identical worlds with opposing permissions forces any deterministic observation-only controller to err on one. The module includes a two-state witness and information-coarsening monotonicity.Added AUTHQ-02 theorem: for
Npaired roots, let the retain decision in authorized/unauthorized twins be equal whenever the root was not inspected. Thenretained_authorized ≤ retained_unauthorized + inspected_root_pairs ≤ retained_unauthorized + B.Consequently
J = TPR−FPR ≤ B/Nunder equally weighted root pairs. It is sharp when inspections reveal true permissions exactly.Hosted Lean 4.35 kernel build passed in MathCan mathematical checks; the Python rational-oracle job is tracked in the same run. No nonstandard axioms or neural mechanism claims are needed for this exact combinatorial theorem.
First applied synthetic receipt
Control-Harness ECA-01 sampled 64 host-entropy roots after a frozen protocol, with two identical-public-view permission twins each. Source SHA
bc0ebeb053c5038a2abb20444effda235f7dc060. 28 shared-control roots required 56 individual audit calls across both twins. Partial audit gaveJ=28/64=7/16, equal to the proven bound with B=28. Full audit of all 64 roots required 128 calls and gaveJ=1.The matching exact-Fraction observer code and mathematical experiment note are in EvalMath PR #49. The controlled model is a finite simulator with host-supplied truth and toy HMAC issuer keys; the theorem itself is a general conditional result and requires neither model accuracy nor real-world authority assumptions.
Keep draft for independent semantics review and baseline experiment confirmation.