grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 149

lemma HasType.prod

What it saysExponents add under products. For a commutative ring O, an O-module V, an index type \iota, a submodule M \subseteq V, z \in O, a natural number s, endomorphisms T(l) of V and real numbers t(l) (l \in \iota), and a list L of indices: if HasType z M s (T l) (t l) for every l in L, then HasType z M s (\Pi_{l\in L} T(l)) (\sum_{l\in L} t(l)), where the product is the composition T(l_{1})\circ T(l_{2})\circ\cdots in the order of the list (the empty product is the identity) and the sum is the sum of the t(l) over the list.
The argument in briefInduction on the list; the step composes the head operator with the product of the rest by IndexDvd.comp, adding the exponents.

2 steps, 1 of them a leaf · New/Core/ModuleIndex.lean, lines 60–64 · in the notes: Proposition 4.7, p. 9 of A crude bound for a class number, and divisibility of indices of submodules

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1induction1 step insidelines 62–64

    Induction on L, unfolding HasType and writing products of endomorphisms as compositions. For the empty list the product is the identity and the claim (M \subseteq M and IndexDvd M (M + z^{s}M) 1 with exponent 0) is closed by simp; the step case is reduced to the statement for the head T(a) and the tail.

    UsesModule.End.one_eq_id, Module.End.mul_eq_comp, Submodule.map_comp

    1. Step case, with induction hypothesis I for the tail: given T(a)(M) \subseteq M (e), a natural number i \le t(a) with IndexDvd M (T(a)(M) + z^{s}M) (z^{i}), and the hypotheses H for the tail, I H gives the claim for the tail product \Pi' with some l' \le \sum t. Then (T(a)\circ\Pi')(M) \subseteq T(a)(M) \subseteq M, and IndexDvd.comp gives IndexDvd M ((T(a)\circ\Pi')(M) + z^{s}M) (z^{i}\cdot z^{l'}) = z^{i+l'} with i + l' \le t(a) + \sum t.

      UsesIndexDvd.comp unit 149, HasType unit 149