Commit 2023-03-17 16:27 254ad096

View on Github →

feat: port Algebra.TrivSqZeroExt (#2951) Note that the note on the port comment wiki is out of date; the PR to wait for has made it through mathport already. The main difficulty here comes from the fact that Lean can no longer work out the type of the zero in (r • 0 : M) due to being HSMul. The rest of the port is just adding instance names, and one cases where cases n resulted in an unwanted Nat.zero where using match n gives a better 0.

Estimated changes

added theorem TrivSqZeroExt.ext
added theorem TrivSqZeroExt.fst_add
added theorem TrivSqZeroExt.fst_inl
added theorem TrivSqZeroExt.fst_inr
added theorem TrivSqZeroExt.fst_mk
added theorem TrivSqZeroExt.fst_mul
added theorem TrivSqZeroExt.fst_neg
added theorem TrivSqZeroExt.fst_one
added theorem TrivSqZeroExt.fst_pow
added theorem TrivSqZeroExt.fst_smul
added theorem TrivSqZeroExt.fst_sub
added theorem TrivSqZeroExt.fst_sum
added theorem TrivSqZeroExt.fst_zero
added theorem TrivSqZeroExt.ind
added theorem TrivSqZeroExt.inl_add
added theorem TrivSqZeroExt.inl_mul
added theorem TrivSqZeroExt.inl_neg
added theorem TrivSqZeroExt.inl_one
added theorem TrivSqZeroExt.inl_pow
added theorem TrivSqZeroExt.inl_smul
added theorem TrivSqZeroExt.inl_sub
added theorem TrivSqZeroExt.inl_sum
added theorem TrivSqZeroExt.inl_zero
added theorem TrivSqZeroExt.inr_add
added theorem TrivSqZeroExt.inr_neg
added theorem TrivSqZeroExt.inr_smul
added theorem TrivSqZeroExt.inr_sub
added theorem TrivSqZeroExt.inr_sum
added theorem TrivSqZeroExt.inr_zero
added theorem TrivSqZeroExt.snd_add
added theorem TrivSqZeroExt.snd_inl
added theorem TrivSqZeroExt.snd_inr
added theorem TrivSqZeroExt.snd_mk
added theorem TrivSqZeroExt.snd_mul
added theorem TrivSqZeroExt.snd_neg
added theorem TrivSqZeroExt.snd_one
added theorem TrivSqZeroExt.snd_pow
added theorem TrivSqZeroExt.snd_smul
added theorem TrivSqZeroExt.snd_sub
added theorem TrivSqZeroExt.snd_sum
added theorem TrivSqZeroExt.snd_zero
added def TrivSqZeroExt