Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
008f5bf
RB-24: the driver of a command root (source only; nothing built or run)
humuhumu33 Nov 3, 2026
9504a26
RB-24: a cfg condition as a str
humuhumu33 Nov 3, 2026
f31f6ef
RB-24: rustfmt on the case
humuhumu33 Nov 3, 2026
b70b546
RB-24: Want is Clone, two reference slips, a Cfg arm for the Lean twi…
humuhumu33 Nov 3, 2026
51844e9
Merge release/v0.4 (f1b70fe34) into RB-24
humuhumu33 Nov 9, 2026
83bb3f6
RB-24: the driver renders, builds and runs; its case passes
humuhumu33 Nov 9, 2026
905da88
RB-24: the renderer's record in language/semantics-1.2.toml
humuhumu33 Nov 9, 2026
c865916
Merge release/v0.4 (4dc5b803c, SL-13) into RB-24
humuhumu33 Nov 9, 2026
f92db0a
RB-24: the locks of the eighteen examples follow the compiler-semanti…
humuhumu33 Nov 9, 2026
9b7f34e
Merge release/v0.4 (aaf845507, the BS-25..34 batch) into RB-24
humuhumu33 Nov 12, 2026
7ecf568
RB-24: the locks of the projects release added follow the compiler-se…
humuhumu33 Nov 12, 2026
698f08e
RB-24: the fixture locks follow the compiler-semantics ID
humuhumu33 Nov 12, 2026
0917556
RB-24: the negative fixtures pin the rust-core descriptor the driver …
humuhumu33 Nov 12, 2026
364e6f6
Merge release/v0.4 (465b8ab00, the gate-speed changes) into RB-24
humuhumu33 Nov 12, 2026
bca7090
RB-24: the regenerated tree under the new compiler-semantics ID
humuhumu33 Nov 12, 2026
d3f7878
RB-24: the Lean twin of runtime semantics skips a cfg item; BS-09 and…
humuhumu33 Nov 12, 2026
fb47544
RB-24: the self-hosted runtime validator follows the driver's oracle
humuhumu33 Nov 12, 2026
682964b
ci: regenerate.yml finds a package's root in roots.json
humuhumu33 Nov 12, 2026
8b0a9ca
RB-24: the bootstrap project configures max_child_output_bytes 268435456
humuhumu33 Nov 12, 2026
0b77d72
RB-24: the regenerated tree with the driver's runtime validator
humuhumu33 Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 9 additions & 1 deletion .github/workflows/regenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,17 @@ jobs:
record_path.write_text(json.dumps(record, indent=2) + "\n")
sources = list(pathlib.Path("crates/conformance/src/cases").rglob("*.rs"))
cases = set()
# Each corpus's roots.json names the root a package exports; the
# case that runs the package names that root's member.
roots = {}
for corpus in ("bootstrap", "stdlib"):
listed = pathlib.Path("tests/production-export", corpus, "roots.json")
if listed.exists():
for entry in json.loads(listed.read_text()).get("roots", []):
roots[f"{corpus}/{entry['name']}"] = entry["root"].rsplit(".", 1)[-1]
for package in sorted(recursive - rows):
name = package.split("/", 1)[1]
root = name.split("_")[0] + "".join(part.title() for part in name.split("_")[1:])
root = roots.get(package) or name.split("_")[0] + "".join(part.title() for part in name.split("_")[1:])
owners = set()
for source in sources:
text = source.read_text()
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ workspace carried at those versions without a tag.

## Unreleased

