Repository navigation
research: seal patched Lean replay-free identity screen and revalidation-cost control - #210
Conversation
…-revalidation control
…l and cost controls
…nt independent rebuilds
…econd unnecessary revalidation
Exact-head native development finding — patched replay-free identity and revalidation costsPR #210 head: Hosted exact-head qualification:
Actual execution sequence in successful raw native log:
Scientifically important negative result: There are two observed unnecessary revalidations among these four exposed developer controls: independent same-source rebuild and unrelated imported definition change. The very first three-control workflow failed because it incorrectly expected separately rebuilt equal-source .olean bytes to be identical; logs instead established a real byte inequality. This was not concealed or worked around by treating semantic equality as byte identity. The revised Strict nonclaims: Four exposed fixtures are not prospective #177 data and establish no false-reuse rate or sound conditional kernel transport theorem. The candidate is conditional; no proven complete kernel semantic support or environment equivalence, no authenticated historical issuer, source/target authority, trusted axiom/policy, revocation or production |
|
Final exact-head duplicate-run check: the PR-triggered pinned Lean native workflow 38601974639 has also COMPLETED SUCCESS at the same head |
Objective
Implement a replay-free applicability screen under patched Lean 4.35.0, independently of the historical-certificate reference oracle established in draft #209. The screen's strongest output is
CONDITIONAL_IDENTITY_CANDIDATE; it cannot issueVALIDor production reliance.Research changes
lean_patched_preoracle_identity_v1.pyvalidates the historical source proof AST against its native source observation, source-file bytes and a separate--trust=0source recheck. It validates the independently observed unproved target claim against the exact historical statement AST and source payload, binds the source/target importedRTKPatchedSupport.oleanbytes to the same pinned patched executable digest, and rejects missing/forged authority or inconsistent native definition ASTs.opdefinition ASTs agree, emitCONDITIONAL_IDENTITY_CANDIDATE. If imported-module bytes differ, emitREVALIDATION_REQUIREDregardless of whether the relevant observed declaration changed. No target replay log, target proof, target oracle verdict, or external success label is an input..oleanimported as artifact in new target contextCONDITIONAL_IDENTITY_CANDIDATEADMISSIBLEREVALIDATION_REQUIREDADMISSIBLEop n := 0+nREVALIDATION_REQUIREDINADMISSIBLEop n := nplus unrelated definitionREVALIDATION_REQUIREDADMISSIBLEopAST, and all four decisions. Scientific limits are recorded indocs/RTK_PATCHED_PREORACLE_IDENTITY_V1.md.Nonclaims
Four public development fixtures establish neither a sound general kernel transport theorem nor a prospective false-reuse rate. A byte-equal imported module and a validated native source proof do not prove full
Environment/LocalContextequivalence, semantic-support completeness, independently authenticated issuer/provenance, axiom or relying policy, or revocation. The patched source module was checked by independent checker suite #209, but the target oracle remains the patched native kernel. Issues #195, #205 and held-out #177 stay open. No productionVALID; draft/unmerged.Exact-head GitHub Actions qualification pending.
Empirical correction on first native run
The first hosted patched run failed its expected equal-build candidate assertion because separately built, source-identical Lean 4.35
.oleanfiles were byte-different. All three preliminary predictions wereREVALIDATION_REQUIRED, correctly reflecting the conservative predicate. This is an actual limitation of whole-module binary identity across independent build contexts. The revised four-control protocol adds a carefully identifiedreusedvariant importing the exact source.oleanbytes into a distinct target-goal process, without importing the historical theorem. It preserves the independently rebuilt equal case as an unnecessary revalidation, not a false claim of binary reproducibility. The unrelated change is a second unnecessary revalidation. No target replay verdict was reached in the initially failing native run, and qualification of the revised protocol is pending.