SlideShare une entreprise Scribd logo
1  sur  45
Télécharger pour lire hors ligne
About what cannot be said.
Maarten Marx
University of Amsterdam
May 15, 2014
Abstract
It is not easy to think of things that you cannot express. Language seems
limitless. On the other hand, we often use expressions like ”I cannot find
the words to thank you/say how much I love you/express my sadness” etc.
For artificial languages, it is often possible to give semantic
characterizations of their expressive power. We can use these to show that
some concept is not expressible. This is a powerful tool. Without it, we
can only say that until now we did not find a way to express the concept in
the language.But we do not know if this is because of the limits of our
knowledge or because of the limits of the language. In this presentation we
make these notions precise and show with examples how they can be used
in concrete situations.
Outline
1 Natural Languages
2 Expressing things succinctly
Numbers
Still used in some Georgian shops: tallying
Roman Numbers
What we all know and use: decimal system
Numbers in computers: zeros and ones
Propositional logic
Basis of all reasoning
3 basic types of sentences
Spotting contradictions
3 Limits of expressivity
First order logic and numbers
Integers and Rationals
Rationals and Reals
4 Take home message
Disclaimer
This talk contains lots of symbols
Please ask or slow me down if needed.
. . .
Natural Languages
For natural languages, linguists have given bounds on the expressivity
of the morphology and the grammar.
E.g., Chomsky claimed that English morphology can be generated by
a regular language and English grammar by a context-free language.
Chomsky has/had the idea that people are born with some kind of
language or grammar-instinct.
But then grammars cannot be arbitrarily difficult/expressive.
It is a sport among linguists to find counterexamples to proposed
bounds.
And now we get formal. . .
Expressing things succinctly
Our aim
Show that different languages can express the same, but using less
resources.
Less resources??? That just means ”easier or shorter”
Our method
We first look at representing numbers.
Then at the basis of all reasoning: propositional logic.
Expressing quantities
We want to create a notation for expressing positive quantities:
1, 2, 3, 4, . . .
We evaluate our notation on how much work it is to write down a
number.
Still used in some Georgian shops: tallying
Definition: tallying
I, II, III, . . . , IIII, IIII I, . . . , IIII IIII
Evaluation
Clearly works, every number can be expressed
Uses really only one symbol: I
Size of the expression equals the quantity which is expressed
This is not handy for very rich people. . .
Roman Numbers
Definition
I, II, III, IIII, IV , . . . , IX, . . . , D, . . . , C, . . . , L, . . . , M
Evaluation
Clearly works, every number can be expressed
Uses several different symbols
Value of a symbol depends on its position: compare eg IX and XI.
Size of the expression much smaller than the quantity which is
expressed
except for really large numbers (as M is the ”largest” symbol)
Decimal system
Definition
1, 2, 3, . . . , 10, 11, . . . , 100, . . . , 1.000, . . . , 1.000.000, . . .
Evaluation
Uses 10 different symbols
Value of a symbol depends on its position:
In 538,
the 5 means 500,
the 3 means 30,
and the 8 means 8
To express a number n we need less than log10(n) + 1 digits.
For example, we express 1000 with 4 digits.
To express the enormous wealth of Ivanishvili we need only 10 or 11
digits.
Very handy and efficient
Numbers in computers: zeros and ones
Definition
1, 10, 11, 100, 101, 110, 111, 1000, . . .
Evaluation
Used in every computer.
Value of a symbol depends on its position: In 101 stands the first 1
for 22 and the last 1 for 20, and thus 101 means five.
With tallying, we used 1 symbol. In our decimal system we use 10
symbols. Here we use just 2 symbols.
Question Is the zero-one system more like tallying or more like the
decimal system in terms of the size of the expressions?
Answer: more like the decimal system
Number of inhabitants of Georgia
Tallying: IIII IIII IIII IIII . . . IIII IIII IIII IIII IIII IIII (very very big)
Decimal: 4.000.000
Binary string with length at most log2(4.000.000), which is
log2(4 ∗ 1.000 ∗ 1.000) = log2(4) + log2(1.000) + log2(1.000) =
2 + 10 + 10 = 22
Number of inhabitants of the world
Tallying: 8 billion: 2.000 times as long as that for Georgia
Decimal: 8 billion uses only 10 digits, about 1.5 times the number of
digits for Georgia
Binary log2(Georgia) + log2(2.000) = 22 + 11 = 33. Also just about
1.5 times longer.
Conclusion
Different ways of expressing the same notions
can differ very much in the ease or costs needed to express something.
Propositional logic
Our aim
Show that checking whether you state something that makes sense can be
very time consuming.
Our method
Employ elementary reasoning
Propositional logic: Basis of all reasoning
Atomic propositions
”It is hot.”
”This talk is too long.”
Represent them by symbols p, q, r, . . ..
Can be true or false. They are atoms. We do not look inside.
Connectives
not φ, φ and ψ, φ or ψ
Examples
p and not q
not ( p or q )
p or not (q and p)
p and p
3 basic types of sentences
Tautology
Is always true. Example
3 basic types of sentences
Tautology
Is always true. Example p or not p
Contingency
Can be true and can be false. Example
3 basic types of sentences
Tautology
Is always true. Example p or not p
Contingency
Can be true and can be false. Example p or q
Contradiction
Is always false. Example
3 basic types of sentences
Tautology
Is always true. Example p or not p
Contingency
Can be true and can be false. Example p or q
Contradiction
Is always false. Example p and not p
Ex falso quodlibet
We better be careful with stating something, because,
Ex falso quodlibet
We better be careful with stating something, because,
when we state a contradiction,
everything follows from it.
Example
Assume you have as true
A This talk is great
B This talk is not great
We show that ”Santa Claus exists” follows.
from A we can derive
C This talk is great or Santa Claus exists.
Combining B and C we get,
D Santa Claus exists.
Don’t worry, we can also deduce that Santa Clause does not exist.
Spotting contradictions
Question
Given a sentence φ in prop. logic, can we compute if φ is a contradiction?
Spotting contradictions
Question
Given a sentence φ in prop. logic, can we compute if φ is a contradiction?
Answer
Yes, but it may take a very long time.
Easy when formula justs lists possible worlds
Special shape
not only in front of atoms
formula is a disjunction of conjunctions
(p and q and not r) or ( p and q and not p) or (not q and . . . ) or . . .
Spotting contradictions
Is very easy and quick:
for each disjunct, check if it contains an atom and its negation;
if all are like that, the formula is a contradiction
otherwise it is not.
How long does that take?
We just walk through the formula from left to right
and store at most one disjunct in our memory.
But life is not always as simple
Rewrite formulas
Every formula φ can be rewritten into this special form,
without changing its meaning.
φ is thus a contradiction precisely if its special form is one.
Rewriting is expensive
In bad cases, the equivalent of φ in special form
is exponentially larger than φ.
Example: a φ of 400 symbols leads then to a special form of 2400
symbols.
This is very much. A gigabyte is 230 bytes. A terrabyte is 240 bytes.
A petabyte 250
2400 is roughly a 1 with 120 zeros, which is roughly the number of
atoms in the entire universe. . .
What to learn from this all
Spotting contradictions is hard
In eassence, nobody knows if there is a truely better way of spotting
contradictions than the one just sketched.
Artificial Intelligence is all about trying to do things faster in special
cases.
Expressivity
Different languages may both express the same thing
but one can be much more efficient/handy/succinct than the other
No we will look at real limits of expressive power.
Showing that a language has limits
Can express and cannot express
In general it is harder to show that you (and nobody else too) cannot
express something in a language
than to show that you can
in the latter case, you just do it
Example
Express ”exclusive or” in propositional logic.
p xor q is true precisly if exactly one of p and q is true
Showing that a language has limits
Can express and cannot express
In general it is harder to show that you (and nobody else too) cannot
express something in a language
than to show that you can
in the latter case, you just do it
Example
Express ”exclusive or” in propositional logic.
p xor q is true precisly if exactly one of p and q is true
(p and not q) or (not p and q)
First order logic and numbers
Talk about individuals and relations among them
Add constants, variables, quantifiers, and relations to propositional
logic.
Example
There is no largest number
First order logic and numbers
Talk about individuals and relations among them
Add constants, variables, quantifiers, and relations to propositional
logic.
Example
There is no largest number
not∃x∀y. y ≤ x
Every donkey has a tail
First order logic and numbers
Talk about individuals and relations among them
Add constants, variables, quantifiers, and relations to propositional
logic.
Example
There is no largest number
not∃x∀y. y ≤ x
Every donkey has a tail
∀ x. if DONKEY(x) then ∃ y. TAIL(x,y).
This wants Facebook: all friends of your friends are your own friends
if x Friend y and y Friend z then x Friend z.
Integers and Rationals
Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1
2, . . . , 2
3, . . . , 1, . . .
We speak about them in First Order Logic using only the relation <
(smaller than).
Question: can we express the difference between integers and
rationals in FOL?
Yes!
Integers and Rationals
Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1
2, . . . , 2
3, . . . , 1, . . .
We speak about them in First Order Logic using only the relation <
(smaller than).
Question: can we express the difference between integers and
rationals in FOL?
Yes!
Between any two different numbers there is another number.
Integers and Rationals
Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1
2, . . . , 2
3, . . . , 1, . . .
We speak about them in First Order Logic using only the relation <
(smaller than).
Question: can we express the difference between integers and
rationals in FOL?
Yes!
Between any two different numbers there is another number.
∀x∀y. x < y ⇒ ∃z(x < z & z < y)
Difference between finite and infinite
Question
Can we express the difference between all integers and a finite number
of integers?
Difference between finite and infinite
Question
Can we express the difference between all integers and a finite number
of integers?
Yes
Difference between finite and infinite
Question
Can we express the difference between all integers and a finite number
of integers?
Yes
”there is a largest number”
∃x. not∃y. x < y
The same question but only using the equality relation.
We need to know how many elements there are in the finite set. Say n
∃x1∃x2 . . . ∃xn+1(x1 = x2&x1 = x3& . . .)
Note Formula is not general, and can be very long.
Rationals and Reals
Reals
Reals, R: all numbers which you can write using decimal expansion.
Thus all rationals, but also
√
2, π, . . .
Question
Can we express the difference between these two in FOL?
Rationals and Reals
Reals
Reals, R: all numbers which you can write using decimal expansion.
Thus all rationals, but also
√
2, π, . . .
Question
Can we express the difference between these two in FOL?
No!
To show that we need to play games.
Model comparison games
Rules
Two players (Spoiler and Duplicator) play on two models
Spoiler starts and picks a number in one model
Dupicator answers by picking a number in the other model.
these numbers are connected by a line.
and so on
Duplicator must always answer so that the lines do not cross.
if she cannot answer she lost, if she can continue forever she wins.
Games and Logic
Two models make the same formulas true if Duplicator can win any
game played on them.
What we learn from this
If you want to express the difference between R and Q you need a
language stronger than FOL.
The difference is:
in R every upward bounded set of numbers has a least upper bound.
The least upper bound of {n ∈ Q | n < π} is π, but π does not exists
in Q.
Note that we quantified over SETS, not just over elements.
Take home message
Expressivity of languages
Every language (artificial and natural) has limits to what it can
express.
These limits say something about the complexity of the language.
Know your limits
If you cannot express what you want in some language, then
it is either your fault, or
the ”fault” (the limits) of the language.
If you know these limits, you can either search further, or accept
reality and be in peace.
Thank you
Thank you!

