{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "LeastToMost",
 "ref": "LeastToMost#942d",
 "hash": "sema:LeastToMost#mh:SHA-256:942de8e9b154190e8a85a88d74c46350b5b9c936d4d463d33e697297f02ba0e3",
 "stub": "942d",
 "layer": "Mind",
 "type": "Reasoning",
 "summary": "Solve subproblems from easiest to hardest sequentially",
 "mechanism": "A prompting strategy that breaks a complex Task#a850 into a series of simpler subproblems, then solves them in sequence. Each subproblem's solution becomes context for the next. Unlike standard decomposition, the subproblems are ordered from easiest to hardest, and solutions explicitly build on each other. It employs Decompose#6994 to sort sub-tasks by complexity, solving them sequentially.",
 "invariants": [
  "Solution#8d55 to P(i) enables P(i+1)",
  "Subproblems solved in order of dependency"
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Complex problem",
  "Decomposition strategy"
 ],
 "postconditions": [
  "Full solution built from simple parts"
 ],
 "failure_modes": [
  "Subproblem Coupling: Later subproblems depend on earlier errors.",
  "Ordering Misjudgment: Wrong difficulty ordering leads to missing prerequisites.",
  "Overhead: Simple problems don't benefit from decomposition."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "LeastToMost",
 "builds_on": [
  {
   "alias": "decompose",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Decompose",
   "ref": "Decompose#6994",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Decompose"
  },
  {
   "alias": "solution",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Solution",
   "ref": "Solution#8d55",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Solution"
  },
  {
   "alias": "task",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Task",
   "ref": "Task#a850",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Task"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "RecursionDive",
   "ref": "RecursionDive#a86f",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RecursionDive"
  }
 ],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/LeastToMost",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/LeastToMost.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
