{
  "slug": "erdos723-erdos-723-variants-eq-12",
  "mode": "formalized",
  "challenge_sha256": "sha256:61851a3cc2d776cd91d4fcd75686ed7b8538ab30832356be34dca776964a7c0b",
  "class": "d",
  "chance_pct": 0.01,
  "status": "partial",
  "has_main": false,
  "handoff": false,
  "inventory": {
    "scope": "Only the assigned e723 target.",
    "statement": "True ↔ ∃ P L x x_1 x_2 pp, Configuration.ProjectivePlane.order P L = 12",
    "source": "https://github.com/google-deepmind/formal-conjectures/blob/7d1a8c9912747679d0093f6d1216420c33ee5ffa/FormalConjectures/ErdosProblems/723.lean",
    "open": true,
    "attempts": 0,
    "bounty": {
      "amount_rao": 8295882105611,
      "amount_usd": "2989.35",
      "policy_version": "linear-age-v3-chat-logs",
      "available": true,
      "reason": "OPEN",
      "as_of": "2026-11-26T12:30:00Z",
      "locked": false
    },
    "catalog_url": "https://conjectures.io/v1/catalog/conjectures/erdos723-erdos-723-variants-eq-12",
    "pinned_metadata_url": "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos723-erdos-723-variants-eq-12/metadata.json",
    "modes": {
      "formalized": {
        "challenge_url": "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos723-erdos-723-variants-eq-12/formalized/Challenge.lean",
        "challenge_sha256": "sha256:61851a3cc2d776cd91d4fcd75686ed7b8538ab30832356be34dca776964a7c0b",
        "attempts": 0,
        "source": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\nnamespace Bounty\n\ntheorem target : fcTypeOfName% \"Erdos723.erdos_723.variants.eq_12\" := by\n  sorry\n\nend Bounty\n",
        "expanded_statement": "True ↔ ∃ (P L : Type) (inc : Membership P L) (_ : Fintype P) (_ : Fintype L) (pp : @Configuration.ProjectivePlane P L inc), @Configuration.ProjectivePlane.order P L inc pp = 12"
      },
      "counterexample": {
        "challenge_url": "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos723-erdos-723-variants-eq-12/counterexample/Challenge.lean",
        "challenge_sha256": "sha256:0250686ad1faeb2a1522ce6b807e24aa1c8286e87743c9dde98106ed5655509f",
        "attempts": 0,
        "source": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\nnamespace Bounty\n\ntheorem target : ¬ (fcTypeOfName% \"Erdos723.erdos_723.variants.eq_12\") := by\n  sorry\n\nend Bounty\n",
        "expanded_statement": "¬ (True ↔ ∃ (P L : Type) (inc : Membership P L) (_ : Fintype P) (_ : Fintype L) (pp : @Configuration.ProjectivePlane P L inc), @Configuration.ProjectivePlane.order P L inc pp = 12)"
      }
    }
  },
  "plan": "Verify a five-square order-12 family and two smaller finite-field controls, then extend fixed order-12 seed families by covering the grid with common transversals. Treat the lines as arbitrary subsets subject to incidence constraints so completions can break seed symmetries. Test direct point-pair incidence cover without requiring parallel classes, and connect a complete family to the audited Mathlib projective plane by adding one point per direction and the line at infinity. A full refutation would require coverage of arbitrary order-12 incidence structures, while a full proof needs one verified witness. The chance estimate is a subjective estimate for this bounded run given the absence of a reduction to a globally exhaustive search.",
  "exact_definitions": {
    "task_elaboration": "TaskSupport retrieves the named declaration's type. In the archived source, the default alwaysTrue answer elaborator evaluates answer(sorry) at Prop to True. The proof of the archived theorem is forbidden. The two shape equalities in IncidenceBridge.lean use rfl to confirm the elaborated targets.",
    "P_and_L": "P and L are types in Type (universe zero). inc is a Membership P L giving the proposition of point p incident with line l. Separate Fintype witnesses enumerate P and L.",
    "projective_plane": "Configuration.ProjectivePlane extends HasPoints and HasLines. They supply a point meeting each pair of distinct lines and a line joining each pair of distinct points. Their shared Nondegenerate structure requires a point outside each line and a line missing each point, and enforces p₁ = p₂ or l₁ = l₂ whenever both points lie on both lines. The additional configuration is ∃ p₁ p₂ p₃ l₁ l₂ l₃, p₁ ∉ l₂ ∧ p₁ ∉ l₃ ∧ p₂ ∉ l₁ ∧ p₂ ∈ l₂ ∧ p₂ ∈ l₃ ∧ p₃ ∉ l₁ ∧ p₃ ∈ l₂ ∧ p₃ ∉ l₃.",
    "order": "ProjectivePlane.order P L is lineCount L (Classical.choose exists_config) - 1, with ℕ subtraction. lineCount L p is Nat.card {l : L // p ∈ l}. For finite planes Mathlib proves this count is order + 1 at every point and pointCount on every line is also order + 1. The point and line types each have cardinality order^2 + order + 1.",
    "mismatch": "The broad Erdős question asks whether every finite projective plane has prime-power order. The advertised eq_12 variant isolates existence at order 12, with a True wrapper in the formalized mode and its exact negation in counterexample mode. No mathematical mismatch was found with the order-12 variant. A formalized-mode witness would refute the broad prime-power conjecture, and a counterexample-mode proof would settle the order-12 case of it.",
    "sources": [
      "https://raw.githubusercontent.com/google-deepmind/formal-conjectures/7d1a8c9912747679d0093f6d1216420c33ee5ffa/FormalConjectures/ErdosProblems/723.lean",
      "https://raw.githubusercontent.com/leanprover-community/mathlib4/065356127b1dc0016f66b7283ce0ce2c4055aa55/Mathlib/Combinatorics/Configuration.lean",
      "https://raw.githubusercontent.com/conjectures-io/conjectures-validator/57c969e87cad845b60908cef474c8d1c0b6e43c5/lean/TaskSupport.lean",
      "https://www.erdosproblems.com/723"
    ]
  },
  "literature_check": {
    "checked_on": "2026-11-26",
    "conclusion": "No established matching existence or nonexistence result found in the sources or targeted arXiv searches.",
    "scope": "Order 12 with arbitrary incidence and collineation group. The current open designation and targeted searches are evidence bounded to the records visited.",
    "rules_read_first": [
      "https://conjectures.io/how-it-works",
      "https://conjectures.io/submission-terms"
    ],
    "records": [
      {
        "url": "https://www.erdosproblems.com/723",
        "date": "2026-11-26",
        "checked_on": "2026-11-26",
        "scope": "Original question and the order-12 variant. The page calls the variant open and reports zero comments."
      },
      {
        "url": "https://www.erdosproblems.com/forum/discuss/723",
        "date": "2026-11-26",
        "checked_on": "2026-11-26",
        "scope": "Checked the discussion page directly. Its post list was empty."
      },
      {
        "url": "https://www.erdosproblems.com/bibs/Er81",
        "date": "1981",
        "checked_on": "2026-11-26",
        "scope": "Erdős, On the combinatorial problems which I would most like to see solved, Combinatorica 1, 25–42. In the relevant passage, Erdős asks for k²+k+1 blocks of size k+1 covering each pair once. He highlights k=10 as the first unknown case at publication. Read the original passage from the Rényi scan.",
        "doi": "https://doi.org/10.1007/BF02579174",
        "paper": "https://users.renyi.hu/~p_erdos/1981-16.pdf"
      },
      {
        "url": "https://www.erdosproblems.com/bibs/BrRy49",
        "date": "1949",
        "checked_on": "2026-11-26",
        "scope": "Bruck–Ryser requires order congruent to 1 or 2 modulo 4 for the sum-of-two-squares conclusion. Order 12 is 0 modulo 4. Checked the original Theorem 1: its exclusion assumes the square-free part has a prime factor of form 4k+3 as well as the modulus hypothesis.",
        "doi": "https://doi.org/10.4153/CJM-1949-009-2",
        "paper": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2A2E0D91C8E872232A01C7519F14D705/S0008414X00028686a.pdf/the-nonexistence-of-certain-finite-projective-planes.pdf"
      },
      {
        "url": "https://www.erdosproblems.com/bibs/La97",
        "date": "1997",
        "checked_on": "2026-11-26",
        "scope": "Problem bibliography reprint citation for Lam's account of the order-10 computer search. The 1991 original and later certificate studies concern order 10.",
        "original": "https://doi.org/10.1080/00029890.1991.12000759",
        "example_certificate": "https://arxiv.org/abs/2001.11974"
      },
      {
        "url": "https://ajc.maths.uq.edu.au/pdf/74/ajc_v74_p112.pdf",
        "date": "2019",
        "checked_on": "2026-11-26",
        "scope": "Akiyama, Suetake and Tanaka exclude collineation groups of order 9. The introduction states the equivalence with n−1 MOLS and reviews the order-10 and Bruck–Ryser scope."
      },
      {
        "url": "https://doi.org/10.1002/jcd.21869",
        "date": "2023-02",
        "checked_on": "2026-11-26",
        "scope": "Akiyama, Suetake and Tanaka, J. Combin. Designs 31(2), 87–123. Excludes collineation groups of order 4 and concludes the only possible group orders are 1, 2 and 3. Crossref abstract and publication metadata reviewed. Publisher full text UNVERIFIED.",
        "online": "2022-12-05",
        "abstract": "https://api.crossref.org/works/10.1002/jcd.21869"
      },
      {
        "url": "https://doi.org/10.1109/MLBDBI48998.2019.00009",
        "date": "2019-11",
        "checked_on": "2026-11-26",
        "scope": "Mingchun Xu proposes ordered incidence matrices and necessary conditions. Its abstract explicitly describes order 12 as open. Full-text review UNVERIFIED.",
        "abstract": "https://api.semanticscholar.org/graph/v1/paper/DOI:10.1109/MLBDBI48998.2019.00009?fields=title,abstract,openAccessPdf"
      },
      {
        "url": "https://zenodo.org/api/records/23609618",
        "date": "2026-10-27",
        "checked_on": "2026-11-26",
        "scope": "Tomar v6 studies the conditional subplane-of-order-3 case and maximal-arc restrictions, including exclusion of the AG(3,3) arc design. Its paper explicitly leaves existence open.",
        "paper": "https://zenodo.org/api/records/23717956/files/Tomar-subplanes-order-3-planes-order-12-v6.pdf/content"
      },
      {
        "url": "https://zenodo.org/api/records/24198428",
        "date": "2026-11-13",
        "checked_on": "2026-11-26",
        "scope": "Havelka reports a Lean reduction and DRAT certificates for exclusion of order-three collineations with exactly ten fixed points. Its introduction leaves order 12 open, and the claimed group restrictions still allow a trivial group. Certificate replay UNVERIFIED.",
        "paper": "https://zenodo.org/api/records/24198429/files/Havelka-order12-collineation-order3-ten-fixed-points.pdf/content"
      },
      {
        "url": "https://export.arxiv.org/api/query?search_query=all%3A%22projective+plane%22+AND+%28all%3A%22order+12%22+OR+all%3A%22order+twelve%22%29&sortBy=submittedDate&sortOrder=descending&max_results=40",
        "date": "2026-11-26",
        "checked_on": "2026-11-26",
        "scope": "Exact order queries returned 0 hits with the projective-plane title restriction and 2 unrelated hits with general projective-plane terminology."
      },
      {
        "url": "https://export.arxiv.org/api/query?search_query=%28ti%3A%22Latin+squares%22+OR+ti%3A%22finite+geometries%22%29+AND+%28all%3A%22order+12%22+OR+all%3A%22order+twelve%22%29&sortBy=submittedDate&sortOrder=descending&max_results=40",
        "date": "2026-11-26",
        "checked_on": "2026-11-26",
        "scope": "Title search for Latin squares or finite geometries combined with the order-12 expressions returned zero hits."
      },
      {
        "url": "https://export.arxiv.org/api/query?search_query=%28ti%3A%22projective+plane%22+OR+ti%3A%22projective+planes%22%29+AND+%28all%3Acollineation+OR+all%3Anonexistence+OR+all%3A%22mutually+orthogonal%22%29&sortBy=submittedDate&sortOrder=descending&max_results=35",
        "date": "2026-11-26",
        "checked_on": "2026-11-26",
        "scope": "Context search returned 8 items. The most recent relevant hit is Low and Schmidt.",
        "relevant": "https://arxiv.org/abs/2611.20974"
      },
      {
        "url": "https://arxiv.org/abs/2611.20974",
        "date": "2026-11-16",
        "checked_on": "2026-11-26",
        "scope": "Low and Schmidt treat planes with an abelian collineation group of order n(n−1). At n=12 that is 132, already outside the possible orders in the 2023 theorem. The scope leaves arbitrary order-12 incidence open."
      }
    ]
  },
  "attempted_work": {
    "code": {
      "search.py": "import hashlib\nimport itertools\nimport json\nimport sys\n\nclass Limit(Exception):\n    pass\n\ndef verify(n, squares):\n    labels = set(range(n))\n    for square in squares:\n        assert len(square) == n * n\n        for i in range(n):\n            assert set(square[i*n:(i+1)*n]) == labels\n            assert set(square[i::n]) == labels\n    for first, second in itertools.combinations(squares, 2):\n        assert len(set(zip(first, second))) == n*n\n\ndef prime(n, count):\n    return [[(col + s*row) % n for row in range(n) for col in range(n)]\n            for s in range(1, count+1)]\n\ndef product():\n    # Finite field GF(4) uses binary coefficients modulo t^2+t+1.\n    times_t = [0, 2, 3, 1]\n    squares = []\n    for slope, transform in [(1, list(range(4))), (2, times_t)]:\n        squares.append([\n            4*((col//4 + slope*(row//4)) % 3) + (col % 4 ^ transform[row % 4])\n            for row in range(12) for col in range(12)\n        ])\n    return squares\n\ndef mckay():\n    rows = open(\"mckay.txt\").read().splitlines()\n    return [[ord(ch)-ord('a') for row in rows for ch in row.split()[s]]\n            for s in range(5)]\n\ndef cellmask(cells):\n    return sum(1 << cell for cell in cells)\n\ndef ids(mask):\n    while mask:\n        bit = mask & -mask\n        yield bit.bit_length()-1\n        mask ^= bit\n\ndef search(n, seeds, node_limit, transversal_limit):\n    verify(n, seeds)\n    # Canonically relabel each seed so its first row is 0,...,n-1.\n    seeds = [[square[:n].index(value) for value in square] for square in seeds]\n    stats = dict(transversal_nodes=0, cover_nodes=0, nodes_by_depth={},\n                 dead_cover_columns_by_depth={}, first_transversal_count=None,\n                 first_cover_column_sizes=None, first_pair_column_sizes=None,\n                 best=len(seeds))\n    full = (1 << (n*n)) - 1\n    best = seeds\n\n    def tick(key):\n        stats[key] += 1\n        if stats[\"cover_nodes\"] + stats[\"transversal_nodes\"] > node_limit:\n            raise Limit(\"node budget exceeded\")\n\n    def transversals(squares):\n        masks = [\n            (1 << (cell % n)) | sum(1 << (n*(s+1)+square[cell])\n                                    for s, square in enumerate(squares))\n            for cell in range(n*n)\n        ]\n        candidates = []\n\n        def visit(row, used, cells):\n            tick(\"transversal_nodes\")\n            if row == n:\n                candidates.append(cells)\n                if len(candidates) > transversal_limit:\n                    raise Limit(\"transversal storage budget exceeded\")\n                return\n            for cell in range(row*n, (row+1)*n):\n                if not masks[cell] & used:\n                    visit(row+1, used | masks[cell], cells | (1 << cell))\n        visit(0, 0, 0)\n        return candidates\n\n    def extend(squares):\n        nonlocal best\n        depth = len(squares)\n        if depth > len(best):\n            best = squares\n            stats[\"best\"] = depth\n        if depth == n-1:\n            return squares\n        candidates = transversals(squares)\n        by_cell = [[] for _ in range(n*n)]\n        for candidate in candidates:\n            for cell in ids(candidate):\n                by_cell[cell].append(candidate)\n        if depth == len(seeds):\n            stats[\"first_transversal_count\"] = len(candidates)\n            stats[\"first_cover_column_sizes\"] = [len(v) for v in by_cell]\n            # Relaxed direct incidence completion: each uncovered point pair\n            # must appear in a transversal to have even a possible line.\n            known_directions = [[cell//n for cell in range(n*n)],\n                                [cell % n for cell in range(n*n)], *squares]\n            uncovered = {(p,q): 0 for p,q in itertools.combinations(range(n*n),2)\n                         if all(s[p] != s[q] for s in known_directions)}\n            for candidate in candidates:\n                for pair in itertools.combinations(ids(candidate),2):\n                    uncovered[pair] += 1\n            stats[\"first_pair_column_sizes\"] = {\n                \"uncovered_pairs\": len(uncovered),\n                \"zero\": sum(v == 0 for v in uncovered.values()),\n                \"first_zero\": next((p for p,v in uncovered.items() if not v), None)\n            }\n            # Direct exact cover on pairs, without choosing parallel classes.\n            # Each candidate line covers all pairs of its affine points.\n            missing_pairs = list(uncovered)\n            pair_ids = {pair: i for i, pair in enumerate(missing_pairs)}\n            line_masks = [\n                cellmask(pair_ids[pair] for pair in itertools.combinations(ids(line), 2))\n                for line in candidates\n            ]\n            by_pair = [[] for _ in missing_pairs]\n            for line in line_masks:\n                for pair_id in ids(line):\n                    by_pair[pair_id].append(line)\n            incidence_nodes = 0\n\n            def cover_pairs(remaining):\n                nonlocal incidence_nodes\n                incidence_nodes += 1\n                if incidence_nodes > 10000:\n                    raise Limit(\"direct incidence node budget exceeded\")\n                if not remaining:\n                    return True\n                options = None\n                for pair_id in ids(remaining):\n                    compatible = [line for line in by_pair[pair_id]\n                                  if line & remaining == line]\n                    if options is None or len(compatible) < len(options):\n                        options = compatible\n                    if not options:\n                        return False\n                return any(cover_pairs(remaining ^ line) for line in options)\n\n            try:\n                has_cover = cover_pairs((1 << len(missing_pairs)) - 1)\n                stats[\"direct_incidence\"] = \"cover\" if has_cover else \"no cover\"\n            except Limit as exc:\n                stats[\"direct_incidence\"] = str(exc)\n            stats[\"direct_incidence_nodes\"] = incidence_nodes\n\n        def partition(uncovered, chosen):\n            tick(\"cover_nodes\")\n            stats[\"nodes_by_depth\"][depth] = stats[\"nodes_by_depth\"].get(depth, 0)+1\n            if not uncovered:\n                square = [None]*(n*n)\n                for candidate in chosen:\n                    symbol = next(ids(candidate))\n                    for cell in ids(candidate):\n                        square[cell] = symbol\n                return extend([*squares, square])\n            options = None\n            for cell in ids(uncovered):\n                compatible = [mask for mask in by_cell[cell] if mask & uncovered == mask]\n                if options is None or len(compatible) < len(options):\n                    options = compatible\n                    if not options:\n                        dead = stats[\"dead_cover_columns_by_depth\"]\n                        dead[depth] = dead.get(depth, 0)+1\n                        return None\n            for candidate in options:\n                solution = partition(uncovered ^ candidate, [*chosen, candidate])\n                if solution is not None:\n                    return solution\n            return None\n\n        return partition(full, [])\n\n    try:\n        solution = extend(seeds)\n        stats[\"termination\"] = \"complete\" if solution is not None else \"seed exhausted\"\n    except Limit as exc:\n        solution = None\n        stats[\"termination\"] = str(exc)\n    verify(n, best)\n    stats[\"seed_sha256\"] = hashlib.sha256(bytes(itertools.chain.from_iterable(seeds))).hexdigest()\n    return stats, solution, best\n\ndef verify_plane(n, squares):\n    verify(n, squares)\n    assert len(squares) == n-1\n    directions = [[cell//n for cell in range(n*n)],\n                  [cell % n for cell in range(n*n)], *squares]\n    lines = [{n*n+d} | {p for p in range(n*n) if directions[d][p] == a}\n             for d in range(n+1) for a in range(n)]\n    lines.append(set(range(n*n, n*n+n+1)))\n    counts = {}\n    for line in lines:\n        assert len(line) == n+1\n        for pair in itertools.combinations(sorted(line),2):\n            counts[pair] = counts.get(pair,0)+1\n    assert len(counts) == len(lines)*(len(lines)-1)//2 and set(counts.values()) == {1}\n    assert all(len(a & b) == 1 for a,b in itertools.combinations(lines,2))\n    assert all(sum(p in line for line in lines) == n+1 for p in range(len(lines)))\n    return len(lines)\n\nfor name, n, seed in [\n    (\"PG(2,3)\", 3, prime(3,1)), (\"PG(2,5)\", 5, prime(5,1)),\n    (\"McKay-5\", 12, mckay()), (\"McKay-4\", 12, mckay()[:4]),\n    (\"McKay-3\", 12, mckay()[:3]), (\"McKay-2\", 12, mckay()[:2]),\n    (\"GF(3)xGF(4)-2\", 12, product()),\n]:\n    stats, solution, best = search(n,seed,int(sys.argv[1]),100000)\n    if solution is not None:\n        stats[\"plane_points_and_lines\"] = verify_plane(n, solution)\n    print(json.dumps({\"name\": name, \"order\": n, **stats}), flush=True)\n",
      "mckay.txt": "abcdefghijkl abcdefghijkl abcdefghijkl abcdefghijkl abcdefghijkl\nbadcfehgjilk ghefklijcdab dcbahgfelkji jilkbadcfehg klijcdabghef\ncdabghefklij efghijklabcd lkjidcbahgfe ijklabcdefgh fehgjilkbadc\ndcbahgfelkji cdabghefklij ghefklijcdab badcfehgjilk hgfelkjidcba\nijklabcdefgh klijcdabghef efghijklabcd fehgjilkbadc jilkbadcfehg\njilkbadcfehg fehgjilkbadc hgfelkjidcba dcbahgfelkji lkjidcbahgfe\nklijcdabghef hgfelkjidcba jilkbadcfehg cdabghefklij dcbahgfelkji\nlkjidcbahgfe ijklabcdefgh badcfehgjilk efghijklabcd ghefklijcdab\nefghijklabcd jilkbadcfehg fehgjilkbadc lkjidcbahgfe cdabghefklij\nfehgjilkbadc dcbahgfelkji cdabghefklij ghefklijcdab badcfehgjilk\nghefklijcdab badcfehgjilk klijcdabghef hgfelkjidcba ijklabcdefgh\nhgfelkjidcba lkjidcbahgfe ijklabcdefgh klijcdabghef efghijklabcd\n",
      "command": "python3 search.py 2000000",
      "dependencies": "Python 3 standard library.",
      "seed_source": "https://raw.githubusercontent.com/sagemath/sage/cd5739da71d8f5bc5e82aef487d7c96cc060bd24/src/sage/combinat/designs/database.py"
    },
    "grid_normalization": "Rows and columns are labeled 0 through n−1. Cells are encoded row-major as nr+c. The seed symbol maps are independently relabeled so the first row is exactly 0 through n−1. An exact cover enumerates unordered partitions by branching on the uncovered cell with fewest compatible transversal rows, ties in increasing cell order. Each new symbol is named by the column where its transversal meets row 0. There is no requirement that a seed automorphism preserve a new square, row partition, or set of new lines.",
    "seeds": "The McKay seed is the explicit five-square table in Sage MOLS_12_5, and the runs use its first 2, 3, 4, or 5 squares. The independent two-square product uses grid indices (a,u) ∈ F3×F4 encoded as 4a+u, with square entries (b+sa,v+tu), taking (s,t)=(1,1) and (2,T) for T²+T+1=0. Field multiplication by T on binary coefficients is [0,2,3,1]. Row and column permutations and every pairwise superposition were independently checked by the search code for each seeded family.",
    "exact_cover": "At depth k each possible new symbol class is a size-n common transversal, one cell per row with all columns and all k seed symbol coordinates distinct. Enumeration chooses each row in order and prunes repeated coordinates. A new square is a disjoint exact cover of the n² cells by n such transversals. The algorithm recursively applies the same rule after every new square, stopping at n−1 squares.",
    "direct_incidence": "Each pair of affine cells not already joined by a row, column or seed symbol line is a required column of a second exact-cover problem. A possible new line contributes all of its affine pairs. The candidate lines are exactly the seed-compatible common transversals, obtained without choosing a parallel class. A zero column certifies a seeded obstruction independently of the square-partition search.",
    "controls": "Started from c+r over F3 and F5. Exact cover reaches 2 and 4 squares respectively. Appending direction points and the infinity line produced 13 and 31 points and lines, respectively. A separate incidence check counted precisely one line through each distinct point pair, one point on each distinct line pair, and n+1 incidences at every point and every line. The direct pair cover pass succeeds in both. GridBridge.lean independently checks the order-3 field coordinates and derives the order-3 instance.",
    "results": [
      {
        "name": "PG(2,3)",
        "order": 3,
        "transversal_nodes": 10,
        "cover_nodes": 4,
        "nodes_by_depth": {
          "1": 4
        },
        "dead_cover_columns_by_depth": {},
        "first_transversal_count": 3,
        "first_pair_column_sizes": {
          "uncovered_pairs": 9,
          "zero": 0,
          "first_zero": null
        },
        "best": 2,
        "direct_incidence": "cover",
        "direct_incidence_nodes": 4,
        "termination": "complete",
        "seed_sha256": "21b6c798a9598add6e76fa908677bbdcff627f10aeae665bfd1859bf124b0d1b",
        "plane_points_and_lines": 13,
        "first_cover_column_histogram": {
          "1": 9
        }
      },
      {
        "name": "PG(2,5)",
        "order": 5,
        "transversal_nodes": 148,
        "cover_nodes": 18,
        "nodes_by_depth": {
          "1": 6,
          "2": 6,
          "3": 6
        },
        "dead_cover_columns_by_depth": {},
        "first_transversal_count": 15,
        "first_pair_column_sizes": {
          "uncovered_pairs": 150,
          "zero": 0,
          "first_zero": null
        },
        "best": 4,
        "direct_incidence": "cover",
        "direct_incidence_nodes": 16,
        "termination": "complete",
        "seed_sha256": "6613b9e06fc8a57ba463221ce2ba35942637c78d17b66e92c98eac6203a899e6",
        "plane_points_and_lines": 31,
        "first_cover_column_histogram": {
          "3": 25
        }
      },
      {
        "name": "McKay-5",
        "order": 12,
        "transversal_nodes": 925,
        "cover_nodes": 1,
        "nodes_by_depth": {
          "5": 1
        },
        "dead_cover_columns_by_depth": {
          "5": 1
        },
        "first_transversal_count": 0,
        "first_pair_column_sizes": {
          "uncovered_pairs": 4752,
          "zero": 4752,
          "first_zero": [
            0,
            14
          ]
        },
        "best": 5,
        "direct_incidence": "no cover",
        "direct_incidence_nodes": 1,
        "termination": "seed exhausted",
        "seed_sha256": "491cffd3e6fd686d21cbc55028649281b8a986ce177d7cac69aa259601a2f038",
        "first_cover_column_histogram": {
          "0": 144
        }
      },
      {
        "name": "McKay-4",
        "order": 12,
        "transversal_nodes": 3986,
        "cover_nodes": 14,
        "nodes_by_depth": {
          "4": 13,
          "5": 1
        },
        "dead_cover_columns_by_depth": {
          "5": 1
        },
        "first_transversal_count": 12,
        "first_pair_column_sizes": {
          "uncovered_pairs": 5544,
          "zero": 4752,
          "first_zero": [
            0,
            14
          ]
        },
        "best": 5,
        "direct_incidence": "no cover",
        "direct_incidence_nodes": 1,
        "termination": "seed exhausted",
        "seed_sha256": "35942ac72e58204fd0b08a977f6a7715116fc2dcc3190d05a0f614af5dd927c9",
        "first_cover_column_histogram": {
          "1": 144
        }
      },
      {
        "name": "McKay-3",
        "order": 12,
        "transversal_nodes": 19985,
        "cover_nodes": 53,
        "nodes_by_depth": {
          "3": 25,
          "4": 26,
          "5": 2
        },
        "dead_cover_columns_by_depth": {
          "5": 2
        },
        "first_transversal_count": 24,
        "first_pair_column_sizes": {
          "uncovered_pairs": 6336,
          "zero": 4752,
          "first_zero": [
            0,
            14
          ]
        },
        "best": 5,
        "direct_incidence": "no cover",
        "direct_incidence_nodes": 1,
        "termination": "seed exhausted",
        "seed_sha256": "75cf5c55686b3a3898e0d048a41808c0c8418ff183493224f23d46589ec9dae7",
        "first_cover_column_histogram": {
          "2": 144
        }
      },
      {
        "name": "McKay-2",
        "order": 12,
        "transversal_nodes": 1998150,
        "cover_nodes": 1851,
        "nodes_by_depth": {
          "2": 1246,
          "3": 450,
          "4": 145,
          "5": 10
        },
        "dead_cover_columns_by_depth": {
          "2": 136,
          "3": 130,
          "4": 15,
          "5": 10
        },
        "first_transversal_count": 384,
        "first_pair_column_sizes": {
          "uncovered_pairs": 7128,
          "zero": 48,
          "first_zero": [
            0,
            61
          ]
        },
        "best": 5,
        "direct_incidence": "no cover",
        "direct_incidence_nodes": 1,
        "termination": "node budget exceeded",
        "seed_sha256": "dc9a151f10c397f0d1a79aa5ab8c4ad43f8f54a2c20de9756c7f590053f225c6",
        "first_cover_column_histogram": {
          "32": 144
        }
      },
      {
        "name": "GF(3)xGF(4)-2",
        "order": 12,
        "transversal_nodes": 99265,
        "cover_nodes": 1,
        "nodes_by_depth": {
          "2": 1
        },
        "dead_cover_columns_by_depth": {
          "2": 1
        },
        "first_transversal_count": 0,
        "first_pair_column_sizes": {
          "uncovered_pairs": 7128,
          "zero": 7128,
          "first_zero": [
            0,
            15
          ]
        },
        "best": 2,
        "direct_incidence": "no cover",
        "direct_incidence_nodes": 1,
        "termination": "seed exhausted",
        "seed_sha256": "3de0e04f43126992a34b1025a719f7c9c8522988a53ad601239b7d0a41979f50",
        "first_cover_column_histogram": {
          "0": 144
        }
      }
    ]
  },
  "search_limits": {
    "scope": "Fixed, independently checked seed families. The seed-free search space and other isomorphism types of partial affine planes are UNVERIFIED.",
    "max_transversal_and_square_cover_nodes_per_seed": 2000000,
    "max_materialized_transversals_per_depth": 100000,
    "max_direct_incidence_nodes_per_seed": 10000,
    "budget_accounting": "The first counted invocation beyond the limit aborts square completion. Direct cover has its own cap, and all root candidate enumerations completed in this run."
  },
  "obstruction": "The five McKay squares have zero common transversals. The four-square prefix has 12 transversals forming its unique fifth-square partition, whose extension is empty. The three-square prefix search exhausts all branches and reaches at most five squares. The two-square prefix hits the square search's node limit, but its complete root transversal list has 384 members and leaves 48 required point pairs with empty incidence columns. In particular, cell 0 (row 0, column 0) and cell 61 (row 5, column 1) are in distinct lines of each seed direction, and no new line can contain both. The F3×F4 seed also has no common transversal. These obstructions apply to planes containing the specified affine nets.",
  "english_argument": {
    "McKayObstruction.lean": "Define compatibility of two cells by distinct row, column and both seed symbols, with equality allowed for the same cell. Induct over the list of rows to prove that a transversal satisfying the fixed cells must appear in the Boolean row-by-row enumeration. Kernel reduction checks that the Boolean search through (0,0) and (5,1) returns false, and checks that these two cells are compatible. The exported corollary gives the contradiction from the column and the two seed-symbol maps being injective.",
    "ProductObstruction.lean": "In the projected 3 by 3 grid the four equations a=0, b=0, b+a=0 and b+2a=0 cover each nonzero pair once and (0,0) four times. The projected row, column and seed-symbol maps of any common transversal must each hit zero four times. The combined count is therefore 16, yet also 12 plus three times the number of visits to (0,0). This is impossible. The argument uses only the projections of the two product squares.",
    "GridBridge.lean": "For a full family, let the n+1 coordinate maps be the row, column and n−1 MOLS values. Every two distinct maps are jointly bijective. Adjoin one point for each direction and a line incident with all direction points. A pair of lines of different directions intersects at the unique affine point given by the combined coordinates, while two lines of the same direction share its point at infinity. Equal numbers of lines and points let Mathlib construct the unique joins of distinct points. Two parallel affine lines and a line in a different direction exhibit the required configuration. The line at infinity has n+1 points, so the resulting plane has order n.",
    "IncidenceBridge.lean": "If a square incidence table supplies unique joins, the nonincidences and the required configuration, Mathlib gives intersections via equality of point and line counts. A line with 13 points then forces order 12. In the converse direction any order-12 plane has exactly 157 points and 157 lines. The file also checks the definitional equality of each exact challenge proposition with its expansion.",
    "remaining_gap": "There is no full order-12 affine or projective completion. There is no coverage theorem asserting that a hypothetical plane contains one of these seeds. The direct incidence lead would require processing weaker or seed-free incidence data and resolving all remaining cases."
  },
  "compiled_lemmas": [
    {
      "file": "IncidenceBridge.lean",
      "bytes": 2978,
      "source_utf8": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\n/-! Incidence certificates and the order-12 challenge statements. -/\n\nnamespace E723\n\nopen Configuration\n\n/-- Read an incidence certificate as a projective plane. Since there are as\nmany lines as points, Mathlib supplies intersections of distinct lines. -/\n@[instance_reducible]\nnoncomputable def planeOfIncidence {P L : Type} [Membership P L] [Fintype P] [Fintype L]\n    (size : Fintype.card P = Fintype.card L)\n    (outsideLine : ∀ l : L, ∃ p : P, p ∉ l)\n    (outsidePoint : ∀ p : P, ∃ l : L, p ∉ l)\n    (joins : ∀ p q : P, p ≠ q → ∃! l : L, p ∈ l ∧ q ∈ l)\n    (config : ∃ (p₁ p₂ p₃ : P) (l₁ l₂ l₃ : L),\n      p₁ ∉ l₂ ∧ p₁ ∉ l₃ ∧ p₂ ∉ l₁ ∧ p₂ ∈ l₂ ∧ p₂ ∈ l₃ ∧\n      p₃ ∉ l₁ ∧ p₃ ∈ l₂ ∧ p₃ ∉ l₃) : ProjectivePlane P L := by\n  classical\n  let h : ∀ p q : P, p ≠ q → ∃ l : L, p ∈ l ∧ q ∈ l :=\n    fun p q hpq => (joins p q hpq).exists\n  let lines : HasLines P L :=\n    { exists_point := outsideLine\n      exists_line := outsidePoint\n      eq_or_eq := by\n        intro p q l m hpl hql hpm hqm\n        by_cases hpq : p = q\n        · exact Or.inl hpq\n        · obtain ⟨j, _, unique⟩ := joins p q hpq\n          exact Or.inr ((unique l ⟨hpl, hql⟩).trans (unique m ⟨hpm, hqm⟩).symm)\n      mkLine := fun hpq => Classical.choose (h _ _ hpq)\n      mkLine_ax := fun hpq => Classical.choose_spec (h _ _ hpq) }\n  letI : HasLines P L := lines\n  exact { lines, HasLines.hasPoints (P := P) (L := L) size with exists_config := config }\n\ntheorem order_twelve_of_line_card {P L : Type} [Membership P L] [Fintype P] [Fintype L]\n    [ProjectivePlane P L] (l : L) (h : Nat.card {p : P // p ∈ l} = 13) :\n    ProjectivePlane.order P L = 12 := by\n  change pointCount P l = 13 at h\n  rw [ProjectivePlane.pointCount_eq] at h\n  omega\n\ntheorem order_twelve_sizes {P L : Type} [Membership P L] [Fintype P] [Fintype L]\n    [ProjectivePlane P L] (h : ProjectivePlane.order P L = 12) :\n    Fintype.card P = 157 ∧ Fintype.card L = 157 := by\n  have hp := ProjectivePlane.card_points P L\n  rw [h] at hp\n  exact ⟨hp, (ProjectivePlane.card_points_eq_card_lines P L).symm.trans hp⟩\n\ntheorem formalized_shape : (fcTypeOfName% \"Erdos723.erdos_723.variants.eq_12\") =\n    (True ↔ ∃ (P L : Type) (inc : Membership P L) (_ : Fintype P) (_ : Fintype L)\n      (plane : @ProjectivePlane P L inc), @ProjectivePlane.order P L inc plane = 12) := rfl\n\ntheorem counterexample_shape : (¬ (fcTypeOfName% \"Erdos723.erdos_723.variants.eq_12\")) =\n    (¬ (True ↔ ∃ (P L : Type) (inc : Membership P L) (_ : Fintype P) (_ : Fintype L)\n      (plane : @ProjectivePlane P L inc), @ProjectivePlane.order P L inc plane = 12)) := rfl\n\n#print axioms formalized_shape\n#print axioms counterexample_shape\n#print axioms planeOfIncidence\n#print axioms order_twelve_of_line_card\n#print axioms order_twelve_sizes\n\nend E723\n",
      "sha256": "sha256:854f019b1804a259b5af12178b04053ecbaa07f77e5f0398e0b74ecf9443cbcc",
      "build_command": "lake env lean -j1 -o .lake/build/lib/lean/IncidenceBridge.olean IncidenceBridge.lean",
      "compiled": true,
      "declarations_checked": [
        "E723.formalized_shape",
        "E723.counterexample_shape",
        "E723.planeOfIncidence",
        "E723.order_twelve_of_line_card",
        "E723.order_twelve_sizes"
      ],
      "print_axioms_output": "'E723.formalized_shape' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.counterexample_shape' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.planeOfIncidence' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.order_twelve_of_line_card' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.order_twelve_sizes' depends on axioms: [propext, Classical.choice, Quot.sound]\n"
    },
    {
      "file": "GridBridge.lean",
      "bytes": 6287,
      "source_utf8": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\n/-! Projective completion of a full family of mutually orthogonal Latin squares. -/\n\nnamespace E723.Grid\n\nopen Configuration\n\nabbrev Cell (n : ℕ) := Fin n × Fin n\nabbrev Direction (n : ℕ) := Fin (n + 1)\nabbrev Point (n : ℕ) := Cell n ⊕ Direction n\nabbrev Line (n : ℕ) := Option (Direction n × Fin n)\n\nvariable {n : ℕ}\n\nabbrev Coordinates (n : ℕ) := Direction n → Cell n → Fin n\n\n/-- Rows, columns and all n-1 square entries, with every pair orthogonal. -/\ndef Orthogonal (coord : Coordinates n) : Prop :=\n  ∀ d e, d ≠ e → Function.Bijective (fun p => (coord d p, coord e p))\n\ndef incident (coord : Coordinates n) : Point n → Line n → Prop\n  | .inl _, none => False\n  | .inr _, none => True\n  | .inl p, some (d, a) => coord d p = a\n  | .inr e, some (d, _) => e = d\n\n@[instance_reducible]\ndef membership (coord : Coordinates n) : Membership (Point n) (Line n) :=\n  ⟨fun l p => incident coord p l⟩\n\nprivate theorem unique_intersection (coord : Coordinates n) (orth : Orthogonal coord)\n    {l m : Line n} (hlm : l ≠ m) {p q : Point n}\n    (hpl : incident coord p l) (hql : incident coord q l)\n    (hpm : incident coord p m) (hqm : incident coord q m) : p = q := by\n  rcases l with _ | ⟨d,a⟩ <;> rcases m with _ | ⟨e,b⟩\n  · exact (hlm rfl).elim\n  · cases p <;> cases q <;> simp_all [incident]\n  · cases p <;> cases q <;> simp_all [incident]\n  by_cases hde : d = e\n  · subst e\n    cases p <;> cases q <;> simp_all [incident]\n  · cases p <;> cases q <;> simp_all [incident]\n    rename_i p q\n    exact (orth d e hde).1 (Prod.ext (hpl.trans hql.symm) (hpm.trans hqm.symm))\n\nprivate theorem intersection_exists (coord : Coordinates n) (orth : Orthogonal coord)\n    {l m : Line n} (hlm : l ≠ m) :\n    ∃ p : Point n, incident coord p l ∧ incident coord p m := by\n  rcases l with _ | ⟨d,a⟩ <;> rcases m with _ | ⟨e,b⟩\n  · exact (hlm rfl).elim\n  · exact ⟨.inr e, trivial, rfl⟩\n  · exact ⟨.inr d, rfl, trivial⟩\n  by_cases hde : d = e\n  · exact ⟨.inr d, rfl, hde⟩\n  · obtain ⟨p, hp⟩ := (orth d e hde).2 (a, b)\n    exact ⟨.inl p, congrArg Prod.fst hp, congrArg Prod.snd hp⟩\n\n/-- Projectively complete the affine coordinates of a full MOLS family. -/\n@[instance_reducible]\nnoncomputable def toPlane (coord : Coordinates n) (orth : Orthogonal coord) (hn : 2 ≤ n) :\n    @ProjectivePlane (Point n) (Line n) (membership coord) := by\n  classical\n  letI : Membership (Point n) (Line n) := membership coord\n  let zero : Fin n := ⟨0, by omega⟩\n  let one : Fin n := ⟨1, by omega⟩\n  let d₀ : Direction n := ⟨0, by omega⟩\n  let d₁ : Direction n := ⟨1, by omega⟩\n  have hd : d₀ ≠ d₁ := by\n    intro h\n    have h' := congrArg Fin.val h\n    change 0 = 1 at h'\n    omega\n  have ha : zero ≠ one := by\n    intro h\n    have h' := congrArg Fin.val h\n    change 0 = 1 at h'\n    omega\n  let points : HasPoints (Point n) (Line n) :=\n    { exists_point := by\n        rintro (_ | ⟨d, a⟩)\n        · exact ⟨.inl (zero, zero), id⟩\n        · by_cases h : d₀ = d\n          · exact ⟨.inr d₁, fun he => hd (h.trans he.symm)⟩\n          · exact ⟨.inr d₀, h⟩\n      exists_line := by\n        rintro (p | d)\n        · exact ⟨none, id⟩\n        · by_cases h : d = d₀\n          · exact ⟨some (d₁, zero), fun he => hd (h.symm.trans he)⟩\n          · exact ⟨some (d₀, zero), h⟩\n      eq_or_eq := by\n        intro p q l m hp hq hp' hq'\n        by_cases h : l = m\n        · exact Or.inr h\n        · exact Or.inl (unique_intersection coord orth h hp hq hp' hq')\n      mkPoint := fun h => Classical.choose (intersection_exists coord orth h)\n      mkPoint_ax := fun h => Classical.choose_spec (intersection_exists coord orth h) }\n  letI : HasPoints (Point n) (Line n) := points\n  have cardEq : Fintype.card (Point n) = Fintype.card (Line n) := by\n    simp [Point, Cell, Direction, Line, Nat.add_mul]\n    omega\n  refine { points, HasPoints.hasLines (P := Point n) (L := Line n) cardEq with\n    exists_config := ?_ }\n  obtain ⟨p, hp⟩ := (orth d₀ d₁ hd).2 (zero, zero)\n  have hp₀ : coord d₀ p = zero := congrArg Prod.fst hp\n  have hp₁ : coord d₁ p = zero := congrArg Prod.snd hp\n  exact ⟨.inr d₁, .inr d₀, .inl p, some (d₁, one), some (d₀, zero), some (d₀, one),\n    hd.symm, hd.symm, hd, rfl, rfl, fun h => ha (hp₁.symm.trans h), hp₀,\n    fun h => ha (hp₀.symm.trans h)⟩\n\ntheorem toPlane_order (coord : Coordinates n) (orth : Orthogonal coord) (hn : 2 ≤ n) :\n    @ProjectivePlane.order (Point n) (Line n) (membership coord) (toPlane coord orth hn) = n := by\n  let _ : Membership (Point n) (Line n) := membership coord\n  let _ : ProjectivePlane (Point n) (Line n) := toPlane coord orth hn\n  let e : {p : Point n // p ∈ (none : Line n)} ≃ Direction n :=\n    { toFun := fun p => match p with\n        | ⟨.inl _, h⟩ => False.elim h\n        | ⟨.inr d, _⟩ => d\n      invFun := fun d => ⟨.inr d, trivial⟩\n      left_inv := by\n        rintro ⟨p | d, h⟩\n        · exact False.elim h\n        · rfl\n      right_inv := fun _ => rfl }\n  have hcard : pointCount (Point n) (none : Line n) = n + 1 := by\n    rw [pointCount, Nat.card_congr e, Nat.card_eq_fintype_card, Fintype.card_fin]\n  rw [ProjectivePlane.pointCount_eq] at hcard\n  exact Nat.add_right_cancel hcard\n\nprivate def coordinates3 : Coordinates 3 := fun d (r,c) =>\n  if d = 0 then r else if d = 1 then c else if d = 2 then c + r else c + 2 * r\n\nprivate theorem orthogonal3 : Orthogonal coordinates3 := by\n  change ∀ d e : Direction 3, d ≠ e →\n    Function.Bijective (fun p => (coordinates3 d p, coordinates3 e p))\n  decide\n\n/-- Kernel-checked control for the construction, using the four field directions over Fin 3. -/\ntheorem order_three_control :\n    ∃ (P L : Type) (inc : Membership P L) (_ : Fintype P) (_ : Fintype L)\n      (plane : @ProjectivePlane P L inc), @ProjectivePlane.order P L inc plane = 3 :=\n  ⟨Point 3, Line 3, membership coordinates3, inferInstance, inferInstance,\n    toPlane coordinates3 orthogonal3 (by decide), toPlane_order coordinates3 orthogonal3 (by decide)⟩\n\n#print axioms toPlane\n#print axioms order_three_control\n#print axioms toPlane_order\n\nend E723.Grid\n",
      "sha256": "sha256:6873b0e04468dd90ae66825206e3104ded7d0f53ac2873f918f29d8c4116d54a",
      "build_command": "lake env lean -j1 -o .lake/build/lib/lean/GridBridge.olean GridBridge.lean",
      "compiled": true,
      "declarations_checked": [
        "E723.Grid.toPlane",
        "E723.Grid.toPlane_order",
        "E723.Grid.order_three_control"
      ],
      "print_axioms_output": "'E723.Grid.toPlane' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.Grid.order_three_control' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.Grid.toPlane_order' depends on axioms: [propext, Classical.choice, Quot.sound]\n"
    },
    {
      "file": "McKayObstruction.lean",
      "bytes": 4516,
      "source_utf8": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\n/-! Kernel-checkable absence of a transversal through an uncovered pair of the McKay net. -/\n\nnamespace E723.McKay\n\nabbrev Index := Fin 12\nabbrev Cell := Index × Index\n\n-- First two squares in Sage's MOLS_12_5, row-major, with 'a' coded as 0.\ndef square1 : Array (Array Nat) := #[\n  #[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],\n  #[1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10],\n  #[2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9],\n  #[3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8],\n  #[8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7],\n  #[9, 8, 11, 10, 1, 0, 3, 2, 5, 4, 7, 6],\n  #[10, 11, 8, 9, 2, 3, 0, 1, 6, 7, 4, 5],\n  #[11, 10, 9, 8, 3, 2, 1, 0, 7, 6, 5, 4],\n  #[4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3],\n  #[5, 4, 7, 6, 9, 8, 11, 10, 1, 0, 3, 2],\n  #[6, 7, 4, 5, 10, 11, 8, 9, 2, 3, 0, 1],\n  #[7, 6, 5, 4, 11, 10, 9, 8, 3, 2, 1, 0]\n]\n\ndef square2 : Array (Array Nat) := #[\n  #[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],\n  #[6, 7, 4, 5, 10, 11, 8, 9, 2, 3, 0, 1],\n  #[4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3],\n  #[2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9],\n  #[10, 11, 8, 9, 2, 3, 0, 1, 6, 7, 4, 5],\n  #[5, 4, 7, 6, 9, 8, 11, 10, 1, 0, 3, 2],\n  #[7, 6, 5, 4, 11, 10, 9, 8, 3, 2, 1, 0],\n  #[8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7],\n  #[9, 8, 11, 10, 1, 0, 3, 2, 5, 4, 7, 6],\n  #[3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8],\n  #[1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10],\n  #[11, 10, 9, 8, 3, 2, 1, 0, 7, 6, 5, 4]\n]\n\ndef symbol (table : Array (Array Nat)) (cell : Cell) : Nat :=\n  (table.getD cell.1.val #[]).getD cell.2.val 0\n\ndef compatible (p q : Cell) : Bool :=\n  (p == q) ||\n    (p.1 != q.1 && p.2 != q.2 &&\n      symbol square1 p != symbol square1 q && symbol square2 p != symbol square2 q)\n\ndef search (rows : List Index) (selected : List Cell) : Bool :=\n  match rows with\n  | [] => true\n  | row :: rest =>\n    (List.finRange 12).any fun col =>\n      selected.all (compatible (row, col)) && search rest ((row, col) :: selected)\n\ntheorem search_complete (pick : Index → Index)\n    (pair : ∀ r s, compatible (r, pick r) (s, pick s) = true)\n    (rows : List Index) (selected : List Cell)\n    (selectedMatches : ∀ p ∈ selected, p.2 = pick p.1) :\n    search rows selected = true := by\n  induction rows generalizing selected with\n  | nil => rfl\n  | cons row rest ih =>\n    simp only [search, List.any_eq_true, Bool.and_eq_true, List.all_eq_true]\n    refine ⟨pick row, List.mem_finRange _, ?_, ?_⟩\n    · intro p hp\n      have h := selectedMatches p hp\n      obtain ⟨r,c⟩ := p\n      change c = pick r at h\n      subst c\n      exact pair row r\n    · apply ih\n      intro p hp\n      rcases List.mem_cons.mp hp with rfl | hp\n      · rfl\n      · exact selectedMatches p hp\n\n-- Cells (0,0) and (5,1) are on no common row, column or seed-symbol line.\ntheorem pair_compatible : compatible (0, 0) (5, 1) = true := by decide\n\n/-- This uncovered affine pair cannot be joined by a new line compatible\nwith the first two McKay squares. A line would be a transversal. -/\ntheorem no_transversal_through_pair (pick : Index → Index)\n    (pair : ∀ r s, compatible (r, pick r) (s, pick s) = true)\n    (zero : pick 0 = 0) (five : pick 5 = 1) : False := by\n  let rows : List Index := [1, 2, 3, 4, 6, 7, 8, 9, 10, 11]\n  let fixed : List Cell := [(0, 0), (5, 1)]\n  have found : search rows fixed = true := by\n    apply search_complete pick pair\n    intro p hp\n    simp only [fixed, List.mem_cons, List.not_mem_nil, or_false] at hp\n    rcases hp with rfl | rfl\n    · exact zero.symm\n    · exact five.symm\n  have empty : search rows fixed = false := by decide\n  rw [empty] at found\n  contradiction\n\ntheorem no_common_transversal_through_pair (pick : Index → Index)\n    (columns : Function.Injective pick)\n    (first : Function.Injective (fun r => symbol square1 (r, pick r)))\n    (second : Function.Injective (fun r => symbol square2 (r, pick r)))\n    (zero : pick 0 = 0) (five : pick 5 = 1) : False := by\n  refine no_transversal_through_pair pick ?_ zero five\n  intro r s\n  by_cases h : r = s\n  · subst s\n    simp [compatible]\n  · have hc : pick r ≠ pick s := fun eq => h (columns eq)\n    have hf : symbol square1 (r, pick r) ≠ symbol square1 (s, pick s) := fun eq => h (first eq)\n    have hs : symbol square2 (r, pick r) ≠ symbol square2 (s, pick s) := fun eq => h (second eq)\n    simp [compatible, h, hc, hf, hs]\n\n#print axioms no_common_transversal_through_pair\n#print axioms search_complete\n#print axioms pair_compatible\n#print axioms no_transversal_through_pair\n\nend E723.McKay\n",
      "sha256": "sha256:bc52c2a5b7ebc55184ae7fffef8b71ddbe8831b68463d0ac816ffe37239fdf93",
      "build_command": "lake env lean -j1 -o .lake/build/lib/lean/McKayObstruction.olean McKayObstruction.lean",
      "compiled": true,
      "declarations_checked": [
        "E723.McKay.no_common_transversal_through_pair",
        "E723.McKay.search_complete",
        "E723.McKay.pair_compatible",
        "E723.McKay.no_transversal_through_pair"
      ],
      "print_axioms_output": "'E723.McKay.no_common_transversal_through_pair' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.McKay.search_complete' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.McKay.pair_compatible' depends on axioms: [propext, Classical.choice, Quot.sound]\n'E723.McKay.no_transversal_through_pair' depends on axioms: [propext, Classical.choice, Quot.sound]\n"
    },
    {
      "file": "ProductObstruction.lean",
      "bytes": 2202,
      "source_utf8": "import Mathlib\nimport FormalConjectures.ErdosProblems.«723»\nimport TaskSupport\n\n/-! An obstruction to a common transversal of the product seed. -/\n\nnamespace E723\n\nabbrev GridIndex := Fin 3 × Fin 4\n\nprivate def indicator (x : Fin 3) : ℕ := if x = 0 then 1 else 0\n\nprivate theorem four_lines (a b : Fin 3) :\n    indicator a + indicator b + indicator (b + a) + indicator (b + 2 * a) =\n      1 + 3 * (if a = 0 ∧ b = 0 then 1 else 0) := by\n  revert a b\n  decide\n\nprivate theorem sum_indicator (f : GridIndex → GridIndex) (hf : Function.Bijective f) :\n    ∑ x, indicator (f x).1 = 4 := by\n  calc\n    _ = ∑ x : GridIndex, indicator x.1 :=\n      (Equiv.ofBijective f hf).sum_comp (fun x => indicator x.1)\n    _ = 4 := by decide\n\n/-- A common transversal would meet each of the four projected lines through\nzero four times. Their combined count is 12 plus three times the count over\nthe origin of the order-three grid, so it cannot equal 16. -/\ntheorem no_product_transversal (column first second : GridIndex → GridIndex)\n    (hc : Function.Bijective column) (hf : Function.Bijective first)\n    (hs : Function.Bijective second)\n    (firstProjection : ∀ x, (first x).1 = (column x).1 + x.1)\n    (secondProjection : ∀ x, (second x).1 = (column x).1 + 2 * x.1) : False := by\n  have rowCount := sum_indicator id Function.bijective_id\n  have columnCount := sum_indicator column hc\n  have firstCount := sum_indicator first hf\n  have secondCount := sum_indicator second hs\n  have total :\n      (∑ x : GridIndex, (indicator x.1 + indicator (column x).1 +\n        indicator (first x).1 + indicator (second x).1)) =\n      ∑ x : GridIndex, (1 + 3 * (if x.1 = 0 ∧ (column x).1 = 0 then 1 else 0)) := by\n    apply Finset.sum_congr rfl\n    intro x _\n    rw [firstProjection, secondProjection]\n    exact four_lines _ _\n  simp only [Finset.sum_add_distrib, ← Finset.mul_sum, Finset.sum_const, Finset.card_univ,\n    Nat.nsmul_eq_mul, mul_one] at total\n  have cardGrid : Fintype.card GridIndex = 12 := by decide\n  change (∑ x : GridIndex, indicator x.1) = 4 at rowCount\n  rw [rowCount, columnCount, firstCount, secondCount, cardGrid] at total\n  omega\n\n#print axioms no_product_transversal\n\nend E723\n",
      "sha256": "sha256:09ae85e6e0e132185bc6f2324692a21d36a027c4df0cd168e913a7b1bdce129f",
      "build_command": "lake env lean -j1 -o .lake/build/lib/lean/ProductObstruction.olean ProductObstruction.lean",
      "compiled": true,
      "declarations_checked": [
        "E723.no_product_transversal"
      ],
      "print_axioms_output": "'E723.no_product_transversal' depends on axioms: [propext, Classical.choice, Quot.sound]\n"
    }
  ],
  "build": {
    "status": "verified for the listed sources and archive module",
    "fresh_project": "Fresh scratch clone of the FC Lake project at the specified base with the verified patch applied, using the checked pin manifest.",
    "fc_base": "7d1a8c9912747679d0093f6d1216420c33ee5ffa",
    "audit_patch": "https://raw.githubusercontent.com/conjectures-io/conjectures-tasks/f5dab9b843c460bf946e0ec7b0e6ad2f2f739eb8/tiers/tier-1/formal-conjectures-audit-fixes.patch",
    "audit_patch_sha256": "sha256:352280407fbbe83e636aa07a5c090aab15c6353c7cd77c0491284cd40df51275",
    "audited_fc_revision_reported_by_catalog": "6adcbe13652f4e7c69ad02a783465ae2a99d5cb3",
    "audited_tree_reconstructed_from_base_and_patch": "0766488c915be93b33c98aae256543800ee2a84c",
    "audited_git_commit_object": "UNVERIFIED. The public upstream Git object lookup returned not our ref and the corresponding GitHub API lookup returned 404. The patched source tree was built using the pinned reconstruction, and the target file is unchanged by the patch.",
    "archived_source_sha256": "sha256:57d2a9c701808324dbb207ed10d764059cef77584270bb097d8c810e6c83010f",
    "lean": "Lean v4.35.0-rc2, commit 11acb17ec6b07a8f9e9173e6845197929540936b",
    "mathlib": "065356127b1dc0016f66b7283ce0ce2c4055aa55",
    "task_support_url": "https://raw.githubusercontent.com/conjectures-io/conjectures-validator/57c969e87cad845b60908cef474c8d1c0b6e43c5/lean/TaskSupport.lean",
    "task_support_sha256": "sha256:58a80a223dbd7383d92eb2a57b1ec207c0991131a1a1bf24585a4452777c257e",
    "setup_commands": [
      "git clone --filter=blob:none https://github.com/google-deepmind/formal-conjectures FC",
      "git -C FC checkout 7d1a8c9912747679d0093f6d1216420c33ee5ffa",
      "sha256sum audit.patch TaskSupport.lean formalized.lean counterexample.lean",
      "git -C FC apply ../audit.patch",
      "cd FC",
      "git add -A && git write-tree",
      "lean --version",
      "lake --version",
      "lake exe cache get",
      "git -C .lake/packages/mathlib rev-parse HEAD",
      "lake build '+FormalConjectures.ErdosProblems.«723»'",
      "cp ../TaskSupport.lean .",
      "lake env lean -o .lake/build/lib/lean/TaskSupport.olean TaskSupport.lean"
    ],
    "local_launcher": "Initial Lean invocations reported 'failed to locate application' because executable symlinks in procfs were unavailable. A temporary executable-path fallback allowed the original release binaries to resolve their paths. Neither the Lean source nor the pinned proof environment was edited for the workaround.",
    "log_excerpt": "Lean (version 4.35.0-rc2, x86_64-unknown-linux-gnu, commit 11acb17ec6b07a8f9e9173e6845197929540936b, Release)\n+ lake --version\nLake version 5.0.0-src+11acb17 (Lean version 4.35.0-rc2)\n+ git rev-parse HEAD\n7d1a8c9912747679d0093f6d1216420c33ee5ffa\n+ git write-tree\n0766488c915be93b33c98aae256543800ee2a84c\n+ lake exe cache get\nAttempting to download 8915 file(s) from leanprover-community/mathlib4 cache at https://cache.mathlib.org/mathlib4-master\nDecompressed 8915 file(s)\nAlready decompressed 8915 file(s)\n+ git -C .lake/packages/mathlib rev-parse HEAD\n065356127b1dc0016f66b7283ce0ce2c4055aa55\n+ lake build +FormalConjectures.ErdosProblems.«723»\n✔ [9196/9198] Built FormalConjecturesForMathlib (165s)\n✔ [9197/9198] Built FormalConjecturesUtil (12s)\n✔ [9198/9198] Built FormalConjectures.ErdosProblems.«723» (109s)\nBuild completed successfully (9198 jobs).",
    "allowed_axioms": [
      "Classical.choice",
      "Quot.sound",
      "propext"
    ],
    "exact_target_proof_build": "UNVERIFIED. No Main.lean was produced.",
    "independent_full_rebuild": "UNVERIFIED. No complete candidate was produced.",
    "comparator": "UNVERIFIED. No complete target proof to compare.",
    "source_quotes_rechecked": 20
  },
  "chat_logs": {
    "status": "missing_original_chat_export",
    "location": null,
    "bytes": null,
    "sha256": null,
    "note": "The task supplied no original proof-chat export. The live task exchanges remain in the conversation. No transcript was reconstructed and no complete proof attempt succeeded."
  }
}
