{
  "abstract": "A Lean 4 proof, with Mathlib, that for every finite colouring of the Euclidean plane there is one colour class that contains, for every real number A > 0, the four vertices a, b, c, d of a strictly convex, counter-clockwise parallelogram of area A: opposite sides lie on parallel lines and the area is |ab| |bc| sin of the oriented angle at b. The colouring is arbitrary; no measurability is assumed. This is the positive answer to the parallelogram variant of Erd\u0151s Problem 189, stated with the definition Erdos189For of google-deepmind/formal-conjectures, whose entry erdos_189.variants.parallelogram, as of November 2026, asserts the negative answer and is tagged research open. For rectangles the answer is negative (Kova\u010d, arXiv:2309.09973), and Kova\u010d lists the parallelogram question, due to Erd\u0151s and Graham, as an open problem (Problem 6). The proof uses finitely additive means on the real line that are invariant under translations and dilations, constructed from ultrafilters, a second-moment (Gram matrix) inequality, and a pigeonhole argument for pairs of points symmetric about a common centre; the parallelograms it produces may be very thin. Novelty has not been established beyond the searches reported in pull request #37124 of lefttosolve2/open-math-agents, which says: \"We searched the Erd\u0151s problems page, its forum and claims thread, the OMA pull requests and arXiv, and found no earlier proof of this unrestricted result.\"",
  "authors": [
    {
      "name": "avivorly"
    }
  ],
  "challenge_render": {
    "artifact_path": "renders/PALOMAR-2026-11-29-000140-v1/e553bb1c83479a32a351b29b36448dc46d455456050056c8196344ebdd5d5f70/",
    "artifact_tree_sha256": "e553bb1c83479a32a351b29b36448dc46d455456050056c8196344ebdd5d5f70",
    "bwrap_source_tag": "v0.12.0",
    "entrypoint": "Challenge/index.html",
    "format": "verso-html",
    "rendered_at": "2026-11-29T19:23:30Z",
    "renderer_commit": "351a8fde2398f75215fc3e4ada37061d0ef4f151",
    "verso_commit": "304b8561790c50222551c937ce02928df0d5b445"
  },
  "classification": {
    "arxiv": [
      "math.CO",
      "math.MG"
    ],
    "msc2020": [
      "05D10",
      "52C10"
    ]
  },
  "first_registered_on": "2026-11-29",
  "formalization": {
    "challenge_path": "Challenge.lean",
    "comparator_config_path": "comparator.json",
    "definition_names": [],
    "formalization_metadata_path": "formalization.yaml",
    "lakefile_path": "lakefile.toml",
    "lean_toolchain": "leanprover/lean4:v4.35.0",
    "permitted_axioms": [
      "propext",
      "Quot.sound",
      "Classical.choice"
    ],
    "project_dependencies": [
      {
        "name": "mathlib",
        "repository": "leanprover-community/mathlib4",
        "revision": "56a005855ea17e0b0958f73ec801ae140b0a1679"
      },
      {
        "name": "plausible",
        "repository": "leanprover-community/plausible",
        "revision": "dfa4f38190d07c37e315953e08b90fe2d95b3c24"
      },
      {
        "name": "LeanSearchClient",
        "repository": "leanprover-community/LeanSearchClient",
        "revision": "d6b4c7be5be75ec4917c873ac50c756dc1436372"
      },
      {
        "name": "importGraph",
        "repository": "leanprover-community/import-graph",
        "revision": "a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93"
      },
      {
        "name": "proofwidgets",
        "repository": "leanprover-community/ProofWidgets4",
        "revision": "df72b022e558978a1c50264cfc4d7fec86fa8e04"
      },
      {
        "name": "aesop",
        "repository": "leanprover-community/aesop",
        "revision": "4a174c490d8707121c4a9290800489f105d85e07"
      },
      {
        "name": "Qq",
        "repository": "leanprover-community/quote4",
        "revision": "dce0ad79c486cb1fb504af04f953c3466b0c6db8"
      },
      {
        "name": "batteries",
        "repository": "leanprover-community/batteries",
        "revision": "66e469188fe07963e5cf666c7d4433f45b8131c5"
      },
      {
        "name": "Cli",
        "repository": "leanprover/lean4-cli",
        "revision": "c24fe6078c630e89b489bffe59b3e20ac30d12c8"
      }
    ],
    "solution_path": "Solution.lean",
    "theorem_names": [
      "E189.positive"
    ]
  },
  "id": "PALOMAR-2026-11-29-000140",
  "preservation": {
    "archive_owner": "PalomarArchive",
    "archived_at": "2026-11-29T23:16:12Z",
    "receipt_sha256": "59bb1d18453d76558937027ecce4373be8187212e263577b5be4b4d9846e4c55",
    "repositories": [
      {
        "commit": "4984666baf3a77fb06415647cd0d19fe3a433dfc",
        "fork_repository": "PalomarArchive/avivorly--erdos-189-parallelogram--eb99e4dd610e",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/4984666baf3a77fb06415647cd0d19fe3a433dfc",
        "source_repository": "avivorly/erdos-189-parallelogram"
      },
      {
        "commit": "4a174c490d8707121c4a9290800489f105d85e07",
        "fork_repository": "PalomarArchive/leanprover-community--aesop--01b46b609077",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/4a174c490d8707121c4a9290800489f105d85e07",
        "source_repository": "leanprover-community/aesop"
      },
      {
        "commit": "66e469188fe07963e5cf666c7d4433f45b8131c5",
        "fork_repository": "PalomarArchive/leanprover-community--batteries--1b4c776305c9",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/66e469188fe07963e5cf666c7d4433f45b8131c5",
        "source_repository": "leanprover-community/batteries"
      },
      {
        "commit": "a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93",
        "fork_repository": "PalomarArchive/leanprover-community--import-graph--e0a79261b05a",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93",
        "source_repository": "leanprover-community/import-graph"
      },
      {
        "commit": "d6b4c7be5be75ec4917c873ac50c756dc1436372",
        "fork_repository": "PalomarArchive/leanprover-community--LeanSearchClient--9de355ab5f53",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/d6b4c7be5be75ec4917c873ac50c756dc1436372",
        "source_repository": "leanprover-community/LeanSearchClient"
      },
      {
        "commit": "56a005855ea17e0b0958f73ec801ae140b0a1679",
        "fork_repository": "PalomarArchive/leanprover-community--mathlib4--67b3d817d8a2",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/56a005855ea17e0b0958f73ec801ae140b0a1679",
        "source_repository": "leanprover-community/mathlib4"
      },
      {
        "commit": "dfa4f38190d07c37e315953e08b90fe2d95b3c24",
        "fork_repository": "PalomarArchive/leanprover-community--plausible--fb632f6f7bf4",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/dfa4f38190d07c37e315953e08b90fe2d95b3c24",
        "source_repository": "leanprover-community/plausible"
      },
      {
        "commit": "df72b022e558978a1c50264cfc4d7fec86fa8e04",
        "fork_repository": "PalomarArchive/leanprover-community--ProofWidgets4--26014acbbaff",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/df72b022e558978a1c50264cfc4d7fec86fa8e04",
        "source_repository": "leanprover-community/ProofWidgets4"
      },
      {
        "commit": "dce0ad79c486cb1fb504af04f953c3466b0c6db8",
        "fork_repository": "PalomarArchive/leanprover-community--quote4--90d31d153685",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/dce0ad79c486cb1fb504af04f953c3466b0c6db8",
        "source_repository": "leanprover-community/quote4"
      },
      {
        "commit": "c24fe6078c630e89b489bffe59b3e20ac30d12c8",
        "fork_repository": "PalomarArchive/leanprover--lean4-cli--df175a7fc790",
        "ref": "refs/tags/palomar/PALOMAR-2026-11-29-000140-v1/c24fe6078c630e89b489bffe59b3e20ac30d12c8",
        "source_repository": "leanprover/lean4-cli"
      }
    ]
  },
  "provenance": {
    "mathematical_sources": [
      {
        "authors": [],
        "location": "https://github.com/lefttosolve2/open-math-agents/blob/90c71bb780e112fd3bc46363d899866479cfd646/proofs/Erdos189.erdos_189.variants.parallelogram.lean",
        "relationship": "other",
        "title": "Positive answer to the parallelogram variant of Erd\u0151s Problem 189: in every finite colouring of the plane, one colour class contains parallelograms of every positive area",
        "type": "original-proof"
      },
      {
        "authors": [],
        "location": "https://www.erdosproblems.com/189",
        "relationship": "background",
        "title": "Erd\u0151s Problem #189",
        "type": "other"
      },
      {
        "authors": [
          {
            "name": "Vjekoslav Kova\u010d"
          }
        ],
        "identifier": "arXiv:2309.09973",
        "relationship": "background",
        "title": "Coloring and density theorems for configurations of a given volume",
        "type": "paper"
      },
      {
        "authors": [
          {
            "name": "R. L. Graham"
          }
        ],
        "location": "Journal of Combinatorial Theory, Series A 28 (1980)",
        "relationship": "background",
        "title": "On partitions of E^n",
        "type": "paper"
      },
      {
        "authors": [
          {
            "name": "Gary Hu"
          },
          {
            "name": "Yumo Liu"
          }
        ],
        "identifier": "arXiv:2609.00583v2",
        "relationship": "background",
        "title": "A 21-Coloring of the Plane Without Monochromatic Unit-Area Rectangles",
        "type": "paper"
      }
    ],
    "related_formalizations": [
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/ErdosProblems/189.lean",
        "note": "Source of the statement. Challenge.lean copies verbatim Erdos189For (this file) and, from FormalConjecturesForMathlib/Geometry/2d.lean at the same commit, the notation \u211d\u00b2, two instances and IsCcwConvexPolygon; only the docstring of Erdos189For is extended. Solution.lean also copies five lemmas about IsCcwConvexPolygon with their proofs. At this commit formal-conjectures states erdos_189.variants.parallelogram as \u00ac Erdos189For P A; E189.positive proves Erdos189For P A for the same P and A, the negation of that statement.",
        "relationship": "other"
      },
      {
        "identifier": "https://github.com/lefttosolve2/open-math-agents/blob/90c71bb780e112fd3bc46363d899866479cfd646/proofs/Erdos189.erdos_189.variants.parallelogram.lean",
        "note": "The first publication of this proof, on Lean 4.33.1 against formal-conjectures (Apache-2.0). This repository is its port to Lean 4.35.0, Mathlib 56a005855ea17e0b0958f73ec801ae140b0a1679 and the module system, with the formal-conjectures definitions inlined. Inside the proof's declarations the only change is the rename of the deprecated lemma if_pos to ite_eq_left; E189.positive is placed in a public section of its own, and the corollary OMA.disproof is omitted.",
        "relationship": "other"
      },
      {
        "identifier": "https://github.com/plby/lean-proofs/blob/main/src/v4.24.0/ErdosProblems/Erdos189.lean",
        "note": "Formalization of the negative answer for rectangles (formal-conjectures erdos_189), recorded by formal-conjectures as by Alexeev and Kova\u010d using Aristotle. A different statement; not used here.",
        "relationship": "other"
      }
    ],
    "repository_role": "substantive-development",
    "responsible_maintainers": [
      {
        "name": "avivorly"
      }
    ],
    "result_origin": "original"
  },
  "registered_at": "2026-11-29T23:15:54Z",
  "review": {
    "outcome": "neutral",
    "policy_commit": "5bd35cddcfc940532bb5f55e399d68b49b0986a5",
    "report": {
      "sha256": "e8ee35f8fc7a6485daf88f267104204a3747850a8d5c69076bacdd8c1899e3ff"
    },
    "reviewed_at": "2026-11-29T19:38:56Z",
    "reviewer_models": [
      "codex:gpt-6-sol"
    ],
    "warnings": [
      "The prose calls the indexed vertices a, b, c, d counter-clockwise, but the required positive sine of \u2221 a b c gives them clockwise order in the stated standard-basis orientation: its signed area is det(a \u2212 b, c \u2212 b), the negative of the usual signed area for a, b, c. Thus the advertised ordering of the witnesses is incorrect, even though reversing their order can preserve the existence result. Correct the prose to describe the actual ordering, or change the Lean orientation and area conditions if counter-clockwise indexed witnesses are intended."
    ]
  },
  "schema_version": 5,
  "source": {
    "commit": "4984666baf3a77fb06415647cd0d19fe3a433dfc",
    "license": {
      "declared_identifier": "Apache-2.0",
      "detected_identifier": "Apache-2.0",
      "path": "LICENSE",
      "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4"
    },
    "repository": "avivorly/erdos-189-parallelogram",
    "repository_url": "https://github.com/avivorly/erdos-189-parallelogram",
    "tree_url": "https://github.com/avivorly/erdos-189-parallelogram/tree/4984666baf3a77fb06415647cd0d19fe3a433dfc"
  },
  "status": "registered",
  "submission": {
    "authorization": {
      "relationship": "maintainer"
    },
    "submission_id": "e913au2i13e8"
  },
  "title": "Erd\u0151s Problem 189, parallelogram variant: in every finite colouring of the plane, one colour class contains parallelograms of every positive area",
  "trust": {
    "challenge_bytes": 6038,
    "challenge_dependencies": [
      {
        "provenance": "allowlisted",
        "repository": "leanprover-community/mathlib4"
      }
    ],
    "challenge_imports": [
      "Mathlib.Analysis.InnerProductSpace.PiL2",
      "Mathlib.Geometry.Euclidean.Angle.Oriented.Affine",
      "Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic",
      "Mathlib.LinearAlgebra.Orientation"
    ],
    "challenge_lines": 127,
    "level": "high",
    "reasons": []
  },
  "verification": {
    "bwrap_source_tag": "v0.12.0",
    "challenge_sha256": "7aa95510a7a534c12ad2337504162412dcf9050456faf5ec79c4307134894feb",
    "evidence_path": "evidence/PALOMAR-2026-11-29-000140-v1/2b22aff25a64628b962652905144cd2fe9d000418ff392c91cd17bec19b5112e/",
    "evidence_tree_sha256": "2b22aff25a64628b962652905144cd2fe9d000418ff392c91cd17bec19b5112e",
    "kernels": [
      {
        "argv": [
          "/home/runner/.elan/toolchains/leanprover--lean4---v4.35.0/bin/nanoda_bin"
        ],
        "name": "nanoda"
      },
      {
        "argv": [
          "/home/runner/work/_temp/palomar/trusted-checker-update/con-ron",
          "--jobs=2",
          "--verified"
        ],
        "name": "con-ron"
      }
    ],
    "mechanical_report_sha256": "5d936cddd05758af19f5e69c329c4e260d96b0641745bf7f19a4a4e6d065fbd2",
    "protected_config_sha256": "493563815d815b3bb2e7e2d0d6323a151a3ff3c70e6deb8f2b57b330a39e615b",
    "repository": "PalomarRegistry/PalomarSubmission",
    "run_id": 46298126396,
    "solution_sha256": "3ae19887de387943e330a1fc6587b8bb1848ac1f83424cf8299da8842db75f57",
    "tool_digests": {
      "bwrap": "06c43818e05dcac0d33ba66c0e02b4ddef6a1554cccf8909165b9be4f50be52b",
      "con-ron": "4e5616d94374cae37324dad2594f6230c2bb2297240249fc78ff508f3bc5acef",
      "lake": "8ba83c98f76562d03b8dbc33f1057151ba6cbb121679dde76b2260ccc90495e1",
      "lean": "bf8d54e4714cc4b03d3f6bb34c83b7202b87e49c8bfcbff6895c085bb90ceb38",
      "leanchecker": "12c38901cdbfab178f1bf6145dd30012e9a3b2c11ca695292a5884fa3cbaddb6",
      "leanexport": "f6a6483d518a11b323c28b9bac176d2220df0e9fc3230833815db9586669c074",
      "nanoda_bin": "cbf13950fc4a48f635a0beceeb5ed32dd82568b870cfd081b6391c1f2cf02ba5"
    },
    "toolchain_commit": "eb6cafb7290e8bd5f2937522d8d804f58f02bafc",
    "verified_at": "2026-11-29T19:01:01Z",
    "workflow_commit": "351a8fde2398f75215fc3e4ada37061d0ef4f151",
    "workflow_path": ".github/workflows/submission.yml",
    "workflow_run_attempt": 1,
    "workflow_url": "https://github.com/PalomarRegistry/PalomarSubmission/actions/runs/46298126396"
  },
  "version": 1
}
