Skip to content

BS-23: certified authoring-notation layout algebra #424

Open

Description

@afflom

Scoped delivery child of #269, implemented by existing draft PR #417 (contributor: humuhumu33; queue head 5a061bb).

Scope: bootstrap/SurfaceDoc.renderDoc, matching surface::doc::render for text, concatenation, indentation, lines, soft breaks and groups at a width; width is counted in scalars. The node count bounds its explicit-stack loops.

Acceptance:

  • Run hand-built documents covering every node/width branch, documents built from committed JSON at three widths, and seeded documents against the Rust oracle under pinned rustc and the normative calculus evaluator.
  • Exercise all 21 planted defects on their own vectors.
  • Establish real pinned-Lean certification, exact declared rust-std effects without recursion, and the 3,145,728-byte certificate-part bound.
  • Complete required lock/export/golden writers; the certified committed package realizes the tested program. Require final source review and the complete final-head gate. Generic notation and closed-schema sugar printers remain outside this slice.

The current PR remains draft and its disclosed unrun work remains outstanding. This child does not close #269; the broader compiler integration and self-hosting acceptance remain there. Preserve contributor ownership and coordinate regeneration on the final integration head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions