def
definition
KernelHasMatrixView
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.YM.Kernel on GitHub at line 23.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
20 (K : TransferKernel ι) (V : MatrixView ι) where
21 intertwine : K.T = CLM.ofLM (Matrix.toLin' V.A)
22
23def KernelHasMatrixView (ι : Type) [Fintype ι] [DecidableEq ι]
24 (K : TransferKernel ι) (V : MatrixView ι) : Prop :=
25 Nonempty (MatrixBridge ι K V)
26
27noncomputable def buildKernelFromMatrix (ι : Type) [Fintype ι] [DecidableEq ι]
28 (V : MatrixView ι) : Σ K : TransferKernel ι, MatrixBridge ι K V :=
29by
30 let K : TransferKernel ι := { T := CLM.ofLM (Matrix.toLin' V.A) }
31 exact ⟨K, { intertwine := rfl }⟩
32
33noncomputable def constantStochastic3x3 : MatrixView (Fin 3) :=
34{ A := fun _ _ => ((1/3 : ℝ) : ℂ) }
35
36noncomputable def kernel3x3_with_bridge :
37 Σ K : TransferKernel (Fin 3), MatrixBridge (Fin 3) K constantStochastic3x3 :=
38 buildKernelFromMatrix (ι := Fin 3) constantStochastic3x3
39
40end
41end YM
42end IndisputableMonolith