{
  "slug": "compress-pfr",
  "kind": "compress",
  "title": "Compress the Lean proof of the polynomial Freiman–Ruzsa conjecture",
  "short": "PFR, compressed",
  "problem": "pfr",
  "dir": "min",
  "instant": false,
  "compress": {
    "slug": "compress-pfr",
    "problem": "pfr",
    "short": "PFR, compressed",
    "title": "Compress the Lean proof of the polynomial Freiman–Ruzsa conjecture",
    "lede": "Make the formal proof of Marton's conjecture shorter while it still proves exactly the same six theorems.",
    "repo": "teorth/pfr",
    "commit": "1899ce8ed95fc310cce53d4c7ecfa2beb20ebec4",
    "subdir": ".",
    "modules": [
      "PFRPalomar.Solution"
    ],
    "theorems": [
      "Marton.pfr_conjecture",
      "Marton.pfr_conjecture_nine",
      "Marton.torsion_pfr_conjecture",
      "Marton.weak_pfr_int",
      "Marton.homomorphism_pfr",
      "Marton.approx_hom_pfr"
    ],
    "toolchain": "leanprover/lean4:v4.37.0-rc1",
    "mathlib": "c47f9ad906c5ec32a953f99911b446cd26dcc123",
    "credit": "Terence Tao, Yaël Dillies, Bhavik Mehta and the PFR project contributors (2023–2026)",
    "map": "/pfr/map",
    "reference": {
      "Marton.pfr_conjecture": "5beeb94b7d01606bb4e00878b4008d3ff6ad2f2fe7af2ad1dca692e06ed0aad4",
      "Marton.pfr_conjecture_nine": "65fd94f146020055060bac7a11019c4de45aafb10c72acfb5c9964d00297408d",
      "Marton.torsion_pfr_conjecture": "511a5890206fe8bb45cd91b70e93f916bb9d0aa87bc229af29dc0f77c2fe744c",
      "Marton.weak_pfr_int": "520dd888eb99805c2879c5fab573def7f7a186f173e0e323ac761988f860f33e",
      "Marton.homomorphism_pfr": "c61c53a17ca23b0dd4732ec1ed3946b4ccf5c019d29d287190e6c904a89f6c06",
      "Marton.approx_hom_pfr": "0e8797b3a123eaef82f40f8e3765fae744bf4579f42aeeefeffb5ee7856c2f7e"
    }
  },
  "metric": "Lean tokens in the project's own files that the main theorems need, with the statements unchanged; fewer is better",
  "certificate": "{\"repo\": \"owner/name\", \"commit\": \"<full 40-character hash>\"}: a public GitHub repository with the same layout as teorth/pfr (subfolder .). Only its .lean files are used.",
  "check": "A vetted node builds your .lean files inside the reference project (teorth/pfr at 1899ce8: its lakefile, Lean v4.37.0-rc1, Mathlib c47f9ad, dependencies read-only) with no network. The statement closure of each main theorem must hash to the reference's; every project declaration is replayed through the kernel; no sorry, no extra axiom, no native_decide; changed files may not run code while elaborating. Then it counts tokens. Minutes for this project.",
  "scoring": "One key: tokens. Comments and whitespace are free; every identifier is one token however long, and each bracket, comma, number, string and run of symbols is one token. Only the project's own files in the import closure of PFRPalomar.Solution count; Mathlib and the other dependencies are free and pinned. The definitions the six statements use are fixed, so they cost every entry the same. A file identical to the reference's is trusted as it is; changed and new files may not use #eval, run_cmd, elab, initialize, simprocs, unsafe, IO or the elaborator's monads.",
  "record": null,
  "upper": null,
  "series": [],
  "history": [],
  "entries": [
    {
      "id": "2fb106284e33",
      "key": "tokens",
      "status": "checked",
      "value": "240274",
      "created_at": 1795661653149,
      "handle": "reference"
    }
  ]
}