Repository navigation
Sketch text: text in sketches (TTF/CFF fonts), the winding and text proofs, rustfmt #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
David-Bascom05
wants to merge
37
commits into
main
Choose a base branch
from
claude/repo-review-mbdrlj-rebase-sketch-text
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
2bfa11b
Sketch text: a composite glyph is the union of its components' region…
claude 932e257
verify/forge-text: sketch text's Lean specs (core only; not built her…
claude f1894bd
Cargo workspace: verify/forge-text is a Lean project, out of the work…
claude 505b4a1
research/sketch-text/gate-layout-diff.txt: the exact gate per functio…
claude de4c43f
verify/forge-text: built (Lean 4.36, core only, standard axioms); dec…
claude 9fee20b
verify/forge-text: WindingIsTopological proven from verify/winding2d …
claude 7b2bd24
forge-lang fonts: every shipped contour is simple in winding2d's sens…
claude 65b236d
forge-font: the simple-glyph reader and contour walk as an integer co…
claude 2d70a15
verify/aeneas/forge-font: glyf_core's contour walk proven against ver…
claude 60964b0
verify/aeneas/forge-font: read_simple proven (never fails on any byte…
claude 063a9e0
verify/aeneas/forge-sketch: winding::line translated (2 definitions; …
claude be95022
forge-font: the Type 2 charstring machine as an integer core (cff_cor…
claude 326b5b7
forge-font: cff_core's charstring loop proven (run_spec: for any byte…
claude 23bc2e0
verify/aeneas/forge-sketch: L5 started on verify/ieee754: one de Cast…
claude dd8d14e
forge-sketch winding: size bezier's rounding margin by the root piece…
claude d8e3762
Merge commit '9cc03e3' into claude/repo-review-mbdrlj-sketch-text
claude 668c026
verify/aeneas/forge-sketch: retranslated after round 6 (orient2d's so…
claude 5557c8f
forge-font: place a glyf outline by hmtx lsb - xMin, as FreeType and …
claude eadf348
Merge remote-tracking branch 'origin/main' into claude/repo-review-mb…
claude 0870264
forge-font: cargo fmt after merging main
claude 4cea860
aeneas: regenerate forge-font translation
David-Bascom05 589c390
Merge origin/main into #19
David-Bascom05 cbed8d0
verify/aeneas/forge-font: one_spec back inside the default heartbeats…
David-Bascom05 17dce34
Merge remote-tracking branch 'origin/main' into HEAD
David-Bascom05 cd47085
Keep holes in ordinary loop lists and check dependent text proofs
David-Bascom05 90374fb
Merge remote-tracking branch 'origin/main' into HEAD
David-Bascom05 b23ecc5
Refresh the sketch translation source location emitted by Aeneas
David-Bascom05 30af983
Scan subdivision leaf boundaries without three temporary vectors per …
David-Bascom05 9f5e094
Keep the buffered classifier for one train and compare adversarial le…
David-Bascom05 34b9026
Avoid empty per-entity allocations and temporary profiles on ordinary…
David-Bascom05 f380da6
Normalize a single checked profile directly and refresh translated so…
David-Bascom05 4beb021
Use the shared floating-point min/max model in the sketch proof
David-Bascom05 9784df2
Skip endpoint comparisons for disjoint sketch curves
David-Bascom05 f6aaf23
Use the shared Vec.clear model in the font proof
David-Bascom05 19cf57c
Reserve the known face-run and wall buffers before geometry evaluation
David-Bascom05 f7efcc4
Allocate each face query once for its known coedge count
David-Bascom05 724ac7e
Merge commit 'd991b4c4d5f59c07fafb1e0b3d226f37bb44702b' into HEAD
David-Bascom05 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Sketch text's Lean claims (verify/forge-text/lean): the placed outline is the font's, the | ||
| # winding rule, a text's region as the union of its glyphs' parts. `lake build` on the pinned | ||
| # toolchain (core Lean only, no Mathlib), then the axiom check: a `sorry`, `native_decide` or any | ||
| # axiom past propext, Classical.choice and Quot.sound fails the job. | ||
| name: lean-forge-text | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: ["verify/forge-text/**", "verify/winding2d/**", "kernel/forge-font/src/**", "kernel/forge-sketch/src/winding.rs", | ||
| ".github/workflows/lean-forge-text.yml"] | ||
| pull_request: | ||
| paths: ["verify/forge-text/**", "verify/winding2d/**", "kernel/forge-font/src/**", "kernel/forge-sketch/src/winding.rs", | ||
| ".github/workflows/lean-forge-text.yml"] | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| proofs: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| defaults: | ||
| run: | ||
| working-directory: verify/forge-text/lean | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: elan and the pinned toolchain | ||
| run: | | ||
| curl -sSfL https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -o elan-init.sh | ||
| sh elan-init.sh -y --default-toolchain none | ||
| echo "$HOME/.elan/bin" >> "$GITHUB_PATH" | ||
| "$HOME/.elan/bin/elan" toolchain install "$(cat lean-toolchain)" | ||
| - name: build and axioms | ||
| run: | | ||
| lake build | ||
| lake env lean Axioms.lean | tee axioms.txt | ||
| ! grep -E "sorryAx|ofReduceBool" axioms.txt | ||
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a PR changes only
verify/forge-text/**orverify/winding2d/**, this workflow builds the specification package but not the newForgeFontandForgeSketchbridges that import it. The existing.github/workflows/aeneas.ymlpath filters include neither directory, so that workflow does not run either. Consequently, specification changes can pass all triggered proof checks while breakingcontour_specorline_spec. Add these new dependency paths to the Aeneas workflow filters, or build the dependent bridge packages here.Useful? React with 👍 / 👎.