Zero net power every link coupling is symmetric, on a -dimensional lattice ()
ProvedPassivityTorus.passive_iff_symmLet and be natural numbers and . On the periodic cubic lattice , let each link carry a real matrix , with total power
Then
A per-link neighbour coupling on a lattice of any dimension does no net work for every motion exactly when every link matrix is symmetric. It does not assert that the coupling commutes with any complex structure.
import Mathlib import Definitions.Def_PassivityTorus_power open Matrix BigOperators
namespace PassivityTorus
theorem passive_iff_symm (q L d : ℕ) [NeZero L] (hL : 3 ≤ L)
(W : Site q L → Fin q → Matrix (Fin d) (Fin d) ℝ) :
(∀ v : Site q L → (Fin d → ℝ), power q L d W v = 0)
↔ ∀ x a, (W x a)ᵀ = W x a := by sorry
end PassivityTorusRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be natural numbers. Assume (a typeclass assumption), and also assume (an explicit hypothesis, which already implies ). A site is a function , so the set of sites is the discrete torus , which has elements. For a site and a direction , write for the -th unit vector. The shifted site is with only its -th coordinate changed, to taken modulo . Addition wraps around: goes to . For , the code adds the residue , so goes to . All other coordinates stay the same. Let
be an arbitrary assignment of a real matrix to every site and direction . No further conditions are placed on .
The quantity ("power"). For any function (arbitrary, and possibly zero), define
Here is the ordinary dot product on , and is the ordinary matrix–vector product. The second term uses the matrix at the neighbouring site , again with direction , not the matrix at .
Assertion. For every and as above (with ):
In words, vanishes for every vector field exactly when every matrix is symmetric. The statement is a biconditional, so it claims both directions.
Degenerate cases.
- If , there is exactly one site (the empty function) and no directions. The inner sum is then empty, so for every , and the right-hand side holds vacuously. Both sides are true.
- If , all vectors and matrices are empty, so both sides are trivially true.
- The cases and (where or ) are excluded by the hypothesis . When , the three sites , , are distinct.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.