Skip to content

Commit

Permalink
fix Tactic.Positivity.Core
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelStollBayreuth committed May 9, 2024
1 parent e0ef14e commit 08e4eb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib/Tactic/Positivity/Core.lean
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def throwNone [Monad m] [Alternative m]
| .none => failure
| r => pure r

attribute [instance 1000] OrderedSemiring.toSemiring StrictOrderedRing.toRing in
/-- Attempts to prove a `Strictness` result when `e` evaluates to a literal number. -/
def normNumPositivity (e : Q($α)) : MetaM (Strictness zα pα e) := catchNone do
match ← NormNum.derive e with
Expand Down

0 comments on commit 08e4eb0

Please sign in to comment.