Contenu connexe

Tendances

NLP_KASHK:Parsing with Context-Free Grammar
NLP_KASHK:Parsing with Context-Free Grammar NLP_KASHK:Parsing with Context-Free Grammar
NLP_KASHK:Parsing with Context-Free Grammar Hemantha Kulathilake
 
NLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological ParsingNLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological ParsingHemantha Kulathilake
 
Optimality theory.pptx
Optimality theory.pptxOptimality theory.pptx
Optimality theory.pptxamjadnaasir
 
Grice's theory of conversational implicature
Grice's theory of conversational implicatureGrice's theory of conversational implicature
Grice's theory of conversational implicatureLahcen Graid
 
Introduction to Computer theory Daniel Cohen Chapter 2 Solutions
Introduction to Computer theory Daniel Cohen Chapter 2 SolutionsIntroduction to Computer theory Daniel Cohen Chapter 2 Solutions
Introduction to Computer theory Daniel Cohen Chapter 2 SolutionsAshu
 
Chap 6 Avoiding Ambiguity
Chap 6 Avoiding Ambiguity Chap 6 Avoiding Ambiguity
Chap 6 Avoiding Ambiguity Hafiza Abas
 
Chapter 5 Be Concise
Chapter 5 Be ConciseChapter 5 Be Concise
Chapter 5 Be ConciseHafiza Abas
 
