GridStabilityControlsCert
plain-language theorem explainer
The structure certifies that the enumeration of grid stability controls contains exactly five elements. Energy systems researchers working in the Recognition Science framework cite it to fix configDim at D equals 5 for grid modeling. The declaration is introduced as a bare structure whose single field records the Fintype cardinality of the inductive type.
Claim. Let $C$ be the finite set whose elements are the five grid stability controls (inertia, primary frequency response, voltage support, demand response, storage dispatch). Then GridStabilityControlsCert is the structure whose sole field asserts that the cardinality of $C$ equals 5.
background
The module defines five canonical electric-grid stability controls and equates them to configDim D equals 5. The inductive type GridStabilityControl enumerates precisely these five cases: inertia, primary frequency response, voltage support, demand response, storage dispatch, and derives Fintype, DecidableEq, Repr, and BEq. The local setting treats these controls as spanning rotational buffer, fast governor response, reactive power, load-side control, and temporal energy shifting.
proof idea
The declaration is a structure definition whose single field directly encodes the cardinality assertion; no tactics or lemmas are applied.
why it matters
It supplies the type for the downstream definition gridStabilityControlsCert, which populates the certificate from the count of the inductive type. The structure thereby anchors the energy-systems layer to the five controls listed in the module documentation and to the Recognition Science identification of configDim with D equals 5.
Switch to Lean above to see the machine-checked source, dependencies, and usage graph.