Power identity:
ProvedPassivityTorus.power_eqFor every , every , every family of real link matrices and every velocity field ,
Each link contributes to the total power only through its antisymmetric part. The identity holds for every lattice size, with no condition on the link matrices.
import Mathlib import Definitions.Def_PassivityTorus_power open Matrix BigOperators
namespace PassivityTorus
theorem power_eq (q L d : ℕ) [NeZero L]
(W : Site q L → Fin q → Matrix (Fin d) (Fin d) ℝ)
(v : Site q L → (Fin d → ℝ)) :
power q L d W v =
∑ x : Site q L, ∑ a : Fin q, v x ⬝ᵥ ((W x a - (W x a)ᵀ) *ᵥ v (shift x a 1)) := by sorry
end PassivityTorusRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The statement takes natural numbers and assumes . There are no other hypotheses on or . A site is any function , meaning a point of the discrete torus . There are sites. The coordinates are elements of , and addition on them is taken modulo .
For a site , a direction and a step , the shift is the site that agrees with in every coordinate except . Its -th coordinate is replaced by :
The two shifts that appear are and :
- means .
- means the additive inverse of in , which is when .
So is the neighbour one step forward in direction , with wrap-around. is the neighbour one step backward, also with wrap-around. There are two degenerate cases:
- : , so both shifts are the identity: .
- : the forward and backward neighbours coincide.
Data. Both of the following are completely arbitrary. No symmetry, sign, boundedness or other condition is imposed on them.
- assigns a real matrix to each site and each direction .
- assigns a vector to each site .
The dot product is . The product is the ordinary matrix–vector product.
The defined quantity ("power"). The quantity is
The second term uses the matrix attached to the backward neighbour in direction (not the matrix at ). That matrix acts on the vector at the backward neighbour.
Assertion. For every with , and for every and as above:
where is the transpose of .
Degenerate cases included by the quantifiers:
- : there is exactly one site (the empty tuple) and no directions. The inner sum over directions is empty, so both sides equal .
- : all vectors are empty and every dot product is , so both sides are .
- : there is a single site and every shift is the identity. The left side becomes . The right side becomes .
- : excluded by the assumption .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.