Commit 2022-10-27 04:20 960dc0ee

View on Github →

feat: integer operations in norm_num (#507) Another major rewrite of norm_num, this time to support returning integers as well as nats. Rational numbers are included but stubbed for now pending the rest of the algebraic typeclasses.

Estimated changes

modified def Int.cast
modified theorem Int.cast_negSucc
modified theorem Int.cast_ofNat
modified theorem Int.cast_one
modified theorem Int.cast_zero
added theorem Int.cast_add
added theorem Int.cast_neg
added theorem Int.cast_sub
added theorem Int.cast_subNatNat
added theorem Nat.cast_sub
deleted inductive Mathlib.Meta.NormNum.Result