Would Mexico have viewed a Mexican advance north of the Rio Grande an invasion of the US?

No, Mexico would not have viewed a Mexican advance north of the Rio Grande as an invasion of the US. Mexico has long recognized the Rio Grande as the border between the two countries, and any advance north of the river would have been seen as a peaceful movement of people and goods.