Skip to content

Commit

Permalink
Get rid of annoying ring warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickMassot committed Feb 26, 2025
1 parent 6c6a4f3 commit c309d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GlimpseOfLean/Library/Short.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import Mathlib.Tactic
import Mathlib.Data.Real.Basic
import Mathlib.Data.Complex.Trigonometric

@[inherit_doc Mathlib.Tactic.RingNF.ring]
macro "ring" : tactic =>
`(tactic| first | ring1 | ring_nf)

lemma ge_max_iff {α : Type*} [LinearOrder α] {p q r : α} : r ≥ max p q ↔ r ≥ p ∧ r ≥ q :=
max_le_iff

Expand Down

0 comments on commit c309d09

Please sign in to comment.