Skip to content

Commit 2dfe37a

Browse files
mathlib-splicebot[bot]xroblottb65536
committed
chore(FieldTheory/IntermediateField/Basic): automated extraction from leanprover-community#38864 (leanprover-community#40844)
This PR was automatically created from PR leanprover-community#38864 by @xroblot via a [review comment](leanprover-community#38864 (comment)) by @tb65536. Co-authored-by: xroblot <46200072+xroblot@users.noreply.github.com> Co-authored-by: Thomas Browning <tb65536@users.noreply.github.com>
1 parent 843d789 commit 2dfe37a

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

Mathlib/FieldTheory/IntermediateField/Basic.lean

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -541,24 +541,26 @@ theorem coe_fieldRange : ↑f.fieldRange = Set.range f :=
541541
theorem fieldRange_toSubfield : f.fieldRange.toSubfield = (f : L →+* L').fieldRange :=
542542
rfl
543543

544-
variable {f}
545-
544+
variable {f} in
546545
@[simp]
547546
theorem mem_fieldRange {y : L'} : y ∈ f.fieldRange ↔ ∃ x, f x = y :=
548547
Iff.rfl
549548

550-
/-- An algebra homomorphism between fields restricts to an algebra equivalence onto its range. -/
549+
/-- The isomorphism from `L` to the field range of the `AlgHom` `f`, sending `x` to `f x`. -/
550+
@[simps! apply_coe]
551551
noncomputable def equivFieldRange : L ≃ₐ[K] f.fieldRange :=
552-
AlgEquiv.ofBijective
553-
(f.codRestrict f.range fun x ↦ mem_fieldRange.mpr ⟨x, rfl⟩)
554-
fun _ _ h ↦ f.injective (congr_arg Subtype.val h),
555-
fun ⟨_, hy⟩ ↦ (mem_fieldRange.mp hy).imp fun _ hx => Subtype.ext hx⟩
552+
.ofBijective f.rangeRestrict ⟨f.rangeRestrict.injective, fun ⟨_, ⟨x, hx⟩⟩ ↦ ⟨x, Subtype.ext hx⟩⟩
556553

557-
@[simp]
558-
theorem equivFieldRange_apply (x : L) : f.equivFieldRange x = f x := rfl
554+
@[deprecated (since := "2026-06-20")] alias equivFieldRange_apply := equivFieldRange_apply_coe
559555

560556
end AlgHom
561557

558+
variable (K L L') in
559+
@[simp]
560+
theorem IsScalarTower.toAlgHom_fieldRange [Algebra L L'] [IsScalarTower K L L'] :
561+
(IsScalarTower.toAlgHom K L L').fieldRange = Set.range (algebraMap L L') := by
562+
ext; simp
563+
562564
namespace IntermediateField
563565

564566
/-- The embedding from an intermediate field of `L / K` to `L`. -/

0 commit comments

Comments
 (0)