Explanation : The logic involved in the example is
presumption.
Indian philosophy postulates various means
of gaining knowledge or proof (pramana).
Arthapatti is knowledge arrived at through
presumption or postulation, derived from
circumstances.
The others are Pratyaksha (perception)
Upamana (comparison and analogy)
Anupalabdi (non-perception, negative proof)
Abhava (non-existence)
Anumana ( inference/deduction)
Sabda (word or testimony)