Repository navigation
Syntax quotations - #80
Merged
Merged
Conversation
Kha
force-pushed
the
quot
branch
2 times, most recently
from
December 10, 2019 17:47
7bb2a8a to
e13d03d
Compare
Kha
force-pushed
the
quot
branch
2 times, most recently
from
December 10, 2019 22:57
c8aa6f1 to
422066e
Compare
ChrisHughes24
pushed a commit
to ChrisHughes24/lean4
that referenced
this pull request
Dec 2, 2022
Moving `Mathport/Prelude/*` out of mathport into mathlib4. I've added a README that will hopefully help bystanders: ``` Mathport prelude === This directory contains instructions for `mathport`, helping it to translate `mathlib` and align declarations and tactics with `mathlib4`. (These files were formerly part of `mathport`, in the directory `Mathport/Prelude/`.) `SpecialNames.lean` : Contains `#align X Y` statements, where `X` is an identifier from mathlib3 which should be aligned with the identifier `Y` from mathlib4. Sometimes we need `#align` statements just to handle exceptions to casing rules, but there are also many exceptional cases. `Syntax.lean` : Contains unimplemented stubs of tactics which need to be migrated from Lean3 to Lean4. When porting tactics, you can move the relevant stubs to a new file and use them as a starting point. Please make sure this file stays in sync with new tactic implementations (and in particular that the syntax is not defined twice). Please preserve the syntax of existing mathlib tactics, so that there are no unnecessary parse errors in the source files generated by `synport`. It is fine to fail with an error message for unimplemented features for now. ``` Co-authored-by: Scott Morrison <[email protected]>
FawadHa1der
added a commit
to FawadHa1der/lean4
that referenced
this pull request
Nov 2, 2026
… every app runs HARDENING leanprover#51 and leanprover#80 shipped because no check asked a shared environment (wasmCompile's cache, a snapshot, the resident FileWorker's registry) for its own facts when it served a file of another module-ness. Block 7 asserts each fact against a FIXED native stock v4.35.0 value (eb6cafb, computed 2026-11-01 from the probe files, command line and editor level), never against this runtime's CLI. A fact passes on its stock value unless R10_ALLOW names the deviation (superset, unexposed, serverDocs, covered); then only the listed value passes, so a deviation that disappears fails until its entry goes. Cells: - exact: five parity probes ride on block 6's persistent run (no extra boot); - snapshot: the gate bakes its own init.snap (node-runner --incr-header-save, stopped once the file is stable; nothing of QED64's), and persistent-probe's new --snapshot loads it through lean_wasm_load_snapshot_mem with an empty --lib, so only the snapshot can serve the compiles; - optional inputs, each a note when absent and exit 2 when given but unusable: --mathlib-lib (a real `import Mathlib.…` header; the tree must pair with the artifact's Init/Prelude.olean and carry .olean.server), --resident-probe (QED64's resident FileWorker driver on the gate's init.snap) and --resident-snap-dir (the covered cell on QED64's init + umbrella snapshots). When the resident probe has --probe-file (QED64 review R4), the parity probes also run through the FileWorker and are judged at stock's editor level. Facts: isModule, plainPrivate, publicUse, importedDocs/realDocs, publicScope (>= stock), a compile-time attribute without `meta` (legacy accepts, module refuses), `decide` on an unexposed body, Mathlib use, and in the covered cell the module count (>= stock). Also: persistent-probe gains --lib and --snapshot; runChild an optional stopWhen; the gate's child count is 13; the package CI checks two of the new probes ship. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.