Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Maps generated by unit turns and recombinations

Definition
APFPaper5_K3_HeldMaps

by FiniteUniverse · Nov 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfapf-referencesib-v44-2026-11

Defines 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.

Definition code
/-
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
Source
Definitions/Def_APFPaper5_K3_HeldMaps.lean; Sib v44 / pullbacks v1, SHA-256 6650fb27e76d368a709969b1f128c59a7031ea729fc0cd87eff387d8e36eafab. {'path': 'Papers/Paper 05 - Quantum Structure - Hilbert Space and Born Rule/Paper_5_Quantum_Structure_Hilbert_Born_Supplement_v7.33.tex', 'locator': '1862-1888,2006-2044'}; {'path': 'source/Definitions/Def_APFPaper5_K3_HeldMaps.lean', 'sha256': '6650fb27e76d368a709969b1f128c59a7031ea729fc0cd87eff387d8e36eafab'}
Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me