{"repo":"pvsnp","commit":{"oid":"d14b391bc742f7375923a0b2b0ff0af46e15838a","tree":"8a1da90d14db144f7f02eb948a884aeebd989ea5","parents":["f0679799a068ef3eadad81d312dbccca601dc438"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945112000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945112000},"subject":"Audit the axioms of every headline theorem in the build","message":"Audit the axioms of every headline theorem in the build\n\nAudit/Axioms.lean pins the output of #print axioms for the main\ntheorems with #guard_msgs, and lake build now builds it by default. A\nsorry, a new axiom, or anything assuming P ≠ NP or P = NP makes the\nbuild fail instead of passing silently.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},"diff":{"base":"f0679799a068ef3eadad81d312dbccca601dc438","head":"d14b391bc742f7375923a0b2b0ff0af46e15838a","stat":{"files":3,"additions":71,"deletions":1},"files":[{"path":"Audit.lean","status":"added","additions":1,"deletions":0,"binary":false,"patch":"--- /dev/null\n+++ b/Audit.lean\n@@ -0,0 +1 @@\n+import Audit.Axioms\n","truncated":false},{"path":"Audit/Axioms.lean","status":"added","additions":65,"deletions":0,"binary":false,"patch":"--- /dev/null\n+++ b/Audit/Axioms.lean\n@@ -0,0 +1,65 @@\n+import PvsNP\n+\n+/-!\n+# Axiom audit\n+\n+Each headline theorem may use only Lean's standard axioms (`propext`, `Classical.choice`,\n+`Quot.sound`). `#guard_msgs` makes `lake build` fail if any theorem here starts to depend on\n+anything else: a `sorry` (`sorryAx`) or a new axiom. In particular nothing may assume P ≠ NP or P = NP.\n+-/\n+\n+/-- info: 'PvsNP.InP.inNP' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.InP.inNP\n+\n+/-- info: 'PvsNP.InP.compl' depends on axioms: [propext] -/\n+#guard_msgs in\n+#print axioms PvsNP.InP.compl\n+\n+/-- info: 'PvsNP.InP.of_reduces' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.InP.of_reduces\n+\n+/-- info: 'PvsNP.InNP.of_reduces' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.InNP.of_reduces\n+\n+/-- info: 'PvsNP.Reduces.refl' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.Reduces.refl\n+\n+/-- info: 'PvsNP.Reduces.trans' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.Reduces.trans\n+\n+/-- info: 'PvsNP.PolyTimeComputable.comp' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.PolyTimeComputable.comp\n+\n+/-- info: 'PvsNP.NPHard.all_inP' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.NPHard.all_inP\n+\n+/-- info: 'PvsNP.NPComplete.inP_iff' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.NPComplete.inP_iff\n+\n+/-- info: 'PvsNP.pEqNP_iff' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.pEqNP_iff\n+\n+/-- info: 'PvsNP.pNeNP_iff' depends on axioms: [propext, Classical.choice, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.pNeNP_iff\n+\n+/-- info: 'PvsNP.NPComplete.pNeNP_iff' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.NPComplete.pNeNP_iff\n+\n+/-- info: 'PvsNP.Machine.run_lift' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.Machine.run_lift\n+\n+/-- info: 'PvsNP.Machine.run_seq' depends on axioms: [propext, Quot.sound] -/\n+#guard_msgs in\n+#print axioms PvsNP.Machine.run_seq\n","truncated":false},{"path":"lakefile.toml","status":"modified","additions":5,"deletions":1,"binary":false,"patch":"--- a/lakefile.toml\n+++ b/lakefile.toml\n@@ -1,6 +1,10 @@\n name = \"pvsnp\"\n version = \"0.1.0\"\n-defaultTargets = [\"PvsNP\"]\n+defaultTargets = [\"PvsNP\", \"Audit\"]\n \n [[lean_lib]]\n name = \"PvsNP\"\n+\n+# Fails the build if a headline theorem depends on `sorry` or a non-standard axiom.\n+[[lean_lib]]\n+name = \"Audit\"\n","truncated":false}],"truncated":false},"jit":null,"api":"/v1/repos/pvsnp/commit?rev=d14b391bc742f7375923a0b2b0ff0af46e15838a","api_url":"https://git.neoopensource.com/v1/repos/pvsnp/commit?rev=d14b391bc742f7375923a0b2b0ff0af46e15838a"}