Why Lean Distinguishes `Bool` (Data) from `Prop` (Specifications)
At first glance, having both Bool (true / false) and Prop (logical statements like ∀ n : Nat, n + 0 = n) feels redundant. Here is why systems verification needs both: a Prop can quantify over infinitely many inputs (∀ epoch : Nat, ...), which no runtime Bool function could ever finish looping over!
Conversely, your HTTP router cannot branch on an uncomputable Prop at runtime; it needs a concrete bit (Bool, 0 or 1). The Decidable P typeclass is the bridge: it packages either a proof isTrue (h : P) or a refutation isFalse (h : ¬P) that executes like a Bool while carrying a kernel-checked certificate.
Finite Exhaustion in 1 Line
For finite enumerations (Role, Action, Region, Environment), case-splitting every enum constructor reduces an entire security matrix to concrete ground propositions that decide checks inside the kernel with zero external axioms.