Stepping back then forward returns to the start
ProvedPassivityTorus.shift_back_forwardFor every site of the periodic lattice (with ) and every axis ,
One step back along axis followed by one step forward returns to the original site. This is the fact that makes the one-step shift a bijection of the lattice, which is needed to reindex the power sum.
import Mathlib import Definitions.Def_PassivityTorus_power open Matrix BigOperators
namespace PassivityTorus
theorem shift_back_forward {q L : ℕ} [NeZero L] (x : Site q L) (a : Fin q) :
shift (shift x a (-1)) a 1 = x := by sorry
end PassivityTorusRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let and be natural numbers, with the standing assumption (so ); is unrestricted and may be . Write for the integers modulo , where addition and negation wrap around modulo . A site is a function , i.e. a point of the discrete torus .
The shift operation. For a site , a direction and a step , the shifted site is obtained from by replacing only coordinate with and leaving every other coordinate unchanged:
Here the step means the additive inverse of in , i.e. the residue (so adding it is subtracting modulo , with ); the step means the residue . In the degenerate case , both and equal , and every shift is the identity.
Statement. For all with , every site , and every direction :
as an equality of functions (i.e. in every coordinate). Concretely: first moving coordinate back by one step modulo (to ), and then moving the coordinate of the resulting site forward by one step modulo , returns exactly the original site ; all coordinates other than are untouched by both steps. When there is no direction , so the statement holds vacuously; the definition file's other declaration (power) is not used in this statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.