cfahlgren1/math / lean /OAI /InformationTheory /Entanglement /CausalRealization.lean
cfahlgren1's picture
download
raw
3.64 kB
13
def visibleKernel (κ : (k : ℕ) → Kernel (Fin k → X) X) (k : ℕ) : Kernel (Fin k→X) X :=
body · 2 lines
  (κ k).comap (visiblePrefix role pub x₀ (role k) k)
    (visiblePrefix_measurable role pub x₀ (role k) k)
16
instance visibleKernel_markov (κ : (k : ℕ) → Kernel (Fin k → X) X)
    [∀ k, IsMarkovKernel (κ k)] (k : ℕ) : IsMarkovKernel (visibleKernel role pub x₀ κ k) := by
body · 2 lines
  unfold visibleKernel
  infer_instance
21
theorem causal_history_realization (hsource : ∀ k, role k=.source → k∈pub)
    (κ : (k : ℕ) → Kernel (Fin k → X) X) [∀ k, IsMarkovKernel (κ k)]
    (ν : Measure (ℕ→X)) [IsProbabilityMeasure ν]
    (hν : ∀ k, ν.map (fun x => (recordPrefix k x,x k))=
      ν.map (recordPrefix k) ⊗ₘ visibleKernel role pub x₀ κ k) :
    ∃ g : (k : ℕ) → (Fin k → X) → I → X,
      (∀ k, Measurable (uncurry (g k))) ∧
      ν=uniformTapesLaw.map (sampledHistory (causalSampler role pub x₀ g)) ∧
      ∃ hT : Measurable (completeCausalPublic role pub x₀ g),
        CondIndep ((inferInstance : MeasurableSpace (ℕ→X)).comap (completeCausalPublic role pub x₀ g))
          (roleInfo role .alice ⊔ (inferInstance : MeasurableSpace (ℕ→X)).comap (completeCausalPublic role pub x₀ g))
          (roleInfo role .bob ⊔ (inferInstance : MeasurableSpace (ℕ→X)).comap (completeCausalPublic role pub x₀ g))
          hT.comap_le uniformTapesLaw := by
proof · 8 lines
  have hs (k : ℕ) := (κ k).exists_measurable_map_eq_unitInterval
  choose g hg hmap using hs
  refine ⟨g,hg,?_,completeCausalPublic_measurable role pub x₀ g hg,
    causal_complete_independence role pub x₀ g hg hsource κ hmap⟩
  apply sampled_full_history_law _ (causalSampler_measurable role pub x₀ g hg)
    (visibleKernel role pub x₀ κ) _ ν hν
  intro k s
  exact hmap k (visiblePrefix role pub x₀ (role k) k s)
44
theorem causal_terminal_values_independent
    (g : (k : ℕ) → (Fin k → X) → I → X)
    (hg : ∀ k, Measurable (uncurry (g k)))
    (hsource : ∀ k, role k=.source → k∈pub)
    (κ : (k : ℕ) → Kernel (Fin k → X) X) [∀ k, IsMarkovKernel (κ k)]
    (hmap : ∀ k s, volume.map (g k s)=κ k s)
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (f : (ℕ→X) → α) (q : (ℕ→X) → β) (hf : Measurable f) (hq : Measurable q) :
    CondIndepFun ((inferInstance : MeasurableSpace (ℕ→X)).comap (completeCausalPublic role pub x₀ g))
      (completeCausalPublic_measurable role pub x₀ g hg).comap_le
      (f ∘ completeCausalView role pub x₀ g .alice)
      (q ∘ completeCausalView role pub x₀ g .bob) uniformTapesLaw := by
proof · 7 lines
  have hi := causal_complete_independence role pub x₀ g hg hsource κ hmap
  rw [condIndepFun_iff_condIndep]
  apply condIndep_of_condIndep_of_le_right (condIndep_of_condIndep_of_le_left hi ?_) ?_
  · have hf' := (hf.comp (completeCausalView_local role pub x₀ g hg .alice)).comap_le
    simpa only [← completeCausalPublic_information] using hf'
  · have hq' := (hq.comp (completeCausalView_local role pub x₀ g hg .bob)).comap_le
    simpa only [← completeCausalPublic_information] using hq'

Xet Storage Details

Size:
3.64 kB
·
Xet hash:
3758c1b5bee8b8a38dd54a45b973fe7e7b20ebfa531f84b98da38d7087894ca8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.