math / data /lean /OAI /Algebra /Finitistic /Localization /NativeArrowBridge.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.6 kB
import OAI.Algebra.Finitistic.Bimodule.BimoduleVertex
import OAI.Algebra.Finitistic.Rectification.InducedRectification
import OAI.Algebra.Finitistic.Rectification.ArrowCompatibility
namespace OAI
open CategoryTheory HomologicalComplex
open scoped TensorProduct
noncomputable section
namespace ExternalTensor.Section4.ArrowVertex.NativeBridge
universe u
variable (k B : Type u) [Field k] [Ring B] [Algebra k B]
/-- The native and generic functors retain definitionally the same original fixed submodule. -/
theorem vertex_eq (e : B) : vertex k B e = LittleFinitistic.BimoduleVertex.functor k B e := rfl
variable {k B}
variable {A J R : Type} [Fintype A] [Fintype J] [Fintype R]
variable (s : Quadratic k B (A := A) (J := J) (R := R))
variable (Dβ‚€ D₁ Dβ‚‚ : RightComplex B)
variable (f : A β†’ (Dβ‚€ ⟢ D₁)) (g : J β†’ (D₁ ⟢ Dβ‚‚))
variable (H : βˆ€ r, Homotopy (relationMap s Dβ‚€ D₁ Dβ‚‚ f g r) 0)
/-- The native P is exactly the total already used for actual arrow compatibility. -/
theorem total_eq : actualP s Dβ‚€ D₁ Dβ‚‚ f g H =
LittleFinitistic.InducedRectification.total s Dβ‚€ D₁ Dβ‚‚ f g H := rfl
/-- The native zero-column inclusion is exactly the one in the proved endpoints. -/
theorem inclusion_eq : LittleFinitistic.RectificationTotal.inclusion
(p s Dβ‚€ D₁ Dβ‚‚ f g) (q s Dβ‚€ D₁ Dβ‚‚ f g) (nullHomotopy s Dβ‚€ D₁ Dβ‚‚ f g H) =
LittleFinitistic.InducedRectification.inclusion s Dβ‚€ D₁ Dβ‚‚ f g H := rfl
abbrev nativeVertex (e : B) :=
(LittleFinitistic.BimoduleVertex.functor k B e).mapHomologicalComplex (ComplexShape.up β„€)
/-- The direct original insertion in the native P and native fixed-submodule functor. -/
def originalIota (e : B) (he : e * e = e) (D : RightComplex B)
(t : (columnComplex k B e).obj D ⟢ L0Prime s Dβ‚€ D₁ Dβ‚‚ f g) :
D ⟢ (nativeVertex e).obj (LittleFinitistic.InducedRectification.total s Dβ‚€ D₁ Dβ‚‚ f g H) :=
diagonalComplex k B e he D ≫ (nativeVertex e).map t ≫
(nativeVertex e).map (LittleFinitistic.InducedRectification.inclusion s Dβ‚€ D₁ Dβ‚‚ f g H)
/-- No comparison hypothesis is needed to identify the proved insertion with native maps. -/
theorem iota_eq_original (e : B) (he : e * e = e) (D : RightComplex B)
(t : (columnComplex k B e).obj D ⟢ L0Prime s Dβ‚€ D₁ Dβ‚‚ f g) :
iota (p s Dβ‚€ D₁ Dβ‚‚ f g) (q s Dβ‚€ D₁ Dβ‚‚ f g)
(nullHomotopy s Dβ‚€ D₁ Dβ‚‚ f g H) e he D t =
originalIota s Dβ‚€ D₁ Dβ‚‚ f g H e he D t := by
simp only [iota, originalIota, Functor.map_comp]
rfl
/-- The native original diagonal map is determined by its tensor formula. -/
theorem diagonal_eq_of_original (e : B) (he : e * e = e) (D : RightComplex B)
(j : D ⟢ (nativeVertex e).obj ((columnComplex k B e).obj D))
(hj : βˆ€ n x, ((j.f n) x).val = generator B e βŠ—β‚œ[k] x) :
j = diagonalComplex k B e he D := by
ext n x
apply Subtype.ext
exact hj n x
/-- Actual arrow-01 compatibility with the native P, vertex functors and inclusions. -/
def nativeCompatibility01 (hβ‚€ : s.eβ‚€ * s.eβ‚€ = s.eβ‚€) (h₁ : s.e₁ * s.e₁ = s.e₁)
(a : A) (ha : s.e₁ * s.a a = s.a a) :
Homotopy
(originalIota s Dβ‚€ D₁ Dβ‚‚ f g H s.eβ‚€ hβ‚€ Dβ‚€ (inducedData s Dβ‚€ D₁ Dβ‚‚ f g).inβ‚€ ≫
arrowComplex k B s.eβ‚€ s.e₁ (s.a a) ha
(LittleFinitistic.InducedRectification.total s Dβ‚€ D₁ Dβ‚‚ f g H))
(f a ≫ originalIota s Dβ‚€ D₁ Dβ‚‚ f g H s.e₁ h₁ D₁
(inducedData s Dβ‚€ D₁ Dβ‚‚ f g).in₁) := by
have ht := compatibility01 s Dβ‚€ D₁ Dβ‚‚ f g H hβ‚€ h₁ a ha
dsimp only [iota0, iota1] at ht
erw [iota_eq_original s Dβ‚€ D₁ Dβ‚‚ f g H,
iota_eq_original s Dβ‚€ D₁ Dβ‚‚ f g H] at ht
exact ht
/-- Actual arrow-12 compatibility with the native P, vertex functors and inclusions. -/
def nativeCompatibility12 (h₁ : s.e₁ * s.e₁ = s.e₁) (hβ‚‚ : s.eβ‚‚ * s.eβ‚‚ = s.eβ‚‚)
(b : J) (hb : s.eβ‚‚ * s.b b = s.b b) :
Homotopy
(originalIota s Dβ‚€ D₁ Dβ‚‚ f g H s.e₁ h₁ D₁ (inducedData s Dβ‚€ D₁ Dβ‚‚ f g).in₁ ≫
arrowComplex k B s.e₁ s.eβ‚‚ (s.b b) hb
(LittleFinitistic.InducedRectification.total s Dβ‚€ D₁ Dβ‚‚ f g H))
(g b ≫ originalIota s Dβ‚€ D₁ Dβ‚‚ f g H s.eβ‚‚ hβ‚‚ Dβ‚‚
(inducedData s Dβ‚€ D₁ Dβ‚‚ f g).inβ‚‚) := by
have ht := compatibility12 s Dβ‚€ D₁ Dβ‚‚ f g H h₁ hβ‚‚ b hb
dsimp only [iota1, iota2] at ht
erw [iota_eq_original s Dβ‚€ D₁ Dβ‚‚ f g H,
iota_eq_original s Dβ‚€ D₁ Dβ‚‚ f g H] at ht
exact ht
end ExternalTensor.Section4.ArrowVertex.NativeBridge
end
end OAI