---
library: "bootstrap"
slug: "ChainOfThought"
name: "ChainOfThought"
ref: "ChainOfThought#27ad"
hash: "sema:ChainOfThought#mh:SHA-256:27ad1f2386f58e1f9e1983c97f6dbeb8f1345e1d9b9e00af30871b97d21e0c95"
type: "Reasoning"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/ChainOfThought"
---

# ChainOfThought

Step-by-step reasoning (Macro for Think(Chain))

Mind · Reasoning

## Mechanism

The canonical implementation of sequential reasoning. Instantiates the '[Think](https://semahash.org/vocabularies/bootstrap/patterns/Think.md)' primitive with a linear '[Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md)' [Topology](https://semahash.org/vocabularies/bootstrap/patterns/Topology.md). Elicits a step-by-step derivation of the answer to improve accuracy and transparency. It implements the [Think](https://semahash.org/vocabularies/bootstrap/patterns/Think.md) primitive as a linear [Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md), optionally invoking [StepBack](https://semahash.org/vocabularies/bootstrap/patterns/StepBack.md) or [Reflexion](https://semahash.org/vocabularies/bootstrap/patterns/Reflexion.md) 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.

## Signature

- Think(Chain)

## Where this came from

—

## Builds on

- [Think](https://semahash.org/vocabularies/bootstrap/patterns/Think.md) (references)
- [Topology](https://semahash.org/vocabularies/bootstrap/patterns/Topology.md) (references)
- [Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md) (references)
- [StepBack](https://semahash.org/vocabularies/bootstrap/patterns/StepBack.md) (composes_with)
- [Reflexion](https://semahash.org/vocabularies/bootstrap/patterns/Reflexion.md) (composes_with)

## Used by

- [Abduction](https://semahash.org/vocabularies/bootstrap/patterns/Abduction.md) (composes_with)
- [BackwardChain](https://semahash.org/vocabularies/bootstrap/patterns/BackwardChain.md) (references)
- [FirstPrinciples](https://semahash.org/vocabularies/bootstrap/patterns/FirstPrinciples.md) (references)
- [HeuristicSnap](https://semahash.org/vocabularies/bootstrap/patterns/HeuristicSnap.md) (references)
- [TreeOfThoughts](https://semahash.org/vocabularies/bootstrap/patterns/TreeOfThoughts.md) (references)

## Related

- [ReAct](https://semahash.org/vocabularies/bootstrap/patterns/ReAct.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: ChainOfThought#27ad
- Hash: sema:ChainOfThought#mh:SHA-256:27ad1f2386f58e1f9e1983c97f6dbeb8f1345e1d9b9e00af30871b97d21e0c95

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/ChainOfThought
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/ChainOfThought.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
