Offline · exact source
Exact Lean source

PhysicalFlatPCTAction

formalization/Cloning/PhysicalFlatPCTAction.lean

Source hash: 93acfe1794366affa601ee8022659490f400819cd6c62aa5e0df859394e06e27

Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.

The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.

Declarations in this module
1import Cloning.PCTRankPurificationFlatState
2import Cloning.PhysicalFlatPCTProtocol
3 
4/-! Exact action of the fixed smaller-environment PCT channel on every
5rank-flat input, derived from the actual normalized Haar purifier. -/
6noncomputable section
7open scoped Matrix Kronecker ComplexOrder
8namespace Cloning.PhysicalFlatPCT
9open Cloning.PCT Cloning.PCTPhysicalState Cloning.PCTRankAdapted
10open Cloning.InfiniteTraceClass Cloning.Hybrid Cloning.PhysicalFlatGrassmann
11open Cloning.PCTPurificationChannel Cloning.FiniteKrausLift
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1200000
14local instance actionAmbientNeZero (d k : ℕ) : NeZero (d+1+k) := ⟨by omega⟩
15 
16theorem channel_embedded_flatState (d k n t : ℕ)
17    (J : Matrix (Fin (d+1+k)) (Fin (d+1)) ℂ) (hJ : Jᴴ*J=1) :
18    (channel d k n t).toLinearMap (tensorState (embeddedState J hJ (flatInternalState d)) n).1 =
19      (flatEmbeddedOutput d k J hJ n t).1 := by
20  change (PCTRankGlobal.channel (flat_ambient_register_card d k) n t
21    (coordinateInclusion (d+1) k) (fun _ => ⟨0,by omega⟩, fun _ => ⟨0,by omega⟩)).toLinearMap
22      (registerLiftCLM (tensorPower n (embeddedState J hJ (flatInternalState d)).matrix)) = _
23  rw [PCTRankGlobal.channel_matrix]
24  change (PCTRankGlobal.downstream (flat_ambient_register_card d k) n t).toLinearMap
25    (registerLiftCLM ((PCTRankPurification.rankPurificationChannel n
26      (Cloning.TensorLie.coordinateInclusionMatrix (d+1) k)
27      (fun _ => ⟨0,by omega⟩, fun _ => ⟨0,by omega⟩)).toFun
28      (tensorPower n (embeddedState J hJ (flatInternalState d)).matrix))) = _
29  rw [PCTRankPurification.rankPurificationChannel_flatState]
30  rw [← PCTRankGlobal.embeddedHaarCLM_apply]
31  exact PCTRankGlobal.downstream_embeddedHaar (flat_ambient_register_card d k) n t J hJ (flatInternalState d)
32 
33theorem outputState_eq_flatEmbeddedOutput (d k : ℕ) (P : Projector (d+1) k)
34    (J : Matrix (Fin (d+1+k)) (Fin (d+1)) ℂ) (hJ : Jᴴ*J=1)
35    (hP : state (by omega : 0<d+1) P=embeddedState J hJ (flatInternalState d)) (n t : ℕ) :
36    outputState d k P n t=flatEmbeddedOutput d k J hJ n t := by
37  apply Subtype.ext
38  change (channel d k n t).toLinearMap (tensorState (state (by omega : 0<d+1) P) n).1 = _
39  rw [hP]
40  exact channel_embedded_flatState d k n t J hJ
41 
42end Cloning.PhysicalFlatPCT