4.0 ANALYSIS OF RESULT
The provided application allows users to experiment with different logical reasoning strategies by
implementing different propositional logic inference rules. The application offers eight essential inference
rules: Addition, Simplification, Conjunction, Resolution, Hypothetical Syllogism, Disjunctive Syllogism,
Modus Ponens, and Modus Tollens. A valid conclusion is obtained by applying a logical structure to a set
of premises in each rule.
The results of the program demonstrate the effectiveness of logical reasoning in drawing
conclusions from presumptive data. For example, the premises "Ali works hard" , "If Ali works hard, then
he is a dull boy" and “If Ali is a dull boy, then he will not get the job” are true in Modus Ponens lend
credence to the logical conclusion that "Ali will not get the job." Similarly, in Modus Tollens, if the premise
is that " If Ali works hard, then he is a dull boy." and "If Ali is a dull boy, then he will not get the job" is true
but the premise “Ali will get the job” is false, then the conclusion that "Ali does not work hard" is
considered invalid.
According to the Hypothetical Syllogism, if "Ali works hard, then he is a dull boy" and "If Ali is a
dull boy, then he will not get the job," are true then the conclusion "If Ali works hard, then he will not get
the job" is valid. When at least one of the two premises must be true, a Disjunctive Syllogism is employed.
Given the scenario "Ali works hard or Ali is a dull boy," the conclusion "Ali works hard" is valid.
Simplification states that each premise must be true on its own if the conjunction of two premises
is true. For instance, we can conclude that (P): "Ali works hard" is valid given the premise (P ∧ Q): "Ali
works hard and Ali is a dull boy" is true. Conjunction, on the other hand, combines several premises into a
single assertion. For example, we can conclude that (P ∧ Q ∧ R): "Ali works hard, Ali is a dull boy, and
Ali will not get the job" is valid given the premises (P): "Ali works hard" , (Q): "Ali is a dull boy" , and (R):
"Ali will not get the job" are true. Resolution is a fundamental principle in propositional logic that
demonstrates how combining premises can result in sound conclusions. This is clear when the claim that
"Ali works hard or Ali will get the job" is valid.
Overall, the program effectively demonstrates the application of inference rules in practical logical
reasoning. By allowing users to select and test various rules, it highlights the structured approach of
formal logic in problem-solving and decision-making. The interactive components of the program enhance
understanding of logical principles and their significance in automated reasoning systems.