Skip to content

Commit ce3f8ce

Browse files
committed
chore(NumberField/IsTotallyReal): fixed a typo introduced in leanprover-community#23760 (leanprover-community#25016)
1 parent 396cbfc commit ce3f8ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Mathlib/NumberTheory/NumberField/InfinitePlace/TotallyRealComplex.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ theorem IsTotallyReal.ofRingEquiv [IsTotallyReal F] (f : F ≃+* K) : IsTotallyR
5353
isReal _ := (isReal_comap_iff f).mp <| IsTotallyReal.isReal _
5454

5555
variable (F K) in
56-
theorem IsTotally.of_algebra [IsTotallyReal K] [Algebra F K] : IsTotallyReal F where
56+
theorem IsTotallyReal.of_algebra [IsTotallyReal K] [Algebra F K] : IsTotallyReal F where
5757
isReal w := by
5858
obtain ⟨W, rfl⟩ : ∃ W : InfinitePlace K, W.comap (algebraMap F K) = w := comap_surjective w
5959
exact IsReal.comap _ (IsTotallyReal.isReal W)
6060

6161
instance [IsTotallyReal K] (F : IntermediateField ℚ K) : IsTotallyReal F :=
62-
IsTotally.of_algebra F K
62+
IsTotallyReal.of_algebra F K
6363

6464
instance [IsTotallyReal K] (F : Subfield K) : IsTotallyReal F :=
65-
IsTotally.of_algebra F K
65+
IsTotallyReal.of_algebra F K
6666

6767
variable (K)
6868

0 commit comments

Comments
 (0)