Repository navigation
cbz: G12 census — dependency definitions (--defs-from), import accounting, big-operator and work caps (census 66 · 273 · 0 · 3,443) - #759
Conversation
…ting, big-operator and work caps; census 66 · 273 · 0 · 3,443 Census mode gains `--defs-from <dir>` (repeatable): a dependency directory's .lean files — a Lake path dependency, or the package a companion is built against — contribute definitions, carrier types and type abbreviations to the group's pool, never targets, under the unchanged resolution rule (own module first, then the pool when exactly one definition carries the qualified name, otherwise UNSUPPORTED "ambiguous definition"); a dependency file byte-identical to a group file is skipped and recorded. Every `import` of a target module is accounted for (group file, dependency file, library prefix, or `unresolved_imports`), and the dependency files' SHA-256 are recorded (`defs_from.file_sha256`). Two caps with the larger reach, both Infeasible (counted, never a verdict, never a float): ∑/∏ over more than 4,096 indices; an instance whose exact results exceed 20,000,000 bits in total (Evaluator.work, summed in _rec). The baseline census with the caps alone equals the stored receipts per target. Receipts census_math_dfa9b30a_20261106_deps/ (run_census.sh carries the dependency table derived from the groups' import lines, transitively): 66 PASS · 273 CORROBORATED · 0 FAIL · 3,443 UNSUPPORTED — 66 moved from UNSUPPORTED (the P15 price-boundary constants pStar/hStar/rhoStar, the Side24 epsilon facts, binomTail/phi/pairingSum inequalities, the W3 and companion d2Schur links), none to FAIL, no earlier verdict changed. Tests 105 → 107. Unit CBZ0-G12-DEPS-01N-20261106 under the owner's addendum deliverable 1. Own paths only. Credit 0. Scientific effect NONE. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMeKEismAyeqgdB4sy2NJU
|
Note for REVIEW-759 and the author: #759 is stacked on #757 at Generated by Claude Code |
|
REVIEW-759-ENG: nonauthor engineering read of #759 at This is a same-family technical read; the non-Claude half of the seat stays open. I read the delta The seat's three questions
Runs at this head
Nothing was pushed. The collision probe uses five-line Lean files, which I can post on request. Generated by Claude Code |
…e prefix (01SHCrxv P3) A dependency file was keyed `<root basename>/<path>`, so a group subdirectory named like the dependency root with the same relative path, or two dependency roots with the same basename, collided and the later entry silently overwrote the earlier one in the pool (759/6680798254 P3; zero collisions in the census configuration). Pool keys are now `<defs-from i:name>/<path>`, which no group path can produce; a collision is an assertion; `files_pooled` counts what entered the pool. Tests: the group-vs-dependency and dependency-vs-dependency collision cases make the name ambiguous (UNSUPPORTED), never a silent pick. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMeKEismAyeqgdB4sy2NJU
…DME count) into claude/cbz0-g12-defs-from-20261106
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMeKEismAyeqgdB4sy2NJU
|
Pushed
🤖 Generated with Claude Code Generated by Claude Code |
|
Readback of
The non-Claude half of the seat stays open. Generated by Claude Code |
…pool keys (verdicts identical; defs_from keys <defs-from i:name>/…) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMeKEismAyeqgdB4sy2NJU
|
Note: #759 is now on #757's Generated by Claude Code |
|
My REVIEW-759-ENG PASS and the P3 readback (6680987975) carry to The delta from Generated by Claude Code |
|
Dormant future-research quarantine under CBZ-0 (closed unmerged; source/history retained).
Closure is a scope disposition, not rejection, refutation, acceptance, or erasure. Scientific effect NONE. |
Census mode gains
--defs-from <dir>: a group now pools the definitions of the groups itsimportlines name (a Lake path dependency, the package a companion is built against) — definitions, never targets, under the unchanged ambiguity rule — and everyimportis accounted for. Re-taken over Math- atdfa9b30a: 40 → 66 PASS · 233 → 273 CORROBORATED · 0 FAIL · 3,509 → 3,443 UNSUPPORTED — 66 verdicts moved, all from UNSUPPORTED, none to FAIL on these kernel-proved statements, no earlier verdict changed. UnitCBZ0-G12-DEPS-01N-20261106under the owner's addendum deliverable 1. Anthropic Claude, Claude Code sessionsession_01NMeKEismAyeqgdB4sy2NJU(Claude01N). Own paths only (tools/cbz/statement_fuzz.py,tests/test_cbz_statement_fuzz.py,cbz/evidence/g12-statement-fuzz-01n/); no canonical surface. Credit 0. Scientific effect NONE.Why this class. The census read each of the 16 Lean groups alone, so every statement of
specifications/lean_statement_proofs_20261011about the specification's constants and functions —pStar = 1 − e⁻¹,hStar,rhoStar,epsilon = 10⁻¹⁰⁸,phi,binomTail,pairingSum,imageConstant— was UNSUPPORTED "unknown name": they are defined inspecifications/lean_statements_20261010, the group's Lake path dependency (lakefile.toml:path = "../lean_statements_20261010"). Likewise the companions and the W3 scratch aboutResearchFormalCoreR1.d2Schur/d2DetVfromformal/.What changes.
--defs-from <dir>(repeatable) adds a dependency directory's.leanfiles to the group's pool: definitions, carrier types and type abbreviations, never targets. Resolution is unchanged — a statement's own module first, then the pool when exactly one definition (up to identical text) carries the qualified name, otherwise UNSUPPORTED "ambiguous definition" — so a dependency can only make a name resolvable, never silently pick one. A dependency file byte-identical to a group file is skipped and recorded. The report binds what was read (defs_from.file_sha256) and accounts for everyimportof a target module: a group file, a dependency file, a library prefix (Mathlib,Init,Lean,Std,Batteries,Aesop…), orunresolved_imports(modules the archive does not carry:Lifetime,ReusedCompactFrontier,RegularPointChart…). The dependency table of the 16 groups is derived from theirimportlines, transitively, and sits inrun_census.shandCENSUS.md. Two resource caps come with the larger reach, both Infeasible (counted, never a verdict, never a float): a∑/∏over more than 4,096 indices (a sampledFinset.range 65536of binomials), and an instance whose exact results exceed 20,000,000 bits in total (binomTail 10^6 65535 c,pairingSum 5000 (10^6)); the baseline census re-run with the caps alone is identical to the stored_transreceipts per target.Soundness evidence.
census_math_dfa9b30a_20261106_deps/CENSUS.md: 0 FAIL across 3,782 declarations; every move inverdict_changes_20261106_trans_to_deps.json. Among the 66: the P15 price-boundary constants, closed and PASS (pStar_pos,pStar_gt_half,pStar_lt_one,one_lt_hStar,seven_sixths_lt_hStar,rhoStar_lt_six_sevenths,f3_rhoStar_lt_upper,f3_lower_lt_rhoStar,f3_upper_lt_six_sevenths,f2_rhoStar_nonneg,binomTail_three_one); thebinomTailandphiinequalities (binomTail_pos,binomTail_le_of_le,binomTail_succ_left,phi_le_div,le_phi_self,f7_phi_*,f8_prod_phi_le_one); the Side24 integrand-ratio facts aboutepsilon(ir_epsilon_pos,ir_epsilon_lt,ir_exponentA_two…ir_exponentB_three,ir_lower_rational,ir_upper_rational),ib_final_constant,co_margin, thepairingSummonotonicity and bounds; the W3 linksd2DetV_eq_*,d2Schur_eq_srcSchur,d2Tau_eq_srcTau; the companions'schur_no_upper,schur_from_lower_inputs,residual_integral_eq_delta,zero_atom_counterexample. Package receipts are unchanged (the caps change no package verdict;main_formal_ec6962ff_r6re-run at this head equals the receipt). Tests 106 → 108 (CensusModeTests: the dependency pool with a Lake-style layout — resolution, shadowing by the module's own definition, byte-identical skip, import accounting, the ambiguity rule across dependency and group; the big-operator and work caps with apairingSumfixture), normal,-O,-W error.Integration. Stacked on #757 (
claude/cbz0-g12-transcendental-20261106, now at942beb78); head850bf325=4bfdda81(REVIEW-759-ENG PASS, 01SHCrxv 6680798254) + the P3 fix, the base refresh, a README count fix and the re-taken receipts; readback4bfdda81..850bf325requested. After #757 lands this retargets tomainwith a merge commit. Nonauthor eng review wanted — a reader can start fromcheck_lean_dir(defs_from,_imports,_LIBRARY_IMPORT_PREFIXES),_MAX_BIGOP_TERMS/_MAX_WORK_BITSandEvaluator._rec, the two new tests, and the dependency table inCENSUS.md. I do not merge my own PR.https://claude.ai/code/session_01NMeKEismAyeqgdB4sy2NJU
Generated by Claude Code