Buckets:
| import Mathlib.Tactic.NoncommRing | |
| import Mathlib.Algebra.BigOperators.Ring.Finset | |
| namespace OAI | |
| /-! | |
| # Algebra of the missing-basis projection | |
| The six diagonal expectation operators and the trace operator satisfy a small | |
| multiplication table. The proof shows that the resulting complement operator | |
| is idempotent, using ring algebra rather than numerical approximation. | |
| -/ | |
| namespace MUB6.Weiner | |
| variable {R : Type*} [Ring R] | |
| open scoped BigOperators | |
| /-- A finite family of idempotents whose off-diagonal products are one common | |
| operator has an explicit square for its sum. -/ | |
| theorem sum_pairwise_projection_square {ι : Type*} [Fintype ι] [DecidableEq ι] | |
| (D : ι → R) (P : R) | |
| (h : ∀ i j, D i * D j = if i = j then D i else P) : | |
| (∑ i, D i) * (∑ i, D i) = (∑ i, D i) + | |
| ((Fintype.card ι : R) ^ 2 - (Fintype.card ι : R)) * P := by | |
| have h' (i j : ι) : D i * D j = (if i = j then D i - P else 0) + P := by | |
| rw [h] | |
| split_ifs <;> simp | |
| simp_rw [Finset.sum_mul, Finset.mul_sum, h', Finset.sum_add_distrib] | |
| simp [Finset.sum_sub_distrib, nsmul_eq_mul] | |
| noncomm_ring | |
| /-- The multiplication table for six unbiased expectation projections makes | |
| `1 + W - S` idempotent, where `W` is the unnormalized trace operator and `S` | |
| is the sum of the six expectations. -/ | |
| theorem complement_idempotent (S W : R) | |
| (hSS : S * S = S + 5 * W) | |
| (hSW : S * W = 6 * W) (hWS : W * S = 6 * W) | |
| (hWW : W * W = 6 * W) : | |
| (1 + W - S) * (1 + W - S) = 1 + W - S := by | |
| noncomm_ring [hSS, hSW, hWS, hWW] | |
| /-- The analogous complement for seven expectations in dimension six is also | |
| idempotent. Together with its zero trace this yields the complete-family moment | |
| identity. -/ | |
| theorem complete_complement_idempotent (S W : R) | |
| (hSS : S * S = S + 7 * W) | |
| (hSW : S * W = 7 * W) (hWS : W * S = 7 * W) | |
| (hWW : W * W = 6 * W) : | |
| (1 + W - S) * (1 + W - S) = 1 + W - S := by | |
| noncomm_ring [hSS, hSW, hWS, hWW] | |
| end MUB6.Weiner | |
| end OAI | |
Xet Storage Details
- Size:
- 1.97 kB
- Xet hash:
- fc423de92e69e141f0488ee279538c53dbcf17847c56ced8a8d874752fa4937e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.