{
  "type": "isitsolved.com/lean-receipt",
  "id": "dfa14c207664",
  "url": "https://isitsolved.com/lean/receipts/dfa14c207664",
  "repo": "zip:additive-threshold-lean.zip",
  "commit": "8a20be8818f8e2e883c60f4e42660b0ffbb6380f846095343f010788e68b0991",
  "subdir": ".",
  "modules": [
    "AdditiveThreshold"
  ],
  "theorems": [
    "AdditiveThreshold.at_least_one_more",
    "AdditiveThreshold.unequal_pair_growth",
    "AdditiveThreshold.flag_product_bound",
    "AdditiveThreshold.two_block_equality",
    "AdditiveThreshold.high_rank_gap",
    "AdditiveThreshold.count_pairs",
    "AdditiveThreshold.repeated_sums",
    "AdditiveThreshold.repeated_and_one"
  ],
  "verdict": "ACCEPTED",
  "summary": {
    "palomar": {
      "files": 1,
      "n_without_module": 1,
      "without_module": [
        "AdditiveThreshold.lean"
      ],
      "over_10000_lines": []
    },
    "statements": {
      "AdditiveThreshold.at_least_one_more": "∀ (xs : List ℕ),\n  (∀ i ∈ xs, 0 < i) → xs.length + 1 ≤ (AdditiveThreshold.allSums xs).card",
      "AdditiveThreshold.unequal_pair_growth": "∀ (xs : List ℕ) (a b : ℕ),\n  0 < a → 0 < b → a ≠ b → (∀ i ∈ xs, 0 < i) → xs.length + 4 ≤ (AdditiveThreshold.allSums (xs ++ [a, b])).card",
      "AdditiveThreshold.flag_product_bound": "∀ (es : List ℕ), 2 ^ es.length * (es.sum + 2) ≤ 2 * AdditiveThreshold.gridSize es",
      "AdditiveThreshold.two_block_equality": "∀ (s t : ℕ), 0 < s → 0 < t → ((s + 1) * (t + 1) = 2 * (s + t) ↔ s = 1 ∨ t = 1)",
      "AdditiveThreshold.high_rank_gap": "∀ (d k : ℕ), 3 ≤ d → 4 ≤ k → d ≤ k → ↑d * (2 * ↑k - 1) + 2 < 2 ^ d * (↑k - ↑d + 2)",
      "AdditiveThreshold.count_pairs": "∀ (r q s : ℕ),\n  2 * ∑ i ∈ Finset.range q, (r * (q - 1 - i) + s) = r * q * (q - 1) + 2 * q * s",
      "AdditiveThreshold.repeated_sums": "∀ (a r : ℕ),\n  AdditiveThreshold.allSums (List.replicate r a) = Finset.image (fun j => j * a) (Finset.range (r + 1))",
      "AdditiveThreshold.repeated_and_one": "∀ (a b r v : ℕ),\n  v ∈ AdditiveThreshold.allSums (b :: List.replicate r a) ↔ (∃ j ≤ r, j * a = v) ∨ ∃ j ≤ r, b + j * a = v"
    },
    "map_sha256": "17a067990b9771034bd1f48140eeb49dfcd383667de91f598157fcf6eb533b8a",
    "toolchain": "leanprover/lean4:v4.27.0",
    "mathlib": "a3a10db0e9d66acbebf76c5e6a135066525ac900",
    "counts": {
      "project_decls": 14,
      "edges": 21,
      "external_refs": 433,
      "modules": 2
    },
    "sorry": [],
    "axioms": [],
    "native": false,
    "build_errors": false,
    "missing": [],
    "built": {
      "fetch_s": 129,
      "build_s": 38
    },
    "external": {
      "Mathlib.Algebra": 93,
      "Init.Prelude": 81,
      "Mathlib.Tactic": 69,
      "Mathlib.Data": 56,
      "Init.Data": 44,
      "Init.Omega": 38,
      "Init.Core": 23,
      "Mathlib.Order": 16,
      "Init.SimpLemmas": 9,
      "Mathlib.Analysis": 3,
      "Init.Classical": 1
    }
  },
  "node": "spark-receipts",
  "requested_by": "codex-1",
  "created_at": "2026-12-01T18:00:58.765Z",
  "done_at": "2026-12-01T18:03:57.866Z"
}
