Expand description
BedRock Module - First Principles Decomposition
Reduces problems to fundamental axioms through recursive analysis, then rebuilds understanding using Tree-of-Thoughts exploration.
§Methodology
BedRock applies Elon Musk-style first principles thinking:
- Decompose: Break the problem into fundamental components
- Identify Axioms: Find self-evident truths that don’t require proof
- Surface Assumptions: Expose hidden assumptions that may be challenged
- Rebuild: Reconstruct understanding from verified foundations
- Explore: Use Tree-of-Thoughts to find optimal reasoning paths
§Usage
ⓘ
use reasonkit::thinktool::modules::{BedRock, ThinkToolModule, ThinkToolContext};
let bedrock = BedRock::new();
let context = ThinkToolContext {
query: "Why are electric vehicles better than gas cars?".into(),
previous_steps: vec![],
};
let result = bedrock.execute(&context)?;
println!("Axioms found: {}", result.output["axioms"]);
println!("Hidden assumptions: {}", result.output["assumptions"]);Structs§
- Analysis
Gap - Analysis gap identified during reconstruction.
- BedRock
- BedRock reasoning module for first principles analysis.
- BedRock
Config - Configuration for BedRock analysis depth and behavior.
- BedRock
Metadata - Metadata about the analysis process.
- BedRock
Result - Complete result of BedRock first principles analysis.
- Principle
- A fundamental principle identified during decomposition.
- Reconstruction
Path - A reconstruction path from axioms to conclusions.
Enums§
- Principle
Type - Classification of a principle’s nature.