Skip to content

Fixed integer absolute value handling - #75

Open
Mathletesv wants to merge 1 commit into
leanprover-community:mainfrom
Mathletesv:abs-bug
Open

Fixed integer absolute value handling#75
Mathletesv wants to merge 1 commit into
leanprover-community:mainfrom
Mathletesv:abs-bug

Conversation

@Mathletesv

Copy link
Copy Markdown
Contributor

Lean-auto does not currently match the form of integer absolute value as Mathlib's abs has 3 arguments and is named abs instead of Abs.abs. Moving the absolute value matching to processLam0Arg3 enables auto to solve the following goal when Mathlib is imported:

example (x : Int) : |x| ≥ 0 := by
  auto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant