24.04.2013 Views

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 2. BACKGROUND AND RELATED WORK 29<br />

[φ]<br />

ψ<br />

(⇒-I)<br />

φ ⇒ ψ<br />

φ ⇒ ψ φ<br />

(⇒-E)<br />

ψ<br />

(Î-I)<br />

φ<br />

x.φ<br />

<br />

x.φ<br />

(Î-E)<br />

φ[b/x]<br />

Figure 2.4: Isabelle meta-logic inference rules<br />

The power <strong>of</strong> Isabelle lies in the ability to use the meta-logic to represent the inference<br />

rules <strong>of</strong> other logics. Object logics are formalised by extending Isabelle’s meta-logic <strong>with</strong><br />

types, constants and axioms. The natural deduction rules <strong>of</strong> object logics are represented by<br />

meta-level axioms. For example, the rules for introduction and elimination <strong>of</strong> the logical and<br />

operation in first order logic can be expressed as:<br />

P Q<br />

(∧-I)<br />

P ∧ Q<br />

P ∧ Q<br />

(∧-E1)<br />

P<br />

P ∧ Q<br />

(∧-E2)<br />

Q<br />

Declared as axioms in the Isabelle meta-logic these inference rules can be described by:<br />

P ; Q =⇒ P ∧ Q<br />

P ∧ Q =⇒ P<br />

P ∧ Q =⇒ Q<br />

Where the nested implication φ1 =⇒ (· · · φn =⇒ ψ) can be abbreviated as φ1 ; . . . ; φn =⇒ ψ<br />

which allows the easy expression <strong>of</strong> a rule <strong>with</strong> n premises. The syntactic resemblance<br />

between the meta-level axioms and the original inference rules is a happy coincidence arising<br />

from the similarities <strong>of</strong> the logic being represented to the meta-logic. In general, Isabelle<br />

possesses sophisticated mechanisms for supporting object logics <strong>with</strong> syntax independent<br />

from the meta-logic through syntax declarations and transformation rules which can be used<br />

to rewrite parsed abstract syntax trees.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!