CS Paper Radar

Towards a Formalised Framework for Analog Electronics and Circuit Theory

Yaohua Zhang, Zhi Kai Pong

eess.SY ·submitted 2026-11-23 18:23 UTC · v1
theory

Abstract

Circuit theory provides the mathematical foundation for the analysis and design of electronic circuits. However, conventional circuit derivations often rely on assumptions and mathematical relationships that are not explicitly recorded, making their verification and reuse challenging. In this paper, we present the first step towards a formalised framework for circuit theory and analog electronics using the Lean 4 interactive theorem prover. As a proof of concept, we formalise an ideal RC low-pass filter, establishing reusable definitions for component impedance and circuit connections, and machine-checked theorems for voltage division, the transfer function, and low-pass behaviour. Building upon this demonstration, we outline a broader vision for an extensible library of circuit models, definitions, and verified results. Our long-term aim is to digitise, standardise, and verify circuit theory, enabling established knowledge to be systematically checked, shared, and reused across different circuit analyses.

Closest papers

Nearest neighbours by meaning across the whole index.

Toward a Lean Formalization of Analog Computing with Microwaves

eess.SP cs.ITphysics.app-ph ·2026-10-03 ·Matteo Nerini, Xuekang Liu, Bruno Clerckx
code/dataunusual similarity 0.60
Abstract · Submitted to IEEE for publication

Analog computing with microwave signals can perform linear transformations directly in the analog domain, as the signals propagate through a microwave network. A fundamental question is which transformations can be computed with a given set of microwave components. In our previous work, we answered this question for networks of hybrid couplers and phase shifters by deriving a necessary and sufficient condition on the transformations these networks can compute, and we showed that the discrete Fourier transform (DFT) satisfies it. In this paper, we take a first step toward the formalization of analog computing with microwaves in Lean, a programming language and proof assistant that is increasingly adopted in mathematics. We formalize the considered components, their series and parallel connections, and the class of networks they can implement. Then, we formally prove the necessary and sufficient condition characterizing these networks, as well as the implementability of the DFT of any size power of two. All proofs are checked by the Lean kernel, and the code is openly available at: https://github.com/matteonerini/formalizing-analog-computing.

0.39

Challenging Benchmarks for Diagrammatic Equivalence of Circuits in TPTP and SMT-LIB

cs.LO ·2026-08-27 ·Julie Cailler, Noé Delorme, Sophie Tourret
benchmarktheory similarity 0.56
Abstract

We introduce a new family of benchmarks for the problem of diagrammatic equivalence between circuits. Three variants of this problem are considered, ranging from basic to challenging, and benchmarks are generated for each variant. We provide first-order encodings in both TPTP and SMT-LIB formats, together with scripts that automatically generate benchmark instances, and evaluate these benchmarks on state-of-the-art automated theorem provers and SMT solvers.

0.25

CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables

cs.AR ·2026-11-19 ·Hyunjun Park, Seungyub Han, Jason Jaesung Lee, Kahyun Kim, Soohyun Kim +4 more
hot direction similarity 0.52
Abstract · 7 pages, 9 figures, 2 tables

Automated analog circuit sizing methods, from black-box optimizers to recent large language model (LLM) agents, typically search the design space with a SPICE simulator in the loop, whereas an experienced designer works out a design by hand analysis. This paper presents CRAFT, a flow in which an LLM agent designs a given topology by calculation, as a designer does, and without an initial sizing. The agent works only through DeX, a service that uses pre-computed lookup tables to provide device characteristics and to solve the whole netlist for its operating point and small-signal response. It thus designs without SPICE, and every final design is verified independently in HSPICE. We test CRAFT on four circuits in a commercial 28 nm process; the largest is a 37-transistor three-stage amplifier with 53 design variables, 20 specifications and 74 saturation constraints. With Claude Opus 5.5, CRAFT meets every specification and constraint in all 20 runs, five per circuit. On that amplifier, with DeX in place of HSPICE and an identical request for both, the same agent passes in 10 of 10 runs instead of 6 of 10 within an hour and is 2.0x faster at the median.

0.36

CAPER: Circuit-Aware Parameter-Efficient Reasoning in LLMs for Analog Verification

cs.AR cs.LG ·2026-10-30 ·Saion K. Roy
published similarity 0.52
Abstract · Presented at IBM IEEE CAS/EDS - AI Compute Symposium (AICS) 2026 held at IBM, Yorktown Heights, NY, USA, on 28th October

