Module

ProjectiveRatFuncPairEvaluation.lean

Nyll.AlgebraicCurves.FunctionFields.Rational.ProjectiveRatFuncPairEvaluation
15 declarations indexed from sourceView source ↗

Explicit projective pair functions and their actual place evaluations

The standard rational-function place attached to a homogeneous point includes infinity. The bracket quotient has the corresponding simple zero and pole, and its evaluation is the homogeneous bracket quotient. Comparison of all orders then reads the normalized values of any given pair function as cross ratios. No replacement of that given function occurs in the conclusion.

Declarations

AnabelianGeometry.ProjectiveLine.projectiveRatFuncPlace

The standard rational-function place of the actual homogeneous coordinates.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
def projectiveRatFuncPlace (p : Projectivization k (k × k)) : Place k (RatFunc k)
AnabelianGeometry.ProjectiveLine.pairLinearPolynomial

The affine linear form associated to one homogeneous point.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
def pairLinearPolynomial (v : k × k) : Polynomial k
AnabelianGeometry.ProjectiveLine.pairLinearRatFunc

The same linear form viewed in the rational function field.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
def pairLinearRatFunc (v : k × k) : RatFunc k
AnabelianGeometry.ProjectiveLine.pairRatFunc

The unnormalized bracket quotient for the ordered pair.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
def pairRatFunc (a b : Projectivization k (k × k)) : RatFunc k
AnabelianGeometry.ProjectiveLine.pairLinearPolynomial_ne_zero
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairLinearPolynomial_ne_zero (v : k × k) (hv : v ≠ 0) :
    pairLinearPolynomial v ≠ 0
AnabelianGeometry.ProjectiveLine.pairLinearRatFunc_ne_zero
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairLinearRatFunc_ne_zero (v : k × k) (hv : v ≠ 0) :
    pairLinearRatFunc v ≠ 0
AnabelianGeometry.ProjectiveLine.pairLinearRatFunc_factor
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairLinearRatFunc_factor (v : k × k) (hv : v.2 ≠ 0) :
    pairLinearRatFunc v = RatFunc.C v.2 *
      algebraMap (Polynomial k) (RatFunc k) (Polynomial.X - Polynomial.C (v.1 / v.2))
AnabelianGeometry.ProjectiveLine.projectiveRatFuncPlace_injective
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem projectiveRatFuncPlace_injective :
    Function.Injective (projectiveRatFuncPlace (k := k))
AnabelianGeometry.ProjectiveLine.projectiveRatFuncPlace_isRational
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem projectiveRatFuncPlace_isRational (p : Projectivization k (k × k)) :
    (projectiveRatFuncPlace p).IsRational
AnabelianGeometry.ProjectiveLine.pairLinearRatFunc_orders

All orders of the linear form, including its cancellation at infinity.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairLinearRatFunc_orders (p : Projectivization k (k × k))
    (V : Place k (RatFunc k)) :
    V.ord (pairLinearRatFunc p.rep) =
      (if V = projectiveRatFuncPlace p then 1 else 0) -
        (if V = placeInfty k then 1 else 0) := by
  by_cases hp : p.rep.2 = 0
  · have hL : pairLinearRatFunc p.rep = algebraMap k (RatFunc k) (-p.rep.1) := by
      simp only [pairLinearRatFunc, pairLinearPolynomial, hp, map_zero, zero_mul,
        zero_sub, map_neg, RatFunc.algebraMap_C, RatFunc.algebraMap_eq_C]
    rw [hL, V.ord_algebraMap]
    simp only [projectiveRatFuncPlace, ite_eq_left hp, sub_self]
  · rw [show projectiveRatFuncPlace p = placeOfPoint k (p.rep.1 / p.rep.2) from
      ite_eq_right hp]
    rw [pairLinearRatFunc_factor p.rep hp,
      V.ord_mul (by simpa only [← RatFunc.algebraMap_eq_C] using
        (map_ne_zero (algebraMap k (RatFunc k))).mpr hp)
        (RatFunc.algebraMap_ne_zero (Polynomial.X_sub_C_ne_zero _)),
      ← RatFunc.algebraMap_eq_C, V.ord_algebraMap, zero_add, ord_X_sub_C]
    simp only [Finsupp.add_apply, Finsupp.single_apply, eq_comm]
    split_ifs <;> norm_num
AnabelianGeometry.ProjectiveLine.pairRatFunc_orders

The explicit bracket quotient has the complete required pair divisor.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairRatFunc_orders (a b : Projectivization k (k × k))
    (V : Place k (RatFunc k)) :
    V.ord (pairRatFunc a b) =
      (if V = projectiveRatFuncPlace a then 1 else 0) -
        (if V = projectiveRatFuncPlace b then 1 else 0) := by
  rw [pairRatFunc, div_eq_mul_inv,
    V.ord_mul (pairLinearRatFunc_ne_zero a.rep a.rep_ne_zero)
      (inv_ne_zero (pairLinearRatFunc_ne_zero b.rep b.rep_ne_zero)),
    V.ord_inv, pairLinearRatFunc_orders, pairLinearRatFunc_orders]
  ring
AnabelianGeometry.ProjectiveLine.pairLinearRatFunc_intDegree
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairLinearRatFunc_intDegree (v : k × k) (hv : v.2 ≠ 0) :
    (pairLinearRatFunc v).intDegree = 1
AnabelianGeometry.ProjectiveLine.pairRatFunc_evalAt_infty
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairRatFunc_evalAt_infty (a b : Projectivization k (k × k))
    (hb : b.rep.2 ≠ 0) :
    (placeInfty k).evalAt (pairRatFunc a b) = a.rep.2 / b.rep.2
AnabelianGeometry.ProjectiveLine.pairRatFunc_evalAt

Evaluation of the explicit pair function at every point away from its pole.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem pairRatFunc_evalAt (a b d : Projectivization k (k × k)) (hdb : d ≠ b) :
    (projectiveRatFuncPlace d).evalAt (pairRatFunc a b) =
      bracket d.rep a.rep / bracket d.rep b.rep
AnabelianGeometry.ProjectiveLine.ratFunc_pair_evalAt_ratio_eq_crossRatio

The normalized evaluations of the SAME function are the projective cross ratios.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
attribute [local instance] Classical.propDecidable
open AlgebraicCurve
open scoped Polynomial RatFunc
namespace AnabelianGeometry.ProjectiveLine
open AnabelianGeometry.KummerTheory AlgebraicCurve.RationalFunctionField
variable {k : Type*} [Field k]
theorem ratFunc_pair_evalAt_ratio_eq_crossRatio
    (a b c d : Projectivization k (k × k))
    (hcb : c ≠ b) (hdb : d ≠ b)
    (f : RatFunc k) (hf : f ≠ 0)
    (hord : ∀ V : Place k (RatFunc k),
      V.ord f = (if V = projectiveRatFuncPlace a then 1 else 0) -
        (if V = projectiveRatFuncPlace b then 1 else 0)) :
    (projectiveRatFuncPlace d).evalAt f / (projectiveRatFuncPlace c).evalAt f =
      crossRatio a b c d := by
  have hreg (p : Projectivization k (k × k)) (hp : p ≠ b) :
      0 ≤ (projectiveRatFuncPlace p).ord (pairRatFunc a b) := by
    rw [pairRatFunc_orders, ite_eq_right (projectiveRatFuncPlace_injective.ne hp), sub_zero]
    split_ifs <;> omega
  rw [ratFunc_evalAt_ratio_eq_of_same_orders f (pairRatFunc a b) hf
    (div_ne_zero (pairLinearRatFunc_ne_zero a.rep a.rep_ne_zero)
      (pairLinearRatFunc_ne_zero b.rep b.rep_ne_zero))
    (fun V => (hord V).trans (pairRatFunc_orders a b V).symm)
    (projectiveRatFuncPlace c) (projectiveRatFuncPlace d)
    (projectiveRatFuncPlace_isRational c) (projectiveRatFuncPlace_isRational d)
    (hreg c hcb) (hreg d hdb), pairRatFunc_evalAt a b d hdb, pairRatFunc_evalAt a b c hcb]
  change (_ / _) / (_ / _) = (_ * _) / (_ * _)
  simp only [div_eq_mul_inv, mul_inv_rev, inv_inv]
  ring