Profile reduction preserves the preparation-state family
ProvedAPFPaper1.profile_preparation_transportLet W, A, and S be finite sets of tested coordinates, atoms, and preparations. Let rho be an arbitrary real-valued tested table, and let each p_s be a nonnegative atom-weight function summing to one. Merge atoms with identical complete profiles by summing their weights. The resulting family consists of normalized nonnegative profile distributions, preserves every tested expectation, preserves every existing equality between preparation weight functions, and preserves every existing finite linear relation p_s = sum_i c_i p_{u(i)}. The coefficients are arbitrary real numbers; in particular all declared convex mixtures are preserved. The index-to-preparation map may repeat preparations. No new preparation relation is inferred, and no full defender-classification or physical nonclassicality conclusion is asserted. This formalizes the probability-transport content of the source proposition, part (ii).
import Definitions.Def_APFPaper1_ProbabilityTransport set_option autoImplicit false open scoped BigOperators
namespace APFPaper1
theorem profile_preparation_transport
{W A S : Type} [Fintype W] [Fintype A] [Fintype S]
(ρ : W → A → ℝ) (p : S → A → ℝ)
(hnonneg : ∀ s a, 0 ≤ p s a)
(hmass : ∀ s, ∑ a, p s a = 1) :
let p' : S → Profiles ρ → ℝ := fun s => pushWeights (profileMap ρ) (p s)
(∀ s, (∀ b, 0 ≤ p' s b) ∧ (∑ b, p' s b) = 1) ∧
(∀ s w, (∑ b, p' s b * profileValue ρ w b) = ∑ a, p s a * ρ w a) ∧
(∀ s t, p s = p t → p' s = p' t) ∧
(∀ (I : Type) [Fintype I] (c : I → ℝ) (u : I → S) (s : S),
p s = (fun a => ∑ i, c i * p (u i) a) →
p' s = (fun b => ∑ i, c i * p' (u i) b)) := by sorry
end APFPaper1Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For every choice of finite types , , and , every real-valued function , and every real-valued function satisfying for every and and for every , form the finite set of distinct functions that occur as columns of , and define for and . The declaration APFPaper1.profile_preparation_transport asserts all four of the following simultaneously: for every , for every and ; for every and , ; for every , equality for all implies equality for all ; and, for every finite type , every coefficient function , every function , and every , if for all , then for all . The coefficients are arbitrary real numbers, including negative and zero values, with no separate sign or sum hypothesis; need not be injective, so repeated entries of are included and contribute separately to the sums. There are no bounds or normalization assumptions on . All sums are finite, and empty sums are zero. The finite types may be empty: if is empty, the hypotheses and four conclusions quantified over its elements are vacuous; if is empty, then is empty and the mass hypothesis cannot hold for any , so the assumptions can hold only when is empty; if is empty and is nonempty, contains exactly the unique function on the empty type, each transported distribution gives that function weight , and the assertion quantified over is vacuous. The last assertion also includes empty ; for any its antecedent would require for every , which is incompatible with the assumed total mass , so that implication has an unsatisfiable antecedent in this case.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.