7. Representation II Locales in Isabelle/HOL Flashcards

1
Q

Why are definitional extensions preferred over axiomatic extensions?

A

Axiomatization can introduce inconsistency

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

Why locales?

A

Encapsulates axioms locally in a sound way.

Within the locale you can use the assumptions as if they are axioms

Outside the locale (when it is instanciated with concrete types) you must discarge these assumptions.

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

How do you define parameters in a locale?

A

fixes …

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

How do you define assumptions in a locale?

A

assumes … and … and …

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

What is the format of a locale?

A

locale name =

fixes …

assumes …

and …

begin

lemma foo ….

theorem bar …

end

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

How do you extend a locale?

A

locale name = other_locale +

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