import Mathlib
import Development.AbelianVarietyTheory.Proofs.DivisorProofs.BoundaryChartHodgeMatrix
import Mathlib
import Development.AbelianVarietyTheory.Definitions.Divisors.DlogRatioVolumeFormNeZero
open GlobalTheory.PD GlobalTheory.CechDR KaehlerDifferential
set_option maxHeartbeats 1000000 in
theorem _root_.GlobalTheory.T.finite_cover_chart_smooth_normal : ∀ (k : Type) [Field k] [CharZero k] (F K : Type) [Field F] [Field K] [Algebra k F] [Algebra k K] [Algebra F K] [IsScalarTower k F K] (d : ℕ) (x : Fin (d + 1) → F), IsFinCover k K x → ∀ I : Finset (Fin (d + 1)), I.Nonempty → Module.Finite (rA k x I) (integralClosure (rA k x I) K) ∧ IsFractionRing (rB k K x I) K ∧ Algebra.Smooth k (rB k K x I) := by
  first | (exact @GlobalTheory.PD.rB_finite_frac_smooth) | (exact GlobalTheory.PD.rB_finite_frac_smooth) | (intros; apply GlobalTheory.PD.rB_finite_frac_smooth  <;> assumption)
