import Mathlib
import Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsLinearBarGoodPlace
import Mathlib
import Development.AbelianVarietyTheory.Definitions.Divisors.MatchingOfParts
import Development.AbelianVarietyTheory.Definitions.Divisors.DiscreteSeriesHermitianUnique
open GlobalTheory.IndefiniteRowSideFullHecke.WeilTensorModels NumberField IsDedekindDomain Formalism.MainNotions.GlobalTheoryTheory.GenusMassVolumes GlobalTheory.WeilM GlobalTheory.AdelicU GlobalTheory.LFun
attribute [local instance] GlobalTheory.LocalData.complRel GlobalTheory.LocalData.isLocalField
set_option maxHeartbeats 1000000 in
theorem _root_.GlobalTheory.T.exists_linear_bar_good_place : GlobalTheory.FunPr.Hypotheses₂ → ∀ (F E : Type) [Field F] [NumberField F] [Field E] [NumberField E] [Algebra F E] (σ : E →ₐ[F] E) (B : Base F E)
    (a a' : ℕ) (G : Geo σ a a') (X : Chars F E) (om : Rep σ G.V G.W) (om' : Rep σ G.V' G.W), IsTriple B G X om om' → ∀ v, X.Good v →
    ∀ t : E →ₐ[F] Fv F v, ∃ ι, G.M'.IsLinBar B.ψ t 1 1 ι := by
  first | exact @GlobalTheory.LinBarAt.exists_isLinBar_at | exact GlobalTheory.LinBarAt.exists_isLinBar_at | (intros; apply GlobalTheory.LinBarAt.exists_isLinBar_at <;> assumption)
