Skip to content

Import the 28-state Brocard Turing machine - #1030

Merged
Vilin97 merged 7 commits into
mainfrom
feature/acquisition-20261126-brocard
Nov 26, 2026
Merged

Vilin97 merged 7 commits into
mainfrom
feature/acquisition-20261126-brocard

Conversation

@Vilin97

@Vilin97 Vilin97 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Ready for review. Imports Daniel Veljjanoski’s 28-state binary Turing machine for Brocard’s problem and the proof of its blank-tape halting equivalence. The machine halts exactly when some natural number (n > 7) makes (n! + 1) a square. The reduction gives a concrete small-state machine for the open problem raised in Gasarch’s September 2026 SIGACT News column.

Source and scope

  • The 28-state construction appeared in the public upstream PR on November 9, 2026 at 16:34:57 UTC and landed on November 11 at 09:07:05 UTC. The import pins Apache-2.0 revision 481f4e3e39907304dbcad33e508bf21d80c6d5a6. Veljjanoski credits Claude for assistance with the machine and proofs. The project card records mixed provenance across the two developments. Upstream PR · Source and license
  • The proof connects the literal transition table to the factorial multiplication loop, triangular-number test, residue gate, and arithmetic square criterion. It reuses the Goldbach project’s tape, finite-step and reachability API. Two proof modules and the revised card complete the import. Both machines now import a shared binary tape and finite-execution module. Its declarations keep their original names for existing callers.

Port and validation

  • Ported to Lean 4.36.0, Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842, and Tau Ceti 0642eae29e0a59ef798d04de325386445906e755. The table is a Lean literal corresponding cell for cell to the upstream artifact. The startup proof replays the four transition segments with explicit rewrite lists and the blank-tape equality. The one-symbol tape append facts reuse the general append lemmas, and individual tape moves use the shared step API. The successful and failed test paths share the proof that the erasure states return to the next round. The copy and chunk-test branches each use a shared prefix trace.
  • Matched Azure VM builds kept the pinned dependencies cached and cleared the affected local module outputs before running lake --no-ansi --no-cache build LeanPool.CryptidsGoldbach.Imports. At the revised head, wall time fell from 20.27 s to 9.81 s compared with the first warning-free port. The machine module used 130,009 → 95,188 synchronous command heartbeats in Lean’s maxHeartbeats units. Its wall times were 9.7 s and 6.3 s under shared-host load.
  • The exact-head warning-free build, generated-index preflight, text style, declaration lint, card endpoint check, axiom closure, prohibited-mechanism audit, and compiler-message audit passed locally. The project declaration linter covered 676 declarations across nine modules. All 56 table entries match the source artifact.
  • Greptile identified the published source link and repeated scans. The card now links to the pinned revision that contains both developments, and the original Goldbach revision is recorded separately. Shared scan lemmas remove the four repeated inductions.
    The GPT follow-up prompted the shared MachineSupport module and the explicit last startup trace. The Brocard proof’s compiler dependency inventory now contains the shared machine modules and excludes the Goldbach simulation.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

No blocking code issue was found; external source checks remain unverified.RetriggerView in Greptile

[Medium impact] No blocking code issue was found; external source checks remain unverified.

Summary

Adds the 28-state Brocard machine and proves that it halts exactly when some natural number greater than seven has square factorial-plus-one.

  • A 28-state machine halts exactly when a number above seven makes n! + 1 a square.
  • Goldbach and Brocard proofs share the same tape and finite-run helpers.

Reviews (7) · Last reviewed commit: "Share the Brocard copy and chunk-test tr..." · Reviewed by Greptile

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Brocard reduction at 3a13a5ab checks out. The published project card needs the source pin that includes it.

  • All 56 transition cells match the pinned 28-state artifact, including the undefined transition that halts the machine. The proof starts in state zero on the blank tape, suppresses the known solutions, and establishes both directions of the halting equivalence for a square n! + 1 with n > 7. I found no duplicate in Lean Pool, Mathlib, or Tau Ceti. Pinned transition table
  • The published card uses source.url and omits brocard_url. Update the canonical URL and commit to 481f4e3, which contains both developments, and retain f873434 as the Goldbach port’s origin. The existing Goldbach proofs and their statements are unchanged. Both new modules retain the upstream attribution and note the port changes. Upstream comparison
  • Reusing the existing tape-sweep proofs is a maintainability improvement. The current sweeps support the verified reduction without changing the shared execution API.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source approved at 74290ba3. The canonical source link now reaches the pinned Brocard artifact.

