All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
Writing the Quran in lines and compiling it in one single book (the Mus'haf), as well as facilitating its memorization in the hearts of the people, all this is among the means of preserving it, as this was a promise from Allaah.
Also, memorizing the Sunnah, writing it and preserving the Hadeeth both in its wording and meaning, are among the preservation of the Quran. Indeed, preserving the expounder (the Sunnah) is a means to preseve the expounded (the Quran).
Based on this, if writing the Quran helped in preserving it or was a means of preserving it, then it is a means to preserve other sciences than it with greater reason. Hence, the inference that is mentioned in the question is correct and obvious, but we have not come across any statement of the scholars regarding this, and we do not need a text in this regard because the matter is so obvious.
Allaah Knows best.