Pythagoras was specifically known for accumulating the wisdom of diverse cultures—supposedly he met Thales, was initiated as Egyptian priest in Hermopolis, spent time in Babylon after being captured, and was initiated into every mystery cult he could. And as a boy on his home island of Samos, he would have been exposed to the building of the largest stone temple in Ancient Greece (to Hera) and the incredible engineer…
> "The relationship between math and spirituality was very strong back then!" Seems to me this connection is having a resurgence now as people attempt to project the capabilities of computers beyond human capabilities, where the implications are necessarily bordering on spiritual. Examples include transhumanism, Yudkowsky-style absurdly extrapolated rationalism (Basilisk etc), the simulation hypothesis, AGI salvation…
George Boole (Who we get Boolean from), had a road to Damascus experience as a teenager and later wrote "An Investigation of the Laws of Thought" where we get our 0s and 1s from, and truth operations, largely to prove God is Good.
The concept of 0 and 1, absolute truth and false, was born from his spiritual views.