{"ok":true,"data":{"items":[{"oid":"5775f68a625381372449ec219c1ffa1a4b854544","tree":"6e382d5bcfac8787f5446e37c30da300a4f570d1","parents":["9a24316027a91cc3fdc90b58e4c8740501a87703"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945075000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945075000},"subject":"Define NP-hardness and NP-completeness","message":"Define NP-hardness and NP-completeness\n\nNPHard L: every NP language reduces to L. NPComplete L: in NP and\nNP-hard. Proved: hardness passes up along reductions, an NP-hard language\nin P puts all of NP in P, an NP-complete language is in P exactly when\nall of NP is, and NP-complete languages reduce to each other.\n\nNo concrete language is shown NP-complete yet (Cook–Levin is on the\nroadmap).\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},{"oid":"9a24316027a91cc3fdc90b58e4c8740501a87703","tree":"67539de4c98961e9cb29d2a0b160b759eef1b809","parents":["346abe536d053a5c1b61722fd9b9ea5144e9a85c"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945024000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945024000},"subject":"Prove NP closed under polynomial-time reductions","message":"Prove NP closed under polynomial-time reductions\n\nIf L ≤ₚ L' and L' ∈ NP then L ∈ NP. The reduction runs first, lifted\nwith skipOne so the certificate on tape 1 survives; the verifier for L'\nthen runs on f x and the same certificate. run_seq_verifier is the\nsimulation lemma for that composite.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},{"oid":"346abe536d053a5c1b61722fd9b9ea5144e9a85c","tree":"f2ec5842a9aae6fa83389b8f340fd95fc1f4f13f","parents":["f5592d3aedb2a3159eb374b0c8fe8cc6eec1d4da"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945023000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945023000},"subject":"Define NP by polynomial-time verifiers; prove P ⊆ NP","message":"Define NP by polynomial-time verifiers; prove P ⊆ NP\n\nInNP L: a machine with the certificate on tape 1 halts within T |x|\nsteps for every certificate, and x ∈ L exactly when some certificate\nmakes it accept (Sipser's definition: the time bound ignores the\ncertificate, so only a polynomial prefix of it can matter).\n\nP ⊆ NP: lift the decider with Embedding.skipOne so it never touches tape\n1; it is then a verifier that ignores its certificate.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},{"oid":"f5592d3aedb2a3159eb374b0c8fe8cc6eec1d4da","tree":"a816ba108214f8c8479aec4d9f11a56d21ebdb43","parents":["c8e434ba058c72a281a2c0f4d9ac19451c2bdc33"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944959000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944959000},"subject":"Add polynomial-time reductions; they compose","message":"Add polynomial-time reductions; they compose\n\nPolyTimeComputable f: a machine computes f in polynomial time and |f x|\nis polynomially bounded. L ≤ₚ L' is a Karp reduction.\n\nProved: the identity is polynomial-time, polynomial-time functions\ncompose, ≤ₚ is reflexive and transitive, a reduction is also one between\nthe complements, and P is closed downward under ≤ₚ. The composite machine\nlifts both machines onto a common set of tapes and runs them in sequence.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},{"oid":"c8e434ba058c72a281a2c0f4d9ac19451c2bdc33","tree":"f548f74fabaa47be0ebfd8f37d92ef7e0be1b569","parents":["bcc4f3dece3d264853eced6c9d44e5e47d2f6d63"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944852000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944852000},"subject":"Define P and prove it closed under complement","message":"Define P and prove it closed under complement\n\nInP L: some machine decides L within a polynomial time bound. The full\nand empty languages are in P (a machine that halts at once), and P is\nclosed under complement by swapping accepting and rejecting states.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},{"oid":"bcc4f3dece3d264853eced6c9d44e5e47d2f6d63","tree":"3dec929b24f12072ff6d0a5ecb057ac72531c5e2","parents":["6e7066ddddafbadd01b90cd05e7abb76c82a1bba"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944833000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795944833000},"subject":"Define deciding, computing and verifying within a time bound","message":"Define deciding, computing and verifying within a time bound\n\nDecidesIn, ComputesIn and VerifiesIn, each with its time measured in the\ninput length. ComputesIn asks for a clean output (f x on tape 0, all\nelse blank, heads at 0) so a second machine can start where the first\nstopped. A verifier's time bound ignores the certificate, as in Sipser.\n\nAll three are monotone in the time bound and survive adding tapes.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"}],"next":null,"truncated":false},"meta":{"request_id":"08f64e33-8","took_us":617,"limits":{"limit":600,"remaining":599,"window_ms":60000,"reset_ms":100,"cost":1,"streams":{"limit":16,"open":0}}}}