Commit 2026-01-29 11:07 8d5a50dc

View on Github →

feat(Data/Nat): kernel reducible binaryRec (#30144)

  • Redefine Nat.binaryRec to allow kernel reduction.
  • Move some lemmas from Data/Nat/Bitwise to Data/Nat/BinaryRec.
  • Use nsmulBinRec for nsmul/zsmul on elliptic curves.

Estimated changes

deleted theorem Nat.bit_false
deleted theorem Nat.bit_false_apply
deleted theorem Nat.bit_ne_zero_iff
deleted theorem Nat.bit_true
deleted theorem Nat.bit_true_apply