Repeated Binary Direct Collinear Impacts Under Incremental Contact Laws With Residual Indentation: A Hybrid Systems Formulation
Mihails Milehins, Dan B. Marghitu
physics.class-ph
Sep 5, 2026 · v8
eess.SY
TL;DR
Definitions and analytical properties of a hybrid-system impact model are formalized in Lean 4 with Mathlib, largely written by Claude Code.
Abstract
Incremental contact laws specify the normal contact force through a differential relation, possibly carrying an internal state, driven by the indentation and its rate. The force may vanish at a nonzero indentation, through plasticity, an elastic aftereffect, or, under some laws with a viscous component, a load drawing the bodies apart rapidly. Such a residual indentation sits uneasily within rigid body dynamics, which admits no deformation. The tension is tolerable when the indentation is small relative to the bodies, so that it may be carried constitutively rather than geometrically. Even then, the law alone does not determine the interaction: because force and indentation no longer vanish together, conditions for the commencement and termination of contact must be supplied separately, as must the fate of the deformation and internal state at separation, both absent from the equations of motion. This article formulates the repeated direct collinear impact of two convex axisymmetric bodies under continuous, bounded external forces as a hybrid system. The contact interface is modeled as a massless element carrying the contact law and its state, coupled to the bodies through relative velocity and an interaction force dictated by the contact state. Consequently, all switching and resets are confined to the interface, leaving the geometry and equations of motion of the bodies unaltered. The principal analytical properties of the formulation are established and formally verified in Lean 4 with the help of Claude by Anthropic. The framework is demonstrated through numerical simulations.
Problem
Incremental contact laws with residual indentation do not by themselves determine when contact begins or ends, or what happens to the deformation and internal state at separation. A rigorous formulation of repeated collinear impacts of two rigid bodies under such laws is needed.
Approach
The repeated direct collinear impact is formulated as a hybrid system with inputs and outputs. The contact interface is modeled as a massless element carrying the contact law and its state, so all switching and resets are confined to the interface. The authors establish hybrid basic conditions, continuity of the contact force, passivity, existence of complete solutions, and branching of solutions. All definitions and results are formalized in Lean 4 on Mathlib in two libraries, HS (general hybrid systems) and VEPBB (the article's model), with code written predominantly by Claude Opus via Claude Code under author supervision.
Results
Every definition and result of Sections III–V has a formal counterpart, with no unproved statements and only standard axioms. The one substantive departure is that the Peano existence theorem, absent from Mathlib, is replaced by an assumption that local solutions exist. Numerical simulations with Bouc-Wen-based contact laws show finitely many collisions ending in permanent contact.