{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "ChainOfThought",
 "ref": "ChainOfThought#27ad",
 "hash": "sema:ChainOfThought#mh:SHA-256:27ad1f2386f58e1f9e1983c97f6dbeb8f1345e1d9b9e00af30871b97d21e0c95",
 "stub": "27ad",
 "layer": "Mind",
 "type": "Reasoning",
 "summary": "Step-by-step reasoning (Macro for Think(Chain))",
 "mechanism": "The canonical implementation of sequential reasoning. Instantiates the 'Think#5177' primitive with a linear 'Chain#3ba0' Topology#58ad. Elicits a step-by-step derivation of the answer to improve accuracy and transparency. It implements the Think#5177 primitive as a linear Chain#3ba0, optionally invoking StepBack#f345 or Reflexion#81eb to self-correct during the derivation.",
 "invariants": [
  "Reasoning before answer: intermediate steps precede the final conclusion.",
  "Steps form a single linear chain; the topology does not branch."
 ],
 "parameters": {},
 "signature": [
  "Think(Chain)"
 ],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "ChainOfThought",
 "builds_on": [
  {
   "alias": "think",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Think",
   "ref": "Think#5177",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Think"
  },
  {
   "alias": "topology",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Topology",
   "ref": "Topology#58ad",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Topology"
  },
  {
   "alias": "chain",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Chain",
   "ref": "Chain#3ba0",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Chain"
  },
  {
   "alias": "step_back",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "StepBack",
   "ref": "StepBack#f345",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/StepBack"
  },
  {
   "alias": "reflexion",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Reflexion",
   "ref": "Reflexion#81eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Reflexion"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "ReAct",
   "ref": "ReAct#3361",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ReAct"
  }
 ],
 "used_by": [
  {
   "slug": "Abduction",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Abduction"
  },
  {
   "slug": "BackwardChain",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/BackwardChain"
  },
  {
   "slug": "FirstPrinciples",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/FirstPrinciples"
  },
  {
   "slug": "HeuristicSnap",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/HeuristicSnap"
  },
  {
   "slug": "TreeOfThoughts",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/TreeOfThoughts"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/ChainOfThought",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/ChainOfThought.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
