Commit 2022-11-23 03:12 76b3234c
View on Github →feat: port Data.Int.Cast.Basic (#670) mathlib3 SHA: 39af7d3bf61a98e928812dbc3e16f4ea8b795ca3 Porting notes:
- Some lemmas were transferred from
Data.Int.Cast.Defs
in order to match mathlib3 (I accidentally put them in the wrong place when I had ported that file because those lemmas were already present in mathlib4.) - The lemmas just mentioned have retained their
simp
attribute for the reason Gabriel mentioned on that PR (#641), even though that attribute isn't present on the mathlib3 version. - The
bit0
andbit1
lemmas have been marked as deprecated. - There were many dubious translation errors, I believe primarily because of the difference in the way coercions are handled, so I have
#align
ed all of these withₓ
. I believe this is the correct thing to do, but confirmation would be nice.