mlsanityData to 7 Oct 2026

Formalizing Piecewise Affine Activation Functions of Neural Networks in Coq

arXiv 2301.12893 ↗First posted 30 Jan 2023cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Verification of neural networks relies on activation functions being piecewise affine (pwa) -- enabling an encoding of the verification problem for theorem provers. In this paper, we present the first formalization of pwa activation functions for an interactive theorem prover tailored to verifying neural networks within Coq using the library Coquelicot for real analysis. As a proof-of-concept, we construct the popular pwa activation function ReLU. We integrate our formalization into a Coq model of neural networks, and devise a verified transformation from a neural network N to a pwa function representing N by composing pwa functions that we construct for each layer. This representation enables encodings for proof automation, e.g. Coq's tactic lra -- a decision procedure for linear real arithmetic. Further, our formalization paves the way for integrating Coq in frameworks of neural network verification as a fallback prover when automated proving fails.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 7 of its 35 references that are in the map. First posted on arXiv 30 Jan 2023.

Builds on

7 of 35 references.

References · 7

  1. 2014On the Number of Linear Regions of Deep Neural Networkscited by 378
  2. 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 241
  3. 2019Algorithms for Verifying Deep Neural Networkscited by 221
  4. 2017Universal Function Approximation by Deep Neural Nets with Bounded Width and ReLU Activationscited by 104
  5. 2020Verification of Deep Convolutional Neural Networks Using ImageStarscited by 75
  6. 2020Reachable Polyhedral Marching (RPM): A Safety Verification Algorithm for Robotic Systems with Deep Neural Network Componentscited by 36
  7. 2017Developing Bug-Free Machine Learning Systems With Formal Mathematicscited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.