Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Equiv.lean   Sprache: Lean

 

/-
Copyright (c) 2023 Junyan Xu. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Junyan Xu
-/

module

public import Mathlib.Algebra.Field.IsField
public import Mathlib.Algebra.Group.Units.Equiv
public import Mathlib.Algebra.GroupWithZero.Equiv

set_option doc.verso true
set_option doc.verso.suggestions false

/-!
# If a semiring is a field, any isomorphic semiring is also a field.

This is in a separate file to avoid needing to import `Field` in `Mathlib/Algebra/Ring/Equiv.lean`
-/


public section

variable {A B F : Type*} [Semiring A] [Semiring B]

protected theorem IsLocalHom.isField [FunLike F A B] [MonoidWithZeroHomClass F A B] {f : F}
    [IsLocalHom f] (inj : Function.Injective f) (hB : IsField B) : IsField A where
  exists_pair_ne := have : Nontrivial B := ⟨hB.exists_pair_ne⟩;
    (domain_nontrivial f (map_zero f) (map_one f)).exists_pair_ne
  mul_comm x y := inj <| by rw [map_mul, map_mul, hB.mul_comm]
  mul_inv_cancel h :=
    have ⟨a', he⟩ := hB.mul_inv_cancel ((inj.ne h).trans_eq <| map_zero f)
    let _ := hB.toSemifield
    (IsUnit.of_mul_eq_one _ he).of_map.exists_right_inv

protected theorem MulEquiv.isField (hB : IsField B) (e : A ≃* B) : IsField A :=
  IsLocalHom.isField e.injective hB

protected theorem MulEquiv.isField_congr (e : A ≃* B) : IsField A ↔ IsField B :=
  ⟨e.symm.isField, e.isField⟩

Messung
CHZG
9510010098

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,109
#Domains=862,974