Disclaimer: This translation does not guarantee complete accuracy, please confirm with the original page text.
Both examples are also present in the commentary on the Yoga Sutras. Notably, there is a significant verbal similarity in both commentaries. Another feature is that a mathematically related third example is found in the commentary on the Tattvarthasutra, which does not exist in the commentary on the Yoga Sutras. The texts of both commentaries are as follows:
"..The remaining beings are human and non-human creatures; they are in sequence and non-sequence regarding states of existence. 'The process of reversal is swift; after a moment's duration, the results of actions are enjoyed, and the process serves as the cause of reversal.' Like the combustion of a heap of dry grass. When the dry mass of grass is piled up, the combustion occurs gradually, and after a long time, it is thoroughly burnt; thus, it happens that when air acts upon the aggregation of hay with a loose structure, it is burnt fully immediately. Likewise, just as a friend can disintegrate two quantities through their mechanisms, there is also a process that does not have an absence of quantity; in the same manner, the process caused by death and removal of the dead does not have any prior enjoyment, however it produces a specific mechanism of action results that does not lack results. Moreover, like a washed cloth, when it is wet, it quickly dries out under the rays of the sun when acted upon by the wind, thus, in the presence of plenty of affection and in a wet condition, there is also no complete dryness; however, through the aforementioned processes, the results of actions are enjoyed swiftly. There are no results of complete elimination." - Tattvarthabhāṣya, 2.52.
"Action of the fruit of karma is of two types: the process of ascent and the process of non-ascent. There, for instance, moist cloth covered takes time to dry; thus it is of the process of ascent. Just as this same cloth, when bunched up, takes a long time to dry, it is non-ascent. Just as the fire, when released in a dry place, spreads round about and burns gradually like the process of ascent. Or similarly, the same fire in a heap can burn gradually through each of its elements, thus it is the non-ascent process. Therefore, the process of action with long-term effects is of two types: the ascending process and the non-ascending process." - Yogabhāṣya, 3.22.
The Nyāyadarśana of Akṣapāda is believed to date back to the early centuries CE. Its commentary by Vātsyāyana is among the earliest works of the second to third century. Several terms and topics from this work are found in the Tattvarthabhāṣya. The Nyāyadarśana (1.1.3) instructs regarding the accepted proof of fourfold reasoning, which corresponds to the commentary on Tattvartha, sūtras 1.6 and 35.