Commit a7f12e6
committed
fix(Valuation/RankOne): replace abstract completion
#26872 fixes the definition of `Valuation.RankOne` so that its order embedding into `NNReal` is a map from the range of the value group (the type `MonoidWithZeroHom.ValueGroup₀`).
This causes problems with the instance `instRankOneCompletion` (PR'd recently #33594) because the value group of the completion no longer type checks as the value group of the base ring. This abstract instance was only introduced to combine the proofs of `(v.valuation K).RankOne` and its completion `Valued.v.RankOne`. So we separate them here as concrete separate instances to help with the `RankOne` refactor.RankOne instance with concrete instances (#34834)1 parent 73694cf commit a7f12e6
File tree
2 files changed
+9
-18
lines changed- Mathlib
- NumberTheory/NumberField
- RingTheory/Valuation
2 files changed
+9
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 139 | + | |
145 | 140 | | |
146 | 141 | | |
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
150 | 145 | | |
151 | 146 | | |
152 | | - | |
153 | 147 | | |
154 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 117 | | |
128 | 118 | | |
129 | 119 | | |
| |||
0 commit comments