Integer-valued complex matrices
DefinitionQMAPerfectCompleteness_Proof_Dyadicqma-perfect-completeness-bbe19ef
Defines the predicate that every entry of a complex matrix lies in the image of the integer cast. It is the exact integrality notion used in Corollary 3.2 when the G₂ acceptance matrix is multiplied by the prescribed power of two.
Definition code
/- Generated from Solutions.Dyadic by authoritative Stage-2 skeleton subtraction.
Original explanatory text, declaration names and scoped commands are retained.
Only selected proof cuts, import rewrites and fact-indexed platform edits are applied. -/
import Definitions.Def_QMAPerfectCompleteness_Main_Cyclic
open Matrix
namespace QMAPerfectCompleteness.Main.Dyadic
/-- Matrices all of whose entries are rational integers embedded in the complexes. -/
def IntegerEntries {ι κ : Type*} (M : Matrix ι κ ℂ) : Prop :=
∀ i j, M i j ∈ (Int.castRingHom ℂ).range
end QMAPerfectCompleteness.Main.Dyadic
Source
Auxiliary construction in the formalization of Grewal–Rudolph, QMA has perfect completeness (paper manuscript ~/research/qma1z/main.tex). Source commit bbe19efbde567e5c8f7fe21655fd0c4da3573e4d, Solutions/Dyadic.lean, lines 6–8.