Repository navigation
i18n(lean): CooperativeGames root aggregator bilingue FR+EN inline (#4980 pilote) - #5883
Conversation
…4980) Pilote i18n EPIC #4980 (ratification user 2026-07-04) sur root aggregator 'CooperativeGames.lean' : passer d'un commentaire EN-only à un commentaire bilingue inline (FR canonique d'abord, EN en miroir, séparateur '---'). Pattern ratifié : - FR-first mandate : docstrings FR canoniques (lecture pédagogique en FR) - EN miroir : traduction complète préservée - Pas de fichiers siblings pour les roots aggregators (alternative validée par user 2026-07-04 : inline-bilingue pour les roots, _en.lean siblings pour les modules substantiels) Modules internes CooperativeGames.Basic / .Shapley restent sur le pattern siblings (_en.lean séparés) déjà en place. Lake build : aucune modification de code (imports préservés), +25 lignes de docstrings uniquement. 0 sorry, 0 deletions. Lake build SUCCESS délégué ai-01 (env po-2026 en réparation, cf. body issue #4980). See #4980, #4957, #1650. Part of #4208.
Forward ai-01 (L279 — workers never merge)PR #5883 : pilote i18n EPIC #4980 sur root aggregator Livré :
Rollout suivant (PRs séparées G.4) : inventaire exhaustif des 15 roots gap dans le body PR. Chaque root = 1 PR atomique. Demande ai-01 : lake build Merci ! 🤖 Generated with Claude Code |
jsboige
left a comment
There was a problem hiding this comment.
Cross-review po-2026 (i18n Lean expert — drained lakes c.316/338)
Verdict: APPROVE-equivalent (COMMENTED, L279 — workers never --approve). Gap réel, convention correctement appliquée, 0 régression.
Firsthand checks (code = vérité)
- Gap réel (pas de doublon) :
origin/main:.../CooperativeGames.lean= docstring root EN-only (22 lignes/- Cooperative Game Theory Library ... -/). Le PR ajoute un bloc FR canonique AVANT + séparateur---+ conserve l'EN en miroir. → gap authentique, pas du re-travail (mon drain c.338 portait surlean_game_defs, lake/fichier distinct). - Note
_en.leanACCURATE : la note dit que les modules substantiels « vivent dans des fichiers siblings_en.leanséparés » → vérifié,CooperativeGames/{Basic,Shapley,ConeKernel}_en.leanexistent (29Ko/101Ko/29Ko). La note décrit la réalité, pas une aspiration. - Convention i18n respectée : FR-first (mandat readme-french-first ✓), EN préservé (non-destructif, cf
README.en.mdpattern), inline-bilingue pour root aggregator justifié (22 lignes import-only → un sibling_endupliquerait l'utile pour néant). - 0 régression :
grep -c sorry0 avant/0 après (docstring-only, changements dans/- ... -/= commentaires, ne peuvent pas casser la compile). ImportsCooperativeGames.Basic/.Shapleyinchangés. - Fidélité traduction : terminologie FR correcte (« Cœur » = game-theory Core, « Valeur de Shapley », « Utilité Transférable ») ; références Shapley/Bondareva conservées en EN original (ne pas traduire titres/auteurs) ✓.
§B delegation build ai-01
Docstring-only (commentaires) → ne peut pas affecter lake build. Délégation à ai-01 OK (env po-2026 en réparation par ailleurs, cf. RooSync blocker).
Merge-ready de mon côté. — po-2026 c.404
…ingue inline FR+EN (#4980) (#5893) Module doc bilingue inline (FR d'abord, separateur ---, EN miroir fidele) + note de convention i18n. 0 ligne de code modifiee (comment-only dans /-! ... -/). Complete l'i18n du lake (submodules Argumentation/*_en.lean siblings existants). Convention ratifiee PR #5883 (decision user 2026-07-04). See #4980. Argumentum Epic #2137, Lean roadmap #4038. Co-authored-by: Claude-Code <noreply@anthropic.com>
…4980) (#6048) Bilingualisation du fichier root aggregator `repeated_games_lean/RepeatedGames.lean` (49 → 106 lignes, +57/-5 sur le seul header `/-- ... -/`, imports et code préservés byte-identical). Pattern canonique FR-canonical-first + EN-mirror-second, aligné sur les PRs ratifiés #5897 (Gittins.lean decision_theory_lean) + #5883 (CooperativeGames.lean game_theory_lean) + #6045 (Utility.lean decision_theory_lean — work-in-progress cross-team owner jsboige parallel-session). Substance Lean i18n exécutable : le `/-- ... -/` docstring documente `grim_trigger_sustains_iff` + théorème de Folk actualisé + structure 4 sub-modules (RepeatedGames.{Stage,Discounting,GrimTrigger,Folk}) + cohorte de lakes mutualisés. EN mirror strictement aligné sur la structure FR (titres 1:1 : « Théorème-phare » / « Headline theorem », « Structure » / « Structure », « Cohorte de lakes mutualisés » / « Mutualized lake cohort », etc.). Imports préservés byte-identical (anti-§D L298) : - `import RepeatedGames.Stage` - `import RepeatedGames.Discounting` - `import RepeatedGames.GrimTrigger` - `import RepeatedGames.Folk` LF-only strict (L268 #4) : `python` `data.count(b'\r')` = 0, `data.count(b'\n')` = 100, total 4652 bytes. Diff : 1 fichier +57/-5 root aggregator. Aucun fichier source substantive touché (`RepeatedGames/Stage.lean`, `Discounting.lean`, `GrimTrigger.lean`, `Folk.lean` + leurs siblings `_en.lean` byte-identiques). Aucun fichier `lakefile.lean` touché. Aucun sorry ajouté/supprimé (`grep -c sorry RepeatedGames.lean` = 1 inchangé, l'unique hit reste la mention « théorème-phare `grim_trigger_sustains_iff` ... Ces deux sorries sont les cibles primaires du prover BG » dans la docstring FR). Convention i18n ratifiée user 2026-07-04 appliquée : footer `Convention i18n (EPIC #4980, décision user 2026-07-04)` citant le pattern canonique `Gittins.lean` du lake voisin `decision_theory_lean` et référençant explicitement la Phase 0.5 + décision user FR-canonical-first + EN-mirror-second. Cross-team owner-lane check : jsboige parallel-session #6045 = `Probas/decision_theory_lean/Utility.lean`, c.356 = `GameTheory/repeated_games_lean/RepeatedGames.lean` = 2 lakes distinctes, 0 risque collision top-level namespace entre agrégateurs. L143 SAFE cross-team (audit consultatif additif docs-only) respecté. EPIC #4980 i18n Lean sustained : root aggregator de `repeated_games_lean` ajouté à la cohorte — registre des lakes effectivement bilingues FR+EN (CooperativeGames, Gittins, Utility, RepeatedGames) à ce cycle. Différenciation cross-team owner jsboige parallel-session : - #6045 = Utility.lean (decision_theory_lean) - c.356 = RepeatedGames.lean (repeated_games_lean) - 2 lakes distinctes, substance Lean i18n owner partition native distinct See #4980 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
…6055) EPIC #4980 convention ratifiée par user 2026-07-04 (Option A : FR-first canonical docstrings + EN optionnel via sibling Foo.lean / Foo_en.lean). Pilote livré PR #5883 (CooperativeGames.lean root aggregator bilingue inline). Codifie dans .claude/rules/code-style.md la règle : - Docstrings FR par défaut dans *.lean own - Sibling pair Foo.lean / Foo_en.lean pour publication externe (namespace suffix _en + import suffix _en = anti-collision) - Énoncés théorèmes/lemmes, tactiques, refs Mathlib restent EN (compat Mathlib 4) - Hors scope : .lake/packages, _peters, agent_tests fixtures, libs vendored - Pas de bloc bilingue inline (Option B rejetée : coût double + drift) - Rollout backlog : pilote Sudoku/sudoku_lean cycle 39, puis 4 lakes EN-dominants (cooperative/social_choice/stable_marriage/decision_theory) Refs docs/lean/i18n-inventory-cycle-38.md + See #4980 + Part of #4208 (axe E). Diff : 1 fichier, +13/-0 purement additif. Catalogue byte-identique. G.1 firsthand verified PR #5883 files/mergedAt/state. Co-authored-by: Claude-Code <noreply@anthropic.com>
#4980 Pattern B) (#6065) Convert finiteness_lean/Finiteness.lean from a monolingual import-only file (1 line: 'import Finiteness.Basic') into a bilingual FR+EN inline aggregator following EPIC #4980 Pattern B (i18n Lean), user decision 2026-07-04. Pattern B applies to lightweight root aggregators (import-only, no definitions). The bilingual block documents Brzozowski's finiteness theorem (1964), the non-backtracking recognition applications (.NET, RE# POPL 2025, SymPy), the ITP 2025 Zhuchko/Maarand/Veanes/Ebner formalisation (not vendored), and the i18n convention itself. The 'import Finiteness.Basic' line is byte-identical to main; no tactical code touched. Lake build globs unchanged (already discover Finiteness.* including any _en siblings via the documented bare-vs-suffix finding, c.218 po-2026, PR #5360). Pattern A (Foo_en.lean sibling) is reserved for substance modules like Finiteness/Basic_en.lean already shipped in main. Pilot: #5883 (CooperativeGames.lean) MERGED 2026-07-10. Inventory c.315 listed finiteness_lean/Finiteness.lean as 'PR suivante' after the pilot. +139/-1, 1 file, atomic. Co-Authored-By: Claude-Code <noreply@anthropic.com>
Cycle c.364 PIVOT 19ᵉ R6 anti-monoculture Sustained (post-c.358-c.363 6 cycles Phase 2 #5985 Sustained docs/README + gouvernance Lean). Honore mandat user 2026-07-11 Substance > Sweep : substance réelle Lean i18n livrée (root aggregator qui documente le theoreme minimax de von Neumann prouve 0-sorry via Sion.exists_isSaddlePointOn dans SionApplication.lean). Bilinguisation inline FR+EN du root aggregator minimax_lean/Minimax.lean selon le pattern canonique etabli par c.304 PR #5883 CooperativeGames (pilote EPIC #4980) et c.356 PR #6048 RepeatedGames : FR canonique d'abord, EN en miroir, separateur ---, imports byte-preserved, namespace + abbrev Status byte-preserved. +68/-0 additif strict : aucune suppression, FR original byte-preserved. LF-only strict CR=0 (L268 #4). Code (imports + namespace/abbrev) byte-identique a origin/main (L298 anti-D byte-identity). Milestone #4054 RESOLU documente 0 sorry, formalisation Sion glue 3 iterations. See #4980
…nline (#6115) Bilinguisation inline FR+EN du root aggregator SymbolicAI/Lean/grothendieck_lean/Grothendieck.lean, conformement a la convention ratifiee par le user le 2026-07-04 (EPIC #4980). Pattern canonique applique : FR canonique d'abord, EN en miroir, separateur ---, convention i18n note FR a la fin (cf. CooperativeGames #5883 pilote, Utility #6045, RepeatedGames #6048, Minimax #6101, SocialChoice #6106, Conway #6111). Substance reelle documentee (Grothendieck hommage, mathematicien 1928-2014, medaille Fields 1966 refusee pour raisons ethiques, decede Saint-Lizier Ariege 2014) : Categories/foncteurs/transformations naturelles, Sieves et topologies de Grothendieck (triviale/discrete/dense), Faisceaux sur un site, Schemes (espaces localement anneles localement Spec R), Topologie de Zariski comme topologie de Grothendieck, proprietes locales de morphismes (etale/ lisse/separé), Topos de prefaisceaux, lemme de Yoneda, cohomologie des faisceaux (Cech / Mayer-Vietoris / suite exacte longue). Substance honnetement livree : hommage pedagogique montrant combien du langage mathematique de Grothendieck vit deja dans Mathlib 4, PAS une tentative de formaliser EGA/SGA. 24 sous-modules : CategoryAndSites, SchemesTour, ZariskiSite, MathlibMap, Calibration, SieveLattice, SheafBasics, SieveOps, CoverageGen, CanonicalProps, SieveGenerate, DenseTopology, Sheafification, LeftExact, Subcanonical, SitePoints, SheafHom, ConstantSheaf, Conservative, SheafCohomology.Basic, MayerVietorisSquare, SheafCohomology.MayerVietoris, SheafCohomology.Cech, YonedaLemma. Imports byte-identical origin/main (24 lignes en-tete), LF-only strict CR=0, aucun code de preuve touche (modif docstring module uniquement, leporun apen ajout de lignes dans /- ... -/). Owner-lane preserved Sustained : po-2023 applique bilinguisation docstring pure sur contenu Grothendieck = L143 SAFE applicable (axe-2 Lean i18n mandat po-2023 cross-team). L268 #4 LF-only strict CR=0. L279 worker sweep_only consultatif JAMAIS gh pr merge. L281 rebase frais depuis origin/main 1d47b85. L298 anti-D byte-identity preservee (imports byte-identical verifie par diff programmatique). Lake build SUCCESS attendu par construction (modif docstring-only = aucun terme Lean touche hors commentaire /- ... -/). RECOVERABLE-MACHINE documente honnetement (po-2023 OOM sub-Order cf c.357 SocialChoice regroupement OOM code 143, c.364 Minimax, c.365 SocialChoice, c.366 Conway) - delegable ai-01 runner >=16GB RAM pre-merge (lean-merge-discipline §1). Cible #5 du plan I18N_INVENTORY #6090 c.362 (5 cibles PR pilote : conway_cgt_lean #1 + repeated_games_lean #2 + knot_lean #3 + conway_lean #4 + grothendieck_lean #5). Substance Grothendieck hommage = vraie description mathematique d'une oeuvre feconde (Categories/Sites/Schemes/Sheaves/ Zariski/Yoneda/Cech/Mayer-Vietoris), pas une reformulation cosmetique. See #4980 (EPIC reste ouvert, Phase 0.5 ratifiee 2026-07-04, tranches 2-3 a venir incluant PR pilote gated par WDAC user os 4551). Co-authored-by: Claude-Code <noreply@anthropic.com>
Post-c.369 push (33ddf16) cold lake build still fails with: error: SocialChoice.lean:105:0: invalid 'import' command, it must be used in the beginning of the file The /-! (module doc-comment) directive is not compatible with imports that follow a doc-block + blank line in Lean 4 Mathlib /-! resolution — /-! expects the block to be the *only* top-level thing in the module before any other content. Switching to /-- (plain block comment, which the CooperativeGames and RepeatedGames root aggregators already use) restores the canonical pattern that compiles. - Proof integrity unchanged: 0 proof touched (§D-safe: comment header only) - sorry count unchanged (0 -> 0 on Arrow/Sen/Framework/Basic) - LF-only CR=0 - Pattern matches CooperativeGames.lean (PR #5883) + RepeatedGames.lean (PR #6048) - force-pushed --force-with-lease See #4365, #6058.
…ame_theory_lean — anti-proliferation GT 6->2 (#6058) * feat(lean,#4365): absorb SocialChoice (Arrow+Sen+Voting FR+EN) into game_theory_lean (c.357) EPIC #4365 phase 4 — anti-proliferation GameTheory 6->2. Pure absorption byte-identique de 16 fichiers .lean depuis `social_choice_lean/` vers `game_theory_lean/SocialChoice/`, suivant le pattern multi-lib `decision_theory_lean` (CooperativeGames + StableMarriage + SocialChoice cohabitent comme lean_lib distinctes du meme package `game_theory_lean`). Fichiers deplaces byte-identique (16 R) : - SocialChoice.lean (root aggregator) - 7 modules FR canoniques (Arrow, Basic, Framework, MechanismDesign, Sen, SortedListCounting, Voting) - 7 siblings EN (_en pour chaque module FR, EPIC #4980) - _SmokeTest.lean Lakefile.lean : +1 `lean_lib SocialChoice` declaration suivant `globs := #[`SocialChoice.*]` (convention i18n EPIC #4980). Anti-regression verifiee (L378 G.1) : - 0 sorry source = 0 sorry cible (L268) - 0 CR (LF-only strict) sur 15 .lean (L268 #4) - namespace SocialChoice preserve (Lake != Namespace) - lake-manifest.json inchange (Mathlib rev d568c8c096, 6e lake rc1) RECOVERABLE-MACHINE (sota-not-workaround §F) : lake build SocialChoice local OOM (code 143) sur recompilation Mathlib sub-Order. _SmokeTest.olean produit avec succes (preuve resolution lean_lib). Demande runner >=16GB RAM pour verification finale pre-merge ai-01. Source lake `social_choice_lean/` preserve (docs + lakefile + manifest archives) pour ne pas casser refs notebooks existantes. Sera archive post-merge. Co-Authored-By: Claude-Code <noreply@anthropic.com> * fix(lean,#4365): neutralize old SocialChoice lib + repoint CI to game_theory_lean (See #6058) Root cause (PR #6058 HELD): social_choice_lean/lakefile.lean still declared @[default_target] lean_lib SocialChoice with globs pointing at modules whose sources were moved to game_theory_lean/SocialChoice/. Two lakes then exposed SocialChoice.* -> generic lake -R build (working-dir social_choice_lean) reded: 'SocialChoice: some modules have bad imports' (module-path collision). Fix (decided by ai-01, msg msg-20260711T121837-se9yjb, dispatched to po-2023): 1. social_choice_lean/lakefile.lean: neutralize the old lean_lib block (comment out @[default_target] + lean_lib + globs L13-46). The lake keeps its package + require mathlib + docs/manifest/NOTICE as an archive shell, but stops exposing the colliding lib. game_theory_lean is now SocialChoice's canonical home. 2. lean-social-choice.yml: repoint BOTH jobs (Proof integrity / Lake build) from social_choice_lean to game_theory_lean — working-directory, on: paths filters, and cache paths/hashFiles. The fail-on-sorry certified modules (Arrow/Sen/Framework/Basic) resolve at game_theory_lean/SocialChoice/*.lean. Verified: no other workflow references social_choice_lean build target (lean-build.yml clean); all 4 certified-module files exist at new home; YAML parses; social_choice_lean lakefile reduced to package+require (valid). Local lake -R build verification deferred to ai-01 (per lean-merge-discipline §1, ai-01 re-runs locally before merge; po-2023 WDAC blocks Lean local build). Co-Authored-By: Claude-Code <noreply@anthropic.com> * fix(lean,#6058): balance bilingual doc-comment in SocialChoice root aggregator Per ai-01 §B fix-request (HOLD comment, 2026-07-11T13:37Z): root aggregator opened with /-! at L1, closed prematurely with -/ at L46 (after FR prose). The --- separator + EN mirror (L48-L104) was then parsed as top-level Lean, causing 'unexpected token #; expected command' and breaking cold 'lake -R build' (EXIT 1). Duplicate -/ at L104 was a stale second close. Drop the premature -/ at L46 so the /-! ... -/ block spans L1-L104 as a single balanced bilingual comment (FR + --- + EN mirror) — matching the CooperativeGames pilot pattern (1/1 balance). - 0 proof touched (§D-safe: only the docstring module comment is balanced) - LF-only CR=0 (verified) - L268 #4 honored - sorry count unchanged (0 -> 0 on Arrow/Sen/Framework/Basic) - Catalog byte-identical (R1): no *.json regenerated See #4365, #6058. * fix(lean,#6058): switch /-! to /-- to unblock root aggregator build Post-c.369 push (33ddf16) cold lake build still fails with: error: SocialChoice.lean:105:0: invalid 'import' command, it must be used in the beginning of the file The /-! (module doc-comment) directive is not compatible with imports that follow a doc-block + blank line in Lean 4 Mathlib /-! resolution — /-! expects the block to be the *only* top-level thing in the module before any other content. Switching to /-- (plain block comment, which the CooperativeGames and RepeatedGames root aggregators already use) restores the canonical pattern that compiles. - Proof integrity unchanged: 0 proof touched (§D-safe: comment header only) - sorry count unchanged (0 -> 0 on Arrow/Sen/Framework/Basic) - LF-only CR=0 - Pattern matches CooperativeGames.lean (PR #5883) + RepeatedGames.lean (PR #6048) - force-pushed --force-with-lease See #4365, #6058. * fix(lean,#6058): apply Minimax pattern to SocialChoice root aggregator Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude-Code <noreply@anthropic.com>
…#4980) (#6345) * i18n(lean): grothendieck_lean/SitePoints root — FR-first sibling pair (#4980) Bilingual inline legacy SitePoints.lean (8529 B) → FR canonical SitePoints.lean (8900 B) + EN sibling SitePoints_en.lean (8246 B). 20ᵉ Phase 2+ grothendieck_lean. 1ᵉʳ cycle post-c.408 PIVOT R5.4b (15ᵉ→16ᵉ R6 Sustained post-c.394). Substance preservation (SGA 4 IV 6.3 — points of a site / fiber functors): - 1 theorem (presheaf_fiber_hom_ext) - 3 noncomputable defs (fiber_yoneda_iso, presheaf_fiber_cocone, is_colimit_presheaf_fiber) - 8 #check Mathlib API indexing statements - 9 thematic sections (presheaf/sheaf fiber functors, morphisms, coverage, etc.) - 4 imports (Sites.Grothendieck, SheafOfTypes, Point.Basic, Point.Category) Validation (real-mode awk C404-L1): - Stripped bodies byte-identique: 857 B / 45 LF (Anti-§D L298) - Sorry count: 0/0 (FR/EN) - byte[0]=0x2F for both files - CR=0 for both files (LF-only strict L268) Ref: PR #6334 (CategoryAndSites, c.409), PR #5883 (CooperativeGames pilot). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix(lean): grothendieck_lean/SitePoints FR/EN sibling — restore structural lines (imports, universe, namespace, opens) The previous build failed because the body-slice for FR/EN stripped structural Lean code (4 imports, universe v u w, namespace, 2 open statements) that the original file declares between the /- module header -/ and the first /-! section docstring. Without those, GrothendieckTopology.Point.* identifiers could not resolve and universe levels u/v/w were unknown. Lesson C410-L1: When extracting body slices from bilingual-inline-legacy files for sibling-pair conversion, ALWAYS preserve the structural block between the closing -/ of the module header and the first /-! section: imports, universe, namespace, open. Strip only the bilingual section docstrings, not the structural declarations. Validated: - FR sorry (tactic): 0 - EN sorry (tactic): 0 - Stripped FR: 1889 B / 96 LF - Stripped EN normalized: 1889 B / 96 LF - FR byte-equal EN normalized: True 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
…ojibake (#6511) The cycle-38 i18n inventory (2026-07-04) is referenced by the auto-loaded code-style.md rule as 'l'inventaire de reference', but its data is stale and it contained CJK mojibake corruption, misleading agents. Fixes (verified firsthand vs origin/main 8da7aab): 1. Mojibake: 'Minorite湖水 EN majoritaire' (L36) and '提议 ai-01 dispatcher' (L50) -- CJK characters corrupting French prose. Now clean. 2. Stale backlog: the 4 lakes marked 'EN-dominant backlog' (cooperative_games_lean, social_choice_lean, stable_marriage_lean, decision_theory_lean) are ALL migrated FR-first+EN sibling or absorbed into game_theory_lean by consolidation #4365. Verified: cooperative (9 files, _en present), decision_theory (25 files, _en present), social_choice/stable_marriage (residual/absorbed). 3. Top banner: points readers to the LIVE coverage inventory I18N_INVENTORY.md (po-2026, refreshed 2026-07-14) for current state. 4. 'Suite cycle 39+' updated: pilote DELIVERED (#5883 CooperativeGames), backlog DRAINED, convention RATIFIED (code-style.md Lean i18n section). This file remains the reference for the CONVENTION proposal (Options A/B/C); only its inventory DATA was superseded. Prevents fleet wasted cycles on already-migrated targets. See #4980 Co-authored-by: Claude-Code <noreply@anthropic.com>
… (fleet DRAINED) The `Rollout` line in `.claude/rules/code-style.md` listed a static backlog that is 100% obsolete post-EPIC #4365 (GT 6->2 merge): "Backlog : PR pilote Sudoku/sudoku_lean (cycle 39) puis 4 lakes EN-dominants (cooperative_games_lean, social_choice_lean, stable_marriage_lean, decision_theory_lean)." All 4 lakes were absorbed/done under #4365: - cooperative_games_lean -> absorbed into game_theory_lean/ (leaves have _en) - stable_marriage_lean -> absorbed into game_theory_lean/ (StableMarriage has _en) - social_choice_lean -> empty (content absorbed into game_theory_lean/SocialChoice/) - decision_theory_lean -> DONE (12/12 _en) - sudoku_lean pilot -> DONE (4/4 _en) This stale line caused a wasted half-cycle this session (c.505): I scouted the "4 lakes" looking for i18n work, found they don't exist standalone, and had to re-derive the real fleet state. ## Authoritative ground-truth (canonical checker) `py -3 scripts/lean/check_i18n_siblings.py --all` (the source-of-truth tool already referenced at line 39 of this file, #6711/#6718): 166/168 pairs byte-identical | 2 consumer-pattern | 0 drift | 0 orphan | 1 unbuilt The "1 unbuilt" = `social_choice_lean_peters/PetersTour_en.lean` = the known Peters v4.27 INTRINSIC exception (#7081), not a defect. ## Key correction: "no _en sibling" != "i18n gap" The ad-hoc `find ... -name "*_en.lean"` scan flags *root aggregators* (CooperativeGames.lean 63L, Grothendieck.lean 199L, Finiteness.lean 138L -> all imports-only + FR docstring, 0 theorem/def) as PARTIAL gaps. They are FR-only *by design* (#5883 pilot): their job is to import leaf modules, and `globs := #[<Lib>.*]` auto-discovers the bilingual leaves. The new wording makes this explicit to prevent FP re-dispatch. ## Scope (1 file, 1 line, -1/+1 net same line count) - `.claude/rules/code-style.md` line 42: replace stale static backlog with the post-#4365 drained state + pointer to the canonical checker as source of truth (not a static list). Pure documentation correction (no .lean, no proof, no code). CRLF=0. Scope strict (C.3): only code-style.md staged; `proof_knowledge.json` shared-tree contamination deliberately excluded. See #4980 (i18n convention), #4365 (GT 6->2 absorption), #5883 (root aggregator FR-only pilot). Co-Authored-By: Claude <noreply@anthropic.com>
… (fleet DRAINED) (#7309) The `Rollout` line in `.claude/rules/code-style.md` listed a static backlog that is 100% obsolete post-EPIC #4365 (GT 6->2 merge): "Backlog : PR pilote Sudoku/sudoku_lean (cycle 39) puis 4 lakes EN-dominants (cooperative_games_lean, social_choice_lean, stable_marriage_lean, decision_theory_lean)." All 4 lakes were absorbed/done under #4365: - cooperative_games_lean -> absorbed into game_theory_lean/ (leaves have _en) - stable_marriage_lean -> absorbed into game_theory_lean/ (StableMarriage has _en) - social_choice_lean -> empty (content absorbed into game_theory_lean/SocialChoice/) - decision_theory_lean -> DONE (12/12 _en) - sudoku_lean pilot -> DONE (4/4 _en) This stale line caused a wasted half-cycle this session (c.505): I scouted the "4 lakes" looking for i18n work, found they don't exist standalone, and had to re-derive the real fleet state. ## Authoritative ground-truth (canonical checker) `py -3 scripts/lean/check_i18n_siblings.py --all` (the source-of-truth tool already referenced at line 39 of this file, #6711/#6718): 166/168 pairs byte-identical | 2 consumer-pattern | 0 drift | 0 orphan | 1 unbuilt The "1 unbuilt" = `social_choice_lean_peters/PetersTour_en.lean` = the known Peters v4.27 INTRINSIC exception (#7081), not a defect. ## Key correction: "no _en sibling" != "i18n gap" The ad-hoc `find ... -name "*_en.lean"` scan flags *root aggregators* (CooperativeGames.lean 63L, Grothendieck.lean 199L, Finiteness.lean 138L -> all imports-only + FR docstring, 0 theorem/def) as PARTIAL gaps. They are FR-only *by design* (#5883 pilot): their job is to import leaf modules, and `globs := #[<Lib>.*]` auto-discovers the bilingual leaves. The new wording makes this explicit to prevent FP re-dispatch. ## Scope (1 file, 1 line, -1/+1 net same line count) - `.claude/rules/code-style.md` line 42: replace stale static backlog with the post-#4365 drained state + pointer to the canonical checker as source of truth (not a static list). Pure documentation correction (no .lean, no proof, no code). CRLF=0. Scope strict (C.3): only code-style.md staged; `proof_knowledge.json` shared-tree contamination deliberately excluded. See #4980 (i18n convention), #4365 (GT 6->2 absorption), #5883 (root aggregator FR-only pilot). Co-authored-by: Claude <noreply@anthropic.com>
… (root aggregator) (#7767) Disk reality (G.1 firsthand ls *.lean | grep -v _en = 4, ls *_en.lean = 4, wc -l = 641) had drifted from the FR+EN README claims of '3 modules .lean livrés en FR canonique + 3 siblings *_en.lean miroirs'. EPIC #4980 ratified the *root aggregator* pattern post-#5883 (see docs/lean/i18n-inventory-cycle-38.md): the FR-side Calibration.lean and its EN mirror Calibration_en.lean are imports-only by design (no declarations, no sorry), and are FR-only-by-design at the FR side because globs auto-discover the leaves _en. Both READMEs now reflect this: - FR line 21 / EN line 11: '3 modules + 3 siblings' -> '4 modules + 4 siblings' with explicit mention of the root aggregator. - FR+EN module tables: add a top row for Calibration.lean / Calibration_en.lean. Surgical 2-file patch (+4/-2, well under G.4 thresholds). Catalog and .lean files untouched (R1 + L529 STRICT). L741 grep post-patch confirms zero stale '3 modules' / '2 modules' mention left. See #3979, See #3973, See #4365 (partial contribution to the README rollout EPIC family; each lake gets its own per-lake PR). Co-authored-by: po-2023 c.581b <jsboige+bot@anthropic.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…ICT strata/tresse/Schreiber (#8189) Brique B (repo-view drift): repoint the stale GT-lake sites (Arrow, Shapley) from the consolidated social_choice_lean/cooperative_games_lean shells to their canonical homes game_theory_lean/{SocialChoice/Arrow, CooperativeGames/Shapley}.lean (EPIC #4365, PR #6058/#5883). 4 link occurrences fixed (L31 x2, footer x2). All other paths + all 0-sorry grade-A claims verified current. Brique A (ICT-view drift): one new paragraph after the Thom section widening the frozen "flat obstruction series" snapshot to the actual 7-strata construction -- the 4-fil tresse (#7738: Grothendieck, Thom, Schmidhuber ICT-16/17b, Friston ICT-14), ICT-24 IIT<->GWT as the grade-C consciousness bridge, Urs Schreiber as an external witness in the "objective logic" register (physics grade A, physics-only precaution explicit -- his page never touches consciousness), and the strates=adjonctions grade-C conjecture. Points to veille #8182. Plus a section-39 micro-tweak softening "vit tout entiere dans ce mouvement". All links firsthand-verified (Glob on the 4 ICT notebooks; GT target paths + empty shells confirmed). Grade discipline preserved: every ICT reading stays grade C. See #4588 See #7738 See #8182 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
main migrated the Lean module cooperative_games_lean -> game_theory_lean (PR #5883) and updated the line counts in the GT-15 Lean-formalization markdown link (Basic.lean 473->607, Shapley.lean 1043->2024). This branch (Shapley-value exercise enrichment #2161) had the stale path + papermill metadata on that cell. Resolved surgically: took main's canonical path/counts for the 1 conflicted markdown cell (kept this branch's enrichment in the other cells, which auto-merged). Twin-yaml resolved via check_twin_parity --update (re-staged post-update). GT-15 [OK]. PR diff atomic. Catalog=main. Co-Authored-By: Claude-Code <noreply@anthropic.com>
… strict, 2x2) dans MechanismDesign.lean - Namespace OthmanSandholm dans SocialChoice.MechanismDesign.lean : types AgentType/Report/Issue (Fin 2/Fin 2/Fin 4), mecanisme (rRow, rCol) ↦ rRow + 2*rCol, matrices uRowTypeA/A'/ColTypeA/A' transcrites verbatim page 8 du PDF, 6 theoremes : row_dominant_is_a, col_dominant_is_a, dominant_strategy_yields_o1, welfare_M1, dominant_strategy_maximizes_welfare, proposition_6_strict_MOM. Toutes les preuves par 'decide' sur le domaine fini 2x2, **0 sorry**. - Sibling _en (MechanismDesign_en.lean) ajoute pour conformite i18n Lean ratifiee par ai-01 2026-07-04 (#4980, PR #5883) : byte-identity sur signatures/preuve/tactiques, divergence FR/EN sur docstrings/commentaires uniquement. check_i18n_siblings.py --all : OK sur MechanismDesign_en.lean. - Cell 30 §4.6.4 du notebook GameTheory-16-MechanismDesign.ipynb mise a jour : verdict 'La formalisation Lean (Track 2) reste a faire' remplace par la liste des 6 theoremes, namespace, lien sibling _en. Ref: #12329 #1469 (Track 2 Sandholm references) #4980 (convention i18n Lean). Co-Authored-By: Claude-Code <noreply@anthropic.com>
Résumé
Pilote i18n EPIC #4980 (ratification user 2026-07-04) sur root aggregator
CooperativeGames.lean: transformer un commentaire EN-only en commentaire bilingue inline (FR canonique d'abord, EN en miroir).Aucun changement de code — uniquement des docstrings (+25 lignes, 0 deletions, 0 imports touchés).
Scope (§A check)
additions + deletionschangedFiles§B Lean discipline
grep -c sorryavantgrep -c sorryaprèsConvention i18n ratifiée user 2026-07-04 (#4980, verbatim)
Adaptation pour les roots aggregators : ces fichiers sont des
import-only de quelques dizaines de lignes (CooperativeGames.lean = 22 lignes, RepeatedGames.lean = 48, SocialChoice.lean = 33, Astar.lean = 4, ERC20.lean = 3...). Créer un sibling_en.leandupliquerait l'utile pour néant. L'inline-bilingue est le pattern adapté pour ces roots, et il est déjà utilisé (cf.Calibration.lean,Sensitivity.lean,CooperativeGames.leanpré-PR après ce patch).Application du pattern
README.en.md)---entre les deux blocs (lisibilité)Rollout suivant (PRs séparées, une par root — G.4 single-subject)
D'après inventaire exhaustif c.315 (15 roots gap + 2 lakes gated) :
Lakes gated (research, hors scope worker direct) :
L268 LF / L267 toolchain untouched
git ls-files --eol CooperativeGames.lean:i/lf w/lf attr/text eol=lf✓lakefile.lean,lake-manifest.json,lean-toolchain: non touchés ✓Liens
🤖 Generated with Claude Code