A nonzero tactic, as suggested by Yury: #general > "Missing Tactics" list @ π¬
- capable of proving
example (a b : β) (ha : a β 0) (hb : b β 0) : a * b β 0 := by sorry (positivity fails with failed to synthesize PartialOrder β)
- If this is to be distinct from
positivity, let it be a discharger for field_simp.
Also potentially useful would be an attribute to automatically allow lemmas to be used by this or the positivity tactic simply by tagging them (I believe metaprogramming is needed to add a lemma currently).
A
nonzerotactic, as suggested by Yury: #general > "Missing Tactics" list @ π¬example (a b : β) (ha : a β 0) (hb : b β 0) : a * b β 0 := by sorry(positivityfails withfailed to synthesize PartialOrder β)positivity, let it be a discharger forfield_simp.Also potentially useful would be an attribute to automatically allow lemmas to be used by this or the
positivitytactic simply by tagging them (I believe metaprogramming is needed to add a lemma currently).