{
  "name": "Rocq proof-ending commands and what each means for the result",
  "description": "Compares the commands that end or abandon a proof in Rocq proof mode, as defined in the Rocq 9.0 reference manual page on proof mode. Compiled by reading the manual and recording each command's stated effect.",
  "page": "https://casrai.org/guides/coq-proof-assistant",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-18T03:29:42Z",
  "temporalCoverage": "Rocq 9.0",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Command",
      "unit": "",
      "description": ""
    },
    {
      "name": "Effect stated in the manual",
      "unit": "",
      "description": ""
    },
    {
      "name": "Resulting constant",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Command": "Qed",
      "Effect stated in the manual": "Sends the proof term to the kernel, which checks it is well typed and that its type matches the statement",
      "Resulting constant": "Opaque constant"
    },
    {
      "Command": "Defined",
      "Effect stated in the manual": "Ends the proof like Qed but adds a transparent constant",
      "Resulting constant": "Transparent constant"
    },
    {
      "Command": "Save",
      "Effect stated in the manual": "Ends the proof and gives it a name",
      "Resulting constant": "Named constant"
    },
    {
      "Command": "Admitted",
      "Effect stated in the manual": "Gives up the proof and declares the initial goal as an axiom",
      "Resulting constant": "Axiom"
    },
    {
      "Command": "Abort",
      "Effect stated in the manual": "Aborts the proof",
      "Resulting constant": "None"
    }
  ],
  "sources": [
    {
      "title": "Rocq reference manual 9.0: proof mode",
      "url": "https://rocq-prover.org/doc/v9.0/refman/proofs/writing-proofs/proof-mode.html",
      "accessed": "2026-11-17"
    }
  ]
}