∀ n : nat, 2 * sum n = n * (n + 1)∀ n : nat, 2 * sum n = n * (n + 1)2 * sum 0 = 0 * (0 + 1)n:natIHn:2 * sum n = n * (n + 1)2 * sum (S n) = S n * (S n + 1)reflexivity.2 * sum 0 = 0 * (0 + 1)n:natIHn:2 * sum n = n * (n + 1)2 * sum (S n) = S n * (S n + 1)n:natIHn:2 * sum n = n * (n + 1)2 * (S n + sum n) = S n * (S n + 1)n:natIHn:2 * sum n = n * (n + 1)2 * S n + 2 * sum n = S n * (S n + 1)n:natIHn:2 * sum n = n * (n + 1)2 * S n + n * (n + 1) = S n * (S n + 1)n:natIHn:2 * sum n = n * (n + 1)2 * (1 + n) + n * (n + 1) = (1 + n) * (1 + n + 1)n:natIHn:2 * sum n = n * (n + 1)2 * 1 + 2 * n + (n * n + n * 1) = (1 + n) * 1 + (1 + n) * n + (1 + n) * 1n:natIHn:2 * sum n = n * (n + 1)2 * 1 + 2 * n + (n * n + n * 1) = 1 * 1 + n * 1 + (1 * n + n * n) + (1 * 1 + n * 1)n:natIHn:2 * sum n = n * (n + 1)1 + 1 + (n + n) + (n * n + n) = 1 + n + (n + n * n) + (1 + n)n:natIHn:2 * sum n = n * (n + 1)1 + 1 + n + n + n * n + n = 1 + n + n + n * n + 1 + nn:natIHn:2 * sum n = n * (n + 1)2 + n + n + n * n + n = 1 + n + n + n * n + 1 + nn:natIHn:2 * sum n = n * (n + 1)2 + n + n + n * n + n = 1 + (1 + n + n + n * n) + nn:natIHn:2 * sum n = n * (n + 1)2 + n + n + n * n + n = 1 + 1 + n + n + n * n + nreflexivity. Qed.n:natIHn:2 * sum n = n * (n + 1)2 + n + n + n * n + n = 2 + n + n + n * n + n