Repository navigation
[0.5.0] #112: SPEC §3 and §4 state production compilation and its optimality guarantee - #286
Conversation
§3 lists a Rust package per production root and target as an output, and states that production compilation exists so that every production root is certified optimal over its declared universe (§17.15, §17.18); a root is claimed optimal by its certificate and by nothing else (§24.7). §4.1 adds production compilation (§17.13-§17.19, §24.7) to what language 1.2 supports. §4.2 adds three non-claims: optimality over an unrestricted universe, representation minimality as execution optimality without a proved bridge, and wall time established by a certificate. README "What it does" ties the statement to the PD, TC, RB, SP, GN, GC and PX IDs (RP-11). Edited through `cargo xtask spec`; SPEC.md regenerated. No register row: no capability changes. Register 443. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Maintainer: read, and in the Generated by Claude Code |
|
Maintainer review of #285 merged into Generated by Claude Code |
|
Merged Only Checked: Not run: |
|
Maintainer: merged into Generated by Claude Code |
…runtime-bounds CHANGELOG and VERIFICATION keep both sides, the line first. README and the PF-24 entry count 445 registered IDs (AU-14 landed on the line). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…fy-hypotheses # Conflicts: # CHANGELOG.md
…e-116-overflow-bound CHANGELOG keeps both sides, the line first; VERIFICATION auto-merged. README counts 448 registered IDs (AU-14 and RP-17 landed on the line); SPEC.md takes the line and is regenerated by validate-model --write. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Closes #112 (L1.1 of #106). Draft; base
release/v0.5at2959a4db2. Register stays at 443.What changes
SPEC.md §3 and §4, edited in
spec/src/Chapter03.lex.texandChapter04.lex.texwithcargo xtask spec(replace-blocktwice,insert-afterthree times) and regenerated. README "What it does" gains one paragraph; CHANGELOG one entry.§3, the output list gains item 7:
§3, two new paragraphs after "The document is a program.":
§4.1, after the list:
§4.2, three items appended to the list (C3, C4, C5 of #106):
Each qualification cites the rule that already enforces it: §17.15 validation rule 12 (
uncovered_scope), §17.18 route 4 (bridge_missing, statusrepresentation_minimal), and §27.3 (anopenmeasurement is never acceptance evidence).IDs (RP-11)
No new IDs. The README paragraph ties the statement to the rows that carry it:
PD-01..PD-08,TC-01..TC-07,RB-01..RB-14,SP-01..SP-20,PX-01..PX-13for the path;GN-03(universe fixed before any optimizer),GC-03,GC-04(certificates over every system),PX-06(export binds the evidence);GN-05(no claim beyond the grammar universe) andGC-07(bridge) for the qualifications. RP-11's capability table is unchanged and still claims every registered ID.Why no register row (R3)
The amendment adds no capability and changes no behaviour; it states in §3 and §4 what §17.13–§17.19 and §24.7 already specify, as #231–#233 did for their prose sections. A row is the right carrier for the guarantee's enforcement, and that is #121 (L4.3): export requiring a
global_optimalcertificate, with PX-06 changed and a new error.One wording choice for the maintainer
§24.7 and PX-06 treat GNAF evidence as optional at export today. A sentence "every production root is certified optimal" would contradict that. So §3 states the guarantee as the purpose of production compilation and says what holds now: a root is claimed optimal only by its certificate, and a root exported without one carries no optimality claim. This stays true after #121, which then removes the case. If you would rather §3 state the guarantee as a present MUST, say so and I will change the two sentences.
Sibling work
#113 (§2.3, §30 release identity) is in flight on the same line in another session. This PR touches only §3, §4, README "What it does" and the CHANGELOG top. The §4 headings still say "LexLean 1.0"; I left them, since release identity is #113's. If #113 lands first, this rebases on it; no register number is taken here, so nothing renumbers.
Gates run (WSL, at this head)
cargo xtask validate-model: documents current, 443 IDs, every audit clean (deferral, source authority).cargo xtask validate-spec-links: 443 rows bijective.cargo fmt --all -- --check.conformance_rp_01..rp_16andconformance_ns_01..ns_07: all pass.ns_01(Lean verify ofspec/) first failed with Lean's "failed to create thread" under myulimit -vmemory cap and passed on rerun without the cap atLEXLEAN_VERIFY_WIDTH=2.Not run: clippy (no Rust changed), the bdd meta-gate (no feature file changed), the full
just vv.🤖 Generated with Claude Code