Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8463c80
#276 SL-11: the register row, the §31 table and prose, the scenario, …
humuhumu33 Oct 29, 2026
b6a3bf4
#276 SL-11: the case wired and registered to fail first (R3)
humuhumu33 Oct 29, 2026
85a3ad6
#276 SL-11: LexLeanStd.Json, its differential, the export roots and t…
humuhumu33 Oct 29, 2026
a91e508
#276 SL-11: the case reports the first disagreement of the planted wr…
humuhumu33 Oct 29, 2026
ac67926
#276 SL-11: the falsifiability record of the planted writer
humuhumu33 Oct 29, 2026
f4b18d0
#276 SL-11: the §17.22 prose states the shape, not a false reason for it
humuhumu33 Oct 30, 2026
586ec1d
Merge #364's head, which holds release/v0.4, into member 3 (SL-11)
humuhumu33 Nov 3, 2026
9525f0e
#276 SL-11: the locks of stdlib and its consumers on release/v0.4
humuhumu33 Nov 3, 2026
71be40f
Merge release/v0.4 (c613290b8) into member 3 (SL-11): the register is…
humuhumu33 Nov 4, 2026
0f35970
#276 SL-11: the locks of stdlib and its consumers on the merged line
humuhumu33 Nov 4, 2026
052f537
Regenerate the Json packages' export, stack bounds and build oracles …
humuhumu33 Nov 5, 2026
1093a7a
SL-11: the verify records of stdlib with Json
humuhumu33 Nov 5, 2026
b7ff581
Json's three packages move the counts of BS-05 to BS-08 and BS-13 to …
humuhumu33 Nov 5, 2026
87832e6
Merge release/v0.4 at 55be5514c into member3-json: the register is 476
humuhumu33 Nov 5, 2026
534a8dd
Keep the Json roots in the stdlib export list the merge dropped
humuhumu33 Nov 5, 2026
a531b43
Regenerate the Json packages' lock, export and build oracles on relea…
humuhumu33 Nov 5, 2026
3d3d833
SL-11: the verify records of stdlib with Json on release/v0.4 at 55be…
humuhumu33 Nov 5, 2026
7dcbcaa
Json's three packages move the counts of BS-05 to BS-08 and BS-13 to …
humuhumu33 Nov 5, 2026
017740b
R4: no deferral phrase in the Json counts note of VERIFICATION.md
humuhumu33 Nov 5, 2026
e5fea50
BS-05, BS-06: the run and vector totals on the Json packages
humuhumu33 Nov 5, 2026
0f76aa5
BS-06: one more printCrate vector within the evaluator's bound
humuhumu33 Nov 6, 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
  •  
  •  
  •  
10 changes: 10 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