The four Brocard wrappers specialize the two shared sweep proofs with the same tape symbols and effects, including the rightward erase. The original Goldbach sweep signatures and the Brocard transition table and halting equivalence are preserved. Earlier review

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 39.28 s (= 0.65 min) — user 14.55 s, sys 4.25 s.

This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget.

A base→head comparison was attempted but its measurements are unavailable (see the run log); modified files are omitted from the tables below.

Statement changes

✅ No statements changed — all 116 tracked declarations across 3 modified files kept their type; only proofs / definition bodies changed.

Also: 0 declarations added, 27 removed. A reorganization moves declarations between files, which shows up here as an add in one file and a remove in another.

➖ Declarations removed (27)
  • ConjectureMachines.Goldbach21.B0 — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.B0_cons_zero — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.Tape.mk'_cons — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.Tape.mkL — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.Tape.mkL_cons — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.append_replicate_add — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.append_replicate_cons — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.mk_append_replicate_zero — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_add — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_bind_eq — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_eq_none_of_step_none — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_eval_dom — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_mk'_right_scan — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_mkL_left_scan — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_reaches — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_succ — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.nSteps_zero — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.reaches_imp_nSteps — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_mk'_left — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_mk'_right — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_mkL_left — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_mkL_right — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_nSteps — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_one — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_right — LeanPool/CryptidsGoldbach/Goldbach21.lean
  • ConjectureMachines.Goldbach21.step_right_cons — LeanPool/CryptidsGoldbach/Goldbach21.lean

Statements are compared textually against the merge base (comments and whitespace ignored; by proof terms embedded in a type are treated as proof-irrelevant), the same method as physlib's /check-golf. Anonymous instances and examples are not tracked.

Total heartbeats: 104,190 maxHeartbeats units across 3 valid files (1,387 added LOC).

Sum of lean --profile: 9951.2 ms (= 9.95 s) across 3 valid files. Import-excluded time: 8299.2 ms (= 8.30 s).

Count-heartbeats wall-clock total: 16.13 s. Repeated import cost inside lean --profile: 1652.0 ms (= 1.65 s).

Heartbeat values sum disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted from raw allocations to maxHeartbeats units by dividing by 1000. They include command elaboration and kernel checking, exclude imports, and include profiler overhead; they are not comparable to the deprecated linter's totals. Per-file wall clocks are measured under parallel load and are noisier than heartbeats.

LOC counts added lines in the profiled Lean files from this PR diff.

File LOC Heartbeats (maxHB) Count wall (s) lean --profile (s) Without import (s) Import (s) Commands Errors
LeanPool/CryptidsGoldbach/Brocard28.lean 1,090 94,549 11.68 8.15 7.30 0.84 176 0
LeanPool/CryptidsGoldbach/MachineSupport.lean 198 6,285 2.30 0.92 0.54 0.38 49 0
LeanPool/CryptidsGoldbach/BrocardSemantics.lean 84 3,356 2.15 0.88 0.45 0.43 12 0
LeanPool/CryptidsGoldbach.lean 11 — — — — — 0 1
LeanPool/CryptidsGoldbach/Goldbach21.lean 1 — — — — — 0 1
LeanPool/CryptidsGoldbach/Imports.lean 3 — — — — — 0 1
Total 1,387 104,190 16.13 9.95 8.30 1.65 237 3

Aggregate phase totals

Phase Time
type checking 3926.4 ms (= 3.93 s)
import 1652.0 ms (= 1.65 s)
tactic execution 1104.3 ms (= 1.10 s)
interpretation 857.0 ms (= 0.86 s)
elaboration 754.1 ms (= 0.75 s)
typeclass inference 639.5 ms (= 0.64 s)
simp 379.3 ms (= 0.38 s)
linting 122.1 ms (= 0.12 s)
blocked (unaccounted) 99.1 ms (= 0.10 s)
parsing 94.8 ms (= 0.09 s)
initialization 81.4 ms (= 0.08 s)
process pre-definitions 50.6 ms (= 0.05 s)

