cfahlgren1's picture
download
raw
2.78 kB
20
theorem ordFrac_eq_fractionFieldOrder (g : K) (hg : g ≠ 0) :
    Ring.ordFrac R g = ((Multiplicative.ofAdd (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R g) : Multiplicative ℤ) :
      WithZero (Multiplicative ℤ)) := by
proof · 5 lines
  have hn : Ring.ordFrac R g ≠ 0 := (map_ne_zero (Ring.ordFrac R (K := K))).mpr hg
  unfold SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder
  cases h : Ring.ordFrac R g with
  | zero => exact False.elim (hn h)
  | coe z => rfl
29
theorem fractionFieldOrder_mul (g h : K) (hg : g ≠ 0) (hh : h ≠ 0) :
    SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g * h) = SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R g + SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R h := by
proof · 8 lines
  have he : ((Multiplicative.ofAdd (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g * h)) : Multiplicative ℤ) :
      WithZero (Multiplicative ℤ)) =
      ((Multiplicative.ofAdd (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R g + SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R h) : Multiplicative ℤ) :
        WithZero (Multiplicative ℤ)) := by
    rw [← ordFrac_eq_fractionFieldOrder R (g * h) (mul_ne_zero hg hh), map_mul,
      ordFrac_eq_fractionFieldOrder R g hg, ordFrac_eq_fractionFieldOrder R h hh]
    rfl
  exact congrArg Multiplicative.toAdd (WithZero.coe_inj.mp he)
40
theorem fractionFieldOrder_one : SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (1 : K) = 0 := by
proof · 3 lines
  unfold SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder
  rw [map_one]
  rfl
45
def fractionFieldOrderHom : Kˣ →* Multiplicative ℤ where
body · 4 lines
  toFun g := Multiplicative.ofAdd (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K))
  map_one' := congrArg Multiplicative.ofAdd (fractionFieldOrder_one (K := K) R)
  map_mul' g h := congrArg Multiplicative.ofAdd
    (fractionFieldOrder_mul (K := K) R (g : K) (h : K) g.ne_zero h.ne_zero)

Xet Storage Details

Size:
2.78 kB
·
Xet hash:
350280bb7c34d3fd1aba2863ae39aff3e13afda8d737b84d166937fe33d8330b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.