ConceptDependent Types / 依赖类型系统
Dependent Types
An advanced type system mechanism that allows types to depend on runtime values, enabling properties such as array bounds safety and function input constraints to be statically guaranteed at compile time. It is a foundational concept in formal verification languages such as Lean, Coq, and Idris.
Timeline (last 90 days)
Sep 17
Dependent types allow types themselves to depend on values—for example, one can define a type of 'list of length n'—enabling many runtime properties to be statically guaranteed at compile time.
Unverified70%