theorem
L30 ↗degree_eq_sum
AlgebraicCurve.Divisor.degree_eq_sum
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_degree_eq_sum
open IsDedekindDomain WithZero IsLocalRing
open AlgebraicCurve inLean source · statement
theorem _root_.AlgebraicCurve.Divisor.degree_eq_sum {K F : Type*} [Field K] [Field F] [Algebra K
F] (D : Divisor K F) :
Divisor.degree D = ∑ v ∈ D.support, D v * (v.deg : ℤ)