My understanding is that some schools in India teach it as the "Pythagorean theorem" and others as the "Baudhayan theorem" - the choice of which term to use is definitely a colonial issue.
Agreed with ummonk. This is not a pre-colonial issue. This is an issue of colonial-era politics. The dating of many Indian texts was performed by European indologists who were funded by then-colonial governments in a then-colonized India with a view to advance the biblical worldview that the universe is about 6000 years old [1], which any reasonable thinker now knows is pure hogwash [2]. So Indian texts are, in fact, probably a lot older. I believe that a now-decolonized India needs to pay closer attention to its history.