In this set of notes, we explore basic proof techniques, and how they can be understood by a grounding in propositional logic We will show how to use these
The proof shows the step-by-step chain of reasoning from hypotheses to conclusion Every step needs to be justified You can use any of the reasons below to
Should all arguments from negative evidence be avoided, or can a systematic difference between the two examples be recognized and explained? The classic tool
There are three ways to prove a statement of form “If A, then B ” They are called direct proof, contra- positive proof and proof by contradiction DIRECT PROOF
Many have heard the adage that you can't prove a negative One might prefer a weaker logic and statistical reasoning In the next section, we
4 déc 2021 · Proof We proceed by induction on n Let n be any natural number greater than 2 If n is prime, we are done; we can
The formula A ? B is a tautology if and only if A B Here is a listing of some of the more basic equivalences of propositional logic They provide one means
our formulation, every clause set can be divided into a disjunctive logic program, which consists of non- negative clauses, and a query We define answers
So proofs by contradiction can also be used to establish positive claims “indi- rectly,” as follows: To prove p, read it as the negative claim ¬¬p If we can
A statement of the form "IfA, thenB" asserts that ifAis true, thenBmust be true also. If the statement
"IfA, thenB" is true, you can regard it as a promise that whenever theAis true, thenBis true also.Most theorems can be stated in the form "IfA, thenB." Even if they are not written in this form, they
can be put into this form. For example, the statements "Every group with 4 elements is abelian." and "A group is abelian if it has 4 elements." can both be restated as: "Ifa groupGhas 4 elements,thenGis abelian." There are three ways to prove a statement of form "IfA, thenB." They are calleddirect proof,contra- positive proofandproof by contradiction. DIRECT PROOF.To prove that the statement "IfA, thenB" is true by means of direct proof, begin by assumingAis true and use this information to deduce thatBis true. Here is a template. What comes between the first and last line of course depends on whatAandBare.impossible forAto be true whileBis false. In other words, it is a contradiction to assumeAis true and
Bis false. Of course, since you have not proved "IfA, thenB" is a true statement, this contradiction is
not at all obvious. In the technique ofproof by contradiction, you begin by assumingAis true and Bis false, and use this to deduce andobviouscontradiction of from "Cis true andCis false." Here"s a template.elements ofG:a1,a2,a3,a4,···am+1. Since this list hasm+1 items in it, andGcontains onlymelements,
it follows that the list has at least two items that are equal. Thusaj=akfor some integersjandkwithelementsa1,a2,a3,a4,a5···. No two elements of this list are equal, for if they were, there would be positive
integersjandkwith 1≤j < kandaj=ak, and multiplying both sides on the right bya-jwould givee=ak-j, which we are assuming cannot happen. Thus, since no two elements on the infinite list are equal,
they are all different elements ofG. ThusGis infinite, so it is not finite.PROOF BY CONTRADICTION Theorem:Ifais an element of a finite groupG, then there is ann?Z+for whichan=e. Proof. (Contradiction) SupposeGis finite and there isnon?Z+for whichan=e. Consider the infinitelist of group elementsa1,a2,a3,a4,a5···. No two elements of this list are equal, for if they were, there
would be positive integersjandkwith 1≤j < kandaj=ak, and multiplying both sides on the right bya-jwould givee=ak-j, which we are assuming cannot happen. Thus, since no two elements on theinfinite list are equal, they are all different elements ofG. It follows thatGis infinite. But it is also finite,
as stated in the first sentence of the proof. ThusGis finite andGis infinite, which is a contradiction.Notice that in the proof by contradiction, to showGis infinite we ended up using much of the same
reasoning used in the contrapositive proof. Thus, in this case, the contrapositive approach would besimpler. If possible you should always go with the simplest proof technique. Very often, one approach will
seem impossible but another will be quite easy. If you get stuck, try a different approach. 2Notice that in each of the two parts, you are really proving a statement of the form "IfXthenY," so for
each part you can use direct proof, contrapositive proof, or proof by contradiction. Use whatever seems
easiest. 3