Syntax negation by nomerto m. revilla jr.
Syntax negation by nomerto m. revilla jr.Syntax negation by nomerto m. revilla jr.
Syntax negation by nomerto m. revilla jr.NomertoJohnRevilla
 
Perspective Shifting in Interrogative Clauses
Perspective Shifting in Interrogative ClausesPerspective Shifting in Interrogative Clauses
Perspective Shifting in Interrogative ClausesRebeccaLWoods
 
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...kevig
 
Chapter1 Formal Language and Automata Theory
Chapter1 Formal Language and Automata TheoryChapter1 Formal Language and Automata Theory
Chapter1 Formal Language and Automata TheoryTsegazeab Asgedom
 
語言學概論Syntax
語言學概論Syntax語言學概論Syntax
語言學概論Syntax棠貝 白
 
Gricean maxims.howtoavoid pdf
Gricean maxims.howtoavoid pdfGricean maxims.howtoavoid pdf
Gricean maxims.howtoavoid pdfthuong do
 

Tendances (20)

NLP_KASHK:Parsing with Context-Free Grammar
NLP_KASHK:Parsing with Context-Free Grammar NLP_KASHK:Parsing with Context-Free Grammar
NLP_KASHK:Parsing with Context-Free Grammar
 
NLP_KASHK:Morphology
NLP_KASHK:MorphologyNLP_KASHK:Morphology
NLP_KASHK:Morphology
 
NLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological ParsingNLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological Parsing
 
Optimality theory.pptx
Optimality theory.pptxOptimality theory.pptx
Optimality theory.pptx
 
Week 2-syntax student copy
Week 2-syntax student copyWeek 2-syntax student copy
Week 2-syntax student copy
 
Grice's theory of conversational implicature
Grice's theory of conversational implicatureGrice's theory of conversational implicature
Grice's theory of conversational implicature
 
Language
LanguageLanguage
Language
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Introduction to Computer theory Daniel Cohen Chapter 2 Solutions
Introduction to Computer theory Daniel Cohen Chapter 2 SolutionsIntroduction to Computer theory Daniel Cohen Chapter 2 Solutions
Introduction to Computer theory Daniel Cohen Chapter 2 Solutions
 
Implicature
ImplicatureImplicature
Implicature
 
Grouping Symbols
Grouping SymbolsGrouping Symbols
Grouping Symbols
 
Chap 6 Avoiding Ambiguity
Chap 6 Avoiding Ambiguity Chap 6 Avoiding Ambiguity
Chap 6 Avoiding Ambiguity
 
Pres entail
Pres entailPres entail
Pres entail
 
Chapter 5 Be Concise
Chapter 5 Be ConciseChapter 5 Be Concise
Chapter 5 Be Concise
 
Syntax negation by nomerto m. revilla jr.
Syntax negation by nomerto m. revilla jr.Syntax negation by nomerto m. revilla jr.
Syntax negation by nomerto m. revilla jr.
 
Perspective Shifting in Interrogative Clauses
Perspective Shifting in Interrogative ClausesPerspective Shifting in Interrogative Clauses
Perspective Shifting in Interrogative Clauses
 
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...
SYNTACTIC ANALYSIS BASED ON MORPHOLOGICAL CHARACTERISTIC FEATURES OF THE ROMA...
 
Chapter1 Formal Language and Automata Theory
Chapter1 Formal Language and Automata TheoryChapter1 Formal Language and Automata Theory
Chapter1 Formal Language and Automata Theory
 
語言學概論Syntax
語言學概論Syntax語言學概論Syntax
語言學概論Syntax
 
Gricean maxims.howtoavoid pdf
Gricean maxims.howtoavoid pdfGricean maxims.howtoavoid pdf
Gricean maxims.howtoavoid pdf
 

Similaire à Ilja state2014expressivity

Introduction to logic and prolog - Part 1
Introduction to logic and prolog - Part 1Introduction to logic and prolog - Part 1
Introduction to logic and prolog - Part 1Sabu Francis
 
1Week 3 Section 1.4 Predicates and Quantifiers As.docx
 1Week 3 Section 1.4 Predicates and Quantifiers  As.docx 1Week 3 Section 1.4 Predicates and Quantifiers  As.docx
1Week 3 Section 1.4 Predicates and Quantifiers As.docxjoyjonna282
 
Chapter 14.1 pptx.pptx
Chapter 14.1 pptx.pptxChapter 14.1 pptx.pptx
Chapter 14.1 pptx.pptxbrianjars
 
Artificial intelligence and first order logic
Artificial intelligence and first order logicArtificial intelligence and first order logic
Artificial intelligence and first order logicparsa rafiq
 
A course on mathematical logic
A course on mathematical logicA course on mathematical logic
A course on mathematical logicSpringer
 
Discourse analysis
Discourse analysisDiscourse analysis
Discourse analysisMelikarj
 
451142320-2-Language-of-Mathematics-SC-pptx.pptx
451142320-2-Language-of-Mathematics-SC-pptx.pptx451142320-2-Language-of-Mathematics-SC-pptx.pptx
451142320-2-Language-of-Mathematics-SC-pptx.pptxMizanurRahman860572
 
2-3. MATHEMATICS AS A LANGUAGE.pptx
2-3. MATHEMATICS AS A LANGUAGE.pptx2-3. MATHEMATICS AS A LANGUAGE.pptx
2-3. MATHEMATICS AS A LANGUAGE.pptxYviAshena
 
GE7 Day 3 (Chapter 2.1).pptx
GE7 Day 3 (Chapter 2.1).pptxGE7 Day 3 (Chapter 2.1).pptx
GE7 Day 3 (Chapter 2.1).pptxBjAbubo1
 
Ai lecture 07(unit03)
Ai lecture  07(unit03)Ai lecture  07(unit03)
Ai lecture 07(unit03)vikas dhakane
 

Similaire à Ilja state2014expressivity (20)

Basic Grammar
Basic GrammarBasic Grammar
Basic Grammar
 
Introduction to logic and prolog - Part 1
Introduction to logic and prolog - Part 1Introduction to logic and prolog - Part 1
Introduction to logic and prolog - Part 1
 
1Week 3 Section 1.4 Predicates and Quantifiers As.docx
 1Week 3 Section 1.4 Predicates and Quantifiers  As.docx 1Week 3 Section 1.4 Predicates and Quantifiers  As.docx
1Week 3 Section 1.4 Predicates and Quantifiers As.docx
 
continuity of module 2.pptx
continuity of module 2.pptxcontinuity of module 2.pptx
continuity of module 2.pptx
 
Chapter 14.1 pptx.pptx
Chapter 14.1 pptx.pptxChapter 14.1 pptx.pptx
Chapter 14.1 pptx.pptx
 
Mathematical language and symbols
Mathematical language and symbolsMathematical language and symbols
Mathematical language and symbols
 
Artificial intelligence and first order logic
Artificial intelligence and first order logicArtificial intelligence and first order logic
Artificial intelligence and first order logic
 
A course on mathematical logic
A course on mathematical logicA course on mathematical logic
A course on mathematical logic
 
Grammar & ESL
Grammar & ESLGrammar & ESL
Grammar & ESL
 
Discourse analysis
Discourse analysisDiscourse analysis
Discourse analysis
 
ADJECTIVESSSS
ADJECTIVESSSSADJECTIVESSSS
ADJECTIVESSSS
 
451142320-2-Language-of-Mathematics-SC-pptx.pptx
451142320-2-Language-of-Mathematics-SC-pptx.pptx451142320-2-Language-of-Mathematics-SC-pptx.pptx
451142320-2-Language-of-Mathematics-SC-pptx.pptx
 
Fractions
FractionsFractions
Fractions
 
Collocations 5
Collocations 5Collocations 5
Collocations 5
 
2-3. MATHEMATICS AS A LANGUAGE.pptx
2-3. MATHEMATICS AS A LANGUAGE.pptx2-3. MATHEMATICS AS A LANGUAGE.pptx
2-3. MATHEMATICS AS A LANGUAGE.pptx
 
GE7 Day 3 (Chapter 2.1).pptx
GE7 Day 3 (Chapter 2.1).pptxGE7 Day 3 (Chapter 2.1).pptx
GE7 Day 3 (Chapter 2.1).pptx
 
semantic relations2017.pptx
semantic relations2017.pptxsemantic relations2017.pptx
semantic relations2017.pptx
 
Nlp
NlpNlp
Nlp
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Ai lecture 07(unit03)
Ai lecture  07(unit03)Ai lecture  07(unit03)
Ai lecture 07(unit03)
 

Plus de maartenmarx

Haagse Hogeschool 2012-09-13
Haagse Hogeschool 2012-09-13Haagse Hogeschool 2012-09-13
Haagse Hogeschool 2012-09-13maartenmarx
 
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13maartenmarx
 
Economie van de aandacht
  Economie van de aandacht  Economie van de aandacht
Economie van de aandachtmaartenmarx
 
Dans dataprijs2012
Dans dataprijs2012Dans dataprijs2012
Dans dataprijs2012maartenmarx
 
College sicco van-sas-2012_10_08
College sicco van-sas-2012_10_08College sicco van-sas-2012_10_08
College sicco van-sas-2012_10_08maartenmarx
 
Presentation at NLDB 2012
Presentation at NLDB 2012Presentation at NLDB 2012
Presentation at NLDB 2012maartenmarx
 
Women in Dutch parliament: what they did
Women in Dutch parliament: what they didWomen in Dutch parliament: what they did
Women in Dutch parliament: what they didmaartenmarx
 
Keynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official PublicationsKeynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official Publicationsmaartenmarx
 
Namescape 2012 03 06
Namescape 2012 03 06Namescape 2012 03 06
Namescape 2012 03 06maartenmarx
 
voting advice slides
 voting advice slides voting advice slides
voting advice slidesmaartenmarx
 
TV-slant presentatie_politicologen_etmaal
TV-slant presentatie_politicologen_etmaalTV-slant presentatie_politicologen_etmaal
TV-slant presentatie_politicologen_etmaalmaartenmarx
 
