Complete documentation for the Lean-Agentic formally verified agentic programming language with state-of-the-art theorem proving capabilities.
- Project README - Overview and getting started
- ARCHITECTURE.md - High-level system architecture
- ARCHITECTURE_DIAGRAMS.md - Visual architecture documentation
- TECHNOLOGY_EVALUATION.md - Technology choices and evaluations
🧮 Theorems (theorems/)
Novel Contributions:
- NEW_THEOREM_ACHIEVEMENT.md - ✨ Hash-Consing Confluence Preservation (October 2025)
- HASH_CONSING_CONFLUENCE_THEOREM.md - Theorem overview and motivation
- FORMAL_PROOF_HASHCONS_CONFLUENCE.md - Complete mathematical proof with citations
Church-Rosser Confluence:
- CHURCH_ROSSER_THEOREM.md - Classic confluence theorem
- CHURCH_ROSSER_IMPLEMENTATION_COMPLETE.md - Implementation report
Planning & Research:
- THEOREM_ROADMAP.md - Future theorem development
- THEOREM_RESEARCH_REPORT.md - Research findings
- THEOREM_IMPLEMENTATION_GUIDES.md - Implementation patterns
- ADVANCED_THEOREMS_ARCHITECTURE.md - Advanced theorem architecture
- ADR_001_ADVANCED_THEOREMS.md - Architecture decision record
🗃️ AgentDB (agentdb/)
Reinforcement learning database with vector embeddings and memory systems:
- AGENTDB_V1.6.0_VALIDATION_REPORT.md - ✅ Latest v1.6.0 validation
- AGENTDB_V1.5.5_FINAL.md - v1.5.5 release
- AGENTDB_V1.5.3_VERIFICATION.md - v1.5.3 verification
- AGENTDB_100_PERCENT.md - Complete coverage report
- AGENTDB_TOOLS_VERIFIED.md - MCP tools verification
📖 Implementation Guides (guides/)
Step-by-step implementation documentation:
- INTEGRATION_GUIDE.md - AI optimization integration
- PRODUCTION_EXAMPLES.md - Production usage examples
- EXAMPLES_GUIDE.md - Example applications guide
- RUNBOOK.md - Operations and troubleshooting
- IMPLEMENTATION_CHECKLIST.md - Development checklist
📊 Status Reports (reports/)
Implementation progress and summaries:
- ARCHITECTURE_SUMMARY.md - Core architecture overview
- ARCHITECTURE-SUMMARY.md - Alternative architecture summary
- SWARM_IMPLEMENTATION_COMPLETE.md - Swarm coordination complete
- WASM_COMPILER_IMPLEMENTATION.md - WASM compiler implementation
- RUNTIME_SUMMARY.md - Runtime system summary
- IMPLEMENTATION_SUMMARY.md - Overall implementation status
- COMPILATION_STATUS.md - Build and compilation status
- TESTING_SUMMARY.md - Test coverage and benchmarks
- CLAUDE_SKILLS_CREATED.md - AI skills development
- elaboration-implementation.md - Elaborator implementation
- elaboration-summary.md - Elaborator summary
- runtime-implementation.md - Runtime implementation details
✅ Validation & Verification (validation/)
Formal verification and proof attestations:
- ED25519_PROOF_ATTESTATION.md - Cryptographic proof attestation
- WASM_VERIFIED.md - WASM compilation verification
Core Architecture:
- architecture/README.md - Architecture documentation index
- architecture/00-overview.md - System design overview
- architecture/01-memory-model.md - Hash-consing and arenas
- architecture/02-proof-kernel.md - Trusted computing base
- architecture/03-performance.md - Performance optimization
- architecture/04-integration-points.md - Component interfaces
Decisions:
- decisions/ADR-001-hash-consing.md - Hash-consing design decision
Diagrams:
- diagrams/c4-system-context.md - C4 Level 1: System context
- diagrams/c4-container.md - C4 Level 2: Container view
Start here:
- Project README - Overview and installation
- guides/PRODUCTION_EXAMPLES.md - Example usage
- guides/RUNBOOK.md - Operations guide
Start here:
- ARCHITECTURE.md - High-level architecture
- architecture/ - Detailed design docs
- reports/SWARM_IMPLEMENTATION_COMPLETE.md - Implementation details
Start here:
- theorems/NEW_THEOREM_ACHIEVEMENT.md - Latest theorem contribution
- theorems/FORMAL_PROOF_HASHCONS_CONFLUENCE.md - Rigorous proof
- architecture/02-proof-kernel.md - Formal verification kernel
- theorems/THEOREM_ROADMAP.md - Future research directions
Hash-Consing Confluence Preservation Theorem
- First formalization connecting hash-consing with confluence properties
- Rigorous proof with 8 academic citations
- 705.6x measured speedup (exceeds theoretical 100x!)
- Complete Rust implementation with 100% test success
- See theorems/NEW_THEOREM_ACHIEVEMENT.md
- Context synthesis with AI-generated insights
- MongoDB-style metadata filtering
- 78.5% gzip compression ratio
- Complete MCP integration
- See agentdb/AGENTDB_V1.6.0_VALIDATION_REPORT.md
- Total Files: 34 organized documentation files
- Theorems: 10 files (including novel contributions)
- AgentDB: 5 validation documents
- Guides: 5 implementation guides
- Reports: 12 status reports
- Validation: 2 verification documents
- Architecture: 9 detailed architecture files
- Total Size: ~350KB of comprehensive documentation
# Generate API documentation
cargo doc --workspace --no-deps --open
# View architecture locally
mdcat docs/ARCHITECTURE.md
# Generate PDF (requires pandoc)
pandoc docs/ARCHITECTURE.md -o architecture.pdf
# View theorem proofs
mdcat docs/theorems/FORMAL_PROOF_HASHCONS_CONFLUENCE.md- All code examples are tested and working
- Performance numbers are from actual measurements
- Architecture diagrams follow C4 model
- ADRs document major design decisions with rationale
- Theorems include rigorous proofs and empirical validation
- All documentation is kept up-to-date with code
When adding documentation:
- Follow the existing structure (use appropriate subdirectories)
- Add entries to this README
- Use Markdown with GitHub-flavored syntax
- Include code examples that compile
- Measure and verify performance claims
- Update diagrams if architecture changes
- For theorems: include formal proofs and citations
theorems/- Theorem statements, proofs, and implementationsagentdb/- AgentDB validation and version reportsguides/- User-facing implementation guidesreports/- Status reports and implementation summariesvalidation/- Formal verification and proof attestations- Root - Core architecture and high-level overview docs
See PUBLISHING.md for npm publishing guidelines.
Last Updated: 2025-10-25 Documentation Version: 2.0.0 Notable: Hash-Consing Confluence Preservation Theorem (World's First)