SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Downloaden Sie, um offline zu lesen
Application of Boolean pre-algebras to the foundations
of Computer Science
Marcelo Pereira Novaes
Departamento de Ciˆencia da Computa¸c˜ao
Universidade Federal da Bahia
TCC - Salvador, 2016
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 1 / 46
Outline
1 Motivation
2 Conclusion (Chpt. 7)
3 Mathematical Logic Background (Chpt. 2)
Classical Propositional Logic and Setential Calculus with Identity
Setential Calculus with Identity (SCI)
4 Boolean pre-algebras (Chpt. 3)
Equivalence between SCI-models and Boolean pre-algebras
5 Applications (Chpt. 4,5 and 6)
Modal Logic
PI in terms of SE
PI and SE independents
Truth Theory
Logic with Quantifiers and Epistemic Logic
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 2 / 46
Motivation
Context
Regarding Logic, need for a high expressiveness and generalization in
a logic system
Regarding Linguistics, attempts to model the Natural Language
Boolean pre-algebras have been used already as semantic
representation on Hyperintensional field (not the focus)
Recent equivalence between Boolean pre-algebras and SCI-models
(Non-Fregean Logic models)
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 3 / 46
Motivation
Central Research Problem
Example
ϕ := ”Salvador is the capital of Bahia”
ψ := ”The age of majority in Brazil is 18”
In Classical Propositional Logic
Both formulas represent the same proposition: True.
Semantic can be represented as a two-element Boolean algebra
In other words, a formula can denote {True,False} or {1,0}, etc...
In Non-Fregean Logic
ϕ and ψ could denote different propositions.
ϕ and ψ would have the same truth-value (e.g. ϕ, ψ ∈ TRUE)
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 4 / 46
Motivation
Central Research Problem
Example
ϕ :=”In 2010, Salvador had a population of about 2,6 million”
ψ := ”In 2010, the capital of Bahia had a population of about 2,6 million”
Example
ϕ := ”I’m going with you and him”
ψ := ”I’m going with him and you”
Need to express intensions
In non-Fregean Logic
(ϕ ↔ ψ) → (ϕ ≡ ψ) is not valid (Frege Axiom).
(ϕ ≡ ψ) → (ϕ ↔ ψ) is valid.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 5 / 46
Motivation
Graphic representation
Figure: Classical Logic
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 6 / 46
Motivation
Graphic representation
Figure: Modal Logic
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 7 / 46
Motivation
Graphic representation
Figure: Truth-theory
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 8 / 46
Motivation
Graphic representation
Figure: Epistemic Logic
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 9 / 46
Motivation
Objective
Show the high expressiveness and some applications of Boolean
pre-algebra as a semantic representation.
Specifically,
Detail some results in the literature:
Equivalence between Boolean pre-algebras and SCI-models
SCI-completeness
Show applications in Modal Logic, Semantically-closed Logic, Logic
with Quantifiers and Epistemic Logic.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 10 / 46
Conclusion (Chpt. 7)
Summary
The Boolean pre-algebras have an interesting role on Computer
Science foundations as a semantic representation to many logical
systems.
Motivation and a consistent definition were provided
There are some important applications for Boolean pre-algebras such
as on Modal Logic, Truth-theory, Logic with Quantifiers and
Epistemic Logic.
Contributions were done: they were detailed SCI completeness,
ALTs-IDs equivalence, SCI-model - pre-Boolean algebra equivalence
and it was constructed a true truth-teller model.
Outlook
Some models were introduced as SCI-model notation, even though they
are equivalent, it should be in Boolean pre-algebras.
Did not discussed about drawbacks of structured propositions and
non-Fregean Logic semantic arguments such as the “Slingshot
argument”.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 11 / 46
Conclusion
Future proposals
Construct some models for the Epistemic Logic K
Approach other logical systems such as Intuitionistic Logic, which
semantic is designed as Heyting Algebras.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 12 / 46
Setential Calculus
Language Syntax
Definition.
Let Fm be the set of formulas, it is the smallest set such as
(i) V ∪ { , ⊥} ⊆ Fm
(ii) If ϕ, ψ ∈ Fm, so ¬ϕ, (ϕ → ψ), (ϕ ∧ ψ), (ϕ ∨ ψ), (ϕ ↔ ψ) ∈ Fm. Being
the connective basis {¬, →} : and the following abbreviations:
:= x0 → x0; ⊥ := ¬ ; ϕ ∧ ψ := ¬(ϕ → ¬ψ); ϕ ∨ ψ := ¬ϕ → ψ;
ϕ ↔ ψ := (ψ → ψ) ∧ (ψ → ϕ)
(iii) The precedence of operators follow the order: ¬, ∨ and ∧, →, ↔,
where → is right-associated while the others are left-associated, for ↔ it
can be any of them.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 13 / 46
Setential Calculus
Deductive System
Axioms
A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ))
A2. ϕ → (ψ → ϕ)
A3. ¬ϕ → (ϕ → ψ)
A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ
Inference Rules
(MP) Modus Ponens
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 14 / 46
Setential Calculus
Semantic
Definition. Propositional Domain
A propositional domain can be defined as M = (M, f , f⊥, f¬, f→, Γ),
where M = {f , f⊥} is the universe of propositions and f¬, f→, operations
with arity: 1, 2, 2 respectively. We can see f and f⊥ also as operations
with arity 0.
Definition. Valuation Γ
A valuation Γ : C → M is a function which satisfies: Γ(⊥) = f⊥; Γ( ) = f
Definition. Assigment γ
An assignment is a function γ : V → M such that for all ϕ, ψ ∈ V , holds:
f¬(γ(ϕ)); γ(ϕ → ψ) = f→(γ(ϕ), γ(ψ));
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 15 / 46
Setential Calculus
Semantic
Definition. Model
Let a valuation v ∈ 2V , a formula ϕ ∈ Fm and a set of formulas Φ ∈ Fm
γ is a model of ϕ (γ satisfies ϕ), notation γ |= ϕ, if
γ(ϕ) = 1 [(M, γ) |= ϕ].
γ is a model of Φ (γ satisfies Φ), notation γ |= ψ, if γ |= ψ, for every
ψ ∈ Φ.
Definition. Logic Consequence
Φ ϕ : ⇐⇒ Mod(Φ) ⊆ Mod({ϕ}), where for any set Ψ,
Mod(Ψ) := {v ∈ 2V |v |= Ψ}
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 16 / 46
Setential Calculus with Identity (SCI)
Propositional Identity
We can see it as a generalization of the Classical Propositional Logic
New operator ≡, called Propositional Identity (PI).
ϕ ≡ ψ means ϕ and ψ have the same denotation (also called
“situation”).
It is defined as ϕ ≡ ψ : ⇐⇒ ϕ = ψ. For logic with quantifiers, the
definition is extended to ϕ ≡ ψ ⇐⇒ ϕ =α ψ, where α is the so
called α-congruence.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 17 / 46
Setential Calculus with Identity (SCI)
Language Syntax
Definition.
Let Fm be the set of formulas, it is the smallest set such as
(i) V ∪ { , ⊥} ⊆ Fm
(ii) If ϕ, ψ ∈ Fm, so ¬ϕ, (ϕ → ψ), (ϕ ≡ ψ), (ϕ ∧ ψ), (ϕ ∨ ψ),
(ϕ ↔ ψ) ∈ Fm. Being the connective basis {¬, →, ≡} : and the following
abbreviations: := x0 → x0; ⊥ := ¬ ; ϕ ∧ ψ := ¬(ϕ → ¬ψ);
ϕ ∨ ψ := ¬ϕ → ψ; ϕ ↔ ψ := (ψ → ψ) ∧ (ψ → ϕ)
(iii) The precedence of operators follow the order: ¬, ∨ and ∧, →, ↔,
where → is right-associated while the others are left-associated, for ↔ it
can be any of them.
Introducing {∧, ∨, ↔} as new operators, we extend the propositional
domain. The greater will be the granularity of the propositions.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 18 / 46
Setential Calculus with Identity (SCI)
Deductive System - Original Approach
TFA’s: Truth Functional Axioms
A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ))
A2. ϕ → (ψ → ϕ)
A3. ¬ϕ → (ϕ → ψ)
A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ
IDA’s: Identity Axioms
(ID1) ϕ ≡ ϕ
(ID2) ϕ ≡ ψ → ¬ϕ ≡ ¬ψ
(ID3) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 → ϕ2) ≡ (ψ1 → ψ2))
(ID4) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 ≡ ϕ2) ≡ (ψ1 ≡ ψ2))
Inference Rules
(MP) Modus Ponens
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 19 / 46
Setential Calculus with Identity (SCI)
Deductive System - Alternative Approach
TFA’s: Truth Functional Axioms
A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ))
A2. ϕ → (ψ → ϕ)
A3. ¬ϕ → (ϕ → ψ)
A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ
ALT’s: Alternative Axioms for IDA’s
(ALT1) ϕ ≡ ϕ,
(ALT2) (ϕ ≡ ψ) → (ϕ → ψ), leads to (ϕ ≡ ψ) → (ϕ ↔ ψ)
(ALT3) (ψ ≡ ψ ) → (ϕ[x := ψ] ≡ ϕ[x := ψ ])
Inference Rules
(MP) Modus Ponens
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 20 / 46
Setential Calculus with Identity (SCI)
Semantic
Definition. Propositional Domain
A propositional domain can be defined as M = (M, f⊥, f , f¬, f→, f≡, Γ),
where M is the universe of propositions and f⊥, f , f¬, f→, f≡, operations
with arity: 0, 0, 1, 2, 2 respectively.
Definition. Valuation Γ
A valuation Γ : C → M is a function which satisfies:
Γ(c) = fc; Γ(⊥) = f⊥; Γ( ) = f ; where fc is the proposition referent to
the constant c.
Definition. Assigment γ
An assignment is a function γ : V → M such that for all ϕ, ψ ∈ V , holds:
γ(x) = fx , being fx a proposition on M correspondent to the variable x;
f¬(γ(ϕ)); γ(ϕ → ψ) = f→(γ(ϕ), γ(ψ)); γ(ϕ ≡ ψ) = f≡(γ(ϕ), γ(ψ))
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 21 / 46
Setential Calculus with Identity (SCI)
Semantic
Definition. Valuation γ
A valuation γ : Fm(C) → M, such that:
γ( ) = Γ( ) = f ; γ(⊥) = Γ(⊥) = f⊥; γ(c) = Γ(c) and for the variables,
it follows the previous definition.
Definition. Proposition
A proposition is a denotation γ(ϕ) ∈ M of a formula ϕ under valuation γ.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 22 / 46
Setential Calculus with Identity (SCI)
Semantic
Definition. SCI-model
Let TRUE and FALSE sets such that M = TRUE ∪ FALSE and
TRUE ∩ FALSE = ∅. Then, M = (M, f⊥, f , f¬, f→, f≡, Γ) is a SCI-model
if it satisfies:
(i): f ∈ TRUE, f⊥ ∈ FALSE
(ii): f¬(a) ∈ TRUE ⇐⇒ a ∈ FALSE
(iii): f→(a, b) ∈ TRUE ⇐⇒ a ∈ FALSE or b ∈ TRUE
(iv): f≡(a, b) ∈ TRUE ⇐⇒ a = b
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 23 / 46
Setential Calculus with Identity (SCI)
Explicit and Implicit Models
Definition. Extension of a formula
An extension of a formula is the equivalence class ϕ = {ϕ ≡ ψ}.
Definition. Intension of a formula
An intension of a formula is its syntax representation.
Result. SCI-model classification
SCI-models can be one of two types: Intensional or Extensional.
On extensional models, (M, γ) |= ϕ ≡ ψ ⇐⇒ ϕ ↔ ψ
On intensional models, (M, γ) |= ϕ ≡ ψ ⇐⇒ ϕ = ψ.
On Intensional models, extension and intension of a sentence can be put
always in a 1-1 relationship. On Extensional models there is no always 1-1
relationship.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 24 / 46
Equivalence between IDA and ALT axioms
Shown equivalence:
IDA
(ID1) ϕ ≡ ϕ
(ID2) ϕ ≡ ψ → ¬ϕ ≡ ¬ψ
(ID3) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 → ϕ2) ≡ (ψ1 → ψ2))
(ID4) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 ≡ ϕ2) ≡ (ψ1 ≡ ψ2))
ALT
(ALT1) ϕ ≡ ϕ,
(ALT2) (ϕ ≡ ψ) → (ϕ → ψ)
(ALT3) (ψ ≡ ψ ) → (ϕ[x := ψ] ≡ ϕ[x := ψ ])
Shown Strong Completeness:
Correctness: Φ ϕ ⇒ Φ ϕ
Completeness: Φ ϕ ⇒ Φ ϕ. Factorization by
a ≈ b ⇐⇒ f≡(a, b) ∈ TRUE
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 25 / 46
Boolean pre-algebras (Chpt. 3)
Algebraic Semantic - Support definitions
George Boole and the beginning of the Algebraic representation
Structured propositions vs Relational semantic
Definition. A pre-order ≤ is a binary relation defined over a set which for
any a,b,c elements, it is valid:
a ≤ a (Reflexivity)
If a ≤ b and b ≤ c, then a ≤ c (Transitivity)
Definition. A pre-ordered set is the pair (S, ≤), where S is a set and ≤ a
preorder over it.
Definition. A partially ordered set is the pair (S, ≤), where S is a set and
≤ a partial order (antisymmetric pre-order). An antisymmetric relation on
a set can be defined as for all a,b elements: a ≤ b and b ≤ a ⇒ a = b.
Definition. A lattice is a partially-ordered set which each two elements
have a unique supremum ( ) and a unique infimum (⊥).
Definition. A Boolean lattice (Boolean algebra) is a distributive
complemented lattice. (Satisfies a ≤ b ⇐⇒ f→(a, b) = f )
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 26 / 46
Boolean pre-algebras (Chpt. 3)
Definition
Let the structure Ψ = (M, f , f⊥, f¬, f∨, f∧, f , ≤Ψ) which
1. M is the universe
2. f , f⊥, f¬, f∨, f∧, f→ are functions on M → M (operations on M) with
arity 0,0,1,2,2,2 respectively.
3. ≤Ψ on M is a pre-order.
Definition. It is a Boolean pre-algebra if:
a ≈Ψ b : ⇐⇒ a ≤Ψ b and b ≤Ψ a is a congruence relation on M and the
quotient algebra of Ψ/≈Ψ
= (M/≈Ψ
, f , f ⊥, f ¬, f ∨, f ∧, f , ≤M/≈Ψ
) is a
Boolean algebra with lattice order ≤Ψ/≈Ψ
such that:
a ≤Ψ/≈Ψ
b ⇐⇒ a ≤Ψ b and f , f ⊥, f ¬, f ∨, f ∧, f are induced operations
for supremum, infimum elements, complement and implication respectively
on the set of congruence classes ∈ Ψ/M
.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 27 / 46
Boolean pre-algebras (Chpt. 3)
Ultrafilters
Definition. A filter F with respect to ≤Ψ in a Boolean pre-algebra Ψ is a
non-empty subset F ⊆ M, s.t. for all a,b ∈ M the filter axioms holds:
(i) if a ∈ F and a ≤Ψ b, then b ∈ F
(ii) if a,b ∈ F, then f∧(a, b) ∈ F
(iii) f ⊥ /∈ F
An ultrafilter w.r.t. ≤Ψ is a maximal filter w.r.t. ≤Ψ. In this context, it
can be also called prime filter.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 28 / 46
Boolean pre-algebras (Chpt. 3)
Equivalence between SCI-models and Boolean pre-algebras
Let Ψ = (M, ≤Ψ, f⊥, f , f∧, f∨, f→, f→) a Boolean pre-lattice with a
preordered set (≤Ψ, M) and induced operations infimum (f⊥), supremum
(f ), complement (f¬), join (f∨), meet (f∧) and implication (f→).
M = (M, TRUE, f⊥, f , f∧, f∨, f→, f≡) a SCI-model.
We want to show that Ψ and M are equivalent. It is done in two parts.
First, proving a supporting lemma, then proving the desired statement.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 29 / 46
Boolean pre-algebras (Chpt. 3)
Equivalence between SCI-models and Boolean pre-algebras
Part I: Supporting Lemma
Let Ψ a Boolean pre-lattice with preorder (so it will be valid for
partial and total orders) ≤Ψ and F a filter w.r.t. ≤Ψ. The following
conditions are equivalents:
(i) a ≤Ψ b ⇐⇒ f→(a, b) ∈ F, for all a, b ∈ M
(ii) F = {a ∈ M| a ≈Ψ f }
(iii) F is the smallest filter. It is the intersection of all (ultra)filters
with regard to ≤Ψ.
Part II: Equivalence
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 30 / 46
Modal Logic
Introduction
“modality is any word or phrase that can be applied to a given
statement S to create a new statement that makes an assertion about
the mode of the truth of S: about when, where or how S is true, or
about the circumstances under which S may be true.”
Two most common modalities: “possibility” (♦) and “necessity” ( )
Boolean (pre)algebras, (Hyper)intensions and Possible Worlds
semantics
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 31 / 46
Modal LogicModal LogicPI in terms of SE - Deductive System Syntax:
Similar to Classical Propositional Logic, it introduces
Definition: ϕ ≡ ψ := (ψ ↔ ψ)
Axioms:
(i) TFA’s tautologies
Lewis modal logic S3:
(ii) ϕ → ϕ)
(iii) (ϕ → ψ) → ( ϕ → ψ)
(iv) (ϕ → ψ) → ( ϕ → ψ)
Inference Rules: Modus Ponens and Axiom of Necessitation
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 32 / 46
Modal Logic
PI in terms of SE - Semantic
A S3 model can be defined as the Boolean algebra:
Ψ = (M, f⊥, f , f¬, f∧, f∨, f ) where (M,≤) is a preordered set, M is a
non-empty set of prepositions and ≤ is the lattice order, operations
complement (f¬), meet (f∧), join (f∨), bound elements infimum (f ) and
supremum (f⊥) and with a ultrafilter TRUE ⊆ M with regard to ≤ (the
set of true propositions) and induced unary operation f , satisfying mainly
for all a,b,c ∈ M:
(i) f ∈ TRUE, f⊥ /∈ TRUE
(ii)f¬(a) ∈ TRUE ⇐⇒ a /∈ TRUE
(iii)f→(a, b) ∈ TRUE ⇐⇒ a /∈ TRUE or b ∈ TRUE. It also satisfy
conditions for the other operators
(iv) f (a) ∈ TRUE ⇐⇒ a = f
(v) f (a) ≤ a
(iv) f (f→(a, b)) ≤ f→(f (a), f (b))
(vi) f (f→(a, b)) ≤ f (f→(f (a), f (b)))
It also satisfy Boolean algebra properties such as f→(a, b) = f .
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 33 / 46
Modal Logic
PI and SE independents - Deductive System
Syntax: Similar to SCI, it introduces
Axioms: (i) TFA’s tautologies
Lewis modal logicS3:
(ii) ϕ → ϕ)
(iii) (ϕ → ψ) → ( ϕ → ψ)
(iv) (ϕ → ψ) → ( ϕ → ψ)
(v) IDA’s tautologies
Inference Rules: Modus Ponens and Axiom of Necessitation (AN
application limited to (i)-(iv)).
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 34 / 46
Modal Logic
PI and SE independents - Semantic
Model
Ψ = (M, TRUE, NEC, f⊥, f , f , f¬, f∨, f∧, f→, f≡, Γ), where
1. M is a non-empty set of propositions.
2. TRUE ⊆ M is a set of true propositions
3. NEC ⊆ set of necessary propositions
4. f⊥, f , f , f¬, f∨, f∧, f→, f≡, functions with arity (operations of type)
0,0,1,1,2,2,2,2 respectively.
5. Γ : C → M is a function Gamma, satisfying Γ( ) = f , Γ(⊥) = f⊥.
It will satisfy also semantic conditions on SCI
A model can be seen as a Boolean pre-algebra.
(PI refines SE) Lemma. (ϕ ≡ ψ) → (ϕ ↔ ψ)
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 35 / 46
Modal Logic
Hyperintensions
Granularity Problem: (1) anti-symetric entailment; (2) handle the
existence of non-principal ultrafilters.
(1) problem: makes Frege Axiom true, reducing values of denotation of a
formula to its truth-value.
(2) problem: makes sentences that follow from each other have the same
meaning.
(1) solution: consider a pre-algebra. (2) solution: change approach from
(Kripke, 1963) back to (Kripke, 1959), called Soft Actualism: primitive
worlds and constructed propositions to primitive propositions and
constructed worlds (ultrafilters).
By (1) + (2) solutions it is constructed a high-order logic with subtypes
that solve the granularity problem.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 36 / 46
Truth Theory
Motivation
In a highly expressive language, as the Natural Language, we have the
power to, for example:
1. Make references about the truth of propositions (or statements)
Example
What Foo meant to say is not true. (That Foo’s statement is not true)
2. Make inferences about the own statement
Example
What Foo stated is exactly the opposite of what Bar stated. (Foo’s
statement is the opposite of the Bar’s statement)
3. Make statements as a composition of them
Example
I’m saying the truth right now. (informal Truth-teller)
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 37 / 46
Truth Theory
Motivation
A language strong enough to express the self-reference, a truth-predicate
(true)and use of negation, can lead us to contradictions.
Example
I’m lying right now. (Liar Paradox)
Two main ways to approach them:
Do not permit self-reference and truth-predicates
Handle paradoxes
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 38 / 46
Truth Theory
Study
Origins
Precursor, PhD. Thesis (Strater, 1992) at TU Berlin.
Later developed by (Zeitz, 2000)
Recently developed by (Lewitzka, 2012)
Relationship between Liar and Theory of Computation results
Godel First Incompleteness Theorem
Tarski’s Undefinability Theorem
An elegant way to handle paradoxes. No sentence can denote a the
liar statement. The liar does not exist.
We can express equations that cannot be satisfied by any model
i2
= −1, in a more formal way: (i ∈ R s.t. f∗(i, i) = f−(0, 1))
The Liar: c ≡ Fc. There is no model which satisfies this equation.
Suppose there exist a model which satisfies it.
By Fc constructive definition for a model (we will see it next),
c ∈ TRUE =⇒ Fc ∈ FALSE. In the same way c ∈ FALSE, Fc ∈ TRUE.
By definition TRUE ∩ FALSE = ∅. Contradiction.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 39 / 46
Truth-theory
Syntax
Similar to SCI, it introduces T and F
Let V a set of variables, C a set of constants containing the usual and
⊥. Then, let Fm(C)’ be the smallest set of formulas with V,C and closed
on: if ϕ and ψ are expressions, then (Tϕ), (Fϕ), (ϕ → ψ),(¬ϕ), (ϕ ≡ ψ).
The usual abbreviations hold.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 40 / 46
Truth-theory
Syntax
Some translations to the new syntax.
Example
“This statement is false.”⇒ c ≡ Fc
“This statement is true.” ⇒ c ≡ Tc
“The next statement is true”. ⇒ (1) c ≡ Td (2) d ≡ ϕ.
“This previous statement is not true.” ⇒ c ≡ ϕ d ≡ Tc.
“This statement is false or ϕ is true.” ⇒ c ≡ (Fc ∨ Tϕ).
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 41 / 46
Truth-theory
Deductive System
Axioms:
(i) TFA’s tautologies
(ii) IDA’s tautologies
(iii) Truth-predicate axioms:
(iii.1)ϕ → (Tϕ) and (Tϕ) → ϕ
(iii.2)¬ϕ → (Fϕ) and (Fϕ) → ϕ
Inference Rules: Modus Ponens.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 42 / 46
Truth-theory
Semantic
Propositional Domain
A T algebra (propositional domain) M = (M, f¬, f→, f≡, fT, fF ), where M
is the universe of propositions and f¬, f→, f≡, fT, fF , operations with arity:
1, 2, 2, 1, 1 respectively.
Model
Definition. Let TRUE and FALSE sets such that M = TRUE ∪ FALSE.
Then, M = (M, TRUE, f¬, f→, f≡, fT, fF , FALSE, Γ) is a model if it satisfies
the SCI-model truth-conditions plus:
(i): fT(a) ∈ TRUE ⇐⇒ a ∈ TRUE
(ii): fF (a) ∈ TRUE ⇐⇒ a ∈ FALSE
A model for c ≡ Tc, where c ∈ TRUE was constructed.
Γ now also maps Γ(c) = fc
γ also maps γ(Tϕ) = fT(γ(ϕ)); γ(Fϕ) = fF (γ(ϕ))
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 43 / 46
Logic with Quantifiers and Epistemic Logic
Epistemic Logic
Propositions are now objects of knowledge, if Ki ϕ is true, than ϕ
denotes a true proposition (statement) that is known by the agent i.
TRUE is the set of facts
TRUEi is the set of facts known by the agent i.
Let KNOWN = ∪TRUEi , for all i agents. It is the set of all the facts
known. KNOWN ⊆ TRUE and usually expected: KNOWN ⊂ TRUE.
It is introduced the concept of a group of agents.
There are facts known by a group of agents. Every agent in the group
knows the group facts. Furthermore, every agent knows that the
others agents know it, and so on.
It is introduced the notion of Common Knowledge, a common
knowledge among all the agents that satisfies some closure properties.
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 44 / 46
Logic with Quantifiers and Epistemic Logic
Epistemic Logic
Logic with quantifiers
Similar to SCI, introduction of quantifier operators, e.g. ∀
Introduction of axioms regarding these new operators in the deductive
system
Semantically, they are mapped to high order functions, e.g. ∀ is
mapped to f∀ : MM → M
Examples
On Epistemic Logic: ∀x.(Ki x → x)
On Truth-theory: ∀x(Tx ↔ x)
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 45 / 46
Questions
Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 46 / 46