Groningen nl pgroep
Groningen nl pgroepGroningen nl pgroep
Groningen nl pgroepmaartenmarx
 
networks inparliament-ccct
 networks inparliament-ccct networks inparliament-ccct
networks inparliament-ccctmaartenmarx
 
Screen biographischportaal2010 12-10
Screen biographischportaal2010 12-10Screen biographischportaal2010 12-10
Screen biographischportaal2010 12-10maartenmarx
 

Plus de maartenmarx (14)

Haagse Hogeschool 2012-09-13
Haagse Hogeschool 2012-09-13Haagse Hogeschool 2012-09-13
Haagse Hogeschool 2012-09-13
 
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13
Expertmeeting, E-humanities en politieke geschiedenis, Nijmegen, 2013-09-13
 
Economie van de aandacht
  Economie van de aandacht  Economie van de aandacht
Economie van de aandacht
 
Dans dataprijs2012
Dans dataprijs2012Dans dataprijs2012
Dans dataprijs2012
 
College sicco van-sas-2012_10_08
College sicco van-sas-2012_10_08College sicco van-sas-2012_10_08
College sicco van-sas-2012_10_08
 
Presentation at NLDB 2012
Presentation at NLDB 2012Presentation at NLDB 2012
Presentation at NLDB 2012
 
Women in Dutch parliament: what they did
Women in Dutch parliament: what they didWomen in Dutch parliament: what they did
Women in Dutch parliament: what they did
 
Keynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official PublicationsKeynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official Publications
 
Namescape 2012 03 06
Namescape 2012 03 06Namescape 2012 03 06
Namescape 2012 03 06
 
voting advice slides
 voting advice slides voting advice slides
voting advice slides
 
TV-slant presentatie_politicologen_etmaal
TV-slant presentatie_politicologen_etmaalTV-slant presentatie_politicologen_etmaal
TV-slant presentatie_politicologen_etmaal
 
Groningen nl pgroep
Groningen nl pgroepGroningen nl pgroep
Groningen nl pgroep
 
networks inparliament-ccct
 networks inparliament-ccct networks inparliament-ccct
networks inparliament-ccct
 
Screen biographischportaal2010 12-10
Screen biographischportaal2010 12-10Screen biographischportaal2010 12-10
Screen biographischportaal2010 12-10
 

Dernier

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Dernier (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Ilja state2014expressivity

  • 1. About what cannot be said. Maarten Marx University of Amsterdam May 15, 2014
  • 2. Abstract It is not easy to think of things that you cannot express. Language seems limitless. On the other hand, we often use expressions like ”I cannot find the words to thank you/say how much I love you/express my sadness” etc. For artificial languages, it is often possible to give semantic characterizations of their expressive power. We can use these to show that some concept is not expressible. This is a powerful tool. Without it, we can only say that until now we did not find a way to express the concept in the language.But we do not know if this is because of the limits of our knowledge or because of the limits of the language. In this presentation we make these notions precise and show with examples how they can be used in concrete situations.
  • 3. Outline 1 Natural Languages 2 Expressing things succinctly Numbers Still used in some Georgian shops: tallying Roman Numbers What we all know and use: decimal system Numbers in computers: zeros and ones Propositional logic Basis of all reasoning 3 basic types of sentences Spotting contradictions 3 Limits of expressivity First order logic and numbers Integers and Rationals Rationals and Reals 4 Take home message
  • 4. Disclaimer This talk contains lots of symbols Please ask or slow me down if needed. . . .
  • 5. Natural Languages For natural languages, linguists have given bounds on the expressivity of the morphology and the grammar. E.g., Chomsky claimed that English morphology can be generated by a regular language and English grammar by a context-free language. Chomsky has/had the idea that people are born with some kind of language or grammar-instinct. But then grammars cannot be arbitrarily difficult/expressive. It is a sport among linguists to find counterexamples to proposed bounds.
  • 6. And now we get formal. . .
  • 7. Expressing things succinctly Our aim Show that different languages can express the same, but using less resources. Less resources??? That just means ”easier or shorter” Our method We first look at representing numbers. Then at the basis of all reasoning: propositional logic.
  • 8. Expressing quantities We want to create a notation for expressing positive quantities: 1, 2, 3, 4, . . . We evaluate our notation on how much work it is to write down a number.
  • 9. Still used in some Georgian shops: tallying Definition: tallying I, II, III, . . . , IIII, IIII I, . . . , IIII IIII Evaluation Clearly works, every number can be expressed Uses really only one symbol: I Size of the expression equals the quantity which is expressed This is not handy for very rich people. . .
  • 10. Roman Numbers Definition I, II, III, IIII, IV , . . . , IX, . . . , D, . . . , C, . . . , L, . . . , M Evaluation Clearly works, every number can be expressed Uses several different symbols Value of a symbol depends on its position: compare eg IX and XI. Size of the expression much smaller than the quantity which is expressed except for really large numbers (as M is the ”largest” symbol)
  • 11. Decimal system Definition 1, 2, 3, . . . , 10, 11, . . . , 100, . . . , 1.000, . . . , 1.000.000, . . . Evaluation Uses 10 different symbols Value of a symbol depends on its position: In 538, the 5 means 500, the 3 means 30, and the 8 means 8 To express a number n we need less than log10(n) + 1 digits. For example, we express 1000 with 4 digits. To express the enormous wealth of Ivanishvili we need only 10 or 11 digits. Very handy and efficient
  • 12. Numbers in computers: zeros and ones Definition 1, 10, 11, 100, 101, 110, 111, 1000, . . . Evaluation Used in every computer. Value of a symbol depends on its position: In 101 stands the first 1 for 22 and the last 1 for 20, and thus 101 means five. With tallying, we used 1 symbol. In our decimal system we use 10 symbols. Here we use just 2 symbols. Question Is the zero-one system more like tallying or more like the decimal system in terms of the size of the expressions?
  • 13. Answer: more like the decimal system Number of inhabitants of Georgia Tallying: IIII IIII IIII IIII . . . IIII IIII IIII IIII IIII IIII (very very big) Decimal: 4.000.000 Binary string with length at most log2(4.000.000), which is log2(4 ∗ 1.000 ∗ 1.000) = log2(4) + log2(1.000) + log2(1.000) = 2 + 10 + 10 = 22 Number of inhabitants of the world Tallying: 8 billion: 2.000 times as long as that for Georgia Decimal: 8 billion uses only 10 digits, about 1.5 times the number of digits for Georgia Binary log2(Georgia) + log2(2.000) = 22 + 11 = 33. Also just about 1.5 times longer.
  • 14. Conclusion Different ways of expressing the same notions can differ very much in the ease or costs needed to express something.
  • 15. Propositional logic Our aim Show that checking whether you state something that makes sense can be very time consuming. Our method Employ elementary reasoning
  • 16. Propositional logic: Basis of all reasoning Atomic propositions ”It is hot.” ”This talk is too long.” Represent them by symbols p, q, r, . . .. Can be true or false. They are atoms. We do not look inside. Connectives not φ, φ and ψ, φ or ψ Examples p and not q not ( p or q ) p or not (q and p) p and p
  • 17. 3 basic types of sentences Tautology Is always true. Example
  • 18. 3 basic types of sentences Tautology Is always true. Example p or not p Contingency Can be true and can be false. Example
  • 19. 3 basic types of sentences Tautology Is always true. Example p or not p Contingency Can be true and can be false. Example p or q Contradiction Is always false. Example
  • 20. 3 basic types of sentences Tautology Is always true. Example p or not p Contingency Can be true and can be false. Example p or q Contradiction Is always false. Example p and not p
  • 21. Ex falso quodlibet We better be careful with stating something, because,
  • 22. Ex falso quodlibet We better be careful with stating something, because, when we state a contradiction, everything follows from it.
  • 23. Example Assume you have as true A This talk is great B This talk is not great We show that ”Santa Claus exists” follows. from A we can derive C This talk is great or Santa Claus exists. Combining B and C we get, D Santa Claus exists. Don’t worry, we can also deduce that Santa Clause does not exist.
  • 24. Spotting contradictions Question Given a sentence φ in prop. logic, can we compute if φ is a contradiction?
  • 25. Spotting contradictions Question Given a sentence φ in prop. logic, can we compute if φ is a contradiction? Answer Yes, but it may take a very long time.
  • 26. Easy when formula justs lists possible worlds Special shape not only in front of atoms formula is a disjunction of conjunctions (p and q and not r) or ( p and q and not p) or (not q and . . . ) or . . . Spotting contradictions Is very easy and quick: for each disjunct, check if it contains an atom and its negation; if all are like that, the formula is a contradiction otherwise it is not. How long does that take? We just walk through the formula from left to right and store at most one disjunct in our memory.
  • 27. But life is not always as simple Rewrite formulas Every formula φ can be rewritten into this special form, without changing its meaning. φ is thus a contradiction precisely if its special form is one. Rewriting is expensive In bad cases, the equivalent of φ in special form is exponentially larger than φ. Example: a φ of 400 symbols leads then to a special form of 2400 symbols. This is very much. A gigabyte is 230 bytes. A terrabyte is 240 bytes. A petabyte 250 2400 is roughly a 1 with 120 zeros, which is roughly the number of atoms in the entire universe. . .
  • 28. What to learn from this all Spotting contradictions is hard In eassence, nobody knows if there is a truely better way of spotting contradictions than the one just sketched. Artificial Intelligence is all about trying to do things faster in special cases. Expressivity Different languages may both express the same thing but one can be much more efficient/handy/succinct than the other No we will look at real limits of expressive power.
  • 29. Showing that a language has limits Can express and cannot express In general it is harder to show that you (and nobody else too) cannot express something in a language than to show that you can in the latter case, you just do it Example Express ”exclusive or” in propositional logic. p xor q is true precisly if exactly one of p and q is true
  • 30. Showing that a language has limits Can express and cannot express In general it is harder to show that you (and nobody else too) cannot express something in a language than to show that you can in the latter case, you just do it Example Express ”exclusive or” in propositional logic. p xor q is true precisly if exactly one of p and q is true (p and not q) or (not p and q)
  • 31. First order logic and numbers Talk about individuals and relations among them Add constants, variables, quantifiers, and relations to propositional logic. Example There is no largest number
  • 32. First order logic and numbers Talk about individuals and relations among them Add constants, variables, quantifiers, and relations to propositional logic. Example There is no largest number not∃x∀y. y ≤ x Every donkey has a tail
  • 33. First order logic and numbers Talk about individuals and relations among them Add constants, variables, quantifiers, and relations to propositional logic. Example There is no largest number not∃x∀y. y ≤ x Every donkey has a tail ∀ x. if DONKEY(x) then ∃ y. TAIL(x,y). This wants Facebook: all friends of your friends are your own friends if x Friend y and y Friend z then x Friend z.
  • 34. Integers and Rationals Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1 2, . . . , 2 3, . . . , 1, . . . We speak about them in First Order Logic using only the relation < (smaller than). Question: can we express the difference between integers and rationals in FOL? Yes!
  • 35. Integers and Rationals Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1 2, . . . , 2 3, . . . , 1, . . . We speak about them in First Order Logic using only the relation < (smaller than). Question: can we express the difference between integers and rationals in FOL? Yes! Between any two different numbers there is another number.
  • 36. Integers and Rationals Integers Z: 1,2,3,4,. . . . Rationals Q: . . . , 1 2, . . . , 2 3, . . . , 1, . . . We speak about them in First Order Logic using only the relation < (smaller than). Question: can we express the difference between integers and rationals in FOL? Yes! Between any two different numbers there is another number. ∀x∀y. x < y ⇒ ∃z(x < z & z < y)
  • 37. Difference between finite and infinite Question Can we express the difference between all integers and a finite number of integers?
  • 38. Difference between finite and infinite Question Can we express the difference between all integers and a finite number of integers? Yes
  • 39. Difference between finite and infinite Question Can we express the difference between all integers and a finite number of integers? Yes ”there is a largest number” ∃x. not∃y. x < y The same question but only using the equality relation. We need to know how many elements there are in the finite set. Say n ∃x1∃x2 . . . ∃xn+1(x1 = x2&x1 = x3& . . .) Note Formula is not general, and can be very long.
  • 40. Rationals and Reals Reals Reals, R: all numbers which you can write using decimal expansion. Thus all rationals, but also √ 2, π, . . . Question Can we express the difference between these two in FOL?
  • 41. Rationals and Reals Reals Reals, R: all numbers which you can write using decimal expansion. Thus all rationals, but also √ 2, π, . . . Question Can we express the difference between these two in FOL? No! To show that we need to play games.
  • 42. Model comparison games Rules Two players (Spoiler and Duplicator) play on two models Spoiler starts and picks a number in one model Dupicator answers by picking a number in the other model. these numbers are connected by a line. and so on Duplicator must always answer so that the lines do not cross. if she cannot answer she lost, if she can continue forever she wins. Games and Logic Two models make the same formulas true if Duplicator can win any game played on them.
  • 43. What we learn from this If you want to express the difference between R and Q you need a language stronger than FOL. The difference is: in R every upward bounded set of numbers has a least upper bound. The least upper bound of {n ∈ Q | n < π} is π, but π does not exists in Q. Note that we quantified over SETS, not just over elements.
  • 44. Take home message Expressivity of languages Every language (artificial and natural) has limits to what it can express. These limits say something about the complexity of the language. Know your limits If you cannot express what you want in some language, then it is either your fault, or the ”fault” (the limits) of the language. If you know these limits, you can either search further, or accept reality and be in peace.