Skip to content

Commit 9987a7e

Browse files
committed
chore(NumberTheory/Padics/Complex): remove an erw (leanprover-community#38774)
- rewrites `norm_eq_norm'` to expand `Valuation.restrict_def`, `embedding_restrict₀`, and `PadicAlgCl.valuation_coe` inside `simp only` Extracted from leanprover-community#38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent 07de307 commit 9987a7e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Mathlib/NumberTheory/Padics/Complex.lean

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,7 @@ theorem norm_eq_norm' : (‖·‖ : ℂ_[p] → ℝ) = Valued.v.norm := by
210210
letI := S.toNonUnitalSeminormedRing.toSeminormedAddCommGroup.toSeminormedAddGroup
211211
exact @uniformContinuous_norm ℂ_[p] this
212212
· intro x
213-
simp only [Valued.v.norm_def, RankOne.hom_eq_embedding]
214-
erw [embedding_restrict (PadicComplex.valued p).v x, valuation_extends]
215-
exact (PadicAlgCl.valuation_coe p x).symm
213+
simp [Valued.v.norm_def, restrict_def]
216214

217215
/-- The norm on `ℂ_[p]` is compatible with the valuation. -/
218216
theorem norm_eq_norm (x : ℂ_[p]) : ‖x‖ = Valued.v.norm x := by

0 commit comments

Comments
 (0)