Certified stability and responses of a circuit from its netlist text #
The end-to-end checker of the circuit pipeline: Cslib.Electrical.Text.checkText s cert reads
the netlist text s (Cslib.Electrical.Text.parse) and checks the certificate cert against
the circuit it describes. The certificate (Cslib.Electrical.Text.NetlistCert) is untrusted
data from a numerical tool: a structured index-one decoupling of the modified nodal equations
and the input data of its realization (Cslib.LinearAlgebra.SparseDecouplingCert,
Cslib.LinearAlgebra.SparseRealizationCert), an operating point, and a Lyapunov matrix with
LDLᵀ witnesses (Cslib.LinearAlgebra.LyapunovCert). Every check is an exact rational
computation that the kernel evaluates.
Cslib.Electrical.Text.exists_parse_of_checkText is the end-to-end theorem. If
checkText s cert holds, then s parses to a netlist P, and the guarantee
Cslib.Electrical.Text.NetlistCert.Guarantee holds for the circuit P.netlist with Kirchhoff
semantics (Cslib.Electrical.Netlist.IsTrajectoryOn), with the operating point z₀ = cert.z₀:
z₀is a constant trajectory with the sources at their constant values (the DC operating point), and every differential state starts a trajectory: the guarantee is not vacuous;- every trajectory with zero input converges to
z₀exponentially, in all node potentials and branch currents; - for the probes of the text (
.probelines) and its input ports (acsources), every trajectory driven by an input continuous on[0, ∞)from the operating-point state has the outputy t - y₀ = D u t + ∫₀ᵗ h (t - s) u s ds, whereh t = C exp (t A) BandDare the response kernel and the direct feedthrough of the checked realizationCslib.Electrical.Netlist.sparseRealization.
The trust boundary is the text and the semantics of parse (documented in
CslibFrontier.Languages.Electrical.NetlistText): the exporter that wrote the text, the
physical components and parasitics are outside it. Failure of the check is inconclusive; it is
not an instability proof.
Main definitions #
Cslib.Electrical.Text.NetlistCert,Cslib.Electrical.Text.NetlistCert.check.Cslib.Electrical.Text.NetlistCert.Guarantee: the guarantee.Cslib.Electrical.Text.checkText.
Main results #
An untrusted certificate of stability and of the realization of a circuit.
The structured index-one decoupling of the modified nodal equations.
The input data of the realization.
The operating point: all node potentials, then all branch currents.
The Lyapunov matrix of the reduced state matrix
dec.A.- lyap : LinearAlgebra.LyapunovCert
Whether cert is accepted for the circuit c: the netlist is well formed, the
decoupling, the realization data, the operating point and the Lyapunov certificate are
accepted.
The end-to-end checker: whether the text s parses and cert is accepted for the
circuit it describes.
The guarantee of an accepted certificate for a netlist P, with the operating point
z₀ = cert.z₀, the differential coordinates given by the first cert.dec.k rows of
cert.dec.Uᵢ, and the checked realization P.netlist.sparseRealization cert.dec cert.real P.probes from the input ports to the probes:
z₀is a constant trajectory with zero input (the DC operating point);- every differential state starts a trajectory on
[0, ∞); - every trajectory with zero input converges to
z₀exponentially, in the Euclidean norm of all node potentials and branch currents; - every trajectory driven by an input continuous on
[0, ∞)whose differential state starts at that ofz₀has the probed outputsy t - y₀ = D u t + ∫₀ᵗ h (t - s) u s dsfort ≥ 0, with the response kernelhand the direct feedthroughDof the realization.
The guarantee holds when the certificate is accepted for the netlist.
Certified stability and input/output behaviour of the circuit described by a text. If
checkText s cert holds, then s parses to a netlist P, and the circuit P.netlist has the
guarantee cert.Guarantee P: its operating point cert.z₀ is exponentially stable, and its
zero-state response from the input ports to the probes of the text is that of the checked
realization.