The Short Version
The claim is not supported as stated. In ordinary mathematics, the series 1+2+3+4+⋯ diverges, so it does not have a finite sum and certainly does not equal -1/12. That number arises only in specialized frameworks such as zeta-function regularization or Ramanujan summation, which are not the same as the usual sum of the series.