/-
Copyright (c) 2020 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
module
public import Mathlib.Algebra.Star.Basic
public import Mathlib.GroupTheory.Congruence.Defs
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Helpers for working with star operators on quotients.
TODO: consider defining `Star` versions of `Con` and `AddCon`.
-/
public section
section Mul
variable {M : Type*} [Mul M] [StarMul M] {r : M → M → Prop}
theorem ConGen.Rel.star (hr : ∀ a b, r a b → r (star a) (star b))
⦃a b : M⦄ : Rel r a b → Rel r (star a) (star b)
| refl _ => .refl _
| symm h => .symm <| h.star hr
| trans h1 h2 => .trans (h1.star hr) (h2.star hr)
| of _ _ h => .of _ _ (hr _ _ h)
| mul h1 h2 => by
rw [star_mul, star_mul]
exact (h2.star hr).mul (h1.star hr)
theorem conGen_star (hr : ∀ a b, r a b → r (star a) (star b)) ⦃a b : M⦄ :
conGen r a b → conGen r (star a) (star b) := (ConGen.Rel.star hr ·)
end Mul
section Add
variable {A : Type*} [AddMonoid A] [StarAddMonoid A] {r : A → A → Prop}
theorem AddConGen.Rel.star (hr : ∀ a b, r a b → r (star a) (star b))
⦃a b : A⦄ : Rel r a b → Rel r (star a) (star b)
| refl _ => .refl _
| symm h => .symm <| h.star hr
| trans h1 h2 => .trans (h1.star hr) (h2.star hr)
| of _ _ h => .of _ _ (hr _ _ h)
| add h1 h2 => by
rw [star_add, star_add]
exact (h1.star hr).add (h2.star hr)
theorem addConGen_star (hr : ∀ a b, r a b → r (star a) (star b)) ⦃a b : A⦄ :
addConGen r a b → addConGen r (star a) (star b) := (AddConGen.Rel.star hr ·)
end Add
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.18Angebot
¤
*Eine klare Vorstellung vom Zielzustand