Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Small lemmas around |a - b| and Int.natAbs (a - b) (#10027)
Proves the following statements: - if `0 ≤ a ≤ n` and `0 ≤ b ≤ n`, then `|a - b| ≤ n` (similarly with `|a - b| < n`) - `0 < |a - b|` iff `a ≠ b` Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
- Loading branch information
1 parent
800df68
commit 33d32d5
Showing
3 changed files
with
39 additions
and
0 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