Model vocabulary — Arithmetic of a supplied quarter-turn weight rule
DefinitionAPFB07_a_law_with_quarter_turn_signs_Vocabularyapfapf-referencepullbacks-v46-2026-11
Data, predicates and immediate constructor helpers for this reviewed model. Its substantive results are published as separate proved theorem nodes.
On four integer signs, the defined squared-sum weight takes 0, 2 or 4 for two ways and is unchanged by a common quarter turn. The weight law and signs are supplied; neither a physical chance law nor a continuous range of interference is derived.
Supplied data and hypotheses
- Every parameter and hypothesis in the exact source declaration remains exposed; no author input is adopted.
Limits
This is conditional reference mathematics. The supplied model and its hypotheses are not adopted Foundation inputs, and this node does not establish K1, K3 or K4 closure.
Definition code
import Definitions.Def_APFB07_two_ties_in_succession_Vocabulary import Theorems.Thm_APFB07_Ties_composedLaw_eq import Theorems.Thm_APFB07_Ties_oneCommitLaw_eq_of_mem import Theorems.Thm_APFB07_Ties_composedLaw_ne_of_unequal_ways import Theorems.Thm_APFB07_Ties_laws_part_at_recombination import Theorems.Thm_APFB07_Ties_waysTo_eq_one_of_disjoint import Theorems.Thm_APFB07_Ties_laws_agree_without_recombination import Theorems.Thm_APFB07_Ties_overlap_bound import Theorems.Thm_APFB07_Ties_no_three_ties_have_turn_numbers import Theorems.Thm_APFB07_Ties_example_ways import Theorems.Thm_APFB07_Ties_example_composed import Theorems.Thm_APFB07_Ties_example_oneCommit import Theorems.Thm_APFB07_Ties_example_total_chance_fails set_option autoImplicit false namespace APFB07.Ties.QuarterTurn /-- First part of the sign of a way with `k` holds: 1, 0, -1, 0. -/ def re (k : Fin 4) : ℤ := if k = 0 then 1 else if k = 1 then 0 else if k = 2 then -1 else 0 /-- Second part of the sign of a way with `k` holds: 0, 1, 0, -1. -/ def im (k : Fin 4) : ℤ := if k = 0 then 0 else if k = 1 then 1 else if k = 2 then 0 else -1 /-- The weight where two ways of signs `j` and `k` meet: the parts add, then the squares. -/ def meet (j k : Fin 4) : ℤ := (re j + re k) * (re j + re k) + (im j + im k) * (im j + im k) /-- The weight where three ways meet. -/ def meet3 (j k l : Fin 4) : ℤ := (re j + re k + re l) * (re j + re k + re l) + (im j + im k + im l) * (im j + im k + im l) end APFB07.Ties.QuarterTurn
Source
Theorems.Thm_APFB07_a_law_with_quarter_turn_signs; Pullbacks v46, SHA-256 53c8b6fec8ae1731cceebb081eede6be0e5431e2e636dc26904876410ae130c7. Theorems.Thm_APFB07_a_law_with_quarter_turn_signs; pullbacks v46; SHA-256 53c8b6fec8ae1731cceebb081eede6be0e5431e2e636dc26904876410ae130c7