Slowest changed modules (from lake build)

Changed module Lake time
LeanPool.CryptidsGoldbach.Brocard28 6.90 s
LeanPool.CryptidsGoldbach.MachineSupport 2.80 s
LeanPool.CryptidsGoldbach.BrocardSemantics 0.71 s
Per-file `lean --profile` output

LeanPool/CryptidsGoldbach/Brocard28.lean

import took 845ms
type checking took 982ms
type checking took 1.01s
type checking took 1.05s
type checking took 229ms
cumulative profiling times:
	attribute application 7.37ms
	blocked (unaccounted) 17.7ms
	compilation (IR) 1.4ms
	compilation (LCNF base) 21.4ms
	compilation (LCNF impure) 5.54ms
	compilation (LCNF mono) 12.4ms
	congr simp thm 3.64ms
	declTypeLinter 27.4ms
	elaboration 620ms
	fix level params 3.45ms
	import 845ms
	initialization 31.4ms
	instantiate metavars 8.91ms
	interpretation 571ms
	let-to-have transformation 2.17ms
	linting 98.4ms
	module linting 0.0219ms
	norm_num 0.605ms
	parsing 80.9ms
	process pre-definitions 42.9ms
	ring 6.03ms
	share common exprs 24.3ms
	simp 323ms
	tactic execution 996ms
	tacticAnalysis 22.4ms
	type checking 3.82s
	typeclass inference 554ms
real 6.29
user 7.74
sys 0.72

LeanPool/CryptidsGoldbach/BrocardSemantics.lean

import took 431ms
cumulative profiling times:
	attribute application 0.0413ms
	blocked (unaccounted) 81.4ms
	declTypeLinter 2.65ms
	elaboration 38.2ms
	fix level params 0.166ms
	import 431ms
	initialization 25.2ms
	instantiate metavars 0.683ms
	interpretation 122ms
	let-to-have transformation 0.051ms
	linting 4.82ms
	module linting 0.0264ms
	norm_num 0.77ms
	parsing 2.93ms
	process pre-definitions 2.18ms
	ring 8.9ms
	share common exprs 1.93ms
	tactic execution 50.2ms
	tacticAnalysis 2.47ms
	type checking 78ms
	typeclass inference 30.9ms
real 1.30
user 0.83
sys 0.66

LeanPool/CryptidsGoldbach/MachineSupport.lean

import took 376ms
cumulative profiling times:
	attribute application 1.75ms
	compilation (IR) 0.292ms
	compilation (LCNF base) 2.19ms
	compilation (LCNF impure) 1.33ms
	compilation (LCNF mono) 1.93ms
	congr simp thm 1.89ms
	declTypeLinter 6.04ms
	elaboration 95.9ms
	fix level params 0.648ms
	import 376ms
	initialization 24.8ms
	instantiate metavars 0.827ms
	interpretation 164ms
	let-to-have transformation 0.369ms
	linting 18.9ms
	module linting 0.0342ms
	parsing 11ms
	process pre-definitions 5.48ms
	share common exprs 3.28ms
	simp 56.3ms
	tactic execution 58.1ms
	tacticAnalysis 5.3ms
	type checking 28.4ms
	typeclass inference 54.6ms
real 1.26
user 1.00
sys 0.63

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on 74290ba3c862e7e8cbec2ed3ae11b213f501a8b7.

Faithfulness and significance

halts_brocard28_iff_exists_square states ConjectureMachines.Halts brocard28 ↔ ∃ n, 7 < n ∧ IsSquare (n.factorial + 1). The machine uses the existing blank-tape semantics. The stages initialize the tape, multiply the unary factorial block, test triangularity, suppress the known successes at 5 and 7, and reach a halted configuration exactly at a new solution. The arithmetic bridge handles both directions using (8 mid n!) for (n ge 4). This preserves an explicit small-state reduction for a published open problem.

Novelty and sources

