[Paper Review] A Compositional Framework for Passive Linear Networks
This paper presents a compositional framework for passive linear electrical networks using category theory, showing that the external behavior of such circuits—defined by input-output relations of currents and voltages—forms a Lagrangian linear relation on a symplectic vector space. The key contribution is a symmetric monoidal hypergraph functor, the 'black box functor,' which maps circuits to their external behaviors, proving that composition of circuits corresponds to composition of these Lagrangian relations via power minimization principles.
Calculi of string diagrams are increasingly used to present the syntax and algebraic structure of various families of circuits, including signal flow graphs, electrical circuits and quantum processes. In many such approaches, the semantic interpretation for diagrams is given in terms of relations or corelations (generalised equivalence relations) of some kind. In this paper we show how semantic categories of both relations and corelations can be characterised as colimits of simpler categories. This modular perspective is important as it simplifies the task of giving a complete axiomatisation for semantic equivalence of string diagrams. Moreover, our general result unifies various theorems that are independently found in literature and are relevant for program semantics, quantum computation and control theory.
Motivation & Objective
- To develop a compositional, category-theoretic framework for analyzing passive linear electrical circuits, including resistors, inductors, and capacitors.
- To formalize the external behavior of such circuits as Lagrangian linear relations on symplectic vector spaces, capturing input-output relationships of currents and voltages.
- To construct a black box functor that maps circuit structure to its external behavior, preserving composition and tensoring operations.
- To unify circuit theory with symplectic geometry and category theory, providing a foundation for modular design and analysis of complex networks.
- To establish that the black box functor is a symmetric monoidal hypergraph functor, ensuring compatibility with modular composition and parallel composition of circuits.
Proposed method
- Model circuits as decorated cospans in a category where objects are finite sets of terminals and morphisms are circuits with marked inputs and outputs.
- Use the principle of minimum power to derive the external behavior of a circuit as a Dirichlet form on the space of node potentials.
- Construct a functor from circuits to Lagrangian linear relations by taking the graph of the differential of the power functional (i.e., the relation between currents and voltages at terminals).
- Apply the symplectification functor to map the Dirichlet form to a Lagrangian subspace of the symplectic vector space of terminal variables.
- Use decorated corelations to model ideal wires and define composition via pushout and minimization of power over shared nodes.
- Prove that the black box functor is a hypergraph functor by showing it preserves composition and tensoring, and commutes with the decorated corelation construction.
Experimental results
Research questions
- RQ1How can passive linear electrical circuits be formally composed using category theory while preserving their physical behavior?
- RQ2What is the mathematical structure of the external behavior of such circuits, and how does it relate to symplectic geometry?
- RQ3How does the principle of minimum power give rise to Lagrangian relations in the context of circuit networks?
- RQ4Can the black box functor be constructed as a symmetric monoidal hypergraph functor that respects both sequential and parallel composition?
- RQ5What is the relationship between the decorated cospan and decorated corelation frameworks in modeling circuit composition?
Key findings
- The external behavior of any passive linear circuit is a Lagrangian linear relation on a symplectic vector space of terminal currents and voltages.
- The black box functor is a symmetric monoidal hypergraph functor, ensuring that circuit composition via wiring corresponds to composition of Lagrangian relations.
- The functor is constructed via power minimization: the relation between terminal currents and voltages arises as the graph of the differential of the power functional.
- The construction commutes with the decorated corelation framework, showing that ideal wires and circuit composition are consistently modeled.
- The black box functor maps a circuit to its external behavior by first extending the power functional to all nodes, minimizing over internal nodes, and then restricting to terminals.
- The main result is that the black box functor factors through both the decorated cospan and decorated corelation constructions, with the Lagrangian corelation functor providing the final semantics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.