Stafford38/LocalizationCorollaries.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Statement
3 public import AlgebraicAnalysis.RingTheory.TwoGeneratorIdentity
4 public import AlgebraicAnalysis.Ore.RightLocalization
5 
6 @[expose] public section
7 
8 /-! Right Ore localization corollaries for the Stafford 3.8 identity.
9 The generic unit-denominator transport proof lives in AlgebraicAnalysis. -/
10 
11 namespace Stafford38.LocalizationCorollaries
12 
13 universe u v
14 
15 abbrev S38 := AlgebraicAnalysis.TwoGeneratorIdentity
16 
17 /-- A fraction-clearing formulation sufficient to transport `S38`. The unit
18 condition concerns only the denominator chosen for the given fraction. -/
19 theorem s38_of_rightClearing
20     {R : Type u} {L : Type v} [Ring R] [Ring L]
21     {f : R →+* L} (hR : S38 R)
22     (hclear : ∀ q : L, q ≠ 0 →
23       ∃ a s : R, IsUnit (f s) ∧ q * f s = f a) : S38 L :=
24   AlgebraicAnalysis.TwoGeneratorIdentity.of_rightUnitClearing hR hclear
25 
26 /- Compatibility exports for the reusable right Ore localization API. -/
27 export AlgebraicAnalysis.OreRightLocalization
28   (oppositeSubmonoid RightOreLocalization rightNumeratorRingHom rightOre_clear)
29 
30 /-- Stafford 3.8 is preserved by genuine right Ore localization. -/
31 theorem s38_rightOreLocalization
32     {R : Type u} [Ring R] {S : Submonoid R}
33     [OreLocalization.OreSet (oppositeSubmonoid S)]
34     (hR : S38 R) : S38 (RightOreLocalization R S) :=
35   AlgebraicAnalysis.TwoGeneratorIdentity.of_rightOreLocalization hR
36 
37 #print axioms s38_of_rightClearing
38 #print axioms rightOre_clear
39 #print axioms s38_rightOreLocalization
40 
41 end Stafford38.LocalizationCorollaries
42