15.1 Exact status of the supplied package
The attachment ENI6MA_Lean4.zip contains RosarioWangENI6MA.lean, Audit.lean, a Lake configuration, a toolchain pin, README.md, and VERIFICATION.txt.
The recorded audit reports compilation of 74 theorem declarations under Lean 4.19.0 and Mathlib v4.19.0, without proof placeholders or custom axioms. Its listed dependencies are the standard foundations propext, Classical.choice, and Quot.sound where used.
For this consolidation, the source's 74 declarations and SHA-256 were checked against that record. The digest agrees:
fb9bd8933bad0f7790ce98fa1a8af3a07772acacce7331cf665cf147b44af97a
Lean is not installed in the current consolidation environment. Therefore compilation and the printed axiom dependencies are inherited recorded evidence, not a newly executed compiler audit. The arithmetic program in Appendix A was executed for this edition.
15.2 Theorem-to-claim crosswalk
All theorem names below are under RosarioWangENI6MA.
| Claim | Lean declaration or declarations |
|---|---|
| Subtracting the mask recovers the raw word | decode_release |
| Unique compatible mask | release_eq_iff, unique_mask |
| Uniform released-word probability | maskMass_uniform, exact_transcript_probability |
| Finite public-view mutual information is zero | public_mutual_information_zero |
| Every statistic has a credential-independent law | every_statistic_private |
| Honest data verification | honest_acceptance |
| Full dictionary calibration | calibration_recovery |
| Accepted separating responses identify each symbol | accepting_candidates_singleton, joint_extraction |
| Full calibration preserves privacy | calibrated_transcript_probability |
| Ring cell sizes and modulo projection | ringCell_lt, ring_balance |
| Nonce and mask entropy | nonce_entropy, nonce_min_entropy, calibrated_mask_entropy |
| Projection entropy bound | nonce_projection_entropy_bound |
| Modulo bias | residue_count, modulo_probability |
| Finite seed cannot increase entropy | seed_expansion_entropy, conditional_seed_expansion_entropy |
| Candidate nonce collisions | nonce_collision_bound |
| Burned state prevents repeated acceptance | burned_absorbing, at_most_one_acceptance |
| Native state and credential gates | native_event_acceptance_iff |
| Mask reuse reveals raw differences | reused_mask_reveals_difference |
| Binary example separates for every candidate nonce | Example.every_nonce_separates |
The formal source treats full -entry calibration, finite distributions, and the declared abstract state machine. The shortened keypad calibration, subgroup lower bound, public commitment relation, and general knowledge theorem are not silently included in the count of 74.
15.3 Minimal Lean excerpt
The following excerpt reproduces the core cancellation and unique-mask argument from the package, with its required import and namespace. Fin T indexes the rounds; ZMod H supplies arithmetic modulo ; a function from rounds to residues represents a response word. ∃! means that exactly one value exists.
import Mathlib
namespace RosarioWangENI6MA
abbrev Word (H T : ℕ) := Fin T → ZMod H
def release {H T : ℕ} (raw mask : Word H T) : Word H T := raw + mask
theorem decode_release {H T : ℕ} (raw mask : Word H T) :
release raw mask - mask = raw := by
simp [release]
theorem release_eq_iff {H T : ℕ} (raw mask out : Word H T) :
release raw mask = out ↔ mask = out - raw := by
constructor
· intro h
calc
mask = (raw + mask) - raw := by abel
_ = out - raw := by rw [← release, h]
· intro h
rw [h]
simp [release, add_comm]
theorem unique_mask {H T : ℕ} (raw out : Word H T) :
∃! mask, release raw mask = out := by
refine ⟨out - raw, (release_eq_iff _ _ _).2 rfl, ?_⟩
intro mask hm
exact (release_eq_iff _ _ _).1 hm
end RosarioWangENI6MA
The general algebraic excerpt allows all natural moduli supported by ZMod; the authentication profiles require . The package's finite uniform-probability statements add nonzero-modulus hypotheses.
To reproduce the supplied package's full build, use its pinned configuration and run from the extracted project directory:
lake update
lake exe cache get
lake build
lake env lean Audit.lean
Successful elaboration establishes the propositions as formalized. Academic review must also verify that their definitions and hypotheses describe the claimed protocol, including omitted sensors, oracle access, and deployed state.