{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Reversibility",
 "ref": "Reversibility#cb35",
 "hash": "sema:Reversibility#mh:SHA-256:cb359b693e6f3e674083df81b207143179d19330d5c3ce6e1832674901074b37",
 "stub": "cb35",
 "layer": "Physics",
 "type": "Primitives",
 "summary": "Condition: Can this action be undone?",
 "mechanism": "Evaluates whether the post-state of an action allows a return to the pre-state. Two tests in order: whether the information needed to reconstruct the pre-state still exists, and only then whether restoring it costs less than the caller's declared limit. Returns TRUE for Type 2 decisions (reversible) and FALSE for Type 1 (one-way doors).",
 "invariants": [
  "A post-state that destroyed the information yields FALSE at any cost limit.",
  "The verdict names the cost limit and information-loss tolerance it was judged against, both Constraint#7013s supplied by the caller."
 ],
 "parameters": [
  {
   "name": "cost_limit",
   "type": "PositiveInteger",
   "range": "unspecified",
   "description": "Maximum acceptable cost to reverse, in a unit the caller states."
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "False reversibility: the action created externalities the pre-action analysis omitted.",
  "Cost drift: the tolerance was declared before the reversal is attempted."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Reversibility",
 "builds_on": [
  {
   "alias": "constraint",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Constraint",
   "ref": "Constraint#7013",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Constraint"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Trialhaven",
   "ref": "Trialhaven#da45",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Trialhaven"
  },
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "ErrorCostAsymmetry",
   "ref": "ErrorCostAsymmetry#b542",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ErrorCostAsymmetry"
  }
 ],
 "used_by": [
  {
   "slug": "ReversibilityCheck",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ReversibilityCheck"
  },
  {
   "slug": "Translate",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Translate"
  },
  {
   "slug": "Trialhaven",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Trialhaven"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Reversibility",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Reversibility.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
