PROOFS

0.0(0)
Studied by 2 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:53 PM on 9/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

8 Terms

1
New cards

Types of proofs for problems, objects, statements,...

knowt flashcard image
2
New cards

Proof types for algos

knowt flashcard image
3
New cards

Induction Proofs

When applicable?

When the statement involves discrete structures, numbers, words, etc., and the statement can be derived from the statement for a smaller structure.

4
New cards

Existence Proofs

Prove that object X exists. Refute that object X does not exist.: Example!!! or construction method (with its own correctness proof)

Prove that object X does not exist. Refute that object X exists.: An example of an object Y ̸= X is not sufficient! Similarly, it is not enough that a specific algorithm does not yield the desired result

5
New cards

Proof by contradiction

When the opposite assumption is easy to refute. Typical applications:

Uniqueness proofs, existence proofs, correctness proofs.

6
New cards

Runtime Proofs

To determine the runtime of non-recursive algorithms, it is sufficient to sum up

the number of elementary instructions, where the number of instructions in

loops is multiplied by the number of loop iterations.

For recursive algorithms, the recursive runtime formula is established and

analyzed.

7
New cards

Correctness Proofs

The goal is usually to show that a given algorithm always delivers the desired

result on any input.

Here, it is not enough to provide a successful example!

Classical approaches are identifying + inductive proving of loop invariants in

round-based algorithms or also proof by contradiction (assumption: algorithm

does not deliver correct result).

8
New cards

Quality Proofs

Here, the goal is to show that an APX algorithm delivers a result that is

guaranteed to be only a limited distance from the optimum.

The approach usually consists of finding one or more bounds for the optimum

and relating the bounds to the APX solution.