We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply_rules
Using apply_rules with a discharger is a cheap way to write a nontrivial tactic. This worked before #3480 but now seems to be broken:
import Mathlib.Tactic.Positivity import Mathlib.Tactic.SolveByElim open Lean Mathlib def PositivityDischarge (g : MVarId) : MetaM (Option (List MVarId)) := do Meta.Positivity.positivity g; pure (some []) <|> pure none -- works example (x : ℤ) : 0 ≤ x ^ 2 := by solve_by_elim (config := { discharge := PositivityDischarge }) -- fails example (x : ℤ) : 0 ≤ x ^ 2 := by solve_by_elim (config := { discharge := PositivityDischarge, backtracking := false }) -- fails example (x : ℤ) : 0 ≤ x ^ 2 := by apply_rules (config := { discharge := PositivityDischarge })
See Zulip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using
apply_rules
with a discharger is a cheap way to write a nontrivial tactic. This worked before #3480 but now seems to be broken:See Zulip
The text was updated successfully, but these errors were encountered: