Jain scholars made significant contributions to mathematics in ancient India. Umasvati (or Umaswami) wrote the Tattvarthadhigama Sutra, which contains discussions on cosmology and arithmetic. Trilokasara is a treatise on cosmology and mathematics by Acharya Nemicandra, dealing with concepts like infinity and permutations. Bhagavati Sutra (also known as Vyākhyāprajñapti) is a Jain canonical text that contains detailed discussions on number theory, permutations, combinations, and fractions.