a /: a[x_] + a[y_] := a[x+y]

Total[Array[a, {10000}]]