-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
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
[Merged by Bors] - feat(data/fin): add some lemmas about coercions #2522
Closed
Commits on Apr 25, 2020
-
feat(data/fin): add some lemmas about coercions and of_nat
Two of these lemmas allow norm_cast to work with inequalities involving fin values converted to ℕ. The rest are for simplifying expressions where of_nat is used to convert from ℕ to fin, in cases where an inequality means of_nat does not in fact change the value. There are very few lemmas relating to of_nat in mathlib at present. These lemmas were found useful in formalising solutions to an olympiad problem, see <https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/Some.20olympiad.20formalisations>, and seem more generally relevant than to just that particular problem.
Configuration menu - View commit details
-
Copy full SHA for 9a1983f - Browse repository at this point
Copy the full SHA 9a1983fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2798d12 - Browse repository at this point
Copy the full SHA 2798d12View commit details -
Co-Authored-By: Gabriel Ebner <gebner@gebner.org>
Configuration menu - View commit details
-
Copy full SHA for 398a933 - Browse repository at this point
Copy the full SHA 398a933View commit details -
Co-Authored-By: Gabriel Ebner <gebner@gebner.org>
Configuration menu - View commit details
-
Copy full SHA for 4db89e6 - Browse repository at this point
Copy the full SHA 4db89e6View commit details -
Co-Authored-By: Gabriel Ebner <gebner@gebner.org>
Configuration menu - View commit details
-
Copy full SHA for e73c5eb - Browse repository at this point
Copy the full SHA e73c5ebView commit details -
Co-Authored-By: Gabriel Ebner <gebner@gebner.org>
Configuration menu - View commit details
-
Copy full SHA for aca0480 - Browse repository at this point
Copy the full SHA aca0480View commit details -
Co-Authored-By: Gabriel Ebner <gebner@gebner.org>
Configuration menu - View commit details
-
Copy full SHA for 33fa042 - Browse repository at this point
Copy the full SHA 33fa042View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53336c2 - Browse repository at this point
Copy the full SHA 53336c2View commit details
Commits on Apr 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b5c63ac - Browse repository at this point
Copy the full SHA b5c63acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c57a0 - Browse repository at this point
Copy the full SHA c9c57a0View commit details
Commits on Apr 28, 2020
-
Update src/data/nat/basic.lean
Co-Authored-By: Johan Commelin <johan@commelin.net>
Configuration menu - View commit details
-
Copy full SHA for 910a942 - Browse repository at this point
Copy the full SHA 910a942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad163d - Browse repository at this point
Copy the full SHA 8ad163dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.