You put up a strawman and I just called it out.
The point is that the mathematical property of the gayatri mantra was known.
I have provided specific eg. of how the rig veda mentions mathematical terms to define and explain the universe. That is the earliest hindu religions book .........or any kind of book for that matter
Mathematical term "Infinity" is also used in the yajur veda,
purnamadah purnamidam purnat purnamudacyate; purnasya purnamadaya purnamevavasishyate.
It translates as "From infinity is born infinity, When infinity is taken out of infinity, only infinity is left over."
Chandas Shastra upanishad has a chapter on pingala binary system that used short and long form of 1.
Baudhayan Sulv Sutra written 500 years before Paithogorus was born. gives the same forumla. It says, i a Deerghchatursh (Rectangle) the Chetra (Square) of Rajju (hypotenuse) is equal to sum of squares of Parshvamani (base) and Triyangmani (perpendicular).
Surya siddhanta which is the basis of Indian astrology uses trigonometry extensively. Jya, Kokya and Okram Jya is clearly defined and used. Today we know them as Sine, Cos, and inverse sine.
You can continue to remain ignorant and disregard what is there right in front of you and dismiss it as layman logic. I wonder what kind of "logic" that would be ? maybe "il-logic ?