- `RB-24`, the driver of a command root (#271). A `rust-std` root of the type of a
command's step gets `src/main.rs` beside `src/lib.rs`: a loop, printed from the
new language-1.2 module `RuntimeHost`, that calls the step and carries out each
request with one standard-library call (no signal API, no third-party crate).
The package manifest gains `entry`, the provenance gains `entry` and the digest
of `src/main.rs`, `RuntimeSyntax` gains the `cfgItem` item, the closed table of
the standard library grows from 51 to 121 names, and the validator gains the
rules `hidden-effect`, `cfg-condition`, `cfg-item`, and `cfg-pair`. The
language-1.2 compiler-semantics ID moves; 1.0 and 1.1 do not.
The register is 494 IDs.
- A one-pass writer for the counts of the bootstrap count cases, #92.
Under `LEXLEAN_COUNTS=fast` each of `BS-05` to `BS-08` and `BS-11` to
`BS-15` records every count it checks in `target/count-report/` instead of
Expand All @@ -27,6 +37,10 @@ workspace carried at those versions without a tag.
lists every number it cannot place unambiguously. A landing that moved
the counts took a run and a hand mirror per stage of the cases; it takes
one pass. Unset, the cases assert as before. The register is unchanged.
- The bootstrap project configures `max_child_output_bytes = 268435456` (SPEC.md
§17.23, the maintainer's decision): with `RB-24`'s runtime validator, Lean's
extraction of the project writes more than the 33,554,432 bytes it allowed. A
semantic input, so its lock and every package move.
- The bootstrap project configures `max_total_source_bytes = 536870912` (SPEC.md
§17.23): with `BS-27` its production export is 135,273,215 bytes, beyond the
134,217,728 it configured. A semantic input, so its lock and every package move.
Expand Down
5 changes: 3 additions & 2 deletions CONFORMANCE.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ just vv # the complete normative acceptance gate (SPEC.md §9.2)
just release # vv, then the §30 release criterion; refused until 1.0.0
```

All 493 registered conformance IDs have their named tests; `just vv` checks them with the pinned toolchain installed.
All 494 registered conformance IDs have their named tests; `just vv` checks them with the pinned toolchain installed.

The differential against the independent generator `lean4-prod` (SPEC.md §17.19, `OR-01`..`OR-08`) acquires it at its pinned commit: from the checkout `LEXLEAN_ORACLE_DIR` names, or by fetching the commit with `git` into the Cargo target directory (`LEXLEAN_ORACLE_CACHE` overrides), and builds it with the pinned Lean and Rust toolchains. It is validation evidence only and no input to any identity. An oracle that cannot be acquired, is not the pinned files, or fails is unavailable: that fails the gate on Linux x86-64 and is printed as `NOT VALIDATED` elsewhere, and is never reported as agreement.

Expand Down Expand Up @@ -185,7 +185,7 @@ Every row is validated by `just vv`; the IDs link the claim to its register row,
| Language-1.2 production eligibility: closed targets, effects, and construct dispositions; runtime closures; target-dependent, fail-closed root analysis; deterministic eligibility reports; an exhaustiveness audit; measured stack bounds for every recursive root a harness runs; the effect each host request realizes | `PD-01`..`PD-10` | `build` |
| Named-root extraction through Lean's compiler front end: an adapter that is a closed tooling module over a registry derived from the pinned Lean and probed on every extraction, checked against a handwritten oracle; a closed, canonical, root-independent compiler input; fail-closed rejection; and an exact closure cross-check against production eligibility | `NE-01`..`NE-06` | `build` |
| The production realization calculus: a closed target syntax with canonical identity, a kernel-checked denotation, a realization library agreeing with LexLean's own collection primitives, complete realization coverage of the production registry, and a differentially tested Rust profile | `TC-01`..`TC-07` | `build` |
| The canonical Rust backend: a closed, checked Rust AST whose every construct corresponds to the calculus; hygienic identifiers, single ownership with last-use and component moves, exact failure typing, and no hidden allocation; contiguous lists with constant-work cells; a closed runtime library boundary of stated machine primitives; deterministic packages with checked exports, a lint gate and crate attributes read from one embedded language module, and provenance that states the realization's effects | `RB-01`..`RB-21` | `build` |
| The canonical Rust backend: a closed, checked Rust AST whose every construct corresponds to the calculus; hygienic identifiers, single ownership with last-use and component moves, exact failure typing, and no hidden allocation; contiguous lists with constant-work cells; a closed runtime library boundary of stated machine primitives; deterministic packages with checked exports, a lint gate and crate attributes read from one embedded language module, and provenance that states the realization's effects | `RB-01`..`RB-24` | `build` |
| GNAF requests over the calculus: an optimizer-independent complete-system universe, a machine contract that accounts every action, scalar and Pareto orders without weighting, fail-closed validation, and kernel-checked answers and authority vectors | `GN-01`..`GN-08` | `build` |
| GNAF certification: certificates that prove a global optimum, an argmin, or a complete Pareto frontier over the request's declared universe (a grammar of systems, never all calculus or Rust programs) from a premise for every system, a library proving the checker sound, closed transformation schemas, local normality kept distinct from optimality, a bridge from a representation metric to execution cost, and honest non-global statuses | `GC-01`..`GC-11` | `build` |
| Semantic preservation from the source to the calculus: a validated lowering of every production root, a kernel-checked certificate per root relating the lowered program to the source denotation with exact width predicates, a differential evaluator, a proof library that is LexLean source (native core modules migrated once from the Lean it replaces, its Lean generated by the compiler) pinned by exact axioms, certificate checking in verification, a declared Rust machine on which every rendering is evaluated, certificate B relating every rendering to its program, certificate E composing them end to end on the declared Rust machine (the printer, export wrappers, and `rustc` are outside it and are measured by the rustc differential), boundary validators, a rustc differential of the declared machine, and certificates A and B as kernel-term data built by the production compiler, which carries no Lean text template | `SP-01`, `SP-02`, `SP-03`, `SP-04`, `SP-05`, `SP-06`, `SP-07`, `SP-08`, `SP-09`, `SP-10`, `SP-11`, `SP-12`, `SP-13`, `SP-14`, `SP-15`, `SP-16`, `SP-17`, `SP-18`, `SP-19`, `SP-20`, `SP-21`, `SP-22`, `SP-23`, `SP-25`, `SP-26`, `SP-27`, `SP-28`, `SP-29`, `SP-30`, `SP-32`, `SP-33` | `build` |
Expand Down
Loading