Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Order/CompleteLattice/     Datei vom 15.10.2026 mit Größe 4 kB image not shown  

Quelle  ViaEmbedding.lean   Sprache: Lean

 

/-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
-/

module

public import Mathlib.Algebra.Group.End
public import Mathlib.Logic.Embedding.Basic
public import Mathlib.Logic.Equiv.Set

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

/-!
# `Equiv.Perm.viaEmbedding`, a noncomputable analogue of `Equiv.Perm.viaFintypeEmbedding`.
-/


@[expose] public section


variable {α β : Type*}

namespace Equiv

namespace Perm

variable (e : Perm α) (ι : α ↪ β)

open scoped Classical in
/-- Noncomputable version of `Equiv.Perm.viaFintypeEmbedding` that does not assume `Fintype` -/
noncomputable def viaEmbedding : Perm β :=
  extendDomain e (ofInjective ι.1 ι.2)

theorem viaEmbedding_apply (x : α) : e.viaEmbedding ι (ι x) = ι (e x) := by
  classical
  exact extendDomain_apply_image e (ofInjective ι.1 ι.2) x

theorem viaEmbedding_apply_of_notMem (x : β) (hx : x ∉ Set.range ι) : e.viaEmbedding ι x = x := by
  classical
  exact extendDomain_apply_not_subtype e (ofInjective ι.1 ι.2) hx

open scoped Classical in
/-- `viaEmbedding` as a group homomorphism -/
noncomputable def viaEmbeddingHom : Perm α →* Perm β :=
  extendDomainHom (ofInjective ι.1 ι.2)

theorem viaEmbeddingHom_apply : viaEmbeddingHom ι e = viaEmbedding e ι :=
  rfl

theorem viaEmbeddingHom_injective : Function.Injective (viaEmbeddingHom ι) := by
  classical
  exact extendDomainHom_injective (ofInjective ι.1 ι.2)

end Perm

end Equiv

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.8 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland