Core Concepts
This guide explains the fundamental concepts behind Modality.
The Five Pillars
| Concept | Purpose |
|---|---|
| Append-only log | Immutable, ordered history |
| State machines | Finite, verifiable behaviors |
| Modal logic | Express temporal constraints |
| Predicates | Bind identity to logic |
| Potentialism | Safe accumulation of rules |
How They Fit Together
- A contract is an append-only log of signed commits
- Commits can add state, rules, or perform actions
- A model (labeled transition system) defines what actions are possible
- Rules (temporal formulas) constrain which evolutions are valid
- Predicates bind real-world identity (signatures) to logical constraints
- Potentialism ensures rules can only shrink the space of valid futures
Dive into each concept: