Definitions for Infinitely many constrained inequalities for the von Neumann entropy
DefinitionQAlgorithms_Papers_Independent_Intake100_P66The objects the formalized statements of Infinitely many constrained inequalities for the von Neumann entropy (arXiv:1107.0624) are stated in. Each was checked against the paper by a blind read-back and a moderator.
entropyParty: PDF pp.3,7: distinct labels a,b,c,x_1,...,x_n.entropyLabelA: PDF p.3: label A.b: PDF p.3: label B.c: PDF p.3: label C.x: PDF p.3: the i-th X label (Lean indices start at zero).entropyProductBasis: PDF pp.1,3: product computational basis for arbitrary finite local dimensions.entropySubsystemBasis: PDF p.1: basis of a subsystem.entropyJoinBasis: PDF p.1: assemble kept and discarded tensor coordinates without identification.entropyMarginal: PDF p.1, S(J)=S(rho_J): the actual partial trace over complementary factors. The same discarded coordinate occurs in both matrix indices.entropyOfSubset: PDF p.1: marginal von Neumann entropy in bits; the normalized empty coordinate is zero. For a density matrix the empty marginal is the one-dimensional trace-one matrix.Form: PDF p.3, (5): coefficient vector on the nonempty entropy coordinates. It is stored on all subsets with the empty coordinate identically zero.entropyAtom: PDF pp.1,3: the coordinate S(U); S(empty)=0 is eliminated syntactically.evaluateEntropyForm: PDF p.3, (5): evaluation of a coefficient vector on a real set function.cmiForm: PDF pp.1--3: coefficient vector of I(U:V|W).miForm: PDF p.2, (2): mutual information, with disjoint grouped subsystems.wmoForm: PDF p.1: weak monotonicity S(UV)+S(UW)-S(V)-S(W).DisjointTriple: PDF pp.2,7: pairwise disjoint substitutions; empty subsets are allowed.DisjointInstance: PDF p.3: all p+3 substituted parties are disjoint, without requiring exhaustion.familyForm: PDF p.3, (10), and p.8, (37): C_p residual, right side minus left side. The subtraction p-1 is REAL subtraction, including when this definition is used at p=0.primeForm: PDF p.9, (46): purified variant, still a statement about arbitrary mixed states.cAsXForm: PDF p.10, (47): C is additionally permitted as an X party.cAsXPrimeForm: PDF p.10, (48): purified C-as-X variant. The subtraction is S(AB), and its mutual-information coefficient is p+1.IsSubmodular: PDF p.2: submodularity on every pair of subsets, equivalent to all disjoint SSA instances.QuantumBasic: PDF pp.1--3: every quantum basic-inequality instance on this fixed ground set.ClassicalBasic: PDF p.2: classical basic inequalities use monotonicity in place of WMO.MatchingInstance: PDF p.3: a constrained instance is eligible only if each of its nontrivial zero constraints is one of the target constraints. An identically zero form imposes no constraint. This is coefficient equality, not vanishing at a witness.Derivable: PDF p.3: finite nonnegative combination of eligible inequalities, plus an arbitrary real combination of the zero constraints. Equality is of coefficients.constraints: PDF pp.3,9: the two fixed-label zero-CMI constraints.standardX: PDF p.3: the standard X singleton substitution.standardFamily: PDF p.3: the standard instance of C_n.OtherFamily: PDF pp.6--9: other family instances whose constraints match the target pair.specialPart: PDF p.7: the K part of a subset M=JK.xCount: PDF p.7: |J|, the number of X labels in M.clwTheta: PDF p.7, (29): the entire theta table, including its outer factor n+1.clwLambda: PDF p.7, (30): the entire lambda table is negated.clwMu: PDF p.7, (31)--(32): mu is supported on the EXACT subsets {a} and {a,b}.separatingF: PDF p.7, (28): the explicitly constructed function f, not an arbitrary polymatroid.oldWitness: PDF p.10: the explicit four-party table e, in the same label convention with D=x_1.oldForm: PDF p.10: old Linden--Winter residual I(C:D)-I(AB:C), with labels fixed.NewFourParty: PDF p.10: exactly the three new fixed-label four-party comparison forms.oldConstraints: PDF p.10: all three constraints of the old inequality, including I(A:B|D)=0.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Defs_Ensemble
/-!
Cadney--Linden--Winter, arXiv:1107.0624v1. Finite nonzero local complex
Hilbert spaces, actual partial traces, and entropy in bits. The algebraic
independence statements use normalized real set functions, not entropy vectors
of states. Proposition 2 is recorded as accepted-library reuse in items.json.
The density predicate, entropy in bits, and partial trace are imported from the
frozen library. Remaining wrappers and coefficient tables are paper-specific.
Compilation is pending handoff.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P66
open scoped BigOperators
open QAlgorithms (IsDensityMatrix vnEntropy)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.3,7: distinct labels a,b,c,x_1,...,x_n. -/
abbrev entropyParty (n : ℕ) := Fin 3 ⊕ Fin n
/-- PDF p.3: label A. -/
def entropyLabelA {n : ℕ} : entropyParty n := Sum.inl 0
/-- PDF p.3: label B. -/
def b {n : ℕ} : entropyParty n := Sum.inl 1
/-- PDF p.3: label C. -/
def c {n : ℕ} : entropyParty n := Sum.inl 2
/-- PDF p.3: the i-th X label (Lean indices start at zero). -/
def x {n : ℕ} (i : Fin n) : entropyParty n := Sum.inr i
/-- PDF pp.1,3: product computational basis for arbitrary finite local dimensions. -/
abbrev entropyProductBasis {n : ℕ} (d : entropyParty n → ℕ) := (j : entropyParty n) → Fin (d j)
/-- PDF p.1: basis of a subsystem. -/
abbrev entropySubsystemBasis {n : ℕ} (d : entropyParty n → ℕ) (S : Finset (entropyParty n)) :=
(j : S) → Fin (d j.1)
/-- PDF p.1: assemble kept and discarded tensor coordinates without identification. -/
def entropyJoinBasis {n : ℕ} {d : entropyParty n → ℕ} {S : Finset (entropyParty n)}
(u : entropySubsystemBasis d S) (z : entropySubsystemBasis d Sᶜ) : entropyProductBasis d :=
fun j => if hj : j ∈ S then u ⟨j, hj⟩ else z ⟨j, by simpa using hj⟩
/-- PDF p.1, S(J)=S(rho_J): the actual partial trace over complementary factors.
The same discarded coordinate occurs in both matrix indices. -/
def entropyMarginal {n : ℕ} (d : entropyParty n → ℕ)
(rho : Matrix (entropyProductBasis d) (entropyProductBasis d) ℂ) (S : Finset (entropyParty n)) :
Matrix (entropySubsystemBasis d S) (entropySubsystemBasis d S) ℂ :=
QAlgorithms.traceLeft
(fun u v : entropySubsystemBasis d Sᶜ × entropySubsystemBasis d S =>
rho (entropyJoinBasis u.2 u.1) (entropyJoinBasis v.2 v.1))
/-- PDF p.1: marginal von Neumann entropy in bits; the normalized empty coordinate is zero.
For a density matrix the empty marginal is the one-dimensional trace-one matrix. -/
def entropyOfSubset {n : ℕ} (d : entropyParty n → ℕ)
(rho : Matrix (entropyProductBasis d) (entropyProductBasis d) ℂ) (S : Finset (entropyParty n)) : ℝ :=
if S = ∅ then 0 else vnEntropy (entropyMarginal d rho S)
example {n : ℕ} (d : entropyParty n → ℕ) (rho : Matrix (entropyProductBasis d) (entropyProductBasis d) ℂ) :
entropyOfSubset d rho ∅ = 0 := by simp [entropyOfSubset]
example {n : ℕ} {d : entropyParty n → ℕ} {S : Finset (entropyParty n)}
(u : entropySubsystemBasis d S) (z : entropySubsystemBasis d Sᶜ) (j : entropyParty n) (hj : j ∈ S) :
entropyJoinBasis u z j = u ⟨j, hj⟩ := by simp [entropyJoinBasis, hj]
section LinearForms
variable {P : Type*} [Fintype P] [DecidableEq P]
/-- PDF p.3, (5): coefficient vector on the nonempty entropy coordinates.
It is stored on all subsets with the empty coordinate identically zero. -/
abbrev Form (P : Type*) := Finset P → ℝ
/-- PDF pp.1,3: the coordinate S(U); S(empty)=0 is eliminated syntactically. -/
def entropyAtom (U : Finset P) : Form P :=
if U = ∅ then 0 else fun V => if V = U then 1 else 0
/-- PDF p.3, (5): evaluation of a coefficient vector on a real set function. -/
def evaluateEntropyForm (L : Form P) (h : Finset P → ℝ) : ℝ := ∑ U, L U * h U
/-- PDF pp.1--3: coefficient vector of I(U:V|W). -/
def cmiForm (U V W : Finset P) : Form P :=
entropyAtom (U ∪ W) + entropyAtom (V ∪ W) - entropyAtom W - entropyAtom (U ∪ V ∪ W)
/-- PDF p.2, (2): mutual information, with disjoint grouped subsystems. -/
def miForm (U V : Finset P) : Form P := entropyAtom U + entropyAtom V - entropyAtom (U ∪ V)
/-- PDF p.1: weak monotonicity S(UV)+S(UW)-S(V)-S(W). -/
def wmoForm (U V W : Finset P) : Form P :=
entropyAtom (U ∪ V) + entropyAtom (U ∪ W) - entropyAtom V - entropyAtom W
/-- PDF pp.2,7: pairwise disjoint substitutions; empty subsets are allowed. -/
def DisjointTriple (U V W : Finset P) : Prop :=
Disjoint U V ∧ Disjoint U W ∧ Disjoint V W
/-- PDF p.3: all p+3 substituted parties are disjoint, without requiring exhaustion. -/
def DisjointInstance {p : ℕ} (U V W : Finset P) (alpha : Fin p → Finset P) : Prop :=
DisjointTriple U V W ∧
(∀ i, Disjoint (alpha i) (U ∪ V ∪ W)) ∧
(∀ i j, i ≠ j → Disjoint (alpha i) (alpha j))
/-- PDF p.3, (10), and p.8, (37): C_p residual, right side minus left side.
The subtraction p-1 is REAL subtraction, including when this definition is used at p=0. -/
def familyForm {p : ℕ} (U V W : Finset P) (alpha : Fin p → Finset P) : Form P :=
(∑ i, cmiForm U V (alpha i)) + (∑ i, entropyAtom (alpha i)) -
entropyAtom (Finset.univ.biUnion alpha) - ((p : ℝ) - 1) • miForm (U ∪ V) W
/-- PDF p.9, (46): purified variant, still a statement about arbitrary mixed states. -/
def primeForm {p : ℕ} (U V W : Finset P) (alpha : Fin p → Finset P) : Form P :=
(∑ i, cmiForm U V (alpha i)) + (∑ i, entropyAtom (alpha i)) +
cmiForm U V (W ∪ Finset.univ.biUnion alpha) +
entropyAtom (U ∪ V ∪ W ∪ Finset.univ.biUnion alpha) - entropyAtom (U ∪ V ∪ W) -
(p : ℝ) • miForm (U ∪ V) W
/-- PDF p.10, (47): C is additionally permitted as an X party. -/
def cAsXForm {p : ℕ} (U V W : Finset P) (alpha : Fin p → Finset P) : Form P :=
(∑ i, cmiForm U V (alpha i)) + (∑ i, entropyAtom (alpha i)) + cmiForm U V W +
entropyAtom W - entropyAtom (W ∪ Finset.univ.biUnion alpha) - (p : ℝ) • miForm (U ∪ V) W
/-- PDF p.10, (48): purified C-as-X variant. The subtraction is S(AB), and
its mutual-information coefficient is p+1. -/
def cAsXPrimeForm {p : ℕ} (U V W : Finset P) (alpha : Fin p → Finset P) : Form P :=
(∑ i, cmiForm U V (alpha i)) + (∑ i, entropyAtom (alpha i)) +
cmiForm U V (W ∪ Finset.univ.biUnion alpha) +
entropyAtom (U ∪ V ∪ W ∪ Finset.univ.biUnion alpha) + cmiForm U V W + entropyAtom W -
entropyAtom (U ∪ V) - ((p : ℝ) + 1) • miForm (U ∪ V) W
/-- PDF p.2: submodularity on every pair of subsets, equivalent to all disjoint SSA instances. -/
def IsSubmodular (h : Finset P → ℝ) : Prop :=
∀ U V, h (U ∪ V) + h (U ∩ V) ≤ h U + h V
/-- PDF pp.1--3: every quantum basic-inequality instance on this fixed ground set. -/
def QuantumBasic (L : Form P) : Prop :=
∃ U V W, DisjointTriple U V W ∧ (L = cmiForm U V W ∨ L = wmoForm U V W)
/-- PDF p.2: classical basic inequalities use monotonicity in place of WMO. -/
def ClassicalBasic (L : Form P) : Prop :=
(∃ U V W, DisjointTriple U V W ∧ L = cmiForm U V W) ∨
(∃ U V, U ⊆ V ∧ L = entropyAtom V - entropyAtom U)
/-- PDF p.3: a constrained instance is eligible only if each of its nontrivial
zero constraints is one of the target constraints. An identically zero form
imposes no constraint. This is coefficient equality, not vanishing at a witness. -/
def MatchingInstance {p : ℕ} (Z : Finset (Form P))
(U V W : Finset P) (alpha : Fin p → Finset P) : Prop :=
DisjointInstance U V W alpha ∧
(cmiForm U W V = 0 ∨ cmiForm U W V ∈ Z) ∧
(cmiForm V W U = 0 ∨ cmiForm V W U ∈ Z)
/-- PDF p.3: finite nonnegative combination of eligible inequalities, plus
an arbitrary real combination of the zero constraints. Equality is of coefficients. -/
def Derivable (allowed : Set (Form P)) (Z : Finset (Form P)) (target : Form P) : Prop :=
∃ (k : ℕ) (L : Fin k → Form P) (w : Fin k → ℝ) (r : Z → ℝ),
(∀ i, L i ∈ allowed) ∧ (∀ i, 0 ≤ w i) ∧
target = (∑ i, w i • L i) + ∑ z : Z, r z • z.1
example : entropyAtom (∅ : Finset P) = 0 := by simp [entropyAtom]
example (h : Finset P → ℝ) : evaluateEntropyForm (0 : Form P) h = 0 := by simp [evaluateEntropyForm]
example (U V : Finset P) : DisjointTriple U V ∅ ↔ Disjoint U V := by
simp [DisjointTriple]
end LinearForms
/-- PDF pp.3,9: the two fixed-label zero-CMI constraints. -/
def constraints (n : ℕ) : Finset (Form (entropyParty n)) :=
{cmiForm {entropyLabelA} {c} {b}, cmiForm {b} {c} {entropyLabelA}}
/-- PDF p.3: the standard X singleton substitution. -/
def standardX {n : ℕ} (i : Fin n) : Finset (entropyParty n) := {x i}
/-- PDF p.3: the standard instance of C_n. -/
def standardFamily (n : ℕ) : Form (entropyParty n) := familyForm {entropyLabelA} {b} {c} standardX
/-- PDF pp.6--9: other family instances whose constraints match the target pair. -/
def OtherFamily (n : ℕ) (L : Form (entropyParty n)) : Prop :=
∃ (p : ℕ) (U V W : Finset (entropyParty n)) (alpha : Fin p → Finset (entropyParty n)),
2 ≤ p ∧ p ≠ n ∧ MatchingInstance (constraints n) U V W alpha ∧
L = familyForm U V W alpha
/-- PDF p.7: the K part of a subset M=JK. -/
def specialPart {n : ℕ} (M : Finset (entropyParty n)) : Finset (Fin 3) :=
Finset.univ.filter (fun j => Sum.inl j ∈ M)
/-- PDF p.7: |J|, the number of X labels in M. -/
def xCount {n : ℕ} (M : Finset (entropyParty n)) : ℕ :=
(Finset.univ.filter (fun i : Fin n => x i ∈ M)).card
/-- PDF p.7, (29): the entire theta table, including its outer factor n+1. -/
def clwTheta (n : ℕ) (K : Finset (Fin 3)) : ℝ :=
let t : ℝ := n
(t + 1) *
(if 0 ∈ K then
if 1 ∈ K then 2*t^3 + 8*t^2 + 4*t - 1
else if 2 ∈ K then 2*t^3 + 5*t^2 + 2*t else 2*t^3 + 5*t^2
else if 1 ∈ K then
if 2 ∈ K then 6*t^2 + 4*t - 1 else 4*t^2 + 2*t - 1
else if 2 ∈ K then 3*t^2 + t else 0)
/-- PDF p.7, (30): the entire lambda table is negated. -/
def clwLambda (n : ℕ) (K : Finset (Fin 3)) : ℝ :=
let t : ℝ := n
let tableValue : ℝ :=
if 0 ∈ K then
if 1 ∈ K then 2*t^3 + 8*t^2 + 4*t - 1
else 2*t^3 + 5*t^2 + 2*t
else if 1 ∈ K then
if 2 ∈ K then 6*t^2 + 4*t - 1 else 4*t^2 + 2*t - 1
else if 2 ∈ K then 4*t^2 + 2*t - 1 else t^2
Neg.neg tableValue
/-- PDF p.7, (31)--(32): mu is supported on the EXACT subsets {a} and {a,b}. -/
def clwMu {n : ℕ} (M : Finset (entropyParty n)) : ℝ :=
if M = {entropyLabelA} then 2*(n : ℝ)^2*((n : ℝ)+1)
else if M = {entropyLabelA,b} then 2*(n : ℝ)*((n : ℝ)+1)^2 else 0
/-- PDF p.7, (28): the explicitly constructed function f, not an arbitrary polymatroid. -/
def separatingF (n : ℕ) (M : Finset (entropyParty n)) : ℝ :=
clwTheta n (specialPart M) + (xCount M : ℝ) * clwLambda n (specialPart M) - clwMu M
example (n : ℕ) : separatingF n ∅ = 0 := by
have hAB : (∅ : Finset (entropyParty n)) ≠ {entropyLabelA, b} :=
Ne.symm (Finset.insert_ne_empty _ _)
simp [separatingF, clwTheta, clwLambda, specialPart, xCount, clwMu, hAB]
example (n : ℕ) : clwTheta n ∅ = 0 := by simp [clwTheta]
example (n : ℕ) : clwLambda n ∅ = -(n : ℝ)^2 := by simp [clwLambda]
/-- PDF p.10: the explicit four-party table e, in the same label convention with D=x_1. -/
def oldWitness (M : Finset (entropyParty 1)) : ℝ :=
if entropyLabelA ∈ M then
if b ∈ M then
if c ∈ M then (if x 0 ∈ M then 4 else 6) else 6
else if c ∈ M then 5 else (if x 0 ∈ M then 5 else 5)
else if b ∈ M then
if c ∈ M then 5 else (if x 0 ∈ M then 5 else 5)
else if c ∈ M then (if x 0 ∈ M then 6 else 2)
else if x 0 ∈ M then 4 else 0
/-- PDF p.10: old Linden--Winter residual I(C:D)-I(AB:C), with labels fixed. -/
def oldForm : Form (entropyParty 1) := miForm {c} {x 0} - miForm {entropyLabelA,b} {c}
/-- PDF p.10: exactly the three new fixed-label four-party comparison forms. -/
def NewFourParty (L : Form (entropyParty 1)) : Prop :=
L = primeForm {entropyLabelA} {b} {c} standardX ∨ L = cAsXForm {entropyLabelA} {b} {c} standardX ∨
L = cAsXPrimeForm {entropyLabelA} {b} {c} standardX
/-- PDF p.10: all three constraints of the old inequality, including I(A:B|D)=0. -/
def oldConstraints : Finset (Form (entropyParty 1)) :=
insert (cmiForm {entropyLabelA} {b} {x 0}) (constraints 1)
example : oldWitness ∅ = 0 := by simp [oldWitness]
example : oldWitness ({c} : Finset (entropyParty 1)) = 2 := by
simp [oldWitness, entropyLabelA, b, c, x, Fin.ext_iff]
end QAlgorithms.Papers.Independent.Intake100.P66
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P66.ClassicalBasic
For a type , a form is a real-valued function on finite subsets of . For each finite subset , write for the form whose value at is when and , and otherwise; in particular, . A form satisfies this predicate exactly when either there exist pairwise disjoint finite subsets such that
or there exist finite subsets such that . All equalities are equalities of functions on finite subsets. The sets may be empty, and is permitted in the second alternative, yielding the zero form.
QAlgorithms.Papers.Independent.Intake100.P66.Derivable
For a type , let a form mean a real-valued function on finite subsets of . Given a set of allowed forms, a finite set of forms, and a target form , this predicate holds exactly when there exist a natural number , forms and real numbers for , and a real number for each , such that every belongs to , every , and, for every finite subset ,
The coefficients have no sign restriction. The case is permitted, as is , with the corresponding sums equal to zero.
QAlgorithms.Papers.Independent.Intake100.P66.DisjointInstance
For a type with decidable equality, any natural number , finite subsets , and an indexed family of finite subsets of , this defines the conjunction of the following conditions: are pairwise disjoint; each is disjoint from ; and whenever . Every set is allowed to be empty. When , the conditions involving the indexed family are vacuous, leaving only pairwise disjointness of .
QAlgorithms.Papers.Independent.Intake100.P66.DisjointTriple
For a type with decidable equality and finite subsets , this defines the proposition that all three pairs are disjoint:
Any or all of the sets may be empty.
QAlgorithms.Papers.Independent.Intake100.P66.Form
For every type , is the type of all real-valued functions on finite subsets of . Thus a form assigns a real number to each finite subset, with no restrictions on those values and no requirement that itself be finite.
QAlgorithms.Papers.Independent.Intake100.P66.IsSubmodular
For a type with decidable equality and any real-valued function on its finite subsets, this defines the proposition that for every pair of finite subsets ,
The quantification includes empty and overlapping sets. No normalization, nonnegativity, or monotonicity of is assumed.
QAlgorithms.Papers.Independent.Intake100.P66.MatchingInstance
For a type , let forms be real-valued functions on finite subsets of , and define if and , and otherwise. Write
Given a natural number , a finite set of forms, finite subsets , and a family of finite subsets of , this predicate holds exactly when are pairwise disjoint, each is disjoint from , the sets are disjoint whenever , and both conditions
hold. Zero means the identically zero form. No set is required to be nonempty; is allowed, in which case all conditions involving members of the family are vacuous.
QAlgorithms.Papers.Independent.Intake100.P66.NewFourParty
Let be four distinct parties, with , and let be any real-valued function on their subsets. For each nonempty subset , let be the function that is at and at every other subset; juxtaposition below denotes the subset consisting of the displayed parties. The defined predicate holds exactly when equals at least one of the following three functions:
These are equalities of functions on every subset, including the empty subset; the disjunction does not require a unique choice.
QAlgorithms.Papers.Independent.Intake100.P66.OtherFamily
For every natural number , let , with distinct labels, and let be a real-valued function on finite subsets of . Define the form by if and , and otherwise, and write
The predicate holds exactly when there exist a natural number with , finite subsets , and finite subsets for , such that are pairwise disjoint, every is disjoint from , distinct are pairwise disjoint, and each of the two forms and is either the zero form or a member of
and, putting , the following equality of forms holds:
The sets may be empty, and is included.
QAlgorithms.Papers.Independent.Intake100.P66.QuantumBasic
For a type with decidable equality and a real-valued function on its finite subsets, define when , and otherwise. This defines the proposition that there exist finite subsets satisfying , such that either
or
These are equalities of entire functions, with pointwise operations. Empty sets are permitted, and is zero; choosing all three sets empty therefore permits to be the zero function.
QAlgorithms.Papers.Independent.Intake100.P66.b
For every natural number , the label is the element of the first summand of . This label exists also when .
QAlgorithms.Papers.Independent.Intake100.P66.c
For every natural number , the label is the element of the first summand of . This label exists also when .
QAlgorithms.Papers.Independent.Intake100.P66.cAsXForm
For a type with decidable equality, any natural number , finite subsets , and finite subsets , let and define if , and otherwise. This defines the real-valued function
with pointwise operations and real scalar multiplication. No disjointness or nonemptiness is assumed. When , the sums vanish, , and the resulting function is .
QAlgorithms.Papers.Independent.Intake100.P66.cAsXPrimeForm
For a type with decidable equality, any natural number , finite subsets , and finite subsets , let and define if , and otherwise. This defines the real-valued function
with pointwise operations and interpreted in . No disjointness or nonemptiness is required. The case is included, with empty sums and ; every empty-set atom is zero.
QAlgorithms.Papers.Independent.Intake100.P66.clwLambda
For every natural number and every subset , put , regarded as a real number. This definition returns the negative of the following real number:
The negation applies to the entire selected expression. All arithmetic is real arithmetic; and every possible are included.
QAlgorithms.Papers.Independent.Intake100.P66.clwMu
For every natural number and every finite subset of , where are the distinct labels of the first summand, this definition returns
Here is interpreted as a real number in the displayed arithmetic, and the conditions require exact equality of subsets. Empty is permitted; when , the value is zero for every .
QAlgorithms.Papers.Independent.Intake100.P66.clwTheta
For every natural number and every subset , put , regarded as a real number. This definition returns the real number
All arithmetic in this expression is real arithmetic, and the definition includes and every possible .
QAlgorithms.Papers.Independent.Intake100.P66.cmiForm
For a type with decidable equality and finite subsets , define to be the function on finite subsets given by when , and otherwise. This declaration defines the real-valued function
where function operations are pointwise. The sets may overlap or be empty; an atom indexed by the empty set is the zero function.
QAlgorithms.Papers.Independent.Intake100.P66.constraints
For every natural number , let , where are the three distinct labels in the first summand and the are the labels in the second. A form is a real-valued function on finite subsets of ; write if and , and otherwise. The definition returns the finite set of forms
These are forms themselves; the definition imposes no equation or inequality on their evaluations. The case is included.
QAlgorithms.Papers.Independent.Intake100.P66.entropyAtom
For every type and every finite subset , is the real-valued function on finite subsets that is identically zero when , and otherwise equals when and when . In particular, its value at the empty subset is always zero.
QAlgorithms.Papers.Independent.Intake100.P66.entropyJoinBasis
For every natural number , every dimension function , every finite subset , and assignments on and on its complement , with and on their respective domains, where , is the full assignment taking value when and otherwise. Empty subsets and complements are allowed, with their unique empty assignments; dimensions may be zero, although then any required assignment containing that coordinate does not exist.
QAlgorithms.Papers.Independent.Intake100.P66.entropyLabelA
For every natural number , the label is the element of the first summand of . This label exists also when .
QAlgorithms.Papers.Independent.Intake100.P66.entropyMarginal
For every natural number , every function , every complex matrix indexed by full assignments , and every finite subset , where , is the complex matrix indexed by assignments on whose entries are
where agrees with on and with on . No Hermitian, positivity, or trace condition is imposed on , and dimensions may be zero. An empty set of complementary assignments gives a zero sum, whereas an empty complement has exactly one assignment. In particular, for the resulting matrix has one entry, equal to .
QAlgorithms.Papers.Independent.Intake100.P66.entropyOfSubset
For every natural number , every dimension function , every complex matrix indexed by the full assignments in , and every finite subset , where , is defined to be if and otherwise to be
where are assignments on , joins the two assignments, and uses the real continuous functional calculus. The real logarithm is the total real logarithm used in the definition, with and for . No positivity, normalization, Hermitian, or positive-dimension hypothesis is imposed; the expression uses these total operations even outside the density-matrix setting.
QAlgorithms.Papers.Independent.Intake100.P66.entropyParty
For every natural number , is the disjoint union , with the two summands distinguished even when their numerical labels coincide. It has elements; when , only the three elements of the first summand remain.
QAlgorithms.Papers.Independent.Intake100.P66.entropyProductBasis
For every natural number and every function , where , is the set of assignments that choose, for every , an integer satisfying . No positivity assumption is imposed on ; if for any party , this set of assignments is empty.
QAlgorithms.Papers.Independent.Intake100.P66.entropySubsystemBasis
For every natural number , every function , and every finite subset , where , is the set of assignments choosing an integer for each . For this set contains exactly the empty assignment, regardless of ; if for some , it is empty.
QAlgorithms.Papers.Independent.Intake100.P66.evaluateEntropyForm
For a finite type with decidable equality, a real-valued function on the finite subsets of , and any function from those subsets to , this defines
The sum includes every subset, including the empty set. Neither function is required to satisfy normalization, positivity, or entropy properties; in particular, the empty-set contribution is . The type may itself be empty.
QAlgorithms.Papers.Independent.Intake100.P66.familyForm
For a type with decidable equality, any natural number , finite subsets , and finite subsets , let and let if , and otherwise. This defines the following real-valued function on finite subsets, with all operations pointwise:
No disjointness or nonemptiness is assumed. Here is subtraction in ; when , both sums vanish, , and the resulting function is .
QAlgorithms.Papers.Independent.Intake100.P66.miForm
For a type with decidable equality and finite subsets , define when , and otherwise, for every finite subset . This declaration defines the real-valued function
with pointwise addition and subtraction. No disjointness or nonemptiness is required, and is the zero function.
QAlgorithms.Papers.Independent.Intake100.P66.oldConstraints
Let be four distinct labels, corresponding respectively to the three elements of and the sole element of . A form is a real-valued function on the subsets of . For each nonempty , let be the form that is at and elsewhere; concatenated labels denote sets, such as . The declaration defines the following finite set of forms:
QAlgorithms.Papers.Independent.Intake100.P66.oldForm
On the four distinct parties , where , the definition specifies a real-valued function on all subsets by
where each indicator is when its subscripted equality holds and otherwise. Thus its coefficients are on and , on and , and on every other subset, including the empty subset.
QAlgorithms.Papers.Independent.Intake100.P66.oldWitness
On the four distinct parties , where is the party labelled , the definition assigns a real number to every subset by the complete table
QAlgorithms.Papers.Independent.Intake100.P66.primeForm
For a type with decidable equality, any natural number , finite subsets , and finite subsets , let and define if , and otherwise. This defines the real-valued function
with pointwise operations and regarded as a real scalar. No disjointness or nonemptiness is required. The case is included: the sums vanish, , and the resulting function is .
QAlgorithms.Papers.Independent.Intake100.P66.separatingF
For every natural number , including , let the party set be , with all these labels distinct. For every subset , put and . The definition assigns the real number
where the integer is interpreted as a real number in these expressions, and
In particular, the definition applies to the empty subset; when , there are no labels.
QAlgorithms.Papers.Independent.Intake100.P66.specialPart
For every natural number and every finite subset of the disjoint union , where correspond respectively to indices in the first summand, this definition returns
Thus its output records membership of as a subset of . Empty and are permitted.
QAlgorithms.Papers.Independent.Intake100.P66.standardFamily
For every natural number , let , with all these labels distinct, and put . A form is a real-valued function on finite subsets of ; define when and , and otherwise. This definition returns the form
The coefficient is subtraction in the real numbers. In particular, when , both indexed sums and vanish, and the resulting form is .
QAlgorithms.Papers.Independent.Intake100.P66.standardX
For every natural number and every index with , consider the label set , where is the label corresponding to in the second summand. The definition returns the singleton subset of . When , there is no admissible index , so this specifies an empty indexed family.
QAlgorithms.Papers.Independent.Intake100.P66.wmoForm
For a type with decidable equality and finite subsets , define when , and otherwise, for every finite subset . This declaration defines the real-valued function
with pointwise operations. The sets may overlap or be empty, and every atom indexed by the empty set contributes zero.
QAlgorithms.Papers.Independent.Intake100.P66.x
For every natural number and every index with , is the element labeled in the second summand of . It is distinct from every element of the first summand. When , there is no admissible index .
QAlgorithms.Papers.Independent.Intake100.P66.xCount
For every natural number and every finite subset of the disjoint union , where is the label corresponding to in the second summand, this definition returns the natural number
In particular, it returns zero when contains no , including for every when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.