Repository navigation
Conversation
|
@afflom @humuhumu33 Full ready-for-review gate run 39117291459 is 25/25 green ( This PR closes #187 (#178, #180, #182) with zero changes under
|
… and coverage (#187)
1e1a375 to
034fd36
Compare
|
Rebased cleanly onto |
|
Maintainer: this PR's head Generated by Claude Code |
…), and the Census windows as width-100 pieces (#168) (#191) Closes #177 Closes #187 Closes #168 Members: #189 (certificate data builders linear in match arms), #188 (SPEC generation bounds, CL-17 env-read gate, member-review text and coverage), #175 (CensusCert4/CensusCert10 from width-100 pieces). Host matrix limit 240 while BS-02 runs on every host (#190). Gate: run 39145765325 on 7f2a00d, 25/25 green, 698 runner-minutes. Merged by the maintainer on the owner's rule: green gate and the linked issues' DoD met.
|
Landed through wave 3, #191, merged to Generated by Claude Code |
Closes #187 (covering #178, #180, and #182).
Summary
Generation bounds in
SPEC.md§17.17 andSP-02([v0.4] Certificate generation is bounded as SPEC §17.17 and SP-02 say, or they say how it is bounded (follow-up to #167) #178):SPEC.md§17.17 with the exact description of what bounds certificate generation today: lowering's LP lower bound (COSTS_A,COSTS_B,COSTS_E) and certificate B's field-read floor (8bytes per pattern entry) before generation; certificate B's 12-byte-per-node floor (NODE_BYTES) during derivation (under which record-read nodes averaging ~35 bytes in the recorded notation can reach ~3xmax_file_bytes); and the finished-certificate notation weight check (record_sourceagainstmax_file_bytes) before any file is staged or Lean is started.SP-02inmodel/ids.toml,SPEC.md,CONFORMANCE.md, andfeatures/suites/preservation.featureto state how generation is bounded and that a mixed shape fitting at full scale 256 is checked to fit and not edge-checked (cases/preservation.rs:425).tests/negative/certificate-generation-limitpeak-size refusal (8,513,069bytes against4,194,304,2.03xthe limit) and theconformance_sp_02generation-bound checks inVERIFICATION.md.No undeclared environment variables in the compiler crate (
CL-17, [v0.4] The compiler reads no environment variable beyond the four of §23.1 (follow-up to #167) #180):LEXLEAN_AXDBG,LEXLEAN_SHOW, andLEXLEAN_SHOW_FILEfromcrates/lexlean/src/production/certificate/data_a.rsand removesLEXLEAN_SHOWfromALLOWEDincrates/conformance/src/lean_literals.rs.conformance_cl_17(crates/conformance/src/cases/cli_api.rs) withundeclared_env_reads, scanning all.rssources undercrates/lexlean/src(comments and#[cfg(test)]items blanked) forenv::var,env::var_os,env::vars, andenv::vars_osoutside §23.1's four operational variables,cli.rs's"NO_COLOR", and the toolchain/process locators"HOME","PATH", and"ELAN_HOME", plus a plantedstd::env::var("LEXLEAN_AXDBG")check on a copy ofdata_a.rs(recorded inVERIFICATION.md).Leftover text and test coverage ([v0.4] Text and coverage left from the v0.4 train's member reviews (follow-up to #167) #182):
SPEC.md§17.17 (COSTS_Bderivation prose, mixed shapes fitting at full scale 256, closure sizes in the recorded notation,compiled: falseon certificate B'sprogram/krate/flagsrows instead of text-eranoncomputable, and the reconciledlean_text_legacy/ non-moduleexplanation).SPEC.md§17.12 Rule 10 (Binder hygiene) for root-qualified byte literals (_root_.ByteArray.mk,_root_.UInt8.ofNat (nat_lit n),let __byteN),VERIFICATION.md'smaxRecDepthbisection note, andconformance_md_02soembedded_artifact_octetsreads back all 8 artifact*.bytesdefinitions acrossRecognizerandTriage....placeholder inVERIFICATION.mdwith the exactLLV7002output fromconformance_md_13's skewed seeded scale-ratio check, updatesCHANGELOG.md'sModels.Recognizertheorem count (47 theorems: 43 in Models.Recognizer, 4 in Models.Main) and match-arm capacity note (420to240constructors under defaultmax_file_bytes), and extendsconformance_md_13's seededbinary64loop to cover unsigned 64-bit integer inputs inSPEC.md§17.12 Widening conversions rule 2 and extendsconformance_sm_32with a certified production rootwidenWideoverUInt64andInt64tested atu64::MAX.