Maps generated by unit turns and recombinations
DefinitionAPFPaper5_K3_HeldMapsDefines coordinate addition, scaling, mixing, cost and commuting/anticommuting/unseen predicates; BuiltFromTurns is finite composition of the three explicitly specified unit-pair generator families. The inductive closure defines a model class, not admission at an original interface or the completed observable algebra.
Meaning and scope. Faithful as the stated mathematical encoding with this exposure: The inductive closure defines a model class, not admission at an original interface or the completed observable algebra.
Supplied data and hypotheses
- {'declaration': 'APFPaper5.K3.add2', 'statement_and_binders': 'def add2 (x y : Held2) : Held2'}
- {'declaration': 'APFPaper5.K3.smul2', 'statement_and_binders': 'def smul2 (r : ℝ) (x : Held2) : Held2'}
- {'declaration': 'APFPaper5.K3.mix', 'statement_and_binders': 'def mix (c s : ℝ) (h : Held2) : Held2'}
- {'declaration': 'APFPaper5.K3.onePlaneQuarter', 'statement_and_binders': 'def onePlaneQuarter (h : Held2) : Held2'}
- {'declaration': 'APFPaper5.K3.totalCost', 'statement_and_binders': 'def totalCost (h : Held2) : ℝ'}
- {'declaration': 'APFPaper5.K3.AdditiveHomogeneous', 'statement_and_binders': 'def AdditiveHomogeneous (T : Held2 → Held2) : Prop'}
- {'declaration': 'APFPaper5.K3.PreservesTotalCost', 'statement_and_binders': 'def PreservesTotalCost (T : Held2 → Held2) : Prop'}
- {'declaration': 'APFPaper5.K3.CommutesWithQuarter', 'statement_and_binders': 'def CommutesWithQuarter (T : Held2 → Held2) : Prop'}
- {'declaration': 'APFPaper5.K3.AnticommutesWithQuarter', 'statement_and_binders': 'def AnticommutesWithQuarter (T : Held2 → Held2) : Prop'}
- {'declaration': 'APFPaper5.K3.CommonTurnUnseenAfter', 'statement_and_binders': 'def CommonTurnUnseenAfter (T : Held2 → Held2) : Prop'}
- {'declaration': 'APFPaper5.K3.BuiltFromTurns', 'statement_and_binders': 'inductive BuiltFromTurns : (Held2 → Held2) → Prop'}
Limits
- Q44-01
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.
/-
APF Foundation Ledger — definition node DRAFT (session EthanBrooke-01WrrBvu, 2026-11-13; not gated, not reviewed)
name: APFPaper5_K3_HeldMaps
title: Maps of two held components: sums and scalings, recombination, a one-plane quarter turn, and the maps built from turns and recombinations
inputs_revision: 2026-10-04.1
mathlib_rev: 0df444a360eaa60ab8c11dca51a86af692955474
source: Paper 5 Supplement v7.33:1862-1888 (generator completeness: the typed elementary comparison morphisms
generate the represented algebra), 2004-2040 (generator completeness consumed, not derived), 3516-3538
(exchanges anticommute with J; ungraded generator completeness and centrality cannot hold together).
Codebank graded_orientation_closure.py (check_T_local_J_and_reflection_obstruction).
standing: part of the supplied MODEL of two held components. Nothing here is a declared input.
statement: add2 and smul2 are the entrywise sum and scaling. mix c s recombines the two components with real
weights. onePlaneQuarter is a quarter turn in one plane only, the value of A against the value of B.
totalCost is the cost of A plus the cost of B. AdditiveHomogeneous, PreservesTotalCost, CommutesWithQuarter,
AnticommutesWithQuarter say what their names say. CommonTurnUnseenAfter T says that a common turn applied
before T leaves the continuation profile after T unchanged. BuiltFromTurns is the smallest class of maps
that contains the common turns, the turns of one component and the recombinations by unit pairs, and is
closed under composition.
-/
import Definitions.Def_APFPaper5_K3_ContinuationProfile
set_option autoImplicit false
namespace APFPaper5.K3
/-- Entrywise sum. -/
def add2 (x y : Held2) : Held2 := ⟨x.a1 + y.a1, x.a2 + y.a2, x.b1 + y.b1, x.b2 + y.b2⟩
/-- Entrywise scaling. -/
def smul2 (r : ℝ) (x : Held2) : Held2 := ⟨r * x.a1, r * x.a2, r * x.b1, r * x.b2⟩
/-- Recombination of the two components with real weights. -/
def mix (c s : ℝ) (h : Held2) : Held2 :=
⟨c * h.a1 - s * h.b1, c * h.a2 - s * h.b2, s * h.a1 + c * h.b1, s * h.a2 + c * h.b2⟩
/-- A quarter turn in one plane only: the value of A against the value of B. -/
def onePlaneQuarter (h : Held2) : Held2 := ⟨-h.b1, h.a2, h.a1, h.b2⟩
/-- The cost of A plus the cost of B. -/
def totalCost (h : Held2) : ℝ := recA h + recB h
def AdditiveHomogeneous (T : Held2 → Held2) : Prop :=
(∀ x y : Held2, T (add2 x y) = add2 (T x) (T y)) ∧ ∀ (r : ℝ) (x : Held2), T (smul2 r x) = smul2 r (T x)
def PreservesTotalCost (T : Held2 → Held2) : Prop := ∀ h : Held2, totalCost (T h) = totalCost h
def CommutesWithQuarter (T : Held2 → Held2) : Prop :=
∀ h : Held2, T (commonTurn 0 1 h) = commonTurn 0 1 (T h)
def AnticommutesWithQuarter (T : Held2 → Held2) : Prop :=
∀ h : Held2, T (commonTurn 0 1 h) = neg2 (commonTurn 0 1 (T h))
/-- A common turn applied before `T` leaves the continuation profile after `T` unchanged. -/
def CommonTurnUnseenAfter (T : Held2 → Held2) : Prop :=
∀ c s : ℝ, c * c + s * s = 1 → ∀ h : Held2,
plainAfterTurn (T (commonTurn c s h)) = plainAfterTurn (T h)
/-- The maps built from common turns, turns of one component and recombinations. -/
inductive BuiltFromTurns : (Held2 → Held2) → Prop
| common (c s : ℝ) (hcs : c * c + s * s = 1) : BuiltFromTurns (commonTurn c s)
| relative (c s : ℝ) (hcs : c * c + s * s = 1) : BuiltFromTurns (relativeTurn c s)
| recombine (c s : ℝ) (hcs : c * c + s * s = 1) : BuiltFromTurns (mix c s)
| comp {S T : Held2 → Held2} (hS : BuiltFromTurns S) (hT : BuiltFromTurns T) :
BuiltFromTurns (fun h => S (T h))
end APFPaper5.K3
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.