File size: 7,501 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | import OAI.Algebra.Finitistic.Rectification.TensorArrowComparison
import OAI.Algebra.Finitistic.Rectification.CanonicalArrowCompatibility
namespace OAI
noncomputable section
open CategoryTheory CategoryTheory.Limits HomologicalComplex
namespace LittleFinitistic.FullTensorRectification
open ExternalTensor.Section4 QuadraticEncoding
universe u
variable {k : Type u} [Field k] {d t : β} (P : Relations k d t)
variable (Dβ Dβ Dβ : RightComplex (B P))
variable (f : Fin (d+1) β (Dβ βΆ Dβ)) (g : Fin (d+1) β (Dβ βΆ Dβ))
variable (H : β r, Homotopy (relationMap (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g r) 0)
variable (N : Type u) [AddCommGroup N] [Module k N] [Module (B P) N]
/-- The actual left B-module complex P tensor_B N. -/
abbrev tensor := ((BimoduleBalancedTensor.functor k (B P) N).mapHomologicalComplex (.up β€)).obj
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)
abbrev source (v : Fin 3) :=
((BalancedTensor.tensorFunctor k (B P) N).mapHomologicalComplex (.up β€)).obj
(VertexHomotopyEquivalence.source P Dβ Dβ Dβ v)
abbrev target (v : Fin 3) :=
((LeftVertexHomology.vertex k (B P) (ThreeVertexAlgebra.vertex (composition P) v)).mapHomologicalComplex
(.up β€)).obj (tensor P Dβ Dβ Dβ f g H N)
/-- The original vertex insertion after balanced tensoring and the canonical comparison. -/
def iota (v : Fin 3) : source P Dβ Dβ Dβ N v βΆ target P Dβ Dβ Dβ f g H N v :=
((BalancedTensor.tensorFunctor k (B P) N).mapHomologicalComplex (.up β€)).map
(VertexHomotopyEquivalence.iota P Dβ Dβ Dβ f g H v) β«
(TensorArrowComparison.complexIso k (B P) N (ThreeVertexAlgebra.vertex (composition P) v)
((ThreeVertexAlgebra.directedSystem (composition P)).idem v)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)).hom
/-- The equivalences retain the full left B-valued tensor target and the exact original maps. -/
theorem equivalence (v : Fin 3) (lo hi : β€)
(bβ : β n, n < lo β¨ hi < n β IsZero (Dβ.X n))
(bβ : β n, n < lo β¨ hi < n β IsZero (Dβ.X n))
(bβ : β n, n < lo β¨ hi < n β IsZero (Dβ.X n))
(pβ : β n, Module.Projective (B P)α΅α΅α΅ (Dβ.X n))
(pβ : β n, Module.Projective (B P)α΅α΅α΅ (Dβ.X n))
(pβ : β n, Module.Projective (B P)α΅α΅α΅ (Dβ.X n)) :
β E : HomotopyEquiv (source P Dβ Dβ Dβ N v) (target P Dβ Dβ Dβ f g H N v),
E.hom = iota P Dβ Dβ Dβ f g H N v := by
obtain β¨j,β¨hββ©,β¨hββ©β© := VertexHomotopyEquivalence.homotopy_inverse P Dβ Dβ Dβ f g H
v lo hi bβ bβ bβ pβ pβ pβ
let E : HomotopyEquiv (VertexHomotopyEquivalence.source P Dβ Dβ Dβ v)
(VertexHomotopyEquivalence.target P Dβ Dβ Dβ f g H v) :=
β¨VertexHomotopyEquivalence.iota P Dβ Dβ Dβ f g H v,j,hβ,hββ©
exact β¨((BalancedTensor.tensorFunctor k (B P) N).mapHomotopyEquiv E).trans
(HomotopyEquiv.ofIso (TensorArrowComparison.complexIso k (B P) N
(ThreeVertexAlgebra.vertex (composition P) v)
((ThreeVertexAlgebra.directedSystem (composition P)).idem v)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H))),rflβ©
abbrev arrow01Map (a : Fin (d+1)) :=
((LeftVertexHomology.arrow k (B P) (ThreeVertexAlgebra.vertex (composition P) 0)
(ThreeVertexAlgebra.vertex (composition P) 1) (arrow01 P a)
(CanonicalArrowCompatibility.arrow01_target P a)).mapHomologicalComplex (.up β€)).app
(tensor P Dβ Dβ Dβ f g H N)
abbrev arrow12Map (b : Fin (d+1)) :=
((LeftVertexHomology.arrow k (B P) (ThreeVertexAlgebra.vertex (composition P) 1)
(ThreeVertexAlgebra.vertex (composition P) 2) (arrow12 P b)
(CanonicalArrowCompatibility.arrow12_target P b)).mapHomologicalComplex (.up β€)).app
(tensor P Dβ Dβ Dβ f g H N)
lemma original_iota0 : VertexHomotopyEquivalence.iota P Dβ Dβ Dβ f g H 0 =
FirstVertex.iota P Dβ Dβ Dβ f g H := by rfl
lemma original_iota1 : VertexHomotopyEquivalence.iota P Dβ Dβ Dβ f g H 1 =
SecondVertex.iota P Dβ Dβ Dβ f g H := by rfl
lemma original_iota2 : VertexHomotopyEquivalence.iota P Dβ Dβ Dβ f g H 2 =
ThirdVertex.iota P Dβ Dβ Dβ f g H := by rfl
/-- Actual arrow compatibility on the vertex diagram of the full B-valued tensor. -/
def compatibility01 (a : Fin (d+1)) : Homotopy
(iota P Dβ Dβ Dβ f g H N 0 β« arrow01Map P Dβ Dβ Dβ f g H N a)
(((BalancedTensor.tensorFunctor k (B P) N).mapHomologicalComplex (.up β€)).map (f a) β«
iota P Dβ Dβ Dβ f g H N 1) := by
have h := ((BalancedTensor.tensorFunctor k (B P) N).mapHomotopy
(CanonicalArrowCompatibility.compatibility01 P Dβ Dβ Dβ f g H a)).compRight
(TensorArrowComparison.complexIso k (B P) N (ThreeVertexAlgebra.vertex (composition P) 1)
((ThreeVertexAlgebra.directedSystem (composition P)).idem 1)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)).hom
erw [Functor.map_comp_assoc _ (FirstVertex.iota P Dβ Dβ Dβ f g H)
(CanonicalArrowCompatibility.arrow01Map P Dβ Dβ Dβ f g H a),
Functor.map_comp_assoc _ (f a) (SecondVertex.iota P Dβ Dβ Dβ f g H)] at h
have hs := TensorArrowComparison.complex_arrow_square k (B P) N
(ThreeVertexAlgebra.vertex (composition P) 0) (ThreeVertexAlgebra.vertex (composition P) 1)
(arrow01 P a) ((ThreeVertexAlgebra.directedSystem (composition P)).idem 0)
((ThreeVertexAlgebra.directedSystem (composition P)).idem 1)
(CanonicalArrowCompatibility.arrow01_target P a)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)
erw [hs] at h
dsimp only [iota]
erw [original_iota0, original_iota1, Category.assoc]
exact h
/-- The second arrow family retains its original maps as well. -/
def compatibility12 (b : Fin (d+1)) : Homotopy
(iota P Dβ Dβ Dβ f g H N 1 β« arrow12Map P Dβ Dβ Dβ f g H N b)
(((BalancedTensor.tensorFunctor k (B P) N).mapHomologicalComplex (.up β€)).map (g b) β«
iota P Dβ Dβ Dβ f g H N 2) := by
have h := ((BalancedTensor.tensorFunctor k (B P) N).mapHomotopy
(CanonicalArrowCompatibility.compatibility12 P Dβ Dβ Dβ f g H b)).compRight
(TensorArrowComparison.complexIso k (B P) N (ThreeVertexAlgebra.vertex (composition P) 2)
((ThreeVertexAlgebra.directedSystem (composition P)).idem 2)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)).hom
erw [Functor.map_comp_assoc _ (SecondVertex.iota P Dβ Dβ Dβ f g H)
(CanonicalArrowCompatibility.arrow12Map P Dβ Dβ Dβ f g H b),
Functor.map_comp_assoc _ (g b) (ThirdVertex.iota P Dβ Dβ Dβ f g H)] at h
have hs := TensorArrowComparison.complex_arrow_square k (B P) N
(ThreeVertexAlgebra.vertex (composition P) 1) (ThreeVertexAlgebra.vertex (composition P) 2)
(arrow12 P b) ((ThreeVertexAlgebra.directedSystem (composition P)).idem 1)
((ThreeVertexAlgebra.directedSystem (composition P)).idem 2)
(CanonicalArrowCompatibility.arrow12_target P b)
(InducedRectification.total (ConcreteQuadraticDiagram.quadratic P) Dβ Dβ Dβ f g H)
erw [hs] at h
dsimp only [iota]
erw [original_iota1, original_iota2, Category.assoc]
exact h
end LittleFinitistic.FullTensorRectification
end
end OAI
|