Weitere ähnliche Inhalte

Was ist angesagt?

Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesValeria de Paiva
 
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013Christian Robert
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Learning for Optimization: EDAs, probabilistic modelling, or ...
Learning for Optimization: EDAs, probabilistic modelling, or ...Learning for Optimization: EDAs, probabilistic modelling, or ...
Learning for Optimization: EDAs, probabilistic modelling, or ...butest
 
Computational Paths and the Calculation of Fundamental Groups
Computational Paths and the Calculation of Fundamental GroupsComputational Paths and the Calculation of Fundamental Groups
Computational Paths and the Calculation of Fundamental GroupsRuy De Queiroz
 
"PAC Learning - a discussion on the original paper by Valiant" presentation @...
"PAC Learning - a discussion on the original paper by Valiant" presentation @..."PAC Learning - a discussion on the original paper by Valiant" presentation @...
"PAC Learning - a discussion on the original paper by Valiant" presentation @...Adrian Florea
 
Reliable ABC model choice via random forests
Reliable ABC model choice via random forestsReliable ABC model choice via random forests
Reliable ABC model choice via random forestsChristian Robert
 
(Approximate) Bayesian computation as a new empirical Bayes (something)?
(Approximate) Bayesian computation as a new empirical Bayes (something)?(Approximate) Bayesian computation as a new empirical Bayes (something)?
(Approximate) Bayesian computation as a new empirical Bayes (something)?Christian Robert
 
