11. Inductive Proof Flashcards

1
Q

What is the proof pattern for induction on a list?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a well-founded ordering?

A

An ordering of a set such that (for all x) there are no infinite downward chains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a noetherian ordering?

A

An ordering of a set such that (for all x) there are no infinite downward chains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is cut elimination?

A

In the L-system, the cut rule is unnecessary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the sub-formula property?

A

Every cut-free proof only contains formulas which are sub-formulas of the original goal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the cut elimination and sub-formula propertys allow us to do?

A

Complete (possible non-terminating) proof search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What happens when we add the induction rule to L-systems?

A

Cut elimination and sub-formula fails

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two stratergys when you get stuck during induction?

A
  • Generalisation
  • Lemma speculation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is generalisation?

A

Generalizing in order to prove

reverse (append (reverse xs) (Cons x Nil)) = Cons x (reverse (reverse xs))

reverse (append ys (Cons x Nil)) = Cons x (reverse xs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is lemma speculation?

A

Introduce a new lemma to prove the inductive step

The new lemma must also be proved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is distinctness (datatype)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is injectivity (datatype)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the general form of a datatype?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What propertys of datatypes does isabelle provide automatically?

A

distinctness, injectivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the induction rule of inference?

A

fv(Gamma, P) means the set of free variables in Gamma and P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does this do?

A

Ignore assumptions

17
Q

What does this do?

A

Use assumptions, but do not rewrite them

18
Q

What does this do?

A

Rewrite assumps, don’t use them