Lemma directSum of the MIP* = RE formalization
ProvedMIPRE.CL.CLFun.ExactlyOn.directSumA statement of the module MIPRE.Foundations.CL.Closure of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Closure properties of conditionally linear functions, and CL distributions. Paper linear.tex: concatenation (lem:cl-concat) and direct sums (lem:cl-func-prod) of conditionally linear functions, and the conditionally linear distribution of a pair of CL functions (def:cl-dist); blueprint def:cl-function and lem:cl-closure, ledger node 1.1.2. Both constructions are on presentations (MIPRE.CL.CLFun) and are hypothesis-free; the hypotheses of the paper's lemmas — the pieces live on disjoint register subspaces — enter only in the evaluation lemmas (SupportedOn.eval_concat,…
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.CL
open MIPRE.CL.CLFun
variable {F : Type u} [Semiring F] {ι : Type v} [DecidableEq ι] {k ℓ : ℕ}
theorem MIPRE.CL.CLFun.ExactlyOn.directSum {P Q : CLFun F ι ℓ} {T T' : Finset ι} (hP : P.ExactlyOn T)
(hQ : Q.ExactlyOn T') (hTT' : Disjoint T T') : (P.directSum Q).ExactlyOn (T ∪ T')
Formalization Note MIPRE.CL.CLFun.ExactlyOn.directSum is declared in MIPRE/Foundations/CL/Closure.lean, lines 136–154. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
import Mathlib.LinearAlgebra.Pi
import Definitions.Def_MIPRE_Foundations_CL_Register
import Definitions.Def_MIPRE_Foundations_CL_Basic
import Definitions.Def_MIPRE_Foundations_CL_Closure
import Definitions.Def_MIPRE_Foundations_CL_Closure_B
open MIPRE
open MIPRE.CL
open MIPRE.CL.CLFun
universe u v
variable {F : Type u} [Semiring F] {ι : Type v} [DecidableEq ι] {k ℓ : ℕ}theorem MIPRE.CL.CLFun.ExactlyOn.directSum {P Q : CLFun F ι ℓ} {T T' : Finset ι} (hP : P.ExactlyOn T)
(hQ : Q.ExactlyOn T') (hTT' : Disjoint T T') : (P.directSum Q).ExactlyOn (T ∪ T') := by sorry