A Tree Logic...
... and an Application for the Analysis of Cascading Style Sheets
Pierre Genevès
CNRS – Tyrex team pierre.geneves@inria.fr
Toccata seminar, LRI – Feb. 22nd, 2013
1 / 27
A Tree Logic... ... and an Application for the Analysis of Cascading - - PowerPoint PPT Presentation
A Tree Logic... ... and an Application for the Analysis of Cascading Style Sheets Pierre Genevs CNRS Tyrex team pierre.geneves@inria.fr Toccata seminar, LRI Feb. 22 nd , 2013 1 / 27 Outline 1 Insights on the L Tree Logic 2
CNRS – Tyrex team pierre.geneves@inria.fr
1 / 27
1 Insights on the Lµ Tree Logic 2 Overview of Perspectives and Applications 3 Zoom on the Analysis of CSS 2 / 27
1 2 3 1 2 3
3 / 27
4 / 27
5 / 27
5 / 27
5 / 27
5 / 27
ϕ
ϕ∧ψ
6 / 27
Finite trees Infinite structures
7 / 27
8 / 27
1 ⊤ 2 ⊤
a b σ 1 ϕ 2 ϕ
¬
9 / 27
10 / 27
10 / 27
10 / 27
10 / 27
10 / 27
10 / 27
α ϕ
10 / 27
10 / 27
11 / 27
12 / 27
Expr.: Sat.: Impl.:
MSO Non-elementary MONA
? (<MSO) EXPTIME ?
FO EXPTIME ?
MSO EXPTIME ?
forward + backward (for finite trees) MSO 2O(n) Lµ Solver
13 / 27
14 / 27
self ancestor descendant p r e c e d i n g f
l
i n g following-sibling preceding-sibling child parent
15 / 27
16 / 27
16 / 27
17 / 27
article[author/following-sibling::author/following-sibling::author/following-sibling::author]
article[count(author)>=4]
18 / 27
19 / 27
τ ::= b basic type | τ × τ product type | τ → τ function type | τ ∨ τ union type | ¬τ complement type | empty type | v recursion variable | µv.τ recursive type
20 / 27
1), (d2, d ′ 2), . . .} modelizes a function such that:
i
i = ERR then f di is a type error
21 / 27
22 / 27
23 / 27
24 / 27
?
25 / 27
26 / 27
27 / 27
27 / 27