Scaled orthogonal columns extend to a square scaled unitary matrix
ProvedMatrix.exists_scaled_orthogonal_completionLet be an integer, let be real, and let be a complex matrix with rows and columns. If the columns of are orthogonal and have common squared length , then they extend to a square matrix with the same column Gram scale:
Every prescribed column is preserved at its original index. The new column has squared length and is orthogonal to all prescribed columns. The statement asserts existence; it does not assert uniqueness or specify the phase of the new column. For there are no prescribed columns, and the conclusion is the existence of a one-by-one matrix with squared column length .
This completion lemma converts partial orthogonal bases into full bases. With and , it reconstructs a sixth column for each rectangular matrix used in the dimension-six MUB frontier.
Formalization Note. The first columns of the completion are indexed by Fin.castSucc. This is the positive-scale matrix version of the orthonormal-basis completion discussed in the source; the source's normalized convention corresponds to .
import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.LinearAlgebra.Matrix.ConjTranspose import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.NormNum open Matrix open scoped ComplexConjugate Matrix
theorem Matrix.exists_scaled_orthogonal_completion (n : ℕ) (a : ℝ) (ha : 0 < a)
(A : Matrix (Fin (n + 1)) (Fin n) ℂ)
(hA : Aᴴ * A = (a : ℂ) • (1 : Matrix (Fin n) (Fin n) ℂ)) :
∃ H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ,
Hᴴ * H = (a : ℂ) • (1 : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) ∧
∀ i j, H i j.castSucc = A i j := by sorry