We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a118834 commit 8af997fCopy full SHA for 8af997f
Mathlib/NumberTheory/NumberField/Basic.lean
@@ -419,11 +419,15 @@ noncomputable def ringOfIntegersEquiv : 𝓞 ℚ ≃+* ℤ :=
419
RingOfIntegers.equiv ℤ
420
421
@[simp]
422
-theorem coe_ringOfIntegersEquiv (z : 𝓞 ℚ) :
+theorem ringOfIntegersEquiv_apply_coe (z : 𝓞 ℚ) :
423
(Rat.ringOfIntegersEquiv z : ℚ) = algebraMap (𝓞 ℚ) ℚ z := by
424
obtain ⟨z, rfl⟩ := Rat.ringOfIntegersEquiv.symm.surjective z
425
simp
426
427
+theorem ringOfIntegersEquiv_symm_apply_coe (x : ℤ) :
428
+ (ringOfIntegersEquiv.symm x : ℚ) = ↑x :=
429
+ eq_intCast ringOfIntegersEquiv.symm _ ▸ rfl
430
+
431
end Rat
432
433
namespace AdjoinRoot
0 commit comments