Large language models (LLMs) are increasingly used to generate analog circuits, yet every netlist must also be verified. We propose LLMs as verification assistants for analog circuits that flag unmet specifications and reliability issues that appear under process, voltage, and temperature (PVT) variation. These issues emerge from how circuit stages combine, a structure that generic parameter-efficient fine-tuning (PEFT) methods such as LoRA do not capture. To this end, we introduce CAPER, a circuit-aware PEFT method that adds a small branch alongside LoRA to read each stage's properties from the LLM and combine them from the relevant stages. In deciding whether a feedback loop is negative, LoRA and a high-rank adapter stay at chance, whereas CAPER answers every test case correctly. For comparator latches, where 11 of 90 LLM-written designs that work under nominal conditions fail under PVT variation, CAPER likewise learns to flag such latent failures, while generic adapters stay near chance. These results show that adding circuit knowledge to PEFT makes such analog verification checks learnable through fine-tuning.

0.29

From Pen-and-Paper to Machine-Checked Proofs: Lean for System Identification

eess.SY cs.AI ·2026-11-13 ·Manas Mejari, Dario Piga, Marco Forgione
theory similarity 0.50
Abstract

Mathematical proofs in scientific papers are often long and intricate, relying on chains of references to earlier results. This makes it difficult for readers and reviewers to verify each and every step. Interactive theorem proving offers a complement: the theorem and its proof are written as code, and every inference is checked by a small, trusted piece of software called the kernel. This paper serves as an introduction to the Lean 4 proof assistant for a system identification and control audience, assuming no prior exposure to formal methods. We first show how a Lean proof is read using two elementary examples: the first on identifiability, the second on set invariance. We then illustrate how Lean can be used to analyse results from the literature, taking as example a classic lemma on the inversion of the noise filter in prediction-error identification (Ljung, 1999, Lemma 3.1). Since in Lean every step must be justified, the formalization brings to light a subtle point: the original claim of that lemma holds almost surely, although not for every realisation, as its statement may suggest. A simple counterexample makes this concrete. Finally, the paper discusses guidelines and perspectives on the use of Lean in system identification research.

0.13

Definition Grounding in Theory-Level Auto-formalization

cs.AI ·2026-10-13 ·Leyan Pan, Christian Szegedy, Frederick Rajasekaran, Robi Bhattacharjee, Gregory Constantine +1 more
benchmarkhot direction similarity 0.49
Abstract

LLM-based auto-formalization systems can now generate formally verified Lean code at unprecedented rates. However, a formalization advances mathematical research only when further mathematical results can be built on it, especially when its definitions and helper lemmas are general enough to be imported and used idiomatically. We propose definition grounding, where definition formalizations are continuously judged and revised, as a method to ensure formalization quality. We find that agents formalizing definitions from textbook text often produce definitions that later statements cannot use, and only 25%-50% of their definition sets are compatible with all later statements. However, clarifying the informal definitions can improve this rate up to 77.5% averaged over all models. Furthermore, stating a small set of basic properties without proving them can improve model judges' capability to detect definitions with compatibility issues, at only about 11% of the definition formalization cost. These results are verified with ReuseBench, a benchmark we curated for formalizing new mathematical fields and theories.

0.29

The multiplicative complexity of the three-bit low-half multiplier

cs.CC cs.LOmath.CO ·2026-11-11 ·Bshara Alhodali, Gregory Morse
theory similarity 0.49
Abstract · 21 pages, 1 table. The Lean 4 formalization and verification artifacts are linked in the paper (Appendix A)

We prove that the multiplicative complexity of the three-bit low-half multiplier is six, giving a structural, enumeration-free lower-bound proof valid against unrestricted nonlinear reuse in Boolean XOR-AND circuits. The value was first established by SAT searches of the first author and independently confirmed by the second author. An explicit six-AND circuit supplies the upper bound. The lower bound combines derivatives, quadratic products, complementary minors, and extraction modulo a Boolean ideal. Independent finite checks accompany the arguments. $\mathrm{MC}(M_3)=6$ is fully formalized in Lean 4, using only Lean's three standard axioms (propositional extensionality, choice and quotient soundness).

0.18

Formal Verification of Proofs from Automated Theorem Provers for Higher-Order Logic

cs.LO ·2026-09-21 ·Melanie Taprogge, Frédéric Blanqui, Alexander Steen
top venuetheory similarity 0.49
Abstract

We identify common challenges and requirements for verifying proofs from automated theorem provers in the Dedukti logical framework and develop a general methodology for deriving encodings of calculus rules and proof steps, including clausification. We then apply this methodology to the EP calculus for higher-order logic and integrate it into the automated theorem prover Leo-III. The resulting prototype reconstructs about 80% of generated proof steps automatically, making Leo-III the first higher-order automated theorem prover to support independently checkable proof reconstruction and providing a basis for cross-system reuse. The implementation uncovered several bugs in Leo-III.

0.71