Appendix D.2.4 (as proved): vector field nonlinearities map regular fields to vector fields
ProvedSteerableE2CNN.vector_field_nonlinearity_equivariantLet and let be the regular representation of on , with axes (, corresponding to the angles ) and . The vector field nonlinearity is
If has a unique maximal entry, then for every
where is the rotation matrix by . So maps a regular field to a field that transforms under the standard representation of .
Formalization Note The paper states this for every . Its proof uses , which holds only when the maximiser is unique. With ties the claim is false. For example, take and : then , but . The uniqueness hypothesis is therefore added. Lean's is a fixed choice among the maximisers.
import Mathlib import Definitions.Def_SteerableE2CNN_Basic open Matrix MeasureTheory
namespace SteerableE2CNN
theorem vector_field_nonlinearity_equivariant (N : ℕ) [NeZero N] (v : ZMod N → ℝ)
(hv : ∃! a : ZMod N, ∀ b, v b ≤ v a) (p : ZMod N) :
vecFieldNL N (regRepCN N p *ᵥ v) = rotMat (2 * Real.pi * (p.val : ℝ) / N) *ᵥ vecFieldNL N v := by sorry
end SteerableE2CNNRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number (the hypothesis excludes ), and let denote the integers modulo . For , write for its canonical natural-number representative. The theorem concerns:
- a real vector ;
- an element .
Hypothesis. has exactly one maximising index. That is, there exists a unique such that for all . This hypothesis concerns only. For it holds automatically.
Definitions used.
- The matrix has entries
Consequently, the vector is the cyclic shift
-
For any , is a fixed but unspecified choice of index with for all . When there are several maximisers, nothing further is stated about which one is chosen.
-
The vector field nonlinearity is
The maximum value may be negative or zero.
- is the rotation matrix
Conclusion. Under the hypothesis, the following identity of vectors in holds:
The rotation angle uses the representative . For the only choice is , and the rotation is the identity.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.