Skip to content

Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.

Python

fix(Lib/General/NumberTheory/CMFields): fix comap argument order

Rohan Arun3e1249fdee0c
diff --git a/src/Lib/General/NumberTheory/CMFields.lean b/src/Lib/General/NumberTheory/CMFields.lean
index 5411c9e9582..e1552edca48 100644
--- a/src/Lib/General/NumberTheory/CMFields.lean
+++ b/src/Lib/General/NumberTheory/CMFields.lean
@@ -65,8 +65,8 @@ open NumberField InfinitePlace Module Fintype
private lemma infinitePlace_eq_of_comap_eq {L : Type*} [Field L] [NumberField L]
(h_conj : ∀ x : L, ∃ y : L, ∀ φ : L →+* ℂ, φ y = star (φ x))
{v w : InfinitePlace L}
- (hvw : InfinitePlace.comap (maximalRealSubfield L).subtype v =
- InfinitePlace.comap (maximalRealSubfield L).subtype w) :
+ (hvw : v.comap (maximalRealSubfield L).subtype =
+ w.comap (maximalRealSubfield L).subtype) :
v = w := by
ext x
obtain ⟨y, hy⟩ := h_conj x