-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR gives `norm_num` basic inequality (and equality) functionality (towards #1567), including the following: ``` example {α} [DivisionRing α] [CharZero α] : (-1:α) ≠ 2 := by norm_num ``` We implement basic logical extensions to handle `=` and `≠` together, namely `¬`, `True`, and `False`. `≠` is not given an extension, as it is handled by `=` and `¬`. For now we only can prove `≠` for numbers given a `CharZero α` instance. - [x] depends on: #1578 Co-authored-by: Mario Carneiro <di.gama@gmail.com>
- Loading branch information
Showing
6 changed files
with
858 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.