The existing Goldbach port supplies the finite-machine and tape semantics. The new transition table, simulation, and Brocard equivalence are distinct from its prime-search result. I checked the pool’s cards, source, PRs and history and the pinned Mathlib and Tau Ceti sources for an equivalent Brocard development. I also compared all 56 entries against the pinned Apache-2.0 table. The card’s published source now lands on the Brocard revision, with the earlier Goldbach revision recorded separately. Upstream credits Veljjanoski and identifies Claude’s assistance. Source and attribution

Engineering and verification

The four machine-specific sweeps use the two general scan inductions. The two original Goldbach scan statements retain their signatures. The startup is checked by kernel reduction and the existing trailing-blank equality. The resized proofs replace a single large simplifier invocation with the rewrites used by each transition segment. The matched project build took 10.36 s before optimization and 7.85 s at this head. The machine module’s synchronous profile dropped from 130,009 to 65,050 heartbeats in Lean’s maxHeartbeats units.

Local index, style, warning-free build, linter, card endpoint, axiom, prohibited-mechanism, and build-message checks passed across eight modules. The required hosted Build project check passed on this head, together with the content separation check and applicable validation workflows. Both new modules compiled in the hosted advisory profile. Lean CI · Profile

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review — refactor (gpt-6.2-sol)

Reviewed head: 129acd13cfb03c21abce8e3243b759680f7adb5b

Verdict: ✅ approve

PR #1030 imports the 28-state Brocard machine and its blank-tape halting proof into the existing Cryptids project and moves shared tape and execution lemmas into MachineSupport. The targeted project build passed using the pinned dependency source archives. Synchronous profiling measured about 0.6% fewer elaboration heartbeats for Goldbach and its extracted support combined. All 56 transition cells match the pinned upstream table.

Aspect Value
Scope Brocard import and shared machine API extraction
Introduces tech debt ✅ no
Maintainability ✅ improved
Brittleness ✅ more_robust
Risk ✅ low

Existing Goldbach callers retain their import path, while named transition rewrites and shared branch traces make the Brocard proofs easier to debug and update.


Tokens: 2,632,500 in / 9,512 out · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $10.6727 (Standard API equivalent; uncached input) (long-context rate)
Automated review against .github/REFACTOR_REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Both findings fixed in af41592083.

  • The final startup segment uses named transition lemmas and the blank-tape equality.
  • The shared machine API now lives in MachineSupport. Its declarations retain their names, and the Brocard module’s compiled import inventory no longer includes the Goldbach simulation.

The revised head builds warning-free and passes synchronous profiling. Hosted checks are running again. Updated Lean CI

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source approved at af415920. The shared binary-machine module preserves the proof interfaces.

The 29 moved declarations retain their names and statements and are re-exported by the Goldbach module. The Brocard table and halting equivalence are unchanged. The revised startup proof follows the same transitions. Earlier source review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on af41592083298bd3ff9c40827ac296ffdc50e9e7.

I reviewed the shared-machine extraction and last startup proof against the exact built sources. The support module moves the generic finite execution, tape and reachability declarations under the same namespace and with the same names. Its clients are the two independent simulations. The compiler dependency inventory for Brocard28 contains only MachineSupport and Machines among Lean Pool modules. The final startup segment uses named rewrites through the ten steps and the equality for a blank cell. It needs no assumption about the concrete list representative of the resulting tape.

The arithmetic endpoint and all 56 table entries remain the verified ones from the cited Apache-licensed revision. The exact-head local build, generated indexes, text style, declaration lint, card endpoints, axiom closure, prohibited-mechanism and build-message checks passed. The matched project runs took 20.27 s → 12.03 s from the first warning-free port. The main machine proof fell from 130,009 to 67,763 maxHeartbeats units. The required hosted build and content separation checks passed on this head. Greptile completed its rereview. Lean CI · Earlier review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Both follow-up findings fixed in 8cd74d12e2.

  • The four startup segments now use named transition rewrites. The first three proofs no longer unfold the executor to replay twelve transitions.
  • The append identities for blocks of ones and zeros are instances of the generic lemmas in MachineSupport.

The exact-head project build, profiling, declaration lint, and trust audit passed locally. Updated Lean CI

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on 8cd74d12e2d4513a64b6588fe807886bef0faf4c.

I verified the follow-up diff against the previously reviewed head. All four startup segments use the named transition lemmas, and the block-append proofs use the shared machine support. The transition table and halting equivalence retain their verified contents. The exact head passed the local index, style, warning-free build, declaration lint, card endpoint, axiom closure, prohibited-mechanism, and build-message checks. The matched project build took 20.27 s → 15.87 s, and the machine proof used 130,009 → 97,826 maxHeartbeats units. The matching hosted build passed the index, build, declaration lint, text style, and repository quality stages. The earlier review covers the upstream table, endpoint, and isolation from the Goldbach simulation.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Both follow-up findings addressed in f925e3fbcdca1efd766bfae15c4ce9efc3d1dda5.

stepR and stepL reuse the shared executor API. The test failure and suppressed success proofs now use one ER2/ER3 return trace, parameterized by the number of erased cells and the length of the remaining block. The latest matched build took 7.69 s and the machine module used 96,965 maxHeartbeats units.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source approved at f925e3fb. The transition table and halting equivalence are unchanged.

The left and right move wrappers use the shared tape lemmas. Both cleanup paths now use the same trace, which erases the remainder of the block, returns over the erased cells, and starts the next round in the same configuration as before. Earlier source review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on 2e558380281839725d132d2f894605cc7e0fd9c6.

  • The last diff changes the proofs of two tape moves to use MachineSupport and shares one erasure path for the failed test and suppressed success. The shared lemma composes the ER2 scan, the turn on the blank, the ER3 scan over both erased blocks, and the two transitions into the next round. The two callers enter with respectively an erased prefix and an empty prefix. The transition table and public theorem statements are unchanged.
  • The local shard passed declaration lint across nine modules and 674 declarations, endpoint validation, axiom closure, prohibited-mechanism and build-message checks. The local warning-free build, indexes, static quality and text style passed. The matched build took 20.27 s → 7.69 s and the machine proof used 130,009 → 96,965 maxHeartbeats units.
  • The project card now cites the November 9 commit introducing the 28-state machine. The PR description also records the November 11 merge. The endpoint audit reran after the metadata change. Public 28-state commit · Upstream PR
  • The hosted run passed index, build, declaration lint, text style, and quality checks. The required content separation check passed as well. The earlier review covers the pinned table, endpoint, existing API and compiler dependency closure.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Both transition-trace findings addressed in 129acd13cfb03c21abce8e3243b759680f7adb5b.

copy_append proves the shared R0-to-L1 output append. shift_chunk_hole proves the shared TR0-to-TL1 move. Each pair of callers now starts its branch-specific proof at the resulting configuration. The matched build took 9.81 s against the 20.27 s baseline, and the machine proof used 95,188 maxHeartbeats units against 130,009.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source review passed for 129acd13. Hosted Lean validation is pending.

The review confirms that all 128 public statements and the 28-state transition table are unchanged. The description now ties the 28-state announcement to the actual upstream commit where that machine appeared. The shared sweep trace preserves both the copy and chunked runs, including zero-length and empty segments.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on 129acd13cfb03c21abce8e3243b759680f7adb5b.

  • The follow-up factors out the two repeated machine traces. copy_append starts R0 at the separator and ends at L1 after adding one output cell. shift_chunk_hole starts TR0 on the test separator and ends at TL1 with one cell transferred across the hole. Each shared trace specifies both halves of its final tape, and the four callers retain their public types and continue with their original branch-specific transitions.
  • The table, blank-tape halting equivalence, and project card retain their reviewed contents. The warning-free local build, indexes, text style, static quality, and shard checks passed. Declaration lint covered nine modules and 676 declarations. The shard audited card endpoints, axiom closure, prohibited mechanisms and build messages. The matched build took 20.27 s → 9.81 s and the main proof used 130,009 → 95,188 maxHeartbeats units.
  • The hosted run passed index, build, declaration lint, text style, and quality checks. The required content separation check also passed. The earlier review covers source, table and dependency closure.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97
Vilin97 added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit dfa2a63 Nov 26, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant