Documentation

LeanPool.NandakumarRamanaRao.NRR.OddSphereDegree.ModTwoDegreeComparison

Mod-two comparison of integer degree #

Arithmetic and topological wrappers connecting parity of an integer degree with its reduction in ZMod 2. The file provides cast/parity lemmas and comparison theorems for degreeOfIso and the oriented degree API. Native coefficient-reduction and sphere top-class constructions are supplied by the dedicated coefficient-reduction modules.

1. Arithmetic parity / cast bridges ℤ → ZMod 2 #

These are pure arithmetic facts about the mod-2 reduction ring hom Int.castRingHom (ZMod 2); they carry the entire "comparison" between the integer phrasing Odd z and the F₂ phrasing (z : ZMod 2) = 1. They are independent of all topology.

The parity bridge. For an integer z, its reduction in ZMod 2 is 1 iff z is odd. This is the entire comparison content of Route A: it converts the F₂ statement (degree f : ZMod 2) = 1 into the integer statement Odd (degree f) and back.

For an integer z, its reduction in ZMod 2 is 0 iff z is even.

theorem SphereOddDegree.Odd.intCast_zmodTwo {z : ℤ} (h : Odd z) :
↑z = 1

Forward direction of the parity bridge: an odd integer reduces to 1.

Backward direction of the parity bridge: an integer reducing to 1 is odd.

theorem SphereOddDegree.Even.intCast_zmodTwo {z : ℤ} (h : Even z) :
↑z = 0

An even integer reduces to 0.

An integer reducing to 0 is even.

The mod-2 reduction of any integer is either 0 or 1.

theorem SphereOddDegree.intCast_zmodTwo_mul (z w : ℤ) :
↑(z * w) = ↑z * ↑w

Multiplicativity of the reduction. Reduction mod 2 is a ring hom, so it takes products to products. This is the algebraic shadow of degree multiplicativity degree (g ∘ f) = degree g * degree f.

Conversion-free corollary. Any integer that is 1 or -1 reduces to 1 in ZMod 2. This applies directly to ±1 degrees (homeomorphisms, the antipodal map) without going through Odd.

1b. Parity equivalences and reversed cast bridges #

These complete the elementary parity algebra needed by the ModTwoTopClassComparison branch, so that no downstream module has to re-prove it. They are pure arithmetic, independent of all topology.

Reversed form of the parity bridge: z is odd iff its reduction in ZMod 2 is 1. Convenient when the hypothesis is phrased as Odd z.

Reversed form of the even cast bridge: z is even iff its reduction in ZMod 2 is 0.

An integer is odd iff it is not even (project-local re-export of Int.not_even_iff_odd, in the Odd ↔ ¬ Even orientation).

An integer fails to be even iff it is odd (project-local re-export of Int.not_even_iff_odd).

1c. Scalar action over ZMod 2 #

The algebraic shadow of the top-class fixed-point condition: in any ZMod 2 -module, a scalar fixes a nonzero vector iff the scalar is 1. This is exactly the step that turns f_* z = a • z with z ≠ 0 into a = 1, used by the top-homology scalar branch. It needs no one-dimensionality: ZMod 2 = {0, 1}.

theorem SphereOddDegree.zmodTwo_smul_eq_self_iff {M : Type u_1} [AddCommGroup M] [Module (ZMod 2) M] {x : M} (hx : x ≠ 0) (a : ZMod 2) :
a • x = x ↔ a = 1

Scalar action over ZMod 2. For a nonzero vector x in a ZMod 2 -module, a • x = x iff a = 1. (The only other scalar is 0, which sends x to 0 ≠ x.)

2. Mod-2 reduction of the conditional degree (Route A) #

We attach the parity statement to the genuine integer degree degreeOfIso e f by reducing it modulo 2. Every statement is conditional on a chosen identification e : SphereTopHomologyIso n, like the rest of the degree API.

The mod-2 degree comparison theorem. The reduction of the integer degree to ZMod 2 equals 1 iff the integer degree is odd. This is the precise sense in which "(degree f : ZMod 2) = 1" and "Odd (degree f)" are interchangeable — the two phrasings of the final odd-degree theorem.

Multiplicativity of the mod-2 degree. The reduction of the degree of a composite is the product of the reductions. This descends degreeOfIso_comp through the reduction ring hom.

The mod-2 degree of a self-homeomorphism is 1 (its integer degree is ±1, hence odd).

The mod-2 degree of the antipodal map is 1. This is the F₂ phrasing of the proved parity fact Odd (degree (antipodal n)), and the parity content of the classical value degree (antipodal n) = (-1)^(n+1) (which is ≡ 1 mod 2).

Mod-2 agreement with the target value, in ZMod 2. The reduction of the antipodal degree equals the reduction of (-1)^(n+1); both are 1.

3. Oriented-degree wrappers #

The same mod-2 comparison statements on the bundled SphereOrientation.degree.

The reduction of the integer degree to ZMod 2 is 1 iff the degree is odd.

Multiplicativity of the mod-2 degree on the bundled orientation.

The mod-2 degree of a self-homeomorphism is 1.

The mod-2 degree of the antipodal map is 1.