For imo_1974_p3, the sum is inclusive of n. When n = 0, the previous lean version doesn't carry out the computation. @Wenda302 will that make the statement correct if n = 0, the sum still has 1 element (resulting in ~(5|1) and that looks correct)?
Adding proof to amc12b_2021_p4, looks good in lean version.
Note:
For imo_1974_p3, the sum is inclusive of n. When n = 0, the previous lean version doesn't carry out the computation. @Wenda302 will that make the statement correct if
n = 0
, the sum still has 1 element (resulting in ~(5|1) and that looks correct)?Adding proof to amc12b_2021_p4, looks good in lean version.