three : CategoryGauge.DataℚL (Fin3)
four : CategoryGauge.DataℚT4 (Fin5)
swap : Compatible swapLie swapObjects three three
rotate : Compatible rotateLie rotateObjects three three
kill_x : loop three 0 x=0kill_y : loop three 1 y=0AD : EdgeCompatible (eval (t 02+t 12) (t 23)) 0103 three four
DE : EdgeCompatible (eval (t 01) (t 12+t 13)) 0134 three four
AB : EdgeCompatible (eval (t 01) (t 12)) 0101 three four
BC : EdgeCompatible (eval (t 01+t 02) (t 13+t 23)) 0112 three four
CE : EdgeCompatible (eval (t 12) (t 23)) 0124 three four
apply derivation_ext
· simpa only [derivation_apply,D_x] using w.kill_x
· have h := loop_change w.three 01 y
rw [w.kill_y] at h
change 0=loop w.three 0 y+⁅value w,y⁆ at h
simp only [derivation_apply,D_y]
rw [←lie_skew y (value w)]
exact eq_neg_of_add_eq_zero_left h.symm
three :=CategoryGauge.smul c w.three
four :=CategoryGauge.smul c w.four
swap := compatible_smul _ _ w.swap c
rotate := compatible_smul _ _ w.rotate c
kill_x :=by rw [smul_loop,w.kill_x,smul_zero]
kill_y :=by rw [smul_loop,w.kill_y,smul_zero]
AD:= edge_smul _ w.AD c
DE:= edge_smul _ w.DE c
AB:= edge_smul _ w.AB c
BC:= edge_smul _ w.BC c
CE:= edge_smul _ w.CE c
theoremintertwine {M : Type*} [LieRingM] [LieAlgebraℚM]
(D : LieDerivationℚMM) (q : L) (a b : M)
(hx : D a=0) (hy : D b=⁅b,eval a b q⁆) (p : L) :
D (eval a b p)=eval a b (derivation q p) :=by
proof · 11
lines
induction p using freeLie_induction with
| h0 => simp only [map_zero]
| hg i =>
cases i
· change D (eval a b x)=eval a b (derivation q x)
simp only [eval_x,derivation_apply,D_x,map_zero,hx]
· change D (eval a b y)=eval a b (derivation q y)
simp only [eval_y,derivation_apply,D_y,LieHom.map_lie,hy]
| ha p r hp hr => simp only [map_add,hp,hr]
| hs s p hp => simp only [map_smul,hp]
| hl p r hp hr => simp only [LieHom.map_lie,LieDerivation.apply_lie_eq_add,map_add,hp,hr]
theoremedge (hq : q∈W) (hqn : q∈Ln n) (hn : 2<n) (XY : T4) (s t : Fin5)
(hu : unit (data hq hqn hn) s t=eval XY q)
(hx : loop (data hq hqn hn) s X=0)
(hy : loop (data hq hqn hn) s Y=⁅Y,eval XY q⁆) :
EdgeCompatible (eval XY) 01 s t (ThreeSolutionCategory.data q) (data hq hqn hn) :=by
proof · 5
lines
constructor
· rw [ThreeSolutionCategory.value]; exact hu
· intro p
rw [ThreeSolutionCategory.loop_zero]
exact GaugeCompatibility.intertwine _ q XY hx hy p
theoremlength_one_piece_le (k : ℕ) :
biPiece (R:=K) oddWeight (fun _ =>1) (oddWeight k) 1≤Submodule.span K {FreeLieAlgebra.of K k} :=by
proof · 15
lines
rw [←biTreeSpan_eq]
apply Submodule.span_le.mpr
rintro p ⟨t,ht,hr,rfl⟩
cases t with
| leaf j =>havehj : j=k :=by
simp only [treeDegree_leaf,oddWeight] at ht
omega
subst j
exact Submodule.subset_span rfl
| node t u =>have h₁ := treeDegree_pos (wt:=fun_ : ℕ=>1) (by intro; decide) t
have h₂ := treeDegree_pos (wt:=fun_ : ℕ=>1) (by intro; decide) u
simp only [treeDegree_node] at hr
omega
have h :=Submodule.finrank_mono (length_one_piece_le k)
have h' := finrank_span_le_card (R:=K) ({FreeLieAlgebra.of K k} : Set (FreeLieAlgebraKℕ))
exact h.trans (by simpa using h')
have h :=GenericIhara.evalIhara_depth (cast f ℚ) (cast_depth f) (LieGrading.eval_homogeneous (fun _ =>1) t)
exact WordGrading.space_mono (by intro w hw; change treeDegree (fun _ =>1) t≤degree GenericIhara.depth w at hw; omega) h
theorembi_reduced_depth_mem {n r : ℕ} (hr : 1<r)
(p : biPiece (R:=K) oddWeight (fun _ =>1) n r) :
reducedValue f n ⟨p.val,p.property.1⟩∈SaturatedSolutions.reduction n (depthPiece V n) :=by
proof · 18
lines
letE:=SaturatedSolutions.reduction n (depthPiece V n)
letT:=E.map (ReducedDimension.solutions n).subtype
havehp : p.val∈biTreeSpan (R:=K) oddWeight (fun _ =>1) n r :=
(biTreeSpan_eq (R:=K) oddWeight (fun _ =>1) n r).symm ▸ p.property
havehh : ∀ v,v∈biTreeSpan (R:=K) oddWeight (fun _ =>1) n r →GenericIhara.evalIhara (cast f K) v∈T:=by
intro v hv
induction hv usingSubmodule.span_induction with
| mem q hq =>
obtain ⟨t,ht,hl,rfl⟩ := hq
refine ⟨reducedValue f n ⟨t.eval,ht ▸ LieGrading.eval_homogeneous oddWeight t⟩,
tree_reduced_depth_mem f t ht (by omega),rfl⟩
| zero => rw [map_zero]; exact T.zero_mem
| add p q _ _ hp hq => rw [map_add]; exact T.add_mem hp hq
| smul c p _ hp => rw [map_smul]; exact T.smul_mem c hp
obtain ⟨q,hq,he⟩ := hh p.val hp
havehe' : q=reducedValue f n ⟨p.val,p.property.1⟩ :=Subtype.ext he
rwa [←he']
theoremold_reduced_depth_mem {n r : ℕ} (p : NormalizedFamily.oldPiece n r) :
reducedValue f n ⟨p.val,NormalizedFamily.oldPiece_le n r p.property⟩∈SaturatedSolutions.reduction n (depthPiece V n) :=by
proof · 10
lines
by_cases hr : 1<r
· havehp : p.val∈biPiece (R:=K) oddWeight (fun _ =>1) n r :=byhavehe : NormalizedFamily.oldPiece n r=biPiece (R:=K) oddWeight (fun _ =>1) n r := ite_eq_left hr
rw [←he]; exact p.property
exact bi_reduced_depth_mem f hr ⟨p.val,hp⟩
· have hp :=NormalizedFamily.oldMap_low hr p
subst p
change reducedValue f n 0∈_
rw [map_zero]
exact Submodule.zero_mem _
active j := j<k
value := cast (partialFamily k g) K
solution _ _ hp := reduced_solution (partialFamily k g) hp
rep j :=ifh : j<k then (g j h).rep else0
under_rep j :=by
classical
dsimp only [cast,partialFamily]
split_ifs with h
· exact (g j h).under_rep
· simp only [map_zero]
above_rep j h :=by
classical
simpa only [dite_eq_left h] using (g j h).above_rep
leading_rep j h :=by
classical
simpa only [dite_eq_left h] using (g j h).leading_rep
theoremoldMap_mem {n r : ℕ} (p : NormalizedFamily.oldPiece n r) :
NormalizedFamily.oldMap g n r p∈SaturatedSolutions.reduction n (depthPiece V n) :=by
proof · 5
lines
havehe : NormalizedFamily.oldMap g n r p=
reducedValue f n ⟨p.val,NormalizedFamily.oldPiece_le n r p.property⟩ :=Subtype.ext (congrArg (fun v =>GenericIhara.evalIhara v p.val) hg)
rw [he]
exact old_reduced_depth_mem f p
defoldToDepth (n : ℕ) : NormalizedFamily.OldDomain n →ₗ[K]
SaturatedSolutions.reduction n (depthPiece V n) :=
body · 4
lines
(Triangular.assemble (funr : Fin (n+1) =>NormalizedFamily.oldMap g n r.val)).codRestrict _ (by
intro p
rw [Triangular.assemble_apply]
exact Submodule.sum_mem _ (fun r _ => oldMap_mem f g hg (p r)))
havehi : Function.Injective (oldToDepth f g hg n) :=by
intro p q he
exact NormalizedFamily.old_assemble_injective g n (by omega) ha (congrArg Subtype.val he)
have hh :=LinearMap.finrank_le_finrank_of_injective hi
rwa [SaturatedSolutions.finrank_reduction n (depthPiece V n) hn] at hh
havehn : 2<oddWeight k :=by simp [oddWeight]
have hlo := old_rank_le f g hg (oddWeight k) hn ha
have hlt := depth_rank_lt p hp hc
havehub : Module.finrank ℚ (Fn (oddWeight k))≤Module.finrank K (NormalizedFamily.OldDomain (oddWeight k))+1:=by
change Module.finrank ℚ (weightPiece oddWeight (oddWeight k))≤_
rw [weightPiece_eq,←LieDimension.finrank_homogeneous K oddWeight (oddWeight k)]
exact NormalizedFamily.finrank_odd_le k
have hupper := (Submodule.finrank_le (piece V (oddWeight k))).trans (RationalBound.finrank_Wn_le _ hn)
omega
intro k
induction k usingNat.strong_induction_on with
| h k hi =>
classical
letg : ∀ j,j<k →GeneratorV j :=fun j hj =>Classical.choice (hi j hj)
obtain ⟨p,hp,hc⟩ := hv k
apply generator_of_sharp V k
apply dimension_sharp (partialFamily k g) (partialData k g) rfl k ?_ p hp hc
intro j hj
change j<k
simp only [oddWeight] at hj
omega
active _ :=True
value := cast (normalizedFamily V hv) K
solution _ _ hp := reduced_solution (normalizedFamily V hv) hp
rep k := (generators V hv k).rep
under_rep k := (generators V hv k).under_rep
above_rep k _ := (generators V hv k).above_rep
leading_rep k _ := (generators V hv k).leading_rep