{
  "schema_version": 1,
  "id": "p-vs-np",
  "title": "P vs NP",
  "question": "Can every encoded 3-SAT instance be decided in deterministic polynomial time?",
  "status": "open",
  "publication": {
    "id": "math-20261128-sat-baseline",
    "title": "A Lean-checked baseline for SAT search",
    "status": "published",
    "href": "https://enterprise.orchardai.ai/case-studies/math-research/#update-math-20261128-sat-baseline",
    "author": "Orchard Math research AI",
    "revision": 1,
    "research_recorded_at": "2026-11-29T03:14:52Z",
    "published_at": "2026-11-29T03:24:28.298Z",
    "citation_sha256": "fb761d626b1df07589e24afed479310d41428ef0d8956118a5a45c86cc90dc24",
    "verification_scope": "Lean checks solver correctness and the exact terminal-evaluation count on unsatisfiable inputs. Polynomial-time 3-SAT remains open."
  },
  "nodes": [
    {
      "id": "restrict-formula",
      "title": "Restrict a formula by assigning one variable",
      "status": "lean_verified",
      "depends_on": [],
      "lean_theorems": [
        "evalCNF_restrict",
        "satisfiable_split"
      ],
      "evidence_ids": [
        "sat-baseline-lean",
        "sat-baseline-statements"
      ],
      "summary": "Evaluation of a restricted formula agrees with fixing the variable in the original. Satisfiability is preserved by taking the disjunction of the two branches."
    },
    {
      "id": "correct-exhaustive-solver",
      "title": "Prove the exhaustive solver answers correctly",
      "status": "lean_verified",
      "depends_on": [
        "restrict-formula"
      ],
      "lean_theorems": [
        "decideCNFSAT_correct"
      ],
      "evidence_ids": [
        "sat-baseline-lean",
        "sat-baseline-audit",
        "sat-baseline-audit-output"
      ],
      "summary": "The solver returns true exactly when the input CNF has a satisfying assignment."
    },
    {
      "id": "count-exhaustive-leaves",
      "title": "Count branches on unsatisfiable inputs",
      "status": "lean_verified",
      "depends_on": [
        "restrict-formula",
        "correct-exhaustive-solver"
      ],
      "lean_theorems": [
        "searchSATLeaves_unsatisfiable"
      ],
      "evidence_ids": [
        "sat-baseline-lean",
        "sat-baseline-audit",
        "sat-baseline-audit-output"
      ],
      "summary": "On an unsatisfiable input the exhaustive solver reaches all 2^n terminal evaluations, where n is its number of distinct variables."
    },
    {
      "id": "polynomial-3-sat",
      "title": "Find a polynomial-time solver for general 3-SAT",
      "status": "open",
      "depends_on": [],
      "lean_target": "GoalPEqNP",
      "evidence_ids": [
        "sat-baseline-statements"
      ],
      "summary": "The target requires a deterministic polynomial bound in the encoded input length for every 3-SAT instance."
    }
  ],
  "evidence": [
    {
      "id": "sat-baseline-note",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/042c0145d75613ba0b581027ebb087b484450913f4ff177ba5138556adfae1ee/README.md",
      "sha256": "042c0145d75613ba0b581027ebb087b484450913f4ff177ba5138556adfae1ee"
    },
    {
      "id": "sat-baseline-lean",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/494b881428ce0a1c7da1fbddd8fbd644baca52afbd16d76dead3e572fe177fe1/SatSearch.lean",
      "sha256": "494b881428ce0a1c7da1fbddd8fbd644baca52afbd16d76dead3e572fe177fe1"
    },
    {
      "id": "sat-baseline-statements",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/08467246d56504734f351755c371a4ea6759bbf1c91c25baffaca0a174a072f4/Statements.lean",
      "sha256": "08467246d56504734f351755c371a4ea6759bbf1c91c25baffaca0a174a072f4"
    },
    {
      "id": "sat-baseline-audit",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/008b36cd933f4062c6ffbe92e831d70ec1b5baeb2d42cf667af954b5d76b7679/Audit.lean",
      "sha256": "008b36cd933f4062c6ffbe92e831d70ec1b5baeb2d42cf667af954b5d76b7679"
    },
    {
      "id": "sat-baseline-audit-output",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/9135722fbf0ba10a8b05ec1290404c3221911946e630cd98a3ee6fb8bce54352/lean-audit.txt",
      "sha256": "9135722fbf0ba10a8b05ec1290404c3221911946e630cd98a3ee6fb8bce54352"
    },
    {
      "id": "sat-baseline-toolchain",
      "href": "https://enterprise.orchardai.ai/research/math/artifacts/3aac669c7a910ec2389f4e4f921b605adf6ebf2d1e0c9b9cd0be4d33f3f5db71/lean-toolchain.txt",
      "sha256": "3aac669c7a910ec2389f4e4f921b605adf6ebf2d1e0c9b9cd0be4d33f3f5db71"
    }
  ]
}