- Canonical JSON writing in the standard library, the third member the
self-hosted compiler needs, #276 (SPEC.md §17.22, `SL-11`). The module
`LexLeanStd.Json` holds the recursive value of §21.7 and the production
roots `writeJson`, `writeJsonFile`, and `escapeString` for `rust-std`, held
to `canonical_json::Json::to_canonical_string` and `to_file_bytes`: keys in
UTF-8 byte order with the last of a repeated key kept, shortest integers,
the required escapes, no whitespace. `stdlib/lexlean.toml` gains the
entrypoint, so the locks of `stdlib` and its consumers move, and the three
packages move the counts `BS-05` to `BS-08` and `BS-13` to `BS-15` assert.
The register is 476 IDs.
- Induction over a nested inductive type, #278 (SPEC.md §16.9, §17.10, §17.12,
`SM-37`). A new proof step, `nested_induction`, proves a statement about a
value of a nested inductive type (a type with a constructor that holds
Expand Down
15 changes: 8 additions & 7 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 475 registered conformance IDs have their named tests; `just vv` checks them with the pinned toolchain installed.
All 476 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 @@ -196,7 +196,7 @@ Every row is validated by `just vv`; the IDs link the claim to its register row,
| Language-1.2 compiler-tooling modules: a closed, typed program over a registry of the external Lean interface (types with exact constructors and index requirements, calls with exact signatures), with flat index-exhaustive matching, licensed partial and mutual recursion, complete recursive traversal, command registration, invocation and evaluation as semantic data, both backends from one linked value, and no member that holds Lean text | `TL-01`..`TL-11` | `build` |
| The language-1.2 authoring notation: a readable `.lex.tex` text for a semantic module, in bijection with its canonical JSON, whose every position and variant is read from the schema, with readable forms for types and terms and a generic form for every other value, formatted canonically by `fmt` failing closed, the only form in which a language-1.2 source of the product is written (the data form is refused under language 1.2, and `lexlean::sdk` is the explicit conversion), the same for the compiler-tooling modules in the generic notation, with no compiler-semantics ID that depends on which form an embedded module is written in, with no product source owned by a generator but five named records, read and written by programs only through the authoring API (`lexlean::sdk`), and, for a native core module, a readable program over the shared table of kernel terms whose numbering is the order of its text | `AU-01`..`AU-13` | `build` |
| The runtime of generated Lean as native modules: the portable, collection, model, and reasoning runtimes of language 1.2 are LexLean source that every generated module imports, migrated losslessly and audited against their exact axioms, the released runtime text of languages 1.0 and 1.1 is frozen data equal to their released output, and no other Lean runtime text remains in the compiler but the decoder of core module 2 | `RT-01`..`RT-04` | `build` |
| The standard library: language-1.2 source beside the compiler whose members are certified production roots, each validated against its oracle by a seeded differential of its evaluator and rustc realizations; bytes and text over `Bytes`, an output buffer of a given capacity written in order; decimal and hexadecimal; the byte order and stable sorts over it; SHA-256 against FIPS 180-4, the NIST CAVP vectors, and the `sha2` crate; and the `std-models` and `std-reasoning` source packages, generic over types, whose laws are kernel-checked theorems and whose application is the `helpdesk` example | `SL-01`, `SL-02`, `SL-03`, `SL-04`, `SL-05`, `SL-09`, `SL-10` | `build` |
| The standard library: language-1.2 source beside the compiler whose members are certified production roots, each validated against its oracle by a seeded differential of its evaluator and rustc realizations; bytes and text over `Bytes`, an output buffer of a given capacity written in order; decimal and hexadecimal; the byte order and stable sorts over it; canonical JSON writing; SHA-256 against FIPS 180-4, the NIST CAVP vectors, and the `sha2` crate; and the `std-models` and `std-reasoning` source packages, generic over types, whose laws are kernel-checked theorems and whose application is the `helpdesk` example | `SL-01`, `SL-02`, `SL-03`, `SL-04`, `SL-05`, `SL-09`, `SL-10`, `SL-11` | `build` |
| The bootstrap project: the compiler's own components as language-1.2 source compiled by LexLean's production pipeline to certified Rust packages, the exact axiom-output parser and its closed Lean-name check, the primitive scanner of §12.2, the preservation lexer and token audit, the target calculus's checker, the Rust crate validator, the Rust printer, the runtime syntax validator, the failure typing and the types of the Rust lowering, its last-use moves, its literal values and its terms, the package renderer, the GNAF request validation, and the LaTeX of a tooling module, each held to the Rust it replaces (the stage-0 oracle) by the committed vectors and a seeded differential of its evaluator and rustc realizations, with planted defects detected and the production export committed | `BS-01`..`BS-20` | `build` |
| Source packages: a language-1.2 project imports the modules of a locked, content-addressed package of its workspace: `[[source_package]]` and `lexlean-workspace.toml`, the pins in `lexlean.lock` recomputed by every command, imports closed at link, no re-export of a package's production roots, and the package's modules replayed by the importer's `verify` with their origin in the records | `PK-01`..`PK-05` | `build` |
| The literal `nat-add-zero` example, the Lean-verified feature examples, and the complete negative fixture suite | `EX-01`..`EX-09` | `build` |
Expand Down
Loading
Loading