Structured proof · Unit 147
lemma Data.isLiftWeight_kappa
What it saysFor P, D and a natural number j: the weight \kappa(D) goes up from X_j to X_{j+1} (
IsLiftWeight (X j) (X (j+1)) κ (τ ↦ ⌊|X_{j+1}|/2⌋ − w_{j+1}(τ)) (lastEntry j)): |X_j| < |X_{j+1}|, \kappa has no column of height strictly between them, and lastEntry(D, j) at \tau is \lfloor |X_{j+1}|/2\rfloor - w_{j+1}(\tau) + \kappa(\tau, |X_j|).The argument in briefThe three conditions by arithmetic on the column heights of \kappa.
The ranks are increasing; a column of height between |X_j| and |X_{j+1}| would give a divisibility of h - k by t + 1 strictly between consecutive multiples (
Nat.); the last entry by cases on j and the definitions of |X_j|, n, \kappa,not_dvd_of_lt_of_lt_mul_succ lastEntry.Uses
Nat.not_dvd_of_lt_of_lt_mul_succ