Question

In: Computer Science

Define lemma? What is Proof by Contraposition? Define Proof?

  1. Define lemma?
  2. What is Proof by Contraposition?
  3. Define Proof?

Solutions

Expert Solution

LEMMA

A less important theorem that is helpful in the proof of other results is called a lemma (plural lemmas or lemmata). Complicated proofs are usually easier to understand when they are proved using a series of lemmas, where each lemma is proved individually.statements that were proved already; the difference between a theorem and a lemma is whether it is intended as a final result or an intermediate tool

PROOF

A proof is a valid argument that establishes the truth of a mathematical statement. A proof can use the hypotheses of the theorem, if any, axioms assumed to be true, and previously proven

theorems. Using these ingredients and rules of inference, the final step of the proof establishes the truth of the statement being proved.

A proof is a way to derive statements from other statements. It starts with axioms (statements that are assumed in the current context always to be true), theorems or lemmas (statements that were proved already; the difference between a theorem and a lemma is whether it is intended as a final result or an intermediate tool), and premises P (assumptions we are making for the purpose of seeing what consequences they have), and uses inference rules to derive Q. The axioms, theorems, and premises are in a sense the starting position of a game whose rules are given by the inference rules. The goal of the game is to apply the inference rules until Q pops out. We refer to anything that isn’t proved in the proof itself (i.e., an axiom, theorem, lemma, or premise) as a hypothesis; the result Q is the conclusion.

When a proof exists of Q from some premises P1, P2, . . . , we say that Q is deducible or provable from P1, P2, . . . , which is written as

P1,P2,... ⊢ Q.
If we can prove Q directly from our inference rules without making any assumptions, we may write

⊢Q

The turnstile symbol ⊢ has the specific meaning that we can derive the conclusion Q by applying inference rules to the premises. This is not quite the same thing as saying P → Q. If our inference rules are particularly weak, it may be that P → Q is true but we can’t prove Q starting with P. Conversely, if our inference rules are too strong (maybe they can prove anything, even things that aren’t true) we might have P ⊢ Q but P → Q is false.

For propositions, most of the time we will use inference rules that are just right, meaning that P ⊢ Q implies that P → Q is a tautology, (soundness) and P → Q being a tautology implies that P ⊢ Q (completeness). Here the distinction between ⊢ and → is whether we want to talk about the existence of a proof (the first case) or about the logical relation between two statements (the second).

Things get a little more complicated with statements involving predicates. For predicate logic, there are incompleteness theorems that say that if our system of axioms is powerful enough (basically capable of representing arithmetic), then there are are statements P such that neither of P or ¬P are provable unless the theory is inconsistent.

Proof by Contraposition

Proof by contraposition is a method of proving theorms.Direct proofs lead from the premises of a theorem to the conclusion. They begin with the premises, continue with a sequence of deductions, and end with the conclusion. However, we will see that attempts at direct proofs often reach dead ends. We need other methods of proving theorems of the form ∀x(P (x) → Q(x)). Proofs of theorems of this type that are not direct proofs, that is, that do not start with the premises and end with the conclusion, are called indirect proofs.

An extremely useful type of indirect proof is known as proof by contraposition. Proofs by contraposition make use of the fact that the conditional statement p → q is equivalent to its contrapositive, ¬q → ¬p. This means that the conditional statement p → q can be proved by showing that its contrapositive, ¬q → ¬p, is true. In a proof by contraposition of p → q, we take ¬q as a premise, and using axioms, definitions, and previously proven theorems, together with rules of inference, we show that ¬p must follow.


Related Solutions

1. Pumping Lemma: a. Is the following language a regular language? (Use pumping lemma in proof.)...
1. Pumping Lemma: a. Is the following language a regular language? (Use pumping lemma in proof.) L = {0n 1n 2n | n ≥ 0} b. What is (i.e., define) the CFL pumping lemma?
1. (a) Define, with precision and in a form suitable for using in a proof, the...
1. (a) Define, with precision and in a form suitable for using in a proof, the least upper bound of a nonempty subset S ⊂ R that is bounded above. (b) Define, with precision and in a form suitable for using in a proof, an open set in a metric space (X, d). (c) Give an example, if possible of a function f : X → Y and subsets A, B ⊂ X such that f(A ∩ B) is not...
what is the proof of random walk occurance ?
what is the proof of random walk occurance ?
For each of the statements, begin a proof by contraposition and a proof by contradiction. This...
For each of the statements, begin a proof by contraposition and a proof by contradiction. This will include rewriting the statement, writing the assumptions, and writing what needs to be shown. From there, pick one of the two methods and finish the proof. a) For all integers m and n, if m + n is even the m and n are both even or m and n are both odd. b) For all integers a, b, and c, if a...
Find the most powerful test using neyman pearson lemma.
Find the most powerful test using neyman pearson lemma.
a.) Prove the following: Lemma. Let a and b be integers. If both a and b...
a.) Prove the following: Lemma. Let a and b be integers. If both a and b have the form 4k+1 (where k is an integer), then ab also has the form 4k+1. b.)The lemma from part a generalizes two products of integers of the form 4k+1. State and prove the generalized lemma. c.) Prove that any natural number of the form 4k+3 has a prime factor of the form 4k+3.
Prove that the proof by mathematical induction and the proof by strong induction are equivalent
Prove that the proof by mathematical induction and the proof by strong induction are equivalent
Give a proof, base the proof on the Determinant of a Vandermonde matrix that the INTERPOLATING...
Give a proof, base the proof on the Determinant of a Vandermonde matrix that the INTERPOLATING POLYNOMIAL exist and its unique.
In the proof of Theorem 4.7 (Euclid’s proof that there are infinitely many primes), the argument...
In the proof of Theorem 4.7 (Euclid’s proof that there are infinitely many primes), the argument uses calculation of a number N. In each case below, suppose for the sake of demonstrating a contradiction, that the given list is the entire list of prime numbers. Calculate N and then factor N into primes to see that you do get a contradiction. (a) 2, 3, 5, 7, 11 (b) 2, 3, 5, 7, 11, 13, 17, 19 (c) 2, 3, 5,...
Read Proposition 1.23, the paragraph between the proposition and its proof, and the proof. a. In...
Read Proposition 1.23, the paragraph between the proposition and its proof, and the proof. a. In your own words, explain the meaning of the two different mathematical ideas of "existence" and "uniqueness". b. How do the ideas of "existence" and "uniqueness" relate to the phrase "one and only one"? c. In your own words, explain why the proof of a "one and only one" statement will have two distinct parts. Prove Proposition 1.26. Proposition 1.26. Let m,n ∈ Z. If...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT