|
|
|
Show HN: Lean4 proof that SSOT requires definition-time hooks and introspection
(zenodo.org)
|
|
10 points
by trissim
162 days ago
|
|
I formalized the Single Source of Truth (SSOT) principle in Lean 4 (~2.1k LOC, zero sorry) and proved two core results: Structural SSOT is achievable only when a language provides definition-time hooks and runtime introspection. Macros/codegen (before definition) and reflection (after definition) are insufficient.
These requirements are derived, not chosen: because structural facts are fixed at definition, derivation must occur at definition time and be introspectable to verify DOF = 1. Would appreciate review, critique, or independent checking of the Lean scripts. |
|
There are clear formalizations of concepts like Consistency in distributed systems, and there are algorithms that correctly achieve Consensus.
What does it mean to formalize the "Single Source of Truth" principle, which is a guiding principle and not a predictive law?