Wikipedia:Reference desk/Archives/Mathematics/2022 August 14

Mathematics desk
< August 13 << Jul | August | Sep >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


August 14

edit

Defining new rules of inference and making use of them in formal proofs?

edit

According to converse property and transitivity property of inequalities:

  and   are equivalent for any real numbers   and  .
If   and  , then   for any real numbers  ,  ,  .

May I interpret the above descriptions as the following 2 rules of inference

  (Rule A)
 
  (Rule B)

so that I could use them in, for example, the following proof?

Prove that   if   and   for real numbers  ,  ,  .

Step Proposition Derivation
1   premise
2   premise
3   premise
4   premise
5   Rule A (3, 4)
6   Material equivalence (1, 5)
7   Conjunction elimination (6)
8   Conjunction elimination (6)
9   Rule B (2, 3, 4, 7, 8)

I guess that we should define some rules of inference for inequalities before we can incorporate them in a formal proof, right?

(I don't know if the proof is valid or not because I'm not able to find similar examples on the internet.) -- Justin545 (talk) 07:13, 14 August 2022 (UTC)[reply]

I think your thinking of something like Natural deduction. There are many different notations and sets of axioms and rules of inference, so a lot depends on personal preference. But any reasonable system can be proven equivalent to classical deductive logic, making allowances of course for the law of excluded middle and other variations. There has always been a "gap" between formal logic and the way mathematicians actually use logic in proofs. There have been many attempts to bridge that gap, some quite successful, but I don't think a "standard" has really emerged. There are many computer proof assistants that fill in proof details automatically, and they use this type of formalized reasoning. --RDBury (talk) 23:22, 14 August 2022 (UTC)[reply]
Thanks for the reply. I have tried to read Natural deduction, but it seems to be obscure to me. For example, I failed to understand the following inference rule in Hypothetical derivations:
 
Therefore, I think I am more used to formal proofs in tabular notation or tabular form which also appear in "Proof" section of Destructive dilemma and Negation introduction. The main problem would be the lack of concrete example of formal proofs which have connections with mathematical formula (equations, identities, inequalities, etc.). Computer proof assistants would be a direction to find the connections. Hopefully I can find more examples of formal proofs in tabular form there. -- Justin545 (talk) 20:21, 15 August 2022 (UTC)[reply]
The following is a justification of the negation rule   Using instead the implication rule   the conclusion of the derivation would have been   Since   could have been any proposition not occurring in   we could have made the same derivation using   instead of   leading to the conclusion   Since Aristotle, this has been understood to be equivalent to    --Lambiam 05:24, 16 August 2022 (UTC)[reply]
Is inference rule   equivalent to modus tollens  ? It seems that   must not occur in the conclusion   is due to "The introduction rule DISCHARGES both the name of the hypothesis u, and the succedent p" but I'm not able to confirm that. I'm not sure what "discharge" mean because I didn't see explicit explanation for "discharge" in Natural deduction... -- Justin545 (talk) 08:24, 16 August 2022 (UTC)[reply]
A very simple case of   occurring in   is when   is identical to   Clearly, having successfully derived   one should not infer from this conclusion that   So there has to be be some restriction on   with regard to   The simplest restriction that does the job is that   must not occur in   Forget for a moment all formality, and think of how a working mathematician works on a proof. She may be heard mumbling, "Assume   is even. Then ... Therefore  " She then jots down, " " and starts to examine the case that   is odd. At this point, the earlier assumption that   is even is no longer in play – it has served its purpose and has been honourably discharged.  --Lambiam 14:55, 16 August 2022 (UTC)[reply]
The sentence "one should not infer from this conclusion that  " reminds me that I noticed both   and   appearing in  . It looks like the presence of   and   in   is equivalent to   which seems that there is a contradiction between   and  . I think it was the possible contradiction in   confused me so badly and stopped me from going ahead... -- Justin545 (talk) 06:44, 17 August 2022 (UTC)[reply]
I may need to reconsider it to know it better. Thank you for patiently answering my questions. -- Justin545 (talk) 08:52, 17 August 2022 (UTC)[reply]