{
  "notes": "Episode 3/5. Authoritative budget: 23/50 used, not episode 2's predicted 24; lean-runtime-build-v1 was refused before creation. All 23 admitted items accepted and existing batches settled. No active/held work, requester notes, children or pending effects. Trunk https://github.com/identity-md-launches/goal-3470-objective-produce-first-lean.git at 5fff4405e5b89976ab98ba3ca43215b47368b4e2. No theorem yet. finish=false; cancel=[] because nothing active needs stopping.\n\nRead the 20 original triage JSONs, five merges, foundation, shortlist and harness report. Recounted 956 rows, 956 unique exact entry_ids, 18 suffixed keys, all 13 required fields nonempty. Original grades A134/B246/C546/C-SKIP24/UNVERIFIED6 are estimates, not eligibility certificates. Shards 03/06/20 have source warnings with unidentified URLs. Preserve rows, notes, source order and warnings. Shortlist's original_full_rows_available=0 describes its merge-only inputs, not a current coverage gap. Semantic/source gaps remain. Live 1000-missing.html and 1000.html reread 2026-11-26: 956 missing, 243 proved plus 1 statement-only. Database: Mathlib docs/1000.yaml.\n\nREFUSAL: the plane cannot build/upload runtimes until signed-upload isolation is checked. NO lean-runtime-build-v1 batch/result exists; do not read, wake on, resume or invent a fetch for it. Refusal was not marked outage. Do not retry that build channel. Foundation reported an 8 MiB bundle rejection and removed dependencies; old smoke logs predate removal. The merged harness repair reports genuine isolation, relocation, named-module axioms, stale-output/failure tests and online preparation on two scratch runtimes (each 165798 files, about 10.74 GB), NOT submitted. These are author checks, not independent verification. Inspected the committed scripts/interfaces: explicit --runtime, propagated failures, 535-second outer bounds, tracked source-only snapshots, per-route manifests and direct project compilation. Public pinned preparation fetches official caches and never compiles Mathlib modules. Also source-checked pinned MeromorphicAt: the assigned value at the singular point is irrelevant.\n\nDECISION: proceed to mathematical work using tested explicit public preparation, without another infrastructure-only wave waiting for unavailable uploads. One ordinary code wave proof-routes-v3 has 16 items: TWO routes for EACH of the eight shortlisted worker-grade-A targets. Disjoint source/report folders and namespaces; no build/after/targets fields. Reports land beside Lean sources so reviewers can inspect both routes even if only merges are mounted. Worker status proved is author-checked, not independently verified; partial work must be useful compiled lemmas.\n\nProvide the OFFICIAL Lean compiler through supported fetch. Metadata observed at https://api.github.com/repos/leanprover/lean4/releases/tags/v4.36.0 on 2026-11-26: linux tar.zst 607649028 bytes, SHA256 2b7ab1ed8b92d2e6abfaf41344823b510064dbc9c0260cac73eb496ab2dea6eb, matching the harness constant. This is NOT a complete Mathlib runtime. Copy the fetched toolchain into writable scratch, then prepare_runtime.sh --online sources/cache/seal phases; the cache executable uses the explicit Mathlib repository. Never build Mathlib from source or guess an artifact hash. Commands <600s; items 55 minutes, linux-x64/8 GB memory as tested. If fetch is refused, next episode may reissue unstarted work without fetch and use the tested toolchain preparation phase, keeping all verification gates.\n\nDELIVERY LIMIT: scratch/fetched dependencies are NOT ordinary committed files. Neither harness repair nor compiler fetch solves committed-only offline delivery. Keep that gate UNVERIFIED in results, reviews and write-up; supplemental-runtime passes cannot satisfy it. Preserve public pins/provenance/commands without claiming a self-contained checkout. This is an infrastructure/delivery limitation, not missing requester information; no fabricated question/artifact is appropriate. Revisit a supported ordinary-file delivery route after mathematical progress; if unavailable, report the final objective as incomplete in this respect. Only decisions.json is written.\n\nTarget map and fidelity barriers, retaining candidate-selection-v1/shortlist:\n01 Q2916568 Gomory: arbitrary opposite-colour deletions on ordinary 8x8, adjacent involution and 31-domino partition. A Hamilton cycle; B 2x2 defect transfer. Recheck Gardner Fig84 (shard03 source warning); same-colour impossibility is different.\n02 Q487132 infinite monkey: ONE AE event for every finite word at arbitrarily large offsets, full-support iid finite alphabet, empty word/unequal probabilities. A Borel-Cantelli; B geometric no-hit tails.\n03 Q3527044 Pappus area: arbitrary exterior oblique parallelograms, unique opposite-line intersection H, directed HA third side, exterior placement and Lebesgue area sum. A determinant/measure bridge; B shear/cut. Signed algebra alone is partial.\n04 Q6481192 Lambek-Moser: monotone zero-based f,g; (forall i j,f i<=j iff i<g j) iff shifted ranges partition N, plus existence/uniqueness for infinite partitions. A prefix ranks; B lattice frontier.\n05 Q3534036 Pompeiu: all P, positive equilateral triangle, distance witness nondegenerate iff P off circumcircle, including vertices. A complex rotation/cyclicity; B Heron identity/realization. Distance-only proof is partial.\n06 Q2226962 Casorati-Weierstrass: nonmeromorphic punctured holomorphic germ has dense image on EACH punctured ball. A bounded reciprocal/removable extension; B quadratic regularization/direct derivative. Not surjectivity.\n07 Q856158 Midy: arbitrary base/numerator, even minimal period, padded half-block/digit complements plus long-division/order bridge. A half-order -1/factorization; B complementary remainders. Congruence alone is partial.\n08 Q3154003 Le Cam: all finite independent Bernoulli families, summability, l1<=2sum p_i^2, endpoints/empty family. A convolution contraction; B coupling. Contiguity/minimax results are different.\nAPIs remain provisional until compiled. Zero hits do not certify priority. Preserve shortlist exclusions/reserves; do not promote B/C targets.\n\nRead next: all 20 original triage reports + shortlist + harness + eight proof merges =30. Each merge preserves every route's declarations/status/paths/blockers, not only a winner, and is not an independent audit. If groups differ from adjacent A/B pairs, preserve all targets and inspect merged trunk reports. Final table must use the original 956 rows, suffix keys, source ordinals and annotations, not truncated merge tables.\n\nBudget after spawn: 39/50 used, 11 left. Episode 4: inspect actual merged proofs/logs, choose the strongest faithful route per target or useful compiled partial lemmas, then allocate up to eight DIFFERENT-AUTHOR reviews on fresh clones of the actual source commit. Require genuine isolated rebuilding with runtime provenance, strict axiom allowlist, full statement fidelity, renewed GitHub/PR/Zulip checks and a separate committed-only delivery gate. Record reviewed commit/file hashes; a same-wave repair is not reviewed evidence. One extra item may repair the best prospect, leaving two for episode 5 independent recheck/integration. If fewer targets yield useful code, redirect unused reviews toward completing the strongest faithful novel target and reserve its independent check. Do not leave a last-episode repair unchecked. Final write-up materializes all triage rows, includes Lean/build/axiom/explanation/fidelity/novelty/database evidence for finished theorems, and compiled partial lemmas/blockers otherwise. One faithful novel theorem takes priority over quantity; unresolved delivery/verification limits stay explicit.\n\nWake on proof-routes-v3 settlement with 360-minute scheduler fallback for runs/retries/merges. This schedules future work and is NOT a local wait. No theorem implementation or public posting by this episode.",
  "spawn": [
    {
      "name": "proof-routes-v3",
      "mode": "code",
      "brief": "Implement ONE proof route for {{name}} ({{qid}}), {{target}}/{{route}}, using namespace MissingTheorems.{{target}}.{{route}} and only your scope.\nStatement: {{statement}}\nRoute: {{proof}}\nStarting APIs: {{apis}}\nSource: {{source}}\nKeep Lean 4.36.0 / Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842 and all configuration. Dereference-copy the toolchain root containing bin/lean under .imd/fetch/lean436 to writable scratch runtime/toolchain. Run scripts/prepare_runtime.sh --online --phase P --output DIR for P=sources,cache,seal. Its tested cache phase invokes the official lake exe cache get executable; never build Mathlib from source. Commands <600s; item 55 minutes.\nDeliver Mathlib-style Lean, docstrings with full informal statement/short source quote/Q-id; no sorry, admit, native_decide or new axioms. Unfinished work must be useful compiled lemmas with exact blockers.\nUnder formalization/reports/{{target}}/{{route}}/ deliver declarations.json, build.log, axioms.log, explanation.md, fidelity.md, prior-work.md, entry.yaml, result.json. Use the nonempty manifest schema in docs/SUBMISSION_FORMAT.md. Track new sources/manifests before snapshots. Run offline_test.sh --runtime DIR selecting your --module and --manifest; never use infrastructure-only for a proof pass. Record commands/exits, pins, file hashes/runtime digest; only propext, Classical.choice, Quot.sound in axioms.\nRecheck names/aliases/statements in Mathlib/master, Loogle/Moogle, GitHub, Mathlib open PRs and public Zulip. Record URLs/dates/errors; blocked searches are UNVERIFIED. Report matching prior work without switching targets. Review every fidelity clause; partial database entries are unready. No public posting.\nReturn ONE JSON: target, route, qid, base_commit, status (proved/partial/blocked/prior-work), modules, declarations, evidence paths, commands/exits, blockers, gates (build, axioms, full_statement, prior_work, committed_only_offline). Missing checks/independent review are UNVERIFIED. Supplemental-runtime passes do not establish committed-only delivery or independent review.",
      "items": [
        {
          "key": "target-01-a",
          "vars": {
            "name": "Gomory’s theorem",
            "qid": "Q2916568",
            "target": "Target01",
            "route": "RouteA",
            "statement": "For any two squares of opposite colours removed anywhere from an ordinary 8×8 chessboard, the other 62 squares admit a disjoint cover by 31 dominoes, each occupying two squares sharing an edge. Use Cell=Fin 8×Fin 8; an adjacent involution on the survivors must yield the 31-domino partition. No wraparound edges.",
            "proof": "Hamiltonian cycle. Reserve one column to close a serpentine traversal; rotate the order so the first removed square has index zero. Alternating parity implies the other index is odd. In each complementary open arc pair positions consecutively.",
            "apis": "SimpleGraph.IsHamiltonian.of_perm; Nat.dist",
            "source": "https://bobson.ludost.net/copycrime/mgardner/gardner04.pdf (Fig.84; recheck the passage)"
          },
          "scope": [
            "formalization/MissingTheorems/Target01/RouteA/**",
            "formalization/reports/Target01/RouteA/**"
          ]
        },
        {
          "key": "target-01-b",
          "vars": {
            "name": "Gomory’s theorem",
            "qid": "Q2916568",
            "target": "Target01",
            "route": "RouteB",
            "statement": "For any two squares of opposite colours removed anywhere from an ordinary 8×8 chessboard, the other 62 squares admit a disjoint cover by 31 dominoes, each occupying two squares sharing an edge. Use Cell=Fin 8×Fin 8; an adjacent involution on the survivors must yield the 31-domino partition. No wraparound edges.",
            "proof": "Tile by aligned 2×2 blocks except along a simple block path between the defects. At each block use a domino across the outgoing block edge, choosing its internal endpoint opposite the colour of the incoming hole. The two remaining cells of that block form one domino. Treat two deletions within the same block directly.",
            "apis": "SimpleGraph.IsHamiltonian.of_perm; Nat.dist",
            "source": "https://bobson.ludost.net/copycrime/mgardner/gardner04.pdf (Fig.84; recheck the passage)"
          },
          "scope": [
            "formalization/MissingTheorems/Target01/RouteB/**",
            "formalization/reports/Target01/RouteB/**"
          ]
        },
        {
          "key": "target-02-a",
          "vars": {
            "name": "Infinite monkey theorem",
            "qid": "Q487132",
            "target": "Target02",
            "route": "RouteA",
            "statement": "Let A be a finite alphabet and X₀,X₁,… iid A-valued random variables with positive mass on each symbol (uniform in Tassion’s version). Almost surely every finite word over A occurs as a contiguous block at arbitrarily large offsets, hence infinitely often for every nonempty word. Keep ONE AE event for all words and include the empty word.",
            "proof": "On the k-spaced block events use the product formula to get a fixed positive probability, then apply second Borel–Cantelli and AE countable intersection.",
            "apis": "ProbabilityTheory.measure_limsup_eq_one; ProbabilityTheory.iIndepFun.meas_biInter; ProbabilityTheory.iIndepFun.precomp",
            "source": "https://metaphor.ethz.ch/x/2025/hs/401-3601-00L/main.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target02/RouteA/**",
            "formalization/reports/Target02/RouteA/**"
          ]
        },
        {
          "key": "target-02-b",
          "vars": {
            "name": "Infinite monkey theorem",
            "qid": "Q487132",
            "target": "Target02",
            "route": "RouteB",
            "statement": "Let A be a finite alphabet and X₀,X₁,… iid A-valued random variables with positive mass on each symbol (uniform in Tassion’s version). Almost surely every finite word over A occurs as a contiguous block at arbitrarily large offsets, hence infinitely often for every nonempty word. Keep ONE AE event for all words and include the empty word.",
            "proof": "Use independence of complements to compute the finite no-hit tail probability (1−q)^m. Its limit is zero, so no tail can avoid the word except on a null event. Take the countable union of exceptional tails and words.",
            "apis": "ProbabilityTheory.measure_limsup_eq_one; ProbabilityTheory.iIndepFun.meas_biInter; ProbabilityTheory.iIndepFun.precomp",
            "source": "https://metaphor.ethz.ch/x/2025/hs/401-3601-00L/main.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target02/RouteB/**",
            "formalization/reports/Target02/RouteB/**"
          ]
        },
        {
          "key": "target-03-a",
          "vars": {
            "name": "Pappus’s area theorem",
            "qid": "Q3527044",
            "target": "Target03",
            "route": "RouteA",
            "statement": "Let ABC be a noncollinear planar triangle. Erect two nondegenerate parallelograms externally on AB and AC. Let H be the intersection of their lines opposite AB and AC. Erect the parallelogram on BC with its added sides the translate of directed HA. This third parallelogram lies externally and its area is the sum of the other two areas. Prove existence/uniqueness of H and identify geometric area with volume of the four-vertex convex hull.",
            "proof": "In the frame u=B−A,v=C−A write H−A=x+su=y+tv. The third determinant is cross(u,x)−cross(v,y). The exterior signs give the absolute-value sum and show the third piece is external.",
            "apis": "Matrix.det_fin_two; MeasureTheory.Measure.addHaar_parallelepiped; AlternatingMap.measure_parallelepiped",
            "source": "https://www.math.mcgill.ca/alapierre/math228/articles/%5BEve58%5D.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target03/RouteA/**",
            "formalization/reports/Target03/RouteA/**"
          ]
        },
        {
          "key": "target-03-b",
          "vars": {
            "name": "Pappus’s area theorem",
            "qid": "Q3527044",
            "target": "Target03",
            "route": "RouteB",
            "statement": "Let ABC be a noncollinear planar triangle. Erect two nondegenerate parallelograms externally on AB and AC. Let H be the intersection of their lines opposite AB and AC. Erect the parallelogram on BC with its added sides the translate of directed HA. This third parallelogram lies externally and its area is the sum of the other two areas. Prove existence/uniqueness of H and identify geometric area with volume of the four-vertex convex hull.",
            "proof": "Use base-parallel shears to move each of the two exterior parallelograms to the Eves intermediate parallelograms, then cut the third by the line through A parallel to HA. Transfer equal-base, equal-height areas and use additivity with boundary of area zero.",
            "apis": "Matrix.det_fin_two; MeasureTheory.Measure.addHaar_parallelepiped; AlternatingMap.measure_parallelepiped",
            "source": "https://www.math.mcgill.ca/alapierre/math228/articles/%5BEve58%5D.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target03/RouteB/**",
            "formalization/reports/Target03/RouteB/**"
          ]
        },
        {
          "key": "target-04-a",
          "vars": {
            "name": "Lambek–Moser theorem",
            "qid": "Q6481192",
            "target": "Target04",
            "route": "RouteA",
            "statement": "For two nondecreasing sequences f and g of nonnegative integers, indexed from 1, generalized inverseness means f(m)<n iff g(n)≥m. They are inverse exactly when the ranges of m+f(m) and n+g(n) partition the positive integers. Each partition into two infinite parts arises uniquely by subtracting the index from the increasing enumerations. Zero-based inverse: ∀ i j, f i≤j ↔ i<g j; shifted ranges i+f i and j+g j partition ℕ.",
            "proof": "Rank counting in ℕ. Compare F i and G j through i+j; under inverse inequalities exactly one can occupy the next slot. For the reverse implication count how many elements of G precede F i, namely F i−i.",
            "apis": "Nat.Subtype.orderIsoOfNat; Nat.orderEmbeddingOfSet_range; strictMono_nat_of_lt_succ",
            "source": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/3FB4F6EC03277DE87281A1C673527337/S0008439500052103a.pdf/partitions_of_the_natural_numbers.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target04/RouteA/**",
            "formalization/reports/Target04/RouteA/**"
          ]
        },
        {
          "key": "target-04-b",
          "vars": {
            "name": "Lambek–Moser theorem",
            "qid": "Q6481192",
            "target": "Target04",
            "route": "RouteB",
            "statement": "For two nondecreasing sequences f and g of nonnegative integers, indexed from 1, generalized inverseness means f(m)<n iff g(n)≥m. They are inverse exactly when the ranges of m+f(m) and n+g(n) partition the positive integers. Each partition into two infinite parts arises uniquely by subtracting the index from the increasing enumerations. Zero-based inverse: ∀ i j, f i≤j ↔ i<g j; shifted ranges i+f i and j+g j partition ℕ.",
            "proof": "Trace the integer lattice boundary of the region f i ≤ j. Each step consumes one new position, horizontal steps occur at i+f i, and vertical steps occur at j+g j. Recover the inverse by the same frontier invariant.",
            "apis": "Nat.Subtype.orderIsoOfNat; Nat.orderEmbeddingOfSet_range; strictMono_nat_of_lt_succ",
            "source": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/3FB4F6EC03277DE87281A1C673527337/S0008439500052103a.pdf/partitions_of_the_natural_numbers.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target04/RouteB/**",
            "formalization/reports/Target04/RouteB/**"
          ]
        },
        {
          "key": "target-05-a",
          "vars": {
            "name": "Pompeiu’s theorem (equilateral triangle)",
            "qid": "Q3534036",
            "target": "Target05",
            "route": "RouteA",
            "statement": "For any equilateral triangle of positive side length and any point P in its plane, the three distances from P to the vertices satisfy the triangle inequalities. Off the circumcircle they are the lengths of a nondegenerate triangle. On the circumcircle the construction may degenerate and one of the inequalities is an equality. In fact a cyclic P makes one side exactly the sum of the other two, including when P is a vertex. Give a distance-triangle witness nondegenerate iff P is off the circumcircle; include vertices.",
            "proof": "Use a unit complex multiplier q taking a−b to c−b. Since ‖1−q‖=1, p, c and b+q(p−b) have the desired three distances. Derive cyclicity from collinearity via the inscribed-angle criterion and handle coincident points separately.",
            "apis": "Complex.dist_eq; Complex.norm_mul; EuclideanGeometry.Cospherical",
            "source": "https://www.cs.utexas.edu/~EWD/ewd10xx/EWD1017.PDF"
          },
          "scope": [
            "formalization/MissingTheorems/Target05/RouteA/**",
            "formalization/reports/Target05/RouteA/**"
          ]
        },
        {
          "key": "target-05-b",
          "vars": {
            "name": "Pompeiu’s theorem (equilateral triangle)",
            "qid": "Q3534036",
            "target": "Target05",
            "route": "RouteB",
            "statement": "For any equilateral triangle of positive side length and any point P in its plane, the three distances from P to the vertices satisfy the triangle inequalities. Off the circumcircle they are the lengths of a nondegenerate triangle. On the circumcircle the construction may degenerate and one of the inequalities is an equality. In fact a cyclic P makes one side exactly the sum of the other two, including when P is a vertex. Give a distance-triangle witness nondegenerate iff P is off the circumcircle; include vertices.",
            "proof": "Normalize by similarity to (0,0),(1,0),(1/2,√3/2). Prove the Heron polynomial is 3*(x²+y²-x-y/√3)^2, derive weak/strict triangle inequalities, realize the lengths and prove the circumcircle equivalence.",
            "apis": "Complex.dist_eq; Complex.norm_mul; EuclideanGeometry.Cospherical",
            "source": "https://www.cs.utexas.edu/~EWD/ewd10xx/EWD1017.PDF"
          },
          "scope": [
            "formalization/MissingTheorems/Target05/RouteB/**",
            "formalization/reports/Target05/RouteB/**"
          ]
        },
        {
          "key": "target-06-a",
          "vars": {
            "name": "Casorati–Weierstrass theorem",
            "qid": "Q2226962",
            "target": "Target06",
            "route": "RouteA",
            "statement": "Let c∈ℂ and R>0. If f is holomorphic on 0<|z−c|<R and has an essential isolated singularity at c, then for every 0<r≤R the image of 0<|z−c|<r is dense in ℂ. Essential means it is neither removable nor a pole, equivalently the punctured germ is not meromorphic at c. Use ¬MeromorphicAt f c; the assigned f(c) is irrelevant.",
            "proof": "If an open disk at w is omitted, h=(f−w)⁻¹ is bounded and holomorphic on the punctured disk. Apply the existing removable-singularity theorem to h. Meromorphic inversion and eventual equality give a meromorphic germ for f.",
            "apis": "Complex.differentiableOn_update_limUnder_of_bddAbove; MeromorphicAt; AnalyticAt.meromorphicAt",
            "source": "https://www.iitg.ac.in/rksri/MA547%20Complex%20Analysis%20lecture%20notes%202025.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target06/RouteA/**",
            "formalization/reports/Target06/RouteA/**"
          ]
        },
        {
          "key": "target-06-b",
          "vars": {
            "name": "Casorati–Weierstrass theorem",
            "qid": "Q2226962",
            "target": "Target06",
            "route": "RouteB",
            "statement": "Let c∈ℂ and R>0. If f is holomorphic on 0<|z−c|<R and has an essential isolated singularity at c, then for every 0<r≤R the image of 0<|z−c|<r is dense in ℂ. Essential means it is neither removable nor a pole, equivalently the punctured germ is not meromorphic at c. Use ¬MeromorphicAt f c; the assigned f(c) is irrelevant.",
            "proof": "Avoid the removable-singularity theorem. Define H(c)=0 and H(z)=(z−c)^2/(f(z)−w) elsewhere. The difference quotient at c tends to zero directly from the omitted-disk estimate, so H is holomorphic throughout the disk. Meromorphic f follows from (z−c)^2/H(z)+w on the punctured germ.",
            "apis": "Complex.differentiableOn_update_limUnder_of_bddAbove; MeromorphicAt; AnalyticAt.meromorphicAt",
            "source": "https://www.iitg.ac.in/rksri/MA547%20Complex%20Analysis%20lecture%20notes%202025.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target06/RouteB/**",
            "formalization/reports/Target06/RouteB/**"
          ]
        },
        {
          "key": "target-07-a",
          "vars": {
            "name": "Midy’s theorem",
            "qid": "Q856158",
            "target": "Target07",
            "route": "RouteA",
            "statement": "Let b≥2, p be a prime coprime to b, and 0<a<p. If the minimal base-b period of a/p has even length 2k, the two k-digit blocks, padded with leading zero digits as needed, add to b^k−1 and each pair of corresponding digits adds to b−1. The decimal case is b=10. Prove the long-division/order equivalence and the zero-padded digit bridge; a congruence alone is partial.",
            "proof": "In ZMod p the midpoint power is a square root of one other than one, hence equals −1. Thus p divides b^k+1. The period integer is a multiple of B−1 by factoring B²−1, and its positive size forces the two block values to sum to B−1.",
            "apis": "orderOf_dvd_iff_pow_eq_one; ZMod p as a field for Fact p.Prime",
            "source": "https://arxiv.org/pdf/math/0605182"
          },
          "scope": [
            "formalization/MissingTheorems/Target07/RouteA/**",
            "formalization/reports/Target07/RouteA/**"
          ]
        },
        {
          "key": "target-07-b",
          "vars": {
            "name": "Midy’s theorem",
            "qid": "Q856158",
            "target": "Target07",
            "route": "RouteB",
            "statement": "Let b≥2, p be a prime coprime to b, and 0<a<p. If the minimal base-b period of a/p has even length 2k, the two k-digit blocks, padded with leading zero digits as needed, add to b^k−1 and each pair of corresponding digits adds to b−1. The decimal case is b=10. Prove the long-division/order equivalence and the zero-padded digit bridge; a congruence alone is partial.",
            "proof": "Use the long-division remainder after k steps, p−a. If aB=pU+r then (p−a)B=p(B−U−1)+(p−r). The two chunks are U and B−U−1. Prove the digit complement directly by duplicating the remainder update for a and p−a.",
            "apis": "orderOf_dvd_iff_pow_eq_one; ZMod p as a field for Fact p.Prime",
            "source": "https://arxiv.org/pdf/math/0605182"
          },
          "scope": [
            "formalization/MissingTheorems/Target07/RouteB/**",
            "formalization/reports/Target07/RouteB/**"
          ]
        },
        {
          "key": "target-08-a",
          "vars": {
            "name": "Le Cam’s Poisson approximation inequality",
            "qid": "Q3154003",
            "target": "Target08",
            "route": "RouteA",
            "statement": "For any finite family of independent Bernoulli variables Xᵢ with arbitrary success probabilities pᵢ∈[0,1], let S be their sum and λ=∑ᵢpᵢ. The sum over k≥0 of |Pr(S=k)−e^(−λ)λ^k/k!| is at most 2∑ᵢpᵢ², equivalently TV at most ∑ᵢpᵢ². This is the finite Bernoulli specialization of Le Cam 1960, Proposition 1. Include summability, the empty family and p_i=0 or 1.",
            "proof": "Telescope differences of finite convolutions and use contraction of convolution by a probability law. The ℓ¹ difference of Bernoulli(p) and Poisson(p) equals 2p(1−e^(−p))≤2p² by explicit singletons. Collapse the Poisson convolution using Mathlib.",
            "apis": "ProbabilityTheory.poissonMeasure_real_singleton; ProbabilityTheory.hasSum_one_poissonMeasure; ProbabilityTheory.poissonMeasure_conv_poissonMeasure",
            "source": "https://msp.org/pjm/1960/10-4/pjm-v10-n4-p11-p.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target08/RouteA/**",
            "formalization/reports/Target08/RouteA/**"
          ]
        },
        {
          "key": "target-08-b",
          "vars": {
            "name": "Le Cam’s Poisson approximation inequality",
            "qid": "Q3154003",
            "target": "Target08",
            "route": "RouteB",
            "statement": "For any finite family of independent Bernoulli variables Xᵢ with arbitrary success probabilities pᵢ∈[0,1], let S be their sum and λ=∑ᵢpᵢ. The sum over k≥0 of |Pr(S=k)−e^(−λ)λ^k/k!| is at most 2∑ᵢpᵢ², equivalently TV at most ∑ᵢpᵢ². This is the finite Bernoulli specialization of Le Cam 1960, Proposition 1. Include summability, the empty family and p_i=0 or 1.",
            "proof": "Construct independent Bernoulli/Poisson pairs. For each pair make X=1 whenever Y≥1 and allocate additional mass p−(1−e^(−p)) to (X=1,Y=0). The one-pair mismatch is p(1−e^(−p)). The probability the sums differ is bounded by the union of mismatches, and coupling implies the ℓ¹ bound.",
            "apis": "ProbabilityTheory.poissonMeasure_real_singleton; ProbabilityTheory.hasSum_one_poissonMeasure; ProbabilityTheory.poissonMeasure_conv_poissonMeasure",
            "source": "https://msp.org/pjm/1960/10-4/pjm-v10-n4-p11-p.pdf"
          },
          "scope": [
            "formalization/MissingTheorems/Target08/RouteB/**",
            "formalization/reports/Target08/RouteB/**"
          ]
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 16000
      },
      "merge": {
        "groupSize": 2,
        "brief": "Produce ONE route-comparison JSON. Preserve EVERY item key, target/Q-id, route, status, base commit/file hashes, modules/declarations, source/report paths, build/axiom exits, fidelity clauses proved/missing, prior-work findings, runtime provenance/delivery gates and exact blockers. Keep different targets separate if grouping differs from A/B pairs. Recommend the strongest faithful route or useful compiled lemmas; acceptance or empty builds are not completion. Check cited trunk evidence when accessible, otherwise mark UNVERIFIED. Do not invent/patch proofs. List independent reviews still needed. A merge is not an independent rebuild/fidelity/priority certificate, and a scratch/fetched runtime is not committed-only delivery."
      },
      "minutes": 55,
      "requires": {
        "platform": [
          "linux-x64"
        ],
        "minMemoryGb": 8
      },
      "fetch": [
        {
          "name": "lean436",
          "url": "https://github.com/leanprover/lean4/releases/download/v4.36.0/lean-4.36.0-linux.tar.zst",
          "sha256": "2b7ab1ed8b92d2e6abfaf41344823b510064dbc9c0260cac73eb496ab2dea6eb",
          "bytes": 607649028,
          "unpack": "tar.zst"
        }
      ]
    }
  ],
  "read": [
    "catalogue-triage-v1/shard-01",
    "catalogue-triage-v1/shard-02",
    "catalogue-triage-v1/shard-03",
    "catalogue-triage-v1/shard-04",
    "catalogue-triage-v1/shard-05",
    "catalogue-triage-v1/shard-06",
    "catalogue-triage-v1/shard-07",
    "catalogue-triage-v1/shard-08",
    "catalogue-triage-v1/shard-09",
    "catalogue-triage-v1/shard-10",
    "catalogue-triage-v1/shard-11",
    "catalogue-triage-v1/shard-12",
    "catalogue-triage-v1/shard-13",
    "catalogue-triage-v1/shard-14",
    "catalogue-triage-v1/shard-15",
    "catalogue-triage-v1/shard-16",
    "catalogue-triage-v1/shard-17",
    "catalogue-triage-v1/shard-18",
    "catalogue-triage-v1/shard-19",
    "catalogue-triage-v1/shard-20",
    "candidate-selection-v1/shortlist",
    "lean-runtime-repair-v2/harness",
    "proof-routes-v3/merge-01",
    "proof-routes-v3/merge-02",
    "proof-routes-v3/merge-03",
    "proof-routes-v3/merge-04",
    "proof-routes-v3/merge-05",
    "proof-routes-v3/merge-06",
    "proof-routes-v3/merge-07",
    "proof-routes-v3/merge-08"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "proof-routes-v3"
    ],
    "afterMinutes": 360
  },
  "finish": false
}
