HF Sets in Constructive Type Theory
Gert Smolka and Kathrin Stark
Interactive Theorem Proving, Nancy, August 24, 2016
computer science
HF Sets in Constructive Type Theory Gert Smolka and Kathrin Stark - - PowerPoint PPT Presentation
HF Sets in Constructive Type Theory Gert Smolka and Kathrin Stark Interactive Theorem Proving, Nancy, August 24, 2016 saarland university computer science saarland university computer science A minimal computational axiomatization of HF
Interactive Theorem Proving, Nancy, August 24, 2016
computer science
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 2 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 3 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 4 / 19
computer science
saarland
university
1950 1975 2000
Ackermann (1937) Givant, Tarski (1977) Takahashi (1977) Previale (1994) Świerczkowski (1994) Kirby (2009)
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 5 / 19
computer science
saarland
university
1950 1975 2000
Ackermann (1937) Givant, Tarski (1977) Takahashi (1977) Previale (1994) Świerczkowski (1994) Kirby (2009)
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 5 / 19
a x a.x
computer science
saarland
university
1950 1975 2000
Ackermann (1937) Givant, Tarski (1977) Takahashi (1977) Previale (1994) Świerczkowski (1994) Kirby (2009)
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 5 / 19
intuitionistic
computer science
saarland
university
1950 1975 2000
Ackermann (1937) Givant, Tarski (1977) Takahashi (1977) Previale (1994) Świerczkowski (1994) Kirby (2009)
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 5 / 19
membership not as primitive
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 6 / 19
computer science
saarland
university
1 Constants: hf, ∅, a.x
2 A characterization of equality
3 A strong induction principle
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 7 / 19
computer science
saarland
university
π1 ∅ = None π1 (a.x) = Some a
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 8 / 19
computer science
saarland
university
1 Recursive Specification
2 Membership Specification
1 Membership Specification
2 Recursive Specification
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 8 / 19
computer science
saarland
university
1 Membership
2 Recursion equations 3 Decidability of equality: dep. on extensionality 4 Extensionality: dep. on decidability of equality
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 9 / 19
computer science
saarland
university
dec (x ∈ y) dec (y ∈ x) dec (x ⊆ y) dec (y ⊆ x) Extensionality
x ⊆ y → y ⊆ x → x = y
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 10 / 19
computer science
saarland
university
dec (a.x ∈ b.y) dec (b.y ∈ a.x) dec (a.x ⊆ b.y) dec (b.y ⊆ a.x) Extensionality
a.x ⊆ b.y → b.y ⊆ a.x → a.x = b.y
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 10 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 11 / 19
computer science
saarland
university
∅ a
. . .b . . . c . . .
{a, b, c,}
b
. . . a . . . c . . .
{b, a, c}
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 12 / 19
computer science
saarland
university
∅ a
. . .b . . . c . . .
≈
{a, b, c,}
≈
b
. . . a . . . c . . .
{b, a, c} σ
1 An inductive type representing the tree structure:
2 An equivalence relation ≈: T → T → Prop 3 An idempotent normalizer σ : T → T s.t.
4 Construct a subtype X of T only containing normalized trees.
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 12 / 19
computer science
saarland
university
1 s.s.t ≈ s.t 2 s.t.u ≈ t.u → s ≈ t ∨ s.u ≈ u
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 13 / 19
computer science
saarland
university
1 σ (σ s) = σ s 2 s ≈ t ↔ σs = σt
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 14 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 15 / 19
computer science
saarland
university
?
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 16 / 19
f : X → Y homomorphism: f ∅ = ∅ f (a.x) = (f a).(f x)
computer science
saarland
university
homomorphism + bijection + greatest bisimulation
1 Totality ∀x. Σy. R x y. 2 Functionality R x y → R x y′ → y = y′
◮ Simulation R x y → a ∈ x → ∃ b.b ∈ y ∧ R a b
3 f homomorphism ⇒ R x (f x) 4 All homomorphisms between HF structures are equivalent. 5 All HF structures are isomorphic.
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 16 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 17 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 18 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 18 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 18 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 18 / 19
computer science
saarland
university
Gert Smolka and Kathrin Stark HF Sets in Constructive Type Theory ITP 2016 19 / 19