Commit 2025-09-01 21:59 3a941a8f

View on Github →

refactor: correct names of Zsqrtd lemmas (#29191) This renames lemmas of the form (foo x).re to be called re_foo instead of foo_re, and similarly for im, to match the naming guide. These are then all deprecated with the deprecation script.

Estimated changes

deleted theorem Zsqrtd.add_im
deleted theorem Zsqrtd.add_re
added theorem Zsqrtd.im_add
added theorem Zsqrtd.im_intCast
added theorem Zsqrtd.im_mul
added theorem Zsqrtd.im_natCast
added theorem Zsqrtd.im_neg
added theorem Zsqrtd.im_ofInt
added theorem Zsqrtd.im_ofNat
added theorem Zsqrtd.im_one
added theorem Zsqrtd.im_smul
added theorem Zsqrtd.im_sqrtd
added theorem Zsqrtd.im_star
added theorem Zsqrtd.im_sub
added theorem Zsqrtd.im_zero
deleted theorem Zsqrtd.intCast_im
deleted theorem Zsqrtd.intCast_re
deleted theorem Zsqrtd.mul_im
deleted theorem Zsqrtd.mul_re
deleted theorem Zsqrtd.natCast_im
deleted theorem Zsqrtd.natCast_re
deleted theorem Zsqrtd.neg_im
deleted theorem Zsqrtd.neg_re
modified theorem Zsqrtd.ofInt_eq_intCast
deleted theorem Zsqrtd.ofInt_im
deleted theorem Zsqrtd.ofInt_re
deleted theorem Zsqrtd.ofNat_im
deleted theorem Zsqrtd.ofNat_re
deleted theorem Zsqrtd.one_im
deleted theorem Zsqrtd.one_re
added theorem Zsqrtd.re_add
added theorem Zsqrtd.re_intCast
added theorem Zsqrtd.re_mul
added theorem Zsqrtd.re_natCast
added theorem Zsqrtd.re_neg
added theorem Zsqrtd.re_ofInt
added theorem Zsqrtd.re_ofNat
added theorem Zsqrtd.re_one
added theorem Zsqrtd.re_smul
added theorem Zsqrtd.re_sqrtd
added theorem Zsqrtd.re_star
added theorem Zsqrtd.re_sub
added theorem Zsqrtd.re_zero
deleted theorem Zsqrtd.smul_im
deleted theorem Zsqrtd.smul_re
deleted theorem Zsqrtd.sqrtd_im
deleted theorem Zsqrtd.sqrtd_re
deleted theorem Zsqrtd.star_im
deleted theorem Zsqrtd.star_re
deleted theorem Zsqrtd.sub_im
deleted theorem Zsqrtd.sub_re
deleted theorem Zsqrtd.zero_im
deleted theorem Zsqrtd.zero_re