A short introduction to statistical learning
A short introduction to statistical learningA short introduction to statistical learning
A short introduction to statistical learningtuxette
 
Exponentialentropyonintuitionisticfuzzysets (1)
Exponentialentropyonintuitionisticfuzzysets (1)Exponentialentropyonintuitionisticfuzzysets (1)
Exponentialentropyonintuitionisticfuzzysets (1)Dr. Hari Arora
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet AllocationMarco Righini
 
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013Christian Robert
 
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.Anirbit Mukherjee
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic rankingFELIX75
 
Propositional Equality, Identity Types and Computational Paths
Propositional Equality, Identity Types and Computational PathsPropositional Equality, Identity Types and Computational Paths
Propositional Equality, Identity Types and Computational PathsRuy De Queiroz
 
Intuition – Based Teaching Mathematics for Engineers
Intuition – Based Teaching Mathematics for EngineersIntuition – Based Teaching Mathematics for Engineers
Intuition – Based Teaching Mathematics for EngineersIDES Editor
 
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...Nao (Naotsugu) Tsuchiya
 
Topic model an introduction
Topic model an introductionTopic model an introduction
Topic model an introductionYueshen Xu
 
FDA and Statistical learning theory
FDA and Statistical learning theoryFDA and Statistical learning theory
FDA and Statistical learning theorytuxette
 

Was ist angesagt? (20)

Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type Theories
 
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013
Discussion of ABC talk by Francesco Pauli, Padova, March 21, 2013
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Learning for Optimization: EDAs, probabilistic modelling, or ...
Learning for Optimization: EDAs, probabilistic modelling, or ...Learning for Optimization: EDAs, probabilistic modelling, or ...
Learning for Optimization: EDAs, probabilistic modelling, or ...
 
Computational Paths and the Calculation of Fundamental Groups
Computational Paths and the Calculation of Fundamental GroupsComputational Paths and the Calculation of Fundamental Groups
Computational Paths and the Calculation of Fundamental Groups
 
"PAC Learning - a discussion on the original paper by Valiant" presentation @...
"PAC Learning - a discussion on the original paper by Valiant" presentation @..."PAC Learning - a discussion on the original paper by Valiant" presentation @...
"PAC Learning - a discussion on the original paper by Valiant" presentation @...
 
Reliable ABC model choice via random forests
Reliable ABC model choice via random forestsReliable ABC model choice via random forests
Reliable ABC model choice via random forests
 
(Approximate) Bayesian computation as a new empirical Bayes (something)?
(Approximate) Bayesian computation as a new empirical Bayes (something)?(Approximate) Bayesian computation as a new empirical Bayes (something)?
(Approximate) Bayesian computation as a new empirical Bayes (something)?
 
A short introduction to statistical learning
A short introduction to statistical learningA short introduction to statistical learning
A short introduction to statistical learning
 
Exponentialentropyonintuitionisticfuzzysets (1)
Exponentialentropyonintuitionisticfuzzysets (1)Exponentialentropyonintuitionisticfuzzysets (1)
Exponentialentropyonintuitionisticfuzzysets (1)
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet Allocation
 
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013
Discussion of ABC talk by Stefano Cabras, Padova, March 21, 2013
 
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.
My 2hr+ survey talk at the Vector Institute, on our deep learning theorems.
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic ranking
 
Propositional Equality, Identity Types and Computational Paths
Propositional Equality, Identity Types and Computational PathsPropositional Equality, Identity Types and Computational Paths
Propositional Equality, Identity Types and Computational Paths
 
Intuition – Based Teaching Mathematics for Engineers
Intuition – Based Teaching Mathematics for EngineersIntuition – Based Teaching Mathematics for Engineers
Intuition – Based Teaching Mathematics for Engineers
 
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...
Tsuchiya 18 june 26 assc, 20 HBP, integrated information theory tutorial 1 ha...
 
Topic model an introduction
Topic model an introductionTopic model an introduction
Topic model an introduction
 
FDA and Statistical learning theory
FDA and Statistical learning theoryFDA and Statistical learning theory
FDA and Statistical learning theory
 

Ähnlich wie Application of Boolean pre-algebras to the foundations of Computer Science

original
originaloriginal
originalbutest
 
Naive_hehe.pptx
Naive_hehe.pptxNaive_hehe.pptx
Naive_hehe.pptxMahimMajee
 
Module 4_F.pptx
Module  4_F.pptxModule  4_F.pptx
Module 4_F.pptxSupriyaN21
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfChrisRomany1
 
Computational Paths in Type Theory
Computational Paths in Type TheoryComputational Paths in Type Theory
Computational Paths in Type TheoryRuy De Queiroz
 
PhD_Thesis_slides.pdf
PhD_Thesis_slides.pdfPhD_Thesis_slides.pdf
PhD_Thesis_slides.pdfNiloyBiswas36
 
Tensor-based Models of Natural Language Semantics
Tensor-based Models of Natural Language SemanticsTensor-based Models of Natural Language Semantics
Tensor-based Models of Natural Language SemanticsDimitrios Kartsaklis
 
Elementary Probability and Information Theory
Elementary Probability and Information TheoryElementary Probability and Information Theory
Elementary Probability and Information TheoryKhalidSaghiri2
 
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary StudyOn the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study Andre Freitas
 
Non parametric bayesian learning in discrete data
Non parametric bayesian learning in discrete dataNon parametric bayesian learning in discrete data
Non parametric bayesian learning in discrete dataYueshen Xu
 
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNING
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNINGRECENT ADVANCES in PREDICTIVE (MACHINE) LEARNING
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNINGbutest
 
4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptx4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptxSaitama84
 
-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12Kumari Naveen
 
Regression, Bayesian Learning and Support vector machine
Regression, Bayesian Learning and Support vector machineRegression, Bayesian Learning and Support vector machine
Regression, Bayesian Learning and Support vector machineDr. Radhey Shyam
 

Ähnlich wie Application of Boolean pre-algebras to the foundations of Computer Science (20)

original
originaloriginal
original
 
Naive.pdf
Naive.pdfNaive.pdf
Naive.pdf
 
Naive_hehe.pptx
Naive_hehe.pptxNaive_hehe.pptx
Naive_hehe.pptx
 
Module 4_F.pptx
Module  4_F.pptxModule  4_F.pptx
Module 4_F.pptx
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
 
AI Lesson 26
AI Lesson 26AI Lesson 26
AI Lesson 26
 
Bayes Theorem.pdf
Bayes Theorem.pdfBayes Theorem.pdf
Bayes Theorem.pdf
 
Computational Paths in Type Theory
Computational Paths in Type TheoryComputational Paths in Type Theory
Computational Paths in Type Theory
 
PhD_Thesis_slides.pdf
PhD_Thesis_slides.pdfPhD_Thesis_slides.pdf
PhD_Thesis_slides.pdf
 
F0742328
F0742328F0742328
F0742328
 
Tensor-based Models of Natural Language Semantics
Tensor-based Models of Natural Language SemanticsTensor-based Models of Natural Language Semantics
Tensor-based Models of Natural Language Semantics
 
QMC: Transition Workshop - Selected Highlights from the Probabilistic Numeric...
QMC: Transition Workshop - Selected Highlights from the Probabilistic Numeric...QMC: Transition Workshop - Selected Highlights from the Probabilistic Numeric...
QMC: Transition Workshop - Selected Highlights from the Probabilistic Numeric...
 
Elementary Probability and Information Theory
Elementary Probability and Information TheoryElementary Probability and Information Theory
Elementary Probability and Information Theory
 
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary StudyOn the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
 
Non parametric bayesian learning in discrete data
Non parametric bayesian learning in discrete dataNon parametric bayesian learning in discrete data
Non parametric bayesian learning in discrete data
 
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNING
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNINGRECENT ADVANCES in PREDICTIVE (MACHINE) LEARNING
RECENT ADVANCES in PREDICTIVE (MACHINE) LEARNING
 
4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptx4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptx
 
-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12
 
Regression, Bayesian Learning and Support vector machine
Regression, Bayesian Learning and Support vector machineRegression, Bayesian Learning and Support vector machine
Regression, Bayesian Learning and Support vector machine
 

Kürzlich hochgeladen

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformationAreesha Ahmad
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Introduction to Viruses
Introduction to VirusesIntroduction to Viruses
Introduction to VirusesAreesha Ahmad
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfSumit Kumar yadav
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxSuji236384
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Serviceshivanisharma5244
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flyPRADYUMMAURYA1
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑Damini Dixit
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptxryanrooker
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 

Kürzlich hochgeladen (20)

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Introduction to Viruses
Introduction to VirusesIntroduction to Viruses
Introduction to Viruses
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 

Application of Boolean pre-algebras to the foundations of Computer Science

  • 1. Application of Boolean pre-algebras to the foundations of Computer Science Marcelo Pereira Novaes Departamento de Ciˆencia da Computa¸c˜ao Universidade Federal da Bahia TCC - Salvador, 2016 Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 1 / 46
  • 2. Outline 1 Motivation 2 Conclusion (Chpt. 7) 3 Mathematical Logic Background (Chpt. 2) Classical Propositional Logic and Setential Calculus with Identity Setential Calculus with Identity (SCI) 4 Boolean pre-algebras (Chpt. 3) Equivalence between SCI-models and Boolean pre-algebras 5 Applications (Chpt. 4,5 and 6) Modal Logic PI in terms of SE PI and SE independents Truth Theory Logic with Quantifiers and Epistemic Logic Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 2 / 46
  • 3. Motivation Context Regarding Logic, need for a high expressiveness and generalization in a logic system Regarding Linguistics, attempts to model the Natural Language Boolean pre-algebras have been used already as semantic representation on Hyperintensional field (not the focus) Recent equivalence between Boolean pre-algebras and SCI-models (Non-Fregean Logic models) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 3 / 46
  • 4. Motivation Central Research Problem Example ϕ := ”Salvador is the capital of Bahia” ψ := ”The age of majority in Brazil is 18” In Classical Propositional Logic Both formulas represent the same proposition: True. Semantic can be represented as a two-element Boolean algebra In other words, a formula can denote {True,False} or {1,0}, etc... In Non-Fregean Logic ϕ and ψ could denote different propositions. ϕ and ψ would have the same truth-value (e.g. ϕ, ψ ∈ TRUE) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 4 / 46
  • 5. Motivation Central Research Problem Example ϕ :=”In 2010, Salvador had a population of about 2,6 million” ψ := ”In 2010, the capital of Bahia had a population of about 2,6 million” Example ϕ := ”I’m going with you and him” ψ := ”I’m going with him and you” Need to express intensions In non-Fregean Logic (ϕ ↔ ψ) → (ϕ ≡ ψ) is not valid (Frege Axiom). (ϕ ≡ ψ) → (ϕ ↔ ψ) is valid. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 5 / 46
  • 6. Motivation Graphic representation Figure: Classical Logic Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 6 / 46
  • 7. Motivation Graphic representation Figure: Modal Logic Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 7 / 46
  • 8. Motivation Graphic representation Figure: Truth-theory Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 8 / 46
  • 9. Motivation Graphic representation Figure: Epistemic Logic Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 9 / 46
  • 10. Motivation Objective Show the high expressiveness and some applications of Boolean pre-algebra as a semantic representation. Specifically, Detail some results in the literature: Equivalence between Boolean pre-algebras and SCI-models SCI-completeness Show applications in Modal Logic, Semantically-closed Logic, Logic with Quantifiers and Epistemic Logic. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 10 / 46
  • 11. Conclusion (Chpt. 7) Summary The Boolean pre-algebras have an interesting role on Computer Science foundations as a semantic representation to many logical systems. Motivation and a consistent definition were provided There are some important applications for Boolean pre-algebras such as on Modal Logic, Truth-theory, Logic with Quantifiers and Epistemic Logic. Contributions were done: they were detailed SCI completeness, ALTs-IDs equivalence, SCI-model - pre-Boolean algebra equivalence and it was constructed a true truth-teller model. Outlook Some models were introduced as SCI-model notation, even though they are equivalent, it should be in Boolean pre-algebras. Did not discussed about drawbacks of structured propositions and non-Fregean Logic semantic arguments such as the “Slingshot argument”. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 11 / 46
  • 12. Conclusion Future proposals Construct some models for the Epistemic Logic K Approach other logical systems such as Intuitionistic Logic, which semantic is designed as Heyting Algebras. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 12 / 46
  • 13. Setential Calculus Language Syntax Definition. Let Fm be the set of formulas, it is the smallest set such as (i) V ∪ { , ⊥} ⊆ Fm (ii) If ϕ, ψ ∈ Fm, so ¬ϕ, (ϕ → ψ), (ϕ ∧ ψ), (ϕ ∨ ψ), (ϕ ↔ ψ) ∈ Fm. Being the connective basis {¬, →} : and the following abbreviations: := x0 → x0; ⊥ := ¬ ; ϕ ∧ ψ := ¬(ϕ → ¬ψ); ϕ ∨ ψ := ¬ϕ → ψ; ϕ ↔ ψ := (ψ → ψ) ∧ (ψ → ϕ) (iii) The precedence of operators follow the order: ¬, ∨ and ∧, →, ↔, where → is right-associated while the others are left-associated, for ↔ it can be any of them. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 13 / 46
  • 14. Setential Calculus Deductive System Axioms A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ)) A2. ϕ → (ψ → ϕ) A3. ¬ϕ → (ϕ → ψ) A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ Inference Rules (MP) Modus Ponens Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 14 / 46
  • 15. Setential Calculus Semantic Definition. Propositional Domain A propositional domain can be defined as M = (M, f , f⊥, f¬, f→, Γ), where M = {f , f⊥} is the universe of propositions and f¬, f→, operations with arity: 1, 2, 2 respectively. We can see f and f⊥ also as operations with arity 0. Definition. Valuation Γ A valuation Γ : C → M is a function which satisfies: Γ(⊥) = f⊥; Γ( ) = f Definition. Assigment γ An assignment is a function γ : V → M such that for all ϕ, ψ ∈ V , holds: f¬(γ(ϕ)); γ(ϕ → ψ) = f→(γ(ϕ), γ(ψ)); Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 15 / 46
  • 16. Setential Calculus Semantic Definition. Model Let a valuation v ∈ 2V , a formula ϕ ∈ Fm and a set of formulas Φ ∈ Fm γ is a model of ϕ (γ satisfies ϕ), notation γ |= ϕ, if γ(ϕ) = 1 [(M, γ) |= ϕ]. γ is a model of Φ (γ satisfies Φ), notation γ |= ψ, if γ |= ψ, for every ψ ∈ Φ. Definition. Logic Consequence Φ ϕ : ⇐⇒ Mod(Φ) ⊆ Mod({ϕ}), where for any set Ψ, Mod(Ψ) := {v ∈ 2V |v |= Ψ} Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 16 / 46
  • 17. Setential Calculus with Identity (SCI) Propositional Identity We can see it as a generalization of the Classical Propositional Logic New operator ≡, called Propositional Identity (PI). ϕ ≡ ψ means ϕ and ψ have the same denotation (also called “situation”). It is defined as ϕ ≡ ψ : ⇐⇒ ϕ = ψ. For logic with quantifiers, the definition is extended to ϕ ≡ ψ ⇐⇒ ϕ =α ψ, where α is the so called α-congruence. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 17 / 46
  • 18. Setential Calculus with Identity (SCI) Language Syntax Definition. Let Fm be the set of formulas, it is the smallest set such as (i) V ∪ { , ⊥} ⊆ Fm (ii) If ϕ, ψ ∈ Fm, so ¬ϕ, (ϕ → ψ), (ϕ ≡ ψ), (ϕ ∧ ψ), (ϕ ∨ ψ), (ϕ ↔ ψ) ∈ Fm. Being the connective basis {¬, →, ≡} : and the following abbreviations: := x0 → x0; ⊥ := ¬ ; ϕ ∧ ψ := ¬(ϕ → ¬ψ); ϕ ∨ ψ := ¬ϕ → ψ; ϕ ↔ ψ := (ψ → ψ) ∧ (ψ → ϕ) (iii) The precedence of operators follow the order: ¬, ∨ and ∧, →, ↔, where → is right-associated while the others are left-associated, for ↔ it can be any of them. Introducing {∧, ∨, ↔} as new operators, we extend the propositional domain. The greater will be the granularity of the propositions. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 18 / 46
  • 19. Setential Calculus with Identity (SCI) Deductive System - Original Approach TFA’s: Truth Functional Axioms A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ)) A2. ϕ → (ψ → ϕ) A3. ¬ϕ → (ϕ → ψ) A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ IDA’s: Identity Axioms (ID1) ϕ ≡ ϕ (ID2) ϕ ≡ ψ → ¬ϕ ≡ ¬ψ (ID3) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 → ϕ2) ≡ (ψ1 → ψ2)) (ID4) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 ≡ ϕ2) ≡ (ψ1 ≡ ψ2)) Inference Rules (MP) Modus Ponens Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 19 / 46
  • 20. Setential Calculus with Identity (SCI) Deductive System - Alternative Approach TFA’s: Truth Functional Axioms A1. (ϕ → (ψ → χ)) → ((ϕ → ψ) → (ϕ → χ)) A2. ϕ → (ψ → ϕ) A3. ¬ϕ → (ϕ → ψ) A4. (ϕ → ψ) → (¬ϕ → ψ) → ψ ALT’s: Alternative Axioms for IDA’s (ALT1) ϕ ≡ ϕ, (ALT2) (ϕ ≡ ψ) → (ϕ → ψ), leads to (ϕ ≡ ψ) → (ϕ ↔ ψ) (ALT3) (ψ ≡ ψ ) → (ϕ[x := ψ] ≡ ϕ[x := ψ ]) Inference Rules (MP) Modus Ponens Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 20 / 46
  • 21. Setential Calculus with Identity (SCI) Semantic Definition. Propositional Domain A propositional domain can be defined as M = (M, f⊥, f , f¬, f→, f≡, Γ), where M is the universe of propositions and f⊥, f , f¬, f→, f≡, operations with arity: 0, 0, 1, 2, 2 respectively. Definition. Valuation Γ A valuation Γ : C → M is a function which satisfies: Γ(c) = fc; Γ(⊥) = f⊥; Γ( ) = f ; where fc is the proposition referent to the constant c. Definition. Assigment γ An assignment is a function γ : V → M such that for all ϕ, ψ ∈ V , holds: γ(x) = fx , being fx a proposition on M correspondent to the variable x; f¬(γ(ϕ)); γ(ϕ → ψ) = f→(γ(ϕ), γ(ψ)); γ(ϕ ≡ ψ) = f≡(γ(ϕ), γ(ψ)) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 21 / 46
  • 22. Setential Calculus with Identity (SCI) Semantic Definition. Valuation γ A valuation γ : Fm(C) → M, such that: γ( ) = Γ( ) = f ; γ(⊥) = Γ(⊥) = f⊥; γ(c) = Γ(c) and for the variables, it follows the previous definition. Definition. Proposition A proposition is a denotation γ(ϕ) ∈ M of a formula ϕ under valuation γ. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 22 / 46
  • 23. Setential Calculus with Identity (SCI) Semantic Definition. SCI-model Let TRUE and FALSE sets such that M = TRUE ∪ FALSE and TRUE ∩ FALSE = ∅. Then, M = (M, f⊥, f , f¬, f→, f≡, Γ) is a SCI-model if it satisfies: (i): f ∈ TRUE, f⊥ ∈ FALSE (ii): f¬(a) ∈ TRUE ⇐⇒ a ∈ FALSE (iii): f→(a, b) ∈ TRUE ⇐⇒ a ∈ FALSE or b ∈ TRUE (iv): f≡(a, b) ∈ TRUE ⇐⇒ a = b Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 23 / 46
  • 24. Setential Calculus with Identity (SCI) Explicit and Implicit Models Definition. Extension of a formula An extension of a formula is the equivalence class ϕ = {ϕ ≡ ψ}. Definition. Intension of a formula An intension of a formula is its syntax representation. Result. SCI-model classification SCI-models can be one of two types: Intensional or Extensional. On extensional models, (M, γ) |= ϕ ≡ ψ ⇐⇒ ϕ ↔ ψ On intensional models, (M, γ) |= ϕ ≡ ψ ⇐⇒ ϕ = ψ. On Intensional models, extension and intension of a sentence can be put always in a 1-1 relationship. On Extensional models there is no always 1-1 relationship. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 24 / 46
  • 25. Equivalence between IDA and ALT axioms Shown equivalence: IDA (ID1) ϕ ≡ ϕ (ID2) ϕ ≡ ψ → ¬ϕ ≡ ¬ψ (ID3) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 → ϕ2) ≡ (ψ1 → ψ2)) (ID4) ϕ1 ≡ ψ1 → (ϕ2 ≡ ψ2 → (ϕ1 ≡ ϕ2) ≡ (ψ1 ≡ ψ2)) ALT (ALT1) ϕ ≡ ϕ, (ALT2) (ϕ ≡ ψ) → (ϕ → ψ) (ALT3) (ψ ≡ ψ ) → (ϕ[x := ψ] ≡ ϕ[x := ψ ]) Shown Strong Completeness: Correctness: Φ ϕ ⇒ Φ ϕ Completeness: Φ ϕ ⇒ Φ ϕ. Factorization by a ≈ b ⇐⇒ f≡(a, b) ∈ TRUE Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 25 / 46
  • 26. Boolean pre-algebras (Chpt. 3) Algebraic Semantic - Support definitions George Boole and the beginning of the Algebraic representation Structured propositions vs Relational semantic Definition. A pre-order ≤ is a binary relation defined over a set which for any a,b,c elements, it is valid: a ≤ a (Reflexivity) If a ≤ b and b ≤ c, then a ≤ c (Transitivity) Definition. A pre-ordered set is the pair (S, ≤), where S is a set and ≤ a preorder over it. Definition. A partially ordered set is the pair (S, ≤), where S is a set and ≤ a partial order (antisymmetric pre-order). An antisymmetric relation on a set can be defined as for all a,b elements: a ≤ b and b ≤ a ⇒ a = b. Definition. A lattice is a partially-ordered set which each two elements have a unique supremum ( ) and a unique infimum (⊥). Definition. A Boolean lattice (Boolean algebra) is a distributive complemented lattice. (Satisfies a ≤ b ⇐⇒ f→(a, b) = f ) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 26 / 46
  • 27. Boolean pre-algebras (Chpt. 3) Definition Let the structure Ψ = (M, f , f⊥, f¬, f∨, f∧, f , ≤Ψ) which 1. M is the universe 2. f , f⊥, f¬, f∨, f∧, f→ are functions on M → M (operations on M) with arity 0,0,1,2,2,2 respectively. 3. ≤Ψ on M is a pre-order. Definition. It is a Boolean pre-algebra if: a ≈Ψ b : ⇐⇒ a ≤Ψ b and b ≤Ψ a is a congruence relation on M and the quotient algebra of Ψ/≈Ψ = (M/≈Ψ , f , f ⊥, f ¬, f ∨, f ∧, f , ≤M/≈Ψ ) is a Boolean algebra with lattice order ≤Ψ/≈Ψ such that: a ≤Ψ/≈Ψ b ⇐⇒ a ≤Ψ b and f , f ⊥, f ¬, f ∨, f ∧, f are induced operations for supremum, infimum elements, complement and implication respectively on the set of congruence classes ∈ Ψ/M . Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 27 / 46
  • 28. Boolean pre-algebras (Chpt. 3) Ultrafilters Definition. A filter F with respect to ≤Ψ in a Boolean pre-algebra Ψ is a non-empty subset F ⊆ M, s.t. for all a,b ∈ M the filter axioms holds: (i) if a ∈ F and a ≤Ψ b, then b ∈ F (ii) if a,b ∈ F, then f∧(a, b) ∈ F (iii) f ⊥ /∈ F An ultrafilter w.r.t. ≤Ψ is a maximal filter w.r.t. ≤Ψ. In this context, it can be also called prime filter. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 28 / 46
  • 29. Boolean pre-algebras (Chpt. 3) Equivalence between SCI-models and Boolean pre-algebras Let Ψ = (M, ≤Ψ, f⊥, f , f∧, f∨, f→, f→) a Boolean pre-lattice with a preordered set (≤Ψ, M) and induced operations infimum (f⊥), supremum (f ), complement (f¬), join (f∨), meet (f∧) and implication (f→). M = (M, TRUE, f⊥, f , f∧, f∨, f→, f≡) a SCI-model. We want to show that Ψ and M are equivalent. It is done in two parts. First, proving a supporting lemma, then proving the desired statement. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 29 / 46
  • 30. Boolean pre-algebras (Chpt. 3) Equivalence between SCI-models and Boolean pre-algebras Part I: Supporting Lemma Let Ψ a Boolean pre-lattice with preorder (so it will be valid for partial and total orders) ≤Ψ and F a filter w.r.t. ≤Ψ. The following conditions are equivalents: (i) a ≤Ψ b ⇐⇒ f→(a, b) ∈ F, for all a, b ∈ M (ii) F = {a ∈ M| a ≈Ψ f } (iii) F is the smallest filter. It is the intersection of all (ultra)filters with regard to ≤Ψ. Part II: Equivalence Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 30 / 46
  • 31. Modal Logic Introduction “modality is any word or phrase that can be applied to a given statement S to create a new statement that makes an assertion about the mode of the truth of S: about when, where or how S is true, or about the circumstances under which S may be true.” Two most common modalities: “possibility” (♦) and “necessity” ( ) Boolean (pre)algebras, (Hyper)intensions and Possible Worlds semantics Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 31 / 46
  • 32. Modal LogicModal LogicPI in terms of SE - Deductive System Syntax: Similar to Classical Propositional Logic, it introduces Definition: ϕ ≡ ψ := (ψ ↔ ψ) Axioms: (i) TFA’s tautologies Lewis modal logic S3: (ii) ϕ → ϕ) (iii) (ϕ → ψ) → ( ϕ → ψ) (iv) (ϕ → ψ) → ( ϕ → ψ) Inference Rules: Modus Ponens and Axiom of Necessitation Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 32 / 46
  • 33. Modal Logic PI in terms of SE - Semantic A S3 model can be defined as the Boolean algebra: Ψ = (M, f⊥, f , f¬, f∧, f∨, f ) where (M,≤) is a preordered set, M is a non-empty set of prepositions and ≤ is the lattice order, operations complement (f¬), meet (f∧), join (f∨), bound elements infimum (f ) and supremum (f⊥) and with a ultrafilter TRUE ⊆ M with regard to ≤ (the set of true propositions) and induced unary operation f , satisfying mainly for all a,b,c ∈ M: (i) f ∈ TRUE, f⊥ /∈ TRUE (ii)f¬(a) ∈ TRUE ⇐⇒ a /∈ TRUE (iii)f→(a, b) ∈ TRUE ⇐⇒ a /∈ TRUE or b ∈ TRUE. It also satisfy conditions for the other operators (iv) f (a) ∈ TRUE ⇐⇒ a = f (v) f (a) ≤ a (iv) f (f→(a, b)) ≤ f→(f (a), f (b)) (vi) f (f→(a, b)) ≤ f (f→(f (a), f (b))) It also satisfy Boolean algebra properties such as f→(a, b) = f . Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 33 / 46
  • 34. Modal Logic PI and SE independents - Deductive System Syntax: Similar to SCI, it introduces Axioms: (i) TFA’s tautologies Lewis modal logicS3: (ii) ϕ → ϕ) (iii) (ϕ → ψ) → ( ϕ → ψ) (iv) (ϕ → ψ) → ( ϕ → ψ) (v) IDA’s tautologies Inference Rules: Modus Ponens and Axiom of Necessitation (AN application limited to (i)-(iv)). Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 34 / 46
  • 35. Modal Logic PI and SE independents - Semantic Model Ψ = (M, TRUE, NEC, f⊥, f , f , f¬, f∨, f∧, f→, f≡, Γ), where 1. M is a non-empty set of propositions. 2. TRUE ⊆ M is a set of true propositions 3. NEC ⊆ set of necessary propositions 4. f⊥, f , f , f¬, f∨, f∧, f→, f≡, functions with arity (operations of type) 0,0,1,1,2,2,2,2 respectively. 5. Γ : C → M is a function Gamma, satisfying Γ( ) = f , Γ(⊥) = f⊥. It will satisfy also semantic conditions on SCI A model can be seen as a Boolean pre-algebra. (PI refines SE) Lemma. (ϕ ≡ ψ) → (ϕ ↔ ψ) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 35 / 46
  • 36. Modal Logic Hyperintensions Granularity Problem: (1) anti-symetric entailment; (2) handle the existence of non-principal ultrafilters. (1) problem: makes Frege Axiom true, reducing values of denotation of a formula to its truth-value. (2) problem: makes sentences that follow from each other have the same meaning. (1) solution: consider a pre-algebra. (2) solution: change approach from (Kripke, 1963) back to (Kripke, 1959), called Soft Actualism: primitive worlds and constructed propositions to primitive propositions and constructed worlds (ultrafilters). By (1) + (2) solutions it is constructed a high-order logic with subtypes that solve the granularity problem. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 36 / 46
  • 37. Truth Theory Motivation In a highly expressive language, as the Natural Language, we have the power to, for example: 1. Make references about the truth of propositions (or statements) Example What Foo meant to say is not true. (That Foo’s statement is not true) 2. Make inferences about the own statement Example What Foo stated is exactly the opposite of what Bar stated. (Foo’s statement is the opposite of the Bar’s statement) 3. Make statements as a composition of them Example I’m saying the truth right now. (informal Truth-teller) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 37 / 46
  • 38. Truth Theory Motivation A language strong enough to express the self-reference, a truth-predicate (true)and use of negation, can lead us to contradictions. Example I’m lying right now. (Liar Paradox) Two main ways to approach them: Do not permit self-reference and truth-predicates Handle paradoxes Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 38 / 46
  • 39. Truth Theory Study Origins Precursor, PhD. Thesis (Strater, 1992) at TU Berlin. Later developed by (Zeitz, 2000) Recently developed by (Lewitzka, 2012) Relationship between Liar and Theory of Computation results Godel First Incompleteness Theorem Tarski’s Undefinability Theorem An elegant way to handle paradoxes. No sentence can denote a the liar statement. The liar does not exist. We can express equations that cannot be satisfied by any model i2 = −1, in a more formal way: (i ∈ R s.t. f∗(i, i) = f−(0, 1)) The Liar: c ≡ Fc. There is no model which satisfies this equation. Suppose there exist a model which satisfies it. By Fc constructive definition for a model (we will see it next), c ∈ TRUE =⇒ Fc ∈ FALSE. In the same way c ∈ FALSE, Fc ∈ TRUE. By definition TRUE ∩ FALSE = ∅. Contradiction. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 39 / 46
  • 40. Truth-theory Syntax Similar to SCI, it introduces T and F Let V a set of variables, C a set of constants containing the usual and ⊥. Then, let Fm(C)’ be the smallest set of formulas with V,C and closed on: if ϕ and ψ are expressions, then (Tϕ), (Fϕ), (ϕ → ψ),(¬ϕ), (ϕ ≡ ψ). The usual abbreviations hold. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 40 / 46
  • 41. Truth-theory Syntax Some translations to the new syntax. Example “This statement is false.”⇒ c ≡ Fc “This statement is true.” ⇒ c ≡ Tc “The next statement is true”. ⇒ (1) c ≡ Td (2) d ≡ ϕ. “This previous statement is not true.” ⇒ c ≡ ϕ d ≡ Tc. “This statement is false or ϕ is true.” ⇒ c ≡ (Fc ∨ Tϕ). Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 41 / 46
  • 42. Truth-theory Deductive System Axioms: (i) TFA’s tautologies (ii) IDA’s tautologies (iii) Truth-predicate axioms: (iii.1)ϕ → (Tϕ) and (Tϕ) → ϕ (iii.2)¬ϕ → (Fϕ) and (Fϕ) → ϕ Inference Rules: Modus Ponens. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 42 / 46
  • 43. Truth-theory Semantic Propositional Domain A T algebra (propositional domain) M = (M, f¬, f→, f≡, fT, fF ), where M is the universe of propositions and f¬, f→, f≡, fT, fF , operations with arity: 1, 2, 2, 1, 1 respectively. Model Definition. Let TRUE and FALSE sets such that M = TRUE ∪ FALSE. Then, M = (M, TRUE, f¬, f→, f≡, fT, fF , FALSE, Γ) is a model if it satisfies the SCI-model truth-conditions plus: (i): fT(a) ∈ TRUE ⇐⇒ a ∈ TRUE (ii): fF (a) ∈ TRUE ⇐⇒ a ∈ FALSE A model for c ≡ Tc, where c ∈ TRUE was constructed. Γ now also maps Γ(c) = fc γ also maps γ(Tϕ) = fT(γ(ϕ)); γ(Fϕ) = fF (γ(ϕ)) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 43 / 46
  • 44. Logic with Quantifiers and Epistemic Logic Epistemic Logic Propositions are now objects of knowledge, if Ki ϕ is true, than ϕ denotes a true proposition (statement) that is known by the agent i. TRUE is the set of facts TRUEi is the set of facts known by the agent i. Let KNOWN = ∪TRUEi , for all i agents. It is the set of all the facts known. KNOWN ⊆ TRUE and usually expected: KNOWN ⊂ TRUE. It is introduced the concept of a group of agents. There are facts known by a group of agents. Every agent in the group knows the group facts. Furthermore, every agent knows that the others agents know it, and so on. It is introduced the notion of Common Knowledge, a common knowledge among all the agents that satisfies some closure properties. Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 44 / 46
  • 45. Logic with Quantifiers and Epistemic Logic Epistemic Logic Logic with quantifiers Similar to SCI, introduction of quantifier operators, e.g. ∀ Introduction of axioms regarding these new operators in the deductive system Semantically, they are mapped to high order functions, e.g. ∀ is mapped to f∀ : MM → M Examples On Epistemic Logic: ∀x.(Ki x → x) On Truth-theory: ∀x(Tx ↔ x) Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 45 / 46
  • 46. Questions Marcelo Pereira Novaes (Universidade Federal da Bahia)Application of Boolean pre-algebras to the foundations of Computer ScienceTCC - Salvador, 2016 46 / 46