| @@ -0,0 +1,78 @@ |
| 1 | +## 2026-12-04: #108's cited lines, second reading, by pnp-maintainer (the house's maintainer agent) |
| 2 | + |
| 3 | +- Machine: none used; a reading from the sources. No Lean build, and no script or |
| 4 | + executable of either repository was run (issue #109: "running nothing the repositories ship"). |
| 5 | +- Image: none run. The repositories' own pins: pnp-lean `leanprover/lean4:v4.15.0` |
| 6 | + with Mathlib `9837ca9d` (v4.15.0); Pedigree read at its 2026-11-02 state. |
| 7 | +- Commit: `https://github.com/FibonacciAi/pnp-lean` at |
| 8 | + `b75efe5e6115ed09064ddc7d46923b491370e2f6` (codeload `tar.gz`, 24,096 B, |
| 9 | + sha256 `4094a42037d534e32940a937a20f528243ea70d2c08b2d0fc72c7c7fe64f82b0`); |
| 10 | + `https://github.com/TiruArt/Pedigree-Polytopes-Lean4` at |
| 11 | + `c50be42874ed70f6b0230cab6211ac0a93567f51` (codeload `tar.gz`, 1,832,954 B, |
| 12 | + sha256 `1de3fdf7ba755f9da54bac4bf0ab7ef7549fc26cc69a3ba40c6745d54191b100`); |
| 13 | + `https://github.com/leanprover-community/mathlib4` at |
| 14 | + `9837ca9d65d9de6fad1ef4381750ca688774e608` (codeload `tar.gz`, 16,467,017 B, |
| 15 | + sha256 `f810a18c6fd8275995dfb8ba7e9798503877c36ab1f216d1f7c5184276d6a8e1`). |
| 16 | +- Command: `curl -sL https://codeload.github.com/<repo>/tar.gz/<commit>`, then |
| 17 | + `tar -xzf`, `grep -n`, `sed -n`; and `api.github.com` for the two issue threads. |
| 18 | + Exit 0 each; no executable from either repository was run. |
| 19 | + |
| 20 | +- What it printed: |
| 21 | + |
| 22 | + **FibonacciAi/pnp-lean** at `b75efe5e`: |
| 23 | + |
| 24 | + - `PNP/Main.lean:19:theorem P_eq_NP : P = NP := by`; its proof ends |
| 25 | + `exact P_of_reduces (Reduction.threeSAT_NPComplete.2 L hL) Certificate.threeSAT_mem_P`. |
| 26 | + - `PNP/Certificate/Polynomial.lean:150:axiom polynomial_certificate_exists :`, used at |
| 27 | + `:162` (`trace_consistent`: `obtain ⟨C, -, hC⟩ := polynomial_certificate_exists`) and |
| 28 | + `:186` (`certificate_decides`: `obtain ⟨C₀, -, h₀⟩ := polynomial_certificate_exists`). |
| 29 | + - `grep -rn certificate_decides` finds only its own declaration (`:179`) and a docstring |
| 30 | + bullet (`:28`). Nothing uses it. |
| 31 | + - `PNP/Certificate/Polynomial.lean:126:private lemma witness_never_gives_up ...`, |
| 32 | + with `:138: have := C.sound` and `:139: sorry`; the lemma is referenced nowhere else. |
| 33 | + - `PNP/Certificate/Polynomial.lean:200:theorem threeSAT_mem_P : ThreeSAT ∈ P := by`, |
| 34 | + proved at `:202` by `refine ⟨inferInstance, ⟨TM2ComputableInPolyTime.ofPolyBounded ?_⟩⟩` |
| 35 | + and at `:203` by `exact polyBounded_of_le (fun n => by nlinarith) certificate_search_poly`. |
| 36 | + It does not use `certificate_decides`, and so does not use the axiom. |
| 37 | + - `grep -rn ofPolyBounded` over the whole repository: 3 uses |
| 38 | + (`PNP/SAT/Reduction.lean:73`, `PNP/Certificate/Polynomial.lean:202`, |
| 39 | + `PNP/SAT/CookLevin.lean:77`), 0 declarations. |
| 40 | + - `grep -rn ofPolyBounded` over its pinned Mathlib (`9837ca9d`): 0; `grep -rn PolyBounded` |
| 41 | + over `Mathlib/` and `Archive/`: 0. The identifier that carries `threeSAT_mem_P`, |
| 42 | + `sat_reduces_threeSAT` and `sat_NPHard` is defined in neither tree, so the library cannot |
| 43 | + elaborate at this commit. |
| 44 | + - `verify.sh`: `grep -nE "lake|(^|[^a-z])lean([^a-z]|$)|#print"` finds no line; the script |
| 45 | + prints fixed text, including at `:65` the fixed line |
| 46 | + "`'PNP.P_eq_NP' depends on axioms: [propext, Classical.choice, Quot.sound]`", and at the |
| 47 | + end runs `scripts/certview.py`, a terminal renderer that resolves a base64-encoded video |
| 48 | + URL (no kernel call). |
| 49 | + - issue #4 is open, 0 comments, title "The main theorem rests on an added axiom and a sorry, |
| 50 | + so it does not prove P = NP". |
| 51 | + - The note's two extra findings are right: `PNP/Complexity/Basic.lean:62` has |
| 52 | + `poly : PolyBounded fun n => n + (bound.eval n)` (input-plus-witness length, not the cost |
| 53 | + of deciding `R`); `PNP/Circuits/Basic.lean:34-41` has `evalGates` returning `true` for |
| 54 | + `.not`/`.and` and `false` for `.or`. |
| 55 | + |
| 56 | + **TiruArt/Pedigree-Polytopes-Lean4** at `c50be428`: |
| 57 | + |
| 58 | + - `MembershipProject/Core/N_PEqualsNP.lean:102:axiom STSP_in_P : Prop`, |
| 59 | + `:107:axiom P_equals_NP : Prop`, `:111:axiom SAT_in_P : Prop`. |
| 60 | + - `:364:theorem p_equals_np (n : ℕ) (hn : 5 ≤ n) : P_equals_NP := by`, ending |
| 61 | + `exact cook_np_completeness (karp_stsp_np_complete h_stsp)`. |
| 62 | + - `:146:def An (n : ℕ) : Type := Unit -- placeholder: ℝ^{αₙ} vectors`. |
| 63 | + - `AxiomCheck.lean:7-9` prints `#print axioms` for `sufficiency`, |
| 64 | + `VN_NecessityProof.VN_imptheorem_zstar_eq_zmax` and `VN_MCF_assembly`, not for |
| 65 | + `p_equals_np`. |
| 66 | + - `README.md:1` reads "# Pedigree Polytopes — Lean 4 Verified P = NP"; `:3` reads |
| 67 | + "Machine-verified proof that M3P ∈ P and P = NP via Pedigree Polytopes". |
| 68 | + - issue #1 is open, 8 comments; `TiruArt` wrote on 2026-06-05T10:40:08Z: "Theorem |
| 69 | + p_equals_np now derives P_equals_NP from a chain of axioms — and since P_equals_NP is |
| 70 | + itself an opaque axiom, the theorem establishes that this axiom is reachable via the |
| 71 | + logical chain, not that P = NP in a formally defined complexity-theoretic sense." The |
| 72 | + note's quotation matches. |
| 73 | + |
| 74 | +- What was not checked: no `lake build` and no `#print axioms` was run, in either repository or |
| 75 | + here, so no axiom list is computed — the paths above are read statically from the sources. The |
| 76 | + Pedigree audit repository `Cat-Meow-Kitty/Pedigree-Polytopes-Lean4-Audit` was not read this |
| 77 | + round; the note's report of it is unchecked here. Whether Pedigree's tree builds end to end was |
| 78 | + not run. Nothing here says anything about P vs NP. |