Skip to content

Commit

Permalink
feat(Algebra/Order/LatticeGroup): Add missing abs_inv to LatticeGro…
Browse files Browse the repository at this point in the history
…up (#6357)

Adds missing `abs_inv` to LatticeGroup



Co-authored-by: Christopher Hoskin <mans0954@users.noreply.github.com>
  • Loading branch information
mans0954 and mans0954 committed Aug 4, 2023
1 parent 90907eb commit 314914f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Mathlib/Algebra/Order/LatticeGroup.lean
Expand Up @@ -189,6 +189,11 @@ theorem inv_le_abs (a : α) : a⁻¹ ≤ |a| :=
#align lattice_ordered_comm_group.inv_le_abs LatticeOrderedCommGroup.inv_le_abs
#align lattice_ordered_comm_group.neg_le_abs LatticeOrderedCommGroup.neg_le_abs

@[to_additive (attr := simp)]
theorem abs_inv (a : α) : |a⁻¹| = |a| := calc
|a⁻¹| = a⁻¹ ⊔ (a⁻¹)⁻¹ := rfl
_ = a ⊔ a⁻¹ := by rw [inv_inv, sup_comm]

-- 0 ≤ a⁺
@[to_additive pos_nonneg]
theorem one_le_pos (a : α) : 1 ≤ a⁺ :=
Expand Down

0 comments on commit 314914f

Please sign in to comment.