Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d0969f4
test(bootstrap): avoid discarded BS-15 full-library runs
afflom Nov 10, 2026
5088c0f
style(bootstrap): apply pinned rustfmt to assembly regression
afflom Nov 10, 2026
a342e22
Merge accepted BS-21 release base into BS-15 efficiency candidate
afflom Nov 10, 2026
614c978
docs: proposal for contracts on code LexLean did not generate (extern…
humuhumu33 Nov 12, 2026
513ea15
verify: every part names its toolchain by address
humuhumu33 Nov 12, 2026
78aa77f
Merge remote-tracking branch 'origin/release/v0.4' into uor/toolchain…
humuhumu33 Nov 12, 2026
8f63545
BS-72: the reasoning and text declarations and whole semantic modules…
humuhumu33 Nov 12, 2026
15e29d3
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 12, 2026
9903420
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 12, 2026
30ad21e
BS-72: the generated encoders and examples pass clippy
humuhumu33 Nov 12, 2026
3f0096f
ci: the bootstrap export's custody names executable addresses
humuhumu33 Nov 12, 2026
34c3ccd
Merge remote-tracking branch 'origin/release/v0.4' into uor/toolchain…
humuhumu33 Nov 12, 2026
eac0833
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 12, 2026
86b2e50
BS-72: the writers declare no axioms; the examples map with their bui…
humuhumu33 Nov 12, 2026
d92152f
The roots of BS-69, BS-70 and BS-72 are named after their packages
humuhumu33 Nov 12, 2026
aad5107
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 12, 2026
041b7ab
lexlean: build_identity is an internal module (CL-13)
humuhumu33 Nov 12, 2026
afc10a8
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 13, 2026
68061c8
Merge remote-tracking branch 'origin/release/v0.4' into uor/toolchain…
humuhumu33 Nov 13, 2026
e1e7349
x
humuhumu33 Nov 13, 2026
32f7103
Merge bs71-semantic-models (release b8b6e86a9) into bs72-semantic-rea…
humuhumu33 Nov 13, 2026
6c5452e
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 13, 2026
a614b46
Merge bs71-semantic-models (release fd7ceddd74) into bs72-semantic-re…
humuhumu33 Nov 13, 2026
b33e62e
Merge bs71-semantic-models into bs72-semantic-reasoning
humuhumu33 Nov 13, 2026
afe6c67
Merge branch 'release/v0.4' into dot/457-bs15-render-materialization
afflom Nov 13, 2026
a49071f
docs(proposals): address review 5875193015 on external contracts
claude Nov 13, 2026
29be144
docs(proposals): fold verification-memo (#508) into this docs carrier…
claude Nov 13, 2026
a5dc8bc
Merge bs71-semantic-models (release 6a02d2c7d5) into bs72-semantic-re…
humuhumu33 Nov 13, 2026
c4537d5
The lexicon schema, LSE scopes and LSE type checker as source, batch …
humuhumu33 Nov 13, 2026
ebe8911
The three hand-maintained register-count mirrors move to 499
humuhumu33 Nov 13, 2026
cd571f1
Batch-land BS-35..43 onto release/v0.4 (issue #269)
humuhumu33 Nov 13, 2026
c5efb24
Merge release/v0.4 (6a02d2c7d5) into uor/toolchain-addresses
humuhumu33 Nov 13, 2026
f8854bf
Merge pull request #459 from UOR-Foundation/dot/457-bs15-render-mater…
afflom Nov 14, 2026
65bfb48
model-write: regenerate CONFORMANCE.md for VR-23's new statement
humuhumu33 Nov 14, 2026
0be9184
Combine the grammar and lexicon batches onto release/v0.4 (issue #269)
humuhumu33 Nov 14, 2026
11f16b8
Merge pull request #498 from UOR-Foundation/uor/toolchain-addresses
humuhumu33 Nov 14, 2026
27e9804
Merge release/v0.4 (11f16b88db) into batch/bs35-52
humuhumu33 Nov 14, 2026
69de740
Merge pull request #492 from UOR-Foundation/docs/proposal-external-co…
afflom Nov 14, 2026
9d276f2
Merge batch/bs35-52 (27e9804899) and release/v0.4 (69de74007e) into b…
humuhumu33 Nov 14, 2026
a06853a
ci(bs72-landing): rebalance Intel lanes for the typed-IR parts
humuhumu33 Nov 14, 2026
785fa64
Fix README.md and CHANGELOG.md for the combined batch (issue #269)
humuhumu33 Nov 14, 2026
b78df3c
Merge fix/bs35-52-readme-changelog (785fa64b5c) into bs72-landing
humuhumu33 Nov 14, 2026
9f06458
ci(bs72-landing): bound the stack-bound measure step's concurrency
humuhumu33 Nov 14, 2026
806f207
ci(bs72-landing): bound the stack-bound measure step (copied ahead of…
humuhumu33 Nov 15, 2026
eee6add
ci(bs72-landing): bank eleven stack-bound rows measured by r18
humuhumu33 Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/bdd-parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,39 @@
"bootstrap-manifest-text": [
"BS-34"
],
"bootstrap-grammar-proof": [
"BS-35"
],
"bootstrap-semantic-print": [
"BS-36"
],
"bootstrap-semantic-read": [
"BS-37"
],
"bootstrap-core-json": [
"BS-38"
],
"bootstrap-core-print": [
"BS-39"
],
"bootstrap-core-read": [
"BS-40"
],
"bootstrap-grammar-math": [
"BS-42"
],
"bootstrap-proposition-terms": [
"BS-43"
],
"bootstrap-lexicon-schema": [
"BS-50"
],
"bootstrap-lse-scopes": [
"BS-51"
],
"bootstrap-lse-types": [
"BS-52"
],
"bootstrap-ir-term": [
"BS-65"
],
Expand All @@ -298,6 +331,9 @@
],
"bootstrap-semantic-models": [
"BS-71"
],
"bootstrap-semantic-reasoning": [
"BS-72"
]
},
"targets": {
Expand Down
8 changes: 4 additions & 4 deletions .github/intel-host-lanes.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"producer": ["honesty"],
"lanes": {
"lower": ["bootstrap-lower", "bootstrap-lexicon-lse", "bootstrap-lexicon-lre", "bootstrap-surface-module", "bootstrap-diagnostics", "bootstrap-cli-output"],
"print": ["bootstrap-print", "bootstrap-bodies", "bootstrap-succeed", "bootstrap-loops", "bootstrap-assemble", "bootstrap-package", "bootstrap-check", "bootstrap-gnaf", "bootstrap-runtime", "bootstrap-terms", "bootstrap-tooling-latex", "bootstrap-structural-grammar", "bootstrap-surface-lex", "bootstrap-surface-doc", "bootstrap-surface-generic", "bootstrap-surface-tooling", "bootstrap-lock-text", "bootstrap-content-id", "bootstrap-project-text", "bootstrap-manifest-text", "bootstrap-ir-term", "bootstrap-ir-proof", "bootstrap-ir-document", "bootstrap-semantic-types", "bootstrap-semantic-terms", "bootstrap-semantic-decls", "bootstrap-semantic-models"],
"validate": ["bootstrap-validate", "compiler", "preservation", "preservation-lists", "preservation-runtime", "preservation-support", "preservation-prims", "preservation-std", "production"],
"moves": ["bootstrap-moves", "verification", "rest"]
"lower": ["bootstrap-lower", "bootstrap-lexicon-lse", "bootstrap-lexicon-lre", "bootstrap-surface-module", "bootstrap-diagnostics", "bootstrap-cli-output", "bootstrap-semantic-print", "bootstrap-core-print", "bootstrap-proposition-terms", "bootstrap-lexicon-schema", "bootstrap-lse-scopes", "bootstrap-lse-types", "bootstrap-semantic-models"],
"print": ["bootstrap-print", "bootstrap-bodies", "bootstrap-succeed", "bootstrap-loops", "bootstrap-assemble", "bootstrap-package", "bootstrap-check", "bootstrap-gnaf", "bootstrap-runtime", "bootstrap-terms", "bootstrap-tooling-latex", "bootstrap-structural-grammar", "bootstrap-surface-lex", "bootstrap-surface-doc", "bootstrap-surface-generic", "bootstrap-surface-tooling", "bootstrap-lock-text", "bootstrap-content-id", "bootstrap-project-text", "bootstrap-manifest-text"],
"validate": ["bootstrap-validate", "compiler", "preservation", "preservation-lists", "preservation-runtime", "preservation-support", "preservation-prims", "preservation-std", "production", "bootstrap-semantic-read", "bootstrap-core-read", "bootstrap-semantic-reasoning", "bootstrap-semantic-types"],
"moves": ["bootstrap-moves", "verification", "rest", "bootstrap-grammar-proof", "bootstrap-core-json", "bootstrap-grammar-math", "bootstrap-ir-term", "bootstrap-ir-proof", "bootstrap-ir-document", "bootstrap-semantic-terms", "bootstrap-semantic-decls"]
}
}
108 changes: 108 additions & 0 deletions .github/vv-rows.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,105 @@
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-grammar-proof",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-grammar-proof",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-semantic-print",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-semantic-print",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-semantic-read",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-semantic-read",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-core-json",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-core-json",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-core-print",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-core-print",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-core-read",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-core-read",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-grammar-math",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-grammar-math",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-proposition-terms",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-proposition-terms",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-lexicon-schema",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-lexicon-schema",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-lse-scopes",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-lse-scopes",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-lse-types",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-lse-types",
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-ir-term",
"recipes": "bdd",
Expand Down Expand Up @@ -421,5 +520,14 @@
"width": "",
"memory_kib": "",
"hints": ""
},
{
"part": "bdd-bootstrap-semantic-reasoning",
"recipes": "bdd",
"examples_part": "",
"bdd_part": "bootstrap-semantic-reasoning",
"width": "",
"memory_kib": "",
"hints": ""
}
]
97 changes: 95 additions & 2 deletions .github/workflows/regenerate.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ jobs:
sudo mkswap "$RUNNER_TEMP/lexlean-regenerate.swap"
sudo swapon "$RUNNER_TEMP/lexlean-regenerate.swap"
sudo sysctl vm.swappiness=10
- name: Refresh the project locks
shell: bash
run: |
set -euo pipefail
cargo build -q -p lexlean
L="$PWD/target/debug/lexlean"
for p in bootstrap stdlib compiler; do (cd "$p" && "$L" lock); done
- name: Run the write recipes
shell: bash
env:
Expand All @@ -114,6 +121,11 @@ jobs:
set -euo pipefail
mkdir -p "$RUNNER_TEMP/part"
git add --all
# Every writer refreshes the locks, because its recipes read them; one
# writer reports them, or `combine` sees three parts write one path.
if [ "${{ matrix.writer }}" != production-export ]; then
git reset -q -- bootstrap/lexlean.lock stdlib/lexlean.lock compiler/lexlean.lock
fi
git diff --cached --binary > "$RUNNER_TEMP/part/${{ matrix.writer }}.patch"
git diff --cached --name-only | tee "$RUNNER_TEMP/part/${{ matrix.writer }}.files"
echo "${{ matrix.writer }}: $(wc -l < "$RUNNER_TEMP/part/${{ matrix.writer }}.files") paths" >> "$GITHUB_STEP_SUMMARY"
Expand Down Expand Up @@ -248,6 +260,11 @@ jobs:
# cores go to a plain file under a zero limit: none is written.
sudo sysctl -w kernel.core_pattern=core
ulimit -c 0
# A runner that runs out of memory loses its agent and leaves no log
# of why, so the free memory goes to the log once a minute.
( while true; do echo "memory $(date -u +%H:%M:%S) $(free -m | awk '/^Mem:/ {print "used=" $3 "M available=" $7 "M"} /^Swap:/ {print "swap=" $3 "M"}' | tr '\n' ' ')"; sleep 60; done ) &
trace=$!
trap 'kill "$trace" 2>/dev/null || true' EXIT
# Rows for packages no longer in the exports are dropped; for each
# recursive package without a row, the case whose source names its
# root runs whole and measures it (`LEXLEAN_MEASURE_STACK=all`).
Expand Down Expand Up @@ -298,8 +315,84 @@ jobs:
exit 0
fi
echo "measuring: $cases" | tee -a "$GITHUB_STEP_SUMMARY"
LEXLEAN_MEASURE_STACK=all cargo test -p repo-conformance --all-features --test conformance -- $cases --nocapture 2>&1 \
| grep -E --line-buffered 'debug [0-9]+ bytes|test result|panicked|^test '
# Three runs on 2026-11-14 lost their runner while several of these
# cases measured at once. Alone, BS-36 left 7 GiB of this runner's
# 16 GiB available and BS-72 measured 10 to 12 GiB, so these run one
# at a time and the rest two at a time.
heavy="conformance_bs_36 conformance_bs_69 conformance_bs_70 conformance_bs_71 conformance_bs_72"
light=""
heavy_cases=""
for case in $cases; do
is_heavy=0
for h in $heavy; do
if [ "$case" = "$h" ]; then
is_heavy=1
break
fi
done
if [ "$is_heavy" = 1 ]; then
heavy_cases="$heavy_cases $case"
else
light="$light $case"
fi
done
# A job's own 360-minute limit cancels this step outright if it is
# reached, and a cancelled job skips every later step, so the tree
# never returns and a row measured seconds before the limit is
# lost with everything else. Each row is instead written to
# tests/stack-bounds.json as it is measured (stack_bounds.rs
# record_row/rewrite), so a step that fails, rather than being
# cancelled, still returns whatever is already on disk. Stop
# ourselves inside a budget comfortably under the job's own limit,
# so a run that cannot finish everything fails cleanly instead of
# being cancelled, and keeps every row it reached.
step_start=$(date +%s)
deadline_s=$((320 * 60))
overall_status=0
remaining() {
local now elapsed left
now=$(date +%s)
elapsed=$((now - step_start))
left=$((deadline_s - elapsed))
if [ "$left" -lt 0 ]; then
left=0
fi
echo "$left"
}
if [ -n "$light" ]; then
left=$(remaining)
if [ "$left" -gt 0 ]; then
echo "measuring (threads=2, budget ${left}s): $light" | tee -a "$GITHUB_STEP_SUMMARY"
if ! timeout "${left}s" env LEXLEAN_MEASURE_STACK=all cargo test -p repo-conformance --all-features --test conformance -- $light --test-threads=2 --nocapture 2>&1 \
| grep -E --line-buffered 'debug [0-9]+ bytes|test result|panicked|^test '; then
overall_status=1
fi
else
echo "no time left in the ${deadline_s}s budget; skipping: $light" | tee -a "$GITHUB_STEP_SUMMARY"
overall_status=1
fi
fi
# Heavy cases already run one at a time; looping them individually
# (instead of one --test-threads=1 invocation over all of them)
# costs nothing and prints exactly when each one starts and ends.
for case in $heavy_cases; do
left=$(remaining)
if [ "$left" -le 0 ]; then
echo "no time left in the ${deadline_s}s budget; skipping: $case" | tee -a "$GITHUB_STEP_SUMMARY"
overall_status=1
continue
fi
started=$(date +%s)
echo "$case: started $(date -u +%H:%M:%S) (threads=1, budget ${left}s)" | tee -a "$GITHUB_STEP_SUMMARY"
if ! timeout "${left}s" env LEXLEAN_MEASURE_STACK=all cargo test -p repo-conformance --all-features --test conformance -- "$case" --test-threads=1 --nocapture 2>&1 \
| grep -E --line-buffered 'debug [0-9]+ bytes|test result|panicked|^test '; then
overall_status=1
fi
ended=$(date +%s)
mins=$(( (ended - started) / 60 ))
echo "$case: ended $(date -u +%H:%M:%S), ${mins}m" | tee -a "$GITHUB_STEP_SUMMARY"
done
exit "$overall_status"
- name: Return the regenerated tree
if: ${{ !cancelled() }}
shell: bash
Expand Down
Loading
Loading