Repository navigation
Conversation
|
Splitting Found a few things we should sort out before merging:
|
…te BusyBeaverChallenge.lean
- Port all 22 remaining BB(6) Hard holdout cryptid machines identified in the hardness census: * 10 Segmented cryptids under IsSegmentedCryptid in BusyBeaver/BB6/Accelerations/ * 9 Stack cryptids under IsStackCryptid in BusyBeaver/BB6/Accelerations/ * 2 Odometer cryptids under IsOdometerCryptid in BusyBeaver/BB6/Accelerations/ * 1 rule-bounded cryptid under IsCryptid in BusyBeaver/BB6/ - Add supporting stack definitions and lemmas in BusyBeaver/Stack.lean and BusyBeaver/WordRunStack.lean. - Register all 22 machines and viewPrefixLen in comparator/busy_beaver.json, bringing the total verified comparator theorems from 687 to 709. - Regenerate BusyBeaverChallenge.lean and verify core manifest. - Verified: lake build BusyBeaver, lake build BusyBeaverChallenge, and full lake comparator run passing Lean default kernel acceptance across all 709 theorems.
…se closed segmented systems, clean style & docs
93b890c to
84cc3ba
Compare
|
Thanks for the thorough review @mo271! I merged #28 first, rebased onto 1. CI,
|
Summary
This PR ports all remaining 22 BB(6) Hard holdout cryptid machines into
google-deepmind/cryptids, modularizes the sharedBusyBeaver/Defs/definitions, tightens the cryptid specification predicates, and registers 37 new comparator theorems (698 → 735total theorems incomparator/busy_beaver.json, withdefinition_names: []).1. Modular Core Definitions (
BusyBeaver/Defs/) & Integrity ChecksBusyBeaver/Defs.leaninto clean modular submodules and re-exports them throughBusyBeaver/Defs.lean:Defs/Core.lean: Machine execution semantics and reachability relations (ReachesPlus,ReachesStar).Defs/Patterns.lean: Level A pattern-set invariants (IsClosedPatternSet,HasCollatzReduction), Level B accelerations (IsValidAcceleration), and rule-bounded cryptids (IsCryptid).Defs/Stack.lean: Stack-word representations, views (HalfTapeView,viewPrefixLen), and stacked reductions (HasStackReduction).Defs/Odometer.lean: Mixed-radix odometer stack and bitstream systems (HasOdometerReduction).Defs/Transducer.lean: Bidirectional word-stack transducers (HasTransducerReduction).Defs/WordRun.lean: Word-run stack systems (IsNowhereDenseFamily,WordStackSpec,IsWordRunCryptid), requiringIsNowhereDenseFamilystrictly on both sides (removingIsBoundaryAlignedSidedisjuncts) and definingviewPrefixLenwithHalfTapeView.casesOnsoBusyBeaver.viewPrefixLenneeds nodefinition_namesexemption.Defs/Segmented.lean: Partitioned segmented schemas (SegRegionKind.WellFormed,IsClosedSegmentedSystem,IsSegmentedCryptid) enforcing non-empty finite/word-run/block regions, non-trivial single-bit encoding exclusion, and bounded gadgets (w.length ≤ 16).CORE_MANIFEST.json,tools/check_manifest.py, andtools/render_challenge.pywith CI verification in.github/workflows/busy_beaver_ci.yml(SHA-pinned actions and!BusyBeaver/**/*.mdpath filter).2. 22 Ported BB(6) Hard Holdout Cryptid Machines
IsSegmentedCryptid+ pinnedis_closed_segmented_system) inBusyBeaver/BB6/Accelerations/:M_1RB0LA_0RC0RB_1LD1LA_1LC1RE_1RF0RD_1LAHHH.leanM_1RB0LA_0RC0RB_1LD1LA_1LC1RE_1RF0RD_1LCHHH.leanM_1RB0LD_0RC1RD_1LA1RA_1LE0LE_1RF0LA_0RAHHH.leanM_1RB0RA_0LC0RE_1LE1LD_0LEHHH_1LF0LC_1RA1LE.leanM_1RB0RE_1LC1RA_1LD0LC_0RE0LA_1RA1RF_0RAHHH.leanM_1RB0RE_1RCHHH_0RD0RC_1LE1LF_1LD1RA_1RC0LF.leanM_1RB0RF_1LCHHH_1LF1LD_1RE0LD_0RC0RE_1LC1RA.leanM_1RB0RF_1LCHHH_1RD0LC_0RE0RD_1LF1LC_1LE1RA.leanM_1RB1RF_1RC0RA_1LD1RB_1LE0LD_0RA0LB_0RBHHH.leanM_1RBHHH_0RC0RB_1LD1LE_1LC1RF_1RB0LE_1RA0RD.leanM_1RBHHH_1LC0RB_0LD0LC_1RE1RB_1RD1LF_1LA0LE.leanIsStackCryptid) inBusyBeaver/BB6/Accelerations/:M_1RB0LD_0LC0RE_1LA0RD_0RB0LF_1RC1LA_0RBHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA0LF_0LC0RA_0REHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RA_0LBHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RA_0LEHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RE_0LAHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RE_0LCHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RE_1LAHHH.leanM_1RB0LE_1LC0RE_0RA0LD_1LA1LF_0LC0RE_1LEHHH.leanIsOdometerCryptid) inBusyBeaver/BB6/Accelerations/:M_1RB0LD_0LC0RE_1LA0RD_0RB0LD_1RC1RF_1RAHHH.leanM_1RBHHH_1RC0LE_0LD0RF_1LB0RE_0RC0LE_1RD1RA.lean#424, Level A + Level B +IsCryptid) inBusyBeaver/BB6/:M_1RB1LE_0LC0LB_1RD1LC_1RD1RA_1RF0LA_HHH1RE.lean(is_closed_pattern_set,has_collatz_reduction,is_valid_acceleration,isHalt_iff_acceleration,is_cryptid)BusyBeaver/Stack.leanandBusyBeaver/WordRunStack.lean.3. Comparator & Challenge Registration
load_rle_machine%andabbrev target : Machine (Fin 2) (Fin 6) := machine.toBB.is_closed_segmented_system+ 4#424theorems) inBusyBeaverChallenge.leanandcomparator/busy_beaver.json(735total theorems;definition_names: []).4. Verification
python3 tools/check_manifest.py: PASSED (12 core files verified).python3 tools/render_challenge.py --check: PASSED.lake build BusyBeaver BusyBeaverChallenge: PASSED.lake comparator --config=comparator/busy_beaver.json: PASSED (Lean default kernel accepts the solution/Your solution is okay!)..leanfiles: 0 disabled linters, 0lemmadeclarations, 0> 100-character lines, and 0 forbidden tokens (sorry,admit,axiom,native_decide) outside challenge stubs.