/-
Copyright (c) 2018 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Jens Wagemaker
-/
module
public import Mathlib.Algebra.GroupWithZero.Associated
public import Mathlib.Algebra.Ring.Units
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Associated elements in rings
-/
public section
assert_not_exists IsOrderedMonoid Multiset Field
namespace Associated
variable {M : Type*} [Monoid M] [HasDistribNeg M] {a b : M}
lemma neg_left (h : Associated a b) : Associated (-a) b := let ⟨u, hu⟩ := h; ⟨-u, by simp [hu]⟩
lemma neg_right (h : Associated a b) : Associated a (-b) := h.symm.neg_left.symm
lemma neg_neg (h : Associated a b) : Associated (-a) (-b) := h.neg_left.neg_right
@[simp]
lemma neg_left_iff : Associated (-a) b ↔ Associated a b :=
⟨fun h ↦ _root_.neg_neg a ▸ h.neg_left, fun h ↦ h.neg_left⟩
@[simp]
lemma neg_right_iff : Associated a (-b) ↔ Associated a b :=
⟨fun h ↦ _root_.neg_neg b ▸ h.neg_right, fun h ↦ h.neg_right⟩
end Associated
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland