BackwardChain
Goal-driven reasoning from target to preconditions
Mechanism
Goal-First Decomposition: Start from desired end-state, recursively identify prerequisites. For each prerequisite, ask "what must be true for this to hold?" until reaching known facts or actionable steps. Execution order is reverse of discovery order. A goal-directed form of Deduction — derives required antecedents from the desired consequent. Structures the ChainOfThought in reverse chronological order, linking the desired future state to present preconditions.
Invariants
- Causal Sufficiency: Step(T) must be sufficient condition for Step(T+1)
- Goal Anchoring: Chain must start at DesiredEndState
- Leaf nodes must be actionable or known-true.
Preconditions
- Goal state clearly defined.
- Domain has prerequisite structure.
- Knowledge base queryable.
Postconditions
- Execution plan produced OR goal proven unachievable.
- Plan steps in executable order.
- All prerequisites satisfied.
Failure modes
- Infinite Regression: The precondition chain never terminates because base facts are missing.
Where this came from
—
Builds on
- Chain references
- Deduction references
- Plan references
- ChainOfThought references
Identity
- Ref:
BackwardChain#92c0 - Hash: sema:BackwardChain#mh:SHA-256:92c0e4700ff6bc202bd16dc4c77fd0b826605462cdc30d8b4230c36f61df0bb3
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository