Adjacency has the exact symmetry needed by graph detyping
ProvedMIPRE.Introspection.TypeGraph.symmetricA statement of the module MIPRE.Foundations.Introspection.TypeGraph of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The introspection type graph. The graph of introspection.tex, Figure fig:type-graph-intro: the Pauli subgraph, two chains from Pauli-X through hiding levels to Read, two chains from Pauli-Z through Sample and Introspect to Read, the cross-introspection edge, and a loop at every vertex. The construction uses only the Pauli graph and its two distinguished vertices; no rigidity conclusion is assumed.
Adjacency has the exact symmetry needed by graph detyping.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.Introspection
open MIPRE.Introspection.TypeGraph
open MIPRE.Introspection.QuestionType Finset
variable {PauliType : Type*} [DecidableEq PauliType] {ℓ : ℕ}
theorem MIPRE.Introspection.TypeGraph.symmetric (E : PauliType → PauliType → Bool) (X Z : PauliType) :
∀ t u : QuestionType PauliType ℓ, Adj E X Z t u → Adj E X Z u t
Formalization Note MIPRE.Introspection.TypeGraph.symmetric is declared in MIPRE/Foundations/Introspection/TypeGraph.lean, lines 52–58. 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.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Option
import Mathlib.Data.Fintype.Prod
import Mathlib.Data.Fintype.Sum
import Mathlib.Data.List.Basic
import Mathlib.Data.Nat.Bits
import Mathlib.Data.Nat.Notation
import Mathlib.Data.Nat.Size
import Mathlib.Data.Real.Basic
import Mathlib.Data.ZMod.Basic
import Mathlib.LinearAlgebra.Pi
import Mathlib.Tactic.DeriveFintype
import Definitions.Def_MIPRE_Foundations_CL_Register
import Definitions.Def_MIPRE_Foundations_CL_Basic
import Definitions.Def_MIPRE_Foundations_Cost_Basic_B
import Definitions.Def_MIPRE_Foundations_Cost_Encoding_B
import Definitions.Def_MIPRE_Foundations_CL_Graph
import Definitions.Def_MIPRE_Foundations_Introspection_Types
import Definitions.Def_MIPRE_Foundations_Introspection_TypeGraph
open MIPRE
open MIPRE.Introspection
open MIPRE.Introspection.TypeGraph
open MIPRE.Introspection.QuestionType Finset
set_option linter.unusedSectionVars false
variable {PauliType : Type*} [DecidableEq PauliType] {ℓ : ℕ}theorem MIPRE.Introspection.TypeGraph.symmetric (E : PauliType → PauliType → Bool) (X Z : PauliType) :
∀ t u : QuestionType PauliType ℓ, Adj E X Z t u → Adj E X Z u t := by sorry