{
  "abstract": "Standalone Lean 4 / Mathlib formalizations of six solved theorems on Euler's totient function and divisor structure from the Erd\u0151s problem collection, matching google-deepmind/formal-conjectures verbatim: (1) Erd\u0151s #408: Pillai's (1929) logarithmic bounds \u230alog_3(n/2)\u230b + 1 \u2264 f(n) \u2264 \u230alog_2 n\u230b + 1 for iterated totients (proved via Shapiro's completely additive class function); (2) Erd\u0151s #821: Pillai's (1929) theorem that totient fibers #{m : \u03c6(m) = n} are unbounded; (3) Erd\u0151s #823: Erd\u0151s (1974) / Pollack (2015) density of ratios n/m with \u03c6(n) = \u03c6(m) in [1, \u221e); (4) Erd\u0151s #878: disproof of \u2200 x, max_{n \u2264 x} f(n) = max_{n \u2264 x} F(n) (witnessed at x = 210); (5) Erd\u0151s #887: Erd\u0151s\u2013Rosenfeld's (1997) infinite family of integers with at least 4 divisors in (\u221an, \u221an + C n^(1/4)); and (6) Erd\u0151s #1100: existence of squarefree integers n with \u03c9(n) = \u03c4_\u22a5(n) = k for every k.",
  "authors": [
    {
      "name": "Skyler Niedzielski"
    }
  ],
  "challenge_render": {
    "artifact_path": "renders/PALOMAR-2026-12-04-000050-v1/a5abf80513adbcc6aa23830e319664a3172848489d6a680ec1e35ab8544efe26/",
    "artifact_tree_sha256": "a5abf80513adbcc6aa23830e319664a3172848489d6a680ec1e35ab8544efe26",
    "bwrap_source_tag": "v0.12.0",
    "entrypoint": "Challenge/index.html",
    "format": "verso-html",
    "rendered_at": "2026-12-04T06:10:45Z",
    "renderer_commit": "351a8fde2398f75215fc3e4ada37061d0ef4f151",
    "verso_commit": "304b8561790c50222551c937ce02928df0d5b445"
  },
  "classification": {
    "arxiv": [
      "math.NT"
    ],
    "msc2020": [
      "11A25",
      "11N37",
      "11N56"
    ]
  },
  "first_registered_on": "2026-12-04",
  "formalization": {
    "challenge_path": "Palomar/TotientAndDivisors/Challenge.lean",
    "comparator_config_path": "Palomar/TotientAndDivisors/comparator.json",
    "definition_names": [],
    "formalization_metadata_path": "Palomar/TotientAndDivisors/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": "Palomar/TotientAndDivisors/Solution.lean",
    "theorem_names": [
      "Erdos408.erdos_408.variants.pillai",
      "Erdos821.erdos_821.variants.pillai",
      "Erdos823.erdos_823.variants.totient",
      "Erdos878.erdos_878.parts.iii_all",
      "Erdos887.erdos_887.variants.rosenfeld_infinite",
      "Erdos1100.erdos_1100.variants.eq_omega"
    ]
  },
  "id": "PALOMAR-2026-12-04-000050",
  "preservation": {
    "archive_owner": "PalomarArchive",
    "archived_at": "2026-12-04T14:58:56Z",
    "receipt_sha256": "c517fd641b63e861f3fa611ed1c97456e80e402491c277e5a154bc2294679247",
    "repositories": [
      {
        "commit": "6ae55c74e39741652d5c8a33a0b3fd84185253c7",
        "fork_repository": "PalomarArchive/ChironTheCentaur--formal-conjectures-proofs--63f2d980366f",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/6ae55c74e39741652d5c8a33a0b3fd84185253c7",
        "source_repository": "ChironTheCentaur/formal-conjectures-proofs"
      },
      {
        "commit": "4a174c490d8707121c4a9290800489f105d85e07",
        "fork_repository": "PalomarArchive/leanprover-community--aesop--01b46b609077",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/4a174c490d8707121c4a9290800489f105d85e07",
        "source_repository": "leanprover-community/aesop"
      },
      {
        "commit": "66e469188fe07963e5cf666c7d4433f45b8131c5",
        "fork_repository": "PalomarArchive/leanprover-community--batteries--1b4c776305c9",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/66e469188fe07963e5cf666c7d4433f45b8131c5",
        "source_repository": "leanprover-community/batteries"
      },
      {
        "commit": "a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93",
        "fork_repository": "PalomarArchive/leanprover-community--import-graph--e0a79261b05a",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93",
        "source_repository": "leanprover-community/import-graph"
      },
      {
        "commit": "d6b4c7be5be75ec4917c873ac50c756dc1436372",
        "fork_repository": "PalomarArchive/leanprover-community--LeanSearchClient--9de355ab5f53",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/d6b4c7be5be75ec4917c873ac50c756dc1436372",
        "source_repository": "leanprover-community/LeanSearchClient"
      },
      {
        "commit": "56a005855ea17e0b0958f73ec801ae140b0a1679",
        "fork_repository": "PalomarArchive/leanprover-community--mathlib4--67b3d817d8a2",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/56a005855ea17e0b0958f73ec801ae140b0a1679",
        "source_repository": "leanprover-community/mathlib4"
      },
      {
        "commit": "dfa4f38190d07c37e315953e08b90fe2d95b3c24",
        "fork_repository": "PalomarArchive/leanprover-community--plausible--fb632f6f7bf4",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/dfa4f38190d07c37e315953e08b90fe2d95b3c24",
        "source_repository": "leanprover-community/plausible"
      },
      {
        "commit": "df72b022e558978a1c50264cfc4d7fec86fa8e04",
        "fork_repository": "PalomarArchive/leanprover-community--ProofWidgets4--26014acbbaff",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/df72b022e558978a1c50264cfc4d7fec86fa8e04",
        "source_repository": "leanprover-community/ProofWidgets4"
      },
      {
        "commit": "dce0ad79c486cb1fb504af04f953c3466b0c6db8",
        "fork_repository": "PalomarArchive/leanprover-community--quote4--90d31d153685",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/dce0ad79c486cb1fb504af04f953c3466b0c6db8",
        "source_repository": "leanprover-community/quote4"
      },
      {
        "commit": "c24fe6078c630e89b489bffe59b3e20ac30d12c8",
        "fork_repository": "PalomarArchive/leanprover--lean4-cli--df175a7fc790",
        "ref": "refs/tags/palomar/PALOMAR-2026-12-04-000050-v1/c24fe6078c630e89b489bffe59b3e20ac30d12c8",
        "source_repository": "leanprover/lean4-cli"
      }
    ]
  },
  "provenance": {
    "mathematical_sources": [
      {
        "author_endorsement": "n/a",
        "authors": [
          {
            "name": "S. Sivasankaranarayana Pillai"
          }
        ],
        "identifier": "doi:10.1090/S0002-9904-1929-04800-6",
        "location": "Bulletin of the American Mathematical Society 35 (1929), 837-841",
        "relationship": "formalizes",
        "title": "On a function connected with \u03c6(n)",
        "type": "paper"
      },
      {
        "author_endorsement": "n/a",
        "authors": [
          {
            "name": "Harold N. Shapiro"
          }
        ],
        "location": "American Mathematical Monthly 50 (1943), 18-30",
        "relationship": "background",
        "title": "On the iterates of arithmetic functions",
        "type": "paper"
      },
      {
        "author_endorsement": "n/a",
        "authors": [
          {
            "name": "Paul Erd\u0151s"
          }
        ],
        "location": "Mathematica Balkanica 4 (1974), 197-202",
        "relationship": "formalizes",
        "title": "Remarks on some problems in number theory",
        "type": "paper"
      },
      {
        "author_endorsement": "not-contacted",
        "authors": [
          {
            "name": "Paul Pollack"
          }
        ],
        "location": "Analytic Number Theory, Springer, Cham (2015), 305-320",
        "relationship": "background",
        "title": "Remarks on fibers of the sum-of-divisors function",
        "type": "paper"
      },
      {
        "author_endorsement": "n/a",
        "authors": [
          {
            "name": "Paul Erd\u0151s"
          }
        ],
        "location": "Mathematics of Computation / Festschrift (1984), 113-121",
        "relationship": "formalizes",
        "title": "On two unconventional number theoretic functions and on some related problems",
        "type": "paper"
      },
      {
        "author_endorsement": "not-contacted",
        "authors": [
          {
            "name": "Paul Erd\u0151s"
          },
          {
            "name": "Moshe Rosenfeld"
          }
        ],
        "location": "Acta Arithmetica 79 (1997), 353-359",
        "relationship": "formalizes",
        "title": "The factor-difference set of integers",
        "type": "paper"
      },
      {
        "author_endorsement": "not-contacted",
        "authors": [
          {
            "name": "Paul Erd\u0151s"
          },
          {
            "name": "Richard R. Hall"
          }
        ],
        "location": "Journal of the Australian Mathematical Society Series A 25 (1978), 479-485",
        "relationship": "formalizes",
        "title": "On some unconventional problems on the divisors of integers",
        "type": "paper"
      }
    ],
    "related_formalizations": [
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/408.lean",
        "note": "Reproduces `Erdos408.f` and `erdos_408.variants.pillai` verbatim.",
        "relationship": "builds-on"
      },
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/821.lean",
        "note": "Reproduces `Erdos821.g` and `erdos_821.variants.pillai` verbatim.",
        "relationship": "builds-on"
      },
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/823.lean",
        "note": "Reproduces `Erdos823.erdos_823.variants.totient` verbatim.",
        "relationship": "builds-on"
      },
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/878.lean",
        "note": "Reproduces `Erdos878.f`, `F`, `maxUpTo`, and `erdos_878.parts.iii_all` verbatim.",
        "relationship": "builds-on"
      },
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/887.lean",
        "note": "Reproduces `Erdos887.erdos_887.variants.rosenfeld_infinite` verbatim.",
        "relationship": "builds-on"
      },
      {
        "identifier": "https://github.com/google-deepmind/formal-conjectures/blob/c6192bc255fb052e82491bcd884b5a4018d0002a/FormalConjectures/ErdosProblems/1100.lean",
        "note": "Reproduces `Erdos1100.tauPerp` and `erdos_1100.variants.eq_omega` verbatim.",
        "relationship": "builds-on"
      }
    ],
    "repository_role": "substantive-development",
    "responsible_maintainers": [
      {
        "name": "Skyler Niedzielski"
      }
    ],
    "result_origin": "source-based"
  },
  "registered_at": "2026-12-04T14:58:34Z",
  "review": {
    "outcome": "neutral",
    "policy_commit": "4edd8c6c26840049501177ee876baa45d4cb998b",
    "report": {
      "sha256": "257a1a659d52d56f0f938a6c09c03437dc2384136e012c5d9212e7837d5a3357"
    },
    "reviewed_at": "2026-12-04T06:17:02Z",
    "reviewer_models": [
      "codex:gpt-6-sol"
    ],
    "warnings": [
      "The source record for #878 omits the credited origin of its principal result. Identify Barreto's contribution and its available source or provenance in the structured source account, and distinguish it from Erd\u0151s's original question."
    ]
  },
  "schema_version": 5,
  "source": {
    "commit": "6ae55c74e39741652d5c8a33a0b3fd84185253c7",
    "license": {
      "declared_identifier": "Apache-2.0",
      "detected_identifier": "Apache-2.0",
      "path": "LICENSE",
      "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
    },
    "repository": "ChironTheCentaur/formal-conjectures-proofs",
    "repository_url": "https://github.com/ChironTheCentaur/formal-conjectures-proofs",
    "tree_url": "https://github.com/ChironTheCentaur/formal-conjectures-proofs/tree/6ae55c74e39741652d5c8a33a0b3fd84185253c7"
  },
  "status": "registered",
  "submission": {
    "authorization": {
      "relationship": "maintainer"
    },
    "submission_id": "62w8u6yib2e5"
  },
  "title": "Euler's Totient Function and Divisor Structure (Erd\u0151s Problems #408, #821, #823, #878, #887, #1100)",
  "trust": {
    "challenge_bytes": 4704,
    "challenge_dependencies": [
      {
        "provenance": "allowlisted",
        "repository": "leanprover-community/mathlib4"
      }
    ],
    "challenge_imports": [
      "Mathlib.Algebra.Order.Floor.Ring",
      "Mathlib.Analysis.SpecialFunctions.Log.Basic",
      "Mathlib.Analysis.SpecialFunctions.Pow.Real",
      "Mathlib.Data.EReal.Basic",
      "Mathlib.Data.Finset.Lattice.Fold",
      "Mathlib.Data.Finset.Powerset",
      "Mathlib.Data.Nat.Factorization.Basic",
      "Mathlib.Data.Nat.Log",
      "Mathlib.Data.Nat.Nth",
      "Mathlib.Data.Nat.Squarefree",
      "Mathlib.Data.Nat.Totient",
      "Mathlib.Data.Set.Card",
      "Mathlib.NumberTheory.ArithmeticFunction.Misc",
      "Mathlib.NumberTheory.Divisors",
      "Mathlib.Order.Interval.Finset.Nat",
      "Mathlib.Order.LiminfLimsup"
    ],
    "challenge_lines": 140,
    "level": "high",
    "reasons": []
  },
  "verification": {
    "bwrap_source_tag": "v0.12.0",
    "challenge_sha256": "45be1fddd223c75f7c7a43216edea243a049747c9d9bca36fc3b444dc534a60f",
    "evidence_path": "evidence/PALOMAR-2026-12-04-000050-v1/8b131e43f272d6dd5af2f26b82bfd0ac3f119a529d8d42fec4d4865a1c70ad61/",
    "evidence_tree_sha256": "8b131e43f272d6dd5af2f26b82bfd0ac3f119a529d8d42fec4d4865a1c70ad61",
    "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": "5483785b5bd0a36643999a41d050b04ceb08c6a7805d5cda7f2835b5e4ac0652",
    "protected_config_sha256": "a1b0cd8da00471af1082f831b035bd7e6e6574814e5c695d75d07c6087d54cc0",
    "repository": "PalomarRegistry/PalomarSubmission",
    "run_id": 47273926574,
    "solution_sha256": "18136dfe8f4d9ea7757cc4224489a7b6380d1d42ece1c6c34eafecca0d7fe258",
    "tool_digests": {
      "bwrap": "47a49a9c7e8baea5d4a616aea39b3b8fdd8b65b304e0d8b7fa1e4436d13a9762",
      "con-ron": "4e5616d94374cae37324dad2594f6230c2bb2297240249fc78ff508f3bc5acef",
      "lake": "8ba83c98f76562d03b8dbc33f1057151ba6cbb121679dde76b2260ccc90495e1",
      "lean": "bf8d54e4714cc4b03d3f6bb34c83b7202b87e49c8bfcbff6895c085bb90ceb38",
      "leanchecker": "12c38901cdbfab178f1bf6145dd30012e9a3b2c11ca695292a5884fa3cbaddb6",
      "leanexport": "f6a6483d518a11b323c28b9bac176d2220df0e9fc3230833815db9586669c074",
      "nanoda_bin": "cbf13950fc4a48f635a0beceeb5ed32dd82568b870cfd081b6391c1f2cf02ba5"
    },
    "toolchain_commit": "eb6cafb7290e8bd5f2937522d8d804f58f02bafc",
    "verified_at": "2026-12-04T05:32:16Z",
    "workflow_commit": "351a8fde2398f75215fc3e4ada37061d0ef4f151",
    "workflow_path": ".github/workflows/submission.yml",
    "workflow_run_attempt": 1,
    "workflow_url": "https://github.com/PalomarRegistry/PalomarSubmission/actions/runs/47273926574"
  },
  "version": 1
}
