7 Logic, the art of Reasoning - JulTob/Mathematics GitHub Wiki
En los capรญtulos tomados de los libros de lรณgica, la neurosis del victoriano conformista, transferida a las construcciones mentales, muestra como el rigor de la inferencia puede desembocar en la locura; en la paradoja de los tres peluqueros y el debate entre Aquiles y la tortuga, la mentalidad del matemรกtico plantea con sorprendente lucidez algunos problemas claves de la lรณgica moderna.
"Contrariwise," continued Tweedledee, "if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic."
- Lewis Carroll
โ๏ธ Logic is a science that aims to identify principles for good and bad reasoning.
๐ Logic is a prescriptive study: one of its goals is to tell you how you ought to reason.
๐ Logic is justified in understanding the world. Something illogical cannot exist.
๐ Logic is a filter for possibility.
๐ญ Understanding logic makes for a better understanding of the world and our thought.
๐ฌ To be true in the world is to be in factual Truth. To be true in thought is to be in conceptual Truth.
๐ง๐ปโ๐ซ We assign Truth values by standards of truth. We assign factual truth by evidence. We assign conceptual truth by assumptions.
๐ง๐ปโ๐ป "I donโt know" is always a valid truth value. We call that state Uncertainty.
๐จ๐ปโ๐ผ We call the Certain states True and False.
๐ฉ๐ปโ๐ Information is gained as the actualization or determination of Truth statements.
Blue Diamond Experiment
A) I think of one of the shapes and colors
๐ถ๐ท๐ ๐ต
B) If a chosen combination (colored shape) is related to my selection in either color or shape or both, I accept. Else, I reject.
C) ๐ถ is accepted
What conclusions can you extract from this?
Could ๐ต be accepted?
Yes, I could be thinking of ๐ .
Information is only gained by rejection.
๐ท๐ปโโ๏ธ Problem-solving is the process of applying logic.
๐ฎ๐ป Deductive thinking provides new truth values from known information. They must follow the rules of inference. It is then a Valid conclusion. The units of known information are called premises.
๐ต๐ป A correct and valid inference is called a proof.
๐๐ปโโ๏ธ A logical application on statements as discourse is called Propositional Logic. A logical application on quantitative logic is called Mathematics.
๐๏ธ Aristotle: ๐ Rules of logical deduction
๐ง๐ป Stoics
๐จ๐ผโ๐ซ Gottfried Leibniz ๐ฅ Algebraic logic
๐คต๐ปโโ๏ธ George Boole ๐ช Binary Logic
๐ง๐ปโโ๏ธ Rev. Charles Luwidge Dogson (Lewis Carroll): ๐ง๐ปโโ๏ธ Symbolic Logic (Puzzles in statement logic)
๐ฉ๐ผโ๐ซ Symbolic logic is a branch of logic that represents how we ought to reason by using a formal language consisting of abstract symbols.
๐ฉ๐ผโโ๏ธ Any declarative sentence that can be assigned a logical value, True
or False
.
๐ Under a concrete system, is the sentence that is assigned a value.
๐ท๏ธ Under an abstract system, is the expressed meaning, a reference to an object, that is true or false.
๐๏ธ Both are used interchangeably as context requires.
๐ Context for a sentence is itself, enrichment and completion for a sentence's meaning.
"Did you eat lunch?" -- Not a sentence
"Yes" -- Sentence by context: "I ate Lunch" == "The sentence 'I ate lunch' is True"
๐ฐ There's also a particular difference between what a sentence means literally and what the speaker's meaning is
Generally in logic as a subject we interpret all sentences literally.
When one thinks of a statement as true, they therefore will sustain that claim. Consistency also means they will act upon as if it is true.
When someone acts or claims inconsistencies, by sustaining contradiction or acting in opposition to a claim, he can be utterly ignored. Sophistry focuses on winning arguments, not on finding truths. Thereโs no better way to hold the appearance of winning than not to compromise to any claim, nor follow consistency nor the rules.
Also, what trust does deserve someone who betrays the truth?
๐งพ In logic, an argument is a series of propositions in which a certain proposition (a conclusion) is represented as following from a set of premises or assumptions.
๐ In reverse, it is usually called an Explanation.
1. When it rains I get wet -- Premise
2. It's raining -- Premise
3. Then, I'm getting wet -- Conclusion
๐ Assumptions are propositions that are not claimed to be true but instead are supposed to be true for the purpose of argument.
-- Problem of Evil --
1. Assume that God exists. -- Assumption
1.2. If God exists then there will be no evil in the world. -- Inference
1.3. Thus, from above, there is no evil in the world. -- Inference
2. But there is evil in the world! -- Premise
3. Therefore, God does not exist. -- Conclusion
๐ The conclusion of an argument follows from the premises & assumptions.
When you put forward a fact or statement as if it was true, by axiom (assumed true) it is an assumption, as when presenting postulates (scientifically demonstrated by experiment, or conclusions from former proofs) you are stating premises.
An argument (a consequence of valid logical steps) can derive into a conclusion (a final statement that is necessarily true).
๐ฉ๐ปโ๐ฌ A fact is interpreted by a paradigm
๐ฉ๐ปโ๐ง A model of how to think about things. Concepts and theories that frame your perspective on a topic.
๐ฉ๐ปโ๐ป Fundamental assumptions that guide thinking and research.
๐ Fact: Sam is 200 ใ tall.
๐ฏ Interpretation: Sam is a tall man
๐๐ป Fact: 2+3 = 3+2
๐ถ๐ปโโ๏ธ Interpretation: if you are two steps away and walk away three steps you are as far as if you were three steps away and walked away two.
No amount of experimentation can prove me right; a single experiment can prove me wrong.
- Albert Einstein
A Proof is an argument that demonstrates a specific statement.
"The DNA test is proof of innocence."
"The theorem is proof for the mathematical statement"
If you get 5 white balls from a jar ๐บโช๏ธโช๏ธโช๏ธโช๏ธโช๏ธ and you conclude the next ball will be white you are using an inductive argument.
It supports the conclusion but does not guarantee it.
If you saw the five balls next to the jar ๐บโช๏ธโช๏ธโช๏ธโช๏ธโช๏ธ and conclude the balls come from the jar, you'd be using an abductive argument. It does not support nor guarantee the conclusion, but the conclusion explains the premises
A deductive argument supports and guarantees a conclusion. It is of the type:
If A then B
A
Therefore B
An argument is deductively valid if and only if, it is necessarily the case that if the premises are true, then the conclusion is true. That is, an argu- ment is deductively valid if and only if it is logically impossible for its premises/assumptions to be true and its conclusion to be false.
Something is logically impossible if and only if the state of affairs it proposes involves a logical contradiction.
This principle demands that every logic unit will set to True or itโs opposite, False. Thereโs no simultaneous truth and falseness for a determined statement. This doesnโt mean a truth canโt be graduated, just that one value excludes the other.
- True = ~False
This principle demands consistency in logic. It is such as: No thing can be itself and not be itself. P & ~P = False
Where P is any claim. ~P is the negation of that claim. & is the conjunctive operation AND. = means โit isโ or โis such asโ. And False is the certainty value already explained.
This principle is universal: it applies to all statements and facts.
Also, it is self evident. By reduction to absurdity we can see that if the principle was false, it will follow it it true.
- ~(P & ~P = False)
- P & ~P = True
- P & ~P = True & ~True = True (2: P= True)
- P & ~P = True & False
- P & ~P = False Therefore, even if the principle of no contradiction would be false, it will still be true. That is an example of proof by irrelevance.
It is the process of induction by stating that an unknown claim will have the same implicit conclusion either being true or false.
- A โB
- ~A โB
- โป๏ธ
- โท B โ is the implication symbol (if A therefore B) (A implies B) (If A, follows B) And โท means the sentence is a conclusion or an induction from the previous statements.
Another way to be certain of a statement is a proof by absurdity. You start by assigning a truth value to the premises. If you arrive to a contradiction with a statement in your propositions, an absurd, you can discard the set of premises. If you test a single premise it may look something like following:
- AโB
- ~B
- :: ~A
It is noticeable that a contradiction implies the rejection of the Set of premises, as combined, not the single values by their own. AKA: Indirect proof
As such, one system that doesnโt derive into a contradiction is called consistent. Consistency is a filter for factual truths.
It is such fallacy where one excludes a posible state of truth.
- Either you are with us, or against us. [I can be indifferent towards you.]
Zenoโs reduction to impossible
- P โ Q
- P โ ~Q
- : : ~P
We can prove positive conclusions by the counter negative property. From the principle of exclusion.
- ~ ~True = True
Euclid infinite primes proof
- P, the set of all primes, is finite
- pi is an element of P
- a = 1 + ฮ pn
- The number a is the multiplicative product of all primes, plus one.
- a is defined, is not divisible by any prime in P
- a, or any divisible prime of a, is not in P
- : : P is not finite
๐๐๐ฐ๐๐ด๐ผ๐ด๐ฝ๐: { ๐๐๐๐, ๐ต๐๐๐๐}
๐:= {๐๐๐๐, ๐ต๐๐๐๐} = {1,0}
โ{๐,๐}=๐น
๐ง๐ปโโ๏ธ Those statements which can be assigned a truth value.
๐โ๐
โ No, Not...
ยฌ๐ = ๐
ยฌ๐ = ๐
ยฌ๐ฐ
- Series circuit
- AND
- &
- Y, And...
๐ฐ ๐ฑ โ ๐ฐโ๐ฑ
โถโถโถโถโถโถโถโถโถโถ
0 0 โ 0
0 1 โ 0
1 0 โ 0
1 1 โ 1
๐โค๐กโฏ๐กโฏโ
ใใใ ใโ
- Parallel circuit
- OR
- ||
- O, or...
๐ฐ ๐ฑ โ ๐ฐโ๐ฑ
โถโถโถโถโถโถโถโถโถ
0 0 โ 0
0 1 โ 1
1 0 โ 1
1 1 โ 1
๐
โโค๐กโฏโโ
โโค๐กโโฏโดโ
ใใใใโ
๐ฆ A formula of statements that is always True
1 for all ๐
๐ โ ๐โยฌ๐
โถโถโถโถโถโถโถโถโถโถโถ
0 โ 1
1 โ 1
0 for all ๐
๐ โ ๐โยฌ๐
โถโถโถโถโถโถโถโถโถโถโถ
0 โ 0
1 โ 0
๐ โ ๐ โ ๐โ๐
โถโถโถโถโถโถโถโถโถโถโถ
0 โ 0 โ 1
0 โ 1 โ 0
1 โ 0 โ 0
1 โ 1 โ 1
๐ has the same value as ๐ for all possible truth values.
๐คฆ๐ปโโ๏ธ If two truth tables look the same, they are equivalent
๐ฐ ๐ฑ ยฌ(๐ฐโง๐ฑ) ยฌ๐ฐโจยฌ๐ฑ
0 0 1 1
0 1 1 1
1 0 1 1
1 1 0 0
ยฌ ๐ฐโง๐ฑ = ยฌ๐ฐ โจ ยฌ๐ฑ
ยฌ ๐ฐโจ๐ฑ = ยฌ๐ฐ โง ยฌ๐ฑ
Implication
Implica, si A entonces B, implies, if-then ...
๐โถ๐ โ๐ โ ๐
โถโถโถโถโถโถโถโถโถโถโถ
1 โ0 โ 0
1 โ0 โ 1
0 โ1 โ 0
1 โ1 โ 1
๐ฐโถ๐ฑ if, then
๐ฐโน๐ฑ implies, Implies tautologically(the conditional is always true).
๐ฐโท๐ฑ iff
๐ฐโบ๐ฑ tautology equivalent
๐ฐโท๐ฑ โบ ๐ฐโถ๐ฑ โง ๐ฑโถ๐ฐ
๐ฐโถ๐ฑ โบ ยฌ๐ฑโถยฌ๐ฐ
๐โท๐ โ๐ โ ๐
โถโถโถโถโถโถโถโถโถโถโถ
1 โ0 โ 0
0 โ0 โ 1
0 โ1 โ 0
1 โ1 โ 1
โ ๐ฐ
โ ๐ฐโถ๐ฑ
โ
๐ฑ
1. ๐โถ๐
2. ๐
3. โด ๐
(๐โถ๐)โ๐ โน ๐
1. ๐โถ๐
2. ยฌ๐
3. โด ยฌ๐
(๐โถ๐)โ๏ฟข๐ โน ๏ฟข๐
โ ๐ฐโถ๐ฑ
โ ๐ฑโถ๐ฒ
โ
๐ฐโถ๐ฒ
1. ๐โถ๐
2. ๐โถ๐
3. โด ๐โถ๐
โ ๐ฐโถยฌ๐ฑ
โ ๐ฐโถ๐ฑ
โ
ยฌ๐ฐ
1. ๐โถ๐
2. ๐โถยฌ๐
3. โด ยฌ๐
๏ฟข๐โถ(๐โ๏ฟข๐) โบ ๐
๐โถ๐ โบ ๏ฟข๐โถ๏ฟข๐
๐โท๐ โบ ๏ฟข๐โท๏ฟข๐
De un antecedente falso see deduce cualquier cosa. Una proposiciรณn falsa implica cualquier cosa.
โ ๐ถโถ๐ฑ
โ
๐ฑ โง ยฌ๐ฑ
1. ๐
2. ยฌ๐
3. โด ๐, ๐, ๐...
๐โ๐ โบ ๐
๐โ๐ โบ ๐
๐โถ๐ โบ ๐ท
๐โท๐ โบ ๐ท
๐โ๏ฟข๐ โบ ๐ท
๐โ๏ฟข๐ โบ ๐ถ
๐โ๐ถ โบ ๐
๐โ๐ท โบ ๐ท
๐โ๐ท โบ ๐
๐โ๐ถ โบ ๐ถ
๐ทโถ๐ โบ ๐
๐โ๐ โบ ๐โ๐
๐โ๐ โบ ๐โ๐
๐โท๐ โบ ๐โท๐
๐โถ๐ โบ ๏ฟข๐ โ ๐
๐โถ๐ โบ ๏ฟข(๐ โ ๏ฟข๐)
๐โถ๐ โบ ๐โท(๐ โ ๐)
๐โถ๐ โบ ๐โท(๐ โ ๐)
๐โท๐ โบ (๐โถ๐)โ(๐โต๐)
๐โ๐ โน ๐ -- Simplificacion conyuntiva
๐โ๐ โน ๐
๐ โน ๐โ๐ -- Expansion disyuntiva
-- Ley de inferencia
๏ฟข๐ โ (๐โ๐) โน ๐
(๐โ๐)โ๐ โบ ๐โ(๐โ๐) โบ ๐โ๐โ๐
(๐โ๐)โ๐ โบ ๐โ(๐โ๐) โบ ๐โ๐โ๐
(๐โท๐)โท๐ โบ ๐โท(๐โท๐) โบ ๐โท๐โท๐
๐โ(๐โ๐) โบ (๐โ๐)โ(๐โ๐)
๐โ(๐โ๐) โบ (๐โ๐)โ(๐โ๐)
๐โถ(๐โ๐) โบ (๐โถ๐)โ(๐โถ๐)
๐โถ(๐โ๐) โบ (๐โถ๐)โ(๐โถ๐)
โ para todo, for all, todo x es ...
โ Existe, existe algรบn, there exists, hay al menos un...
๐ญ Simplification is a kind of equivalence.
๐ โ ยฌยฌ๐
โถโถโถโถโถโถโถโถโถโถโถ
0 โ 0
1 โ 1
ยฌยฌ๐ โบ ๐
๐โ๐ โบ ๐
๐โ๐ โบ ๐
๐โถ๐ โบ 1
๐โยฌ๐ โบ 1
๐โยฌ๐ โบ 0
๐โ0 โบ ๐
๐โ1 โบ 1
๐โ0 โบ 0
๐โ1 โบ ๐
1โถ๐ โบ ๐
๐โถ๐ โบ ยฌ๐ โถ ยฌ๐
๐โถ๐ โบ ยฌ๐โ๐
๐โถ๐ โบ ยฌ(๐โยฌ๐)
๐โ(๐โ๐) โบ (๐โ๐)โ(๐โ๐)
๐โ(๐โ๐) โบ (๐โ๐)โ(๐โ๐)
๐โถ(๐โ๐) โบ (๐โถ๐)โ(๐โถ๐)
๐โถ(๐โ๐) โบ (๐โถ๐)โ(๐โถ๐)
Simplification
๐โ๐ โน ๐
Amplification
๐ โน ๐โ๐
Inferencial
(ยฌ๐โ๐)โ(๐โ๐) โน ๐
๐โ(ยฌ๐โยฌ๐) โน ยฌ๐
p | 0 0 1 1
q | 0 1 0 1
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
C0 | 0 0 0 0 | ๐
C1 | 0 0 0 1 | โง
C2 | 0 0 1 0 |
C3 | 0 0 1 1 |
C4 | 0 1 0 0 |
C5 | 0 1 0 1 |
C6 | 0 1 1 0 | โฎ
C7 | 0 1 1 1 | โจ
C8 | 1 0 0 0 | โฝ
C9 | 1 0 0 1 | โท
C10| 1 0 1 0 |
C11| 1 0 1 1 |
C12| 1 1 0 0 |
C13| 1 1 0 1 | โถ
C14| 1 1 1 0 |
C15| 1 1 1 1 | ๐ง
The statement โx is greater than 3โ has two parts. The first part, the variable x, is the subject of the statement. The second partโthe predicate, โis greater than 3โโrefers to a property that the subject of the statement can have. We can denote the statement โx is greater than 3โ by P(x), where P denotes the predicate โis greater than 3โ and x is the variable. The statement P(x) is also said to be the value of the propositional function P at x. Once a value has been assigned to the variable x, the statement P(x) becomes a proposition and has a truth value.
We can also have statements that involve more than one variable. For instance, consider the statement โx = y + 3.โ We can denote this statement by Q(x, y), where x and y are variables and Q is the predicate. When values are assigned to the variables x and y, the statement Q(x, y) has a truth value.
Predicates are also used to establish the correctness of computer programs, that is, to show that computer programs always produce the desired output when given valid input. (Note that unless the correctness of a computer program is established, no amount of testing can show that it produces the desired output for all input values, unless every input value is tested.) The statements that describe valid input are known as preconditions and the conditions that the output should satisfy when the program has run are known as postconditions. As Example 7 illustrates, we use predicates to describe both preconditions and postconditions. We will study this process in greater detail in Section 5.5.
of elements. In English, the words all, some, many, none, and few are used in quantifications. We will focus on two types of quantification here: universal quantification, which tells us that a predicate is true for every element under consideration, and existential quantification, which tells us that there is one or more element under consideration for which the predicate is true. The area of logic that deals with predicates and quantifiers is called the predicate calculus.
Many mathematical statements assert that a property is true for all values of a variable in a particular domain, called the domain of discourse (or the universe of discourse), often just referred to as the domain.
Such a statement is expressed using universal quantification. The universal quantification of P(x) for a particular domain is the proposition that asserts that P(x) is true for all values of x in this domain. Note that the domain specifies the possible values of the variable x. The meaning of the universal quantification of P(x) changes when we change the domain. The domain must always be specified when a uni- versal quantifier is used; without it, the universal quantification of a statement is not defined.
The universal quantification of P(x) is the statement โP(x) for all values of x in the domain.โ
The notation โxP(x)
denotes the universal quantification of P(x). Here โ is called the universal quantifier. We read โxP(x) as โfor all x, P(x)โ or โfor every x, P(x).โ An element for which P(x) is false is called a counterexample to โxP(x).
Note that if the domain is empty, then โxP(x) is true for any propositional function P(x) because there are no elements x in the domain for which P(x) is false.
Besides โfor allโ and โfor every,โ universal quantification can be expressed in many other ways, including โall of,โ โfor each,โ โgiven any,โ โfor arbitrary,โ โfor each,โ and โfor any.โ
The statement โxP(x) is false, where P(x) is a propositional function, if and only if P(x) is not always true when x is in the domain. One way to show that P(x) is not always true when x is in the domain is to find a counterexample to the statement โxP(x). Note that a single counterexample is all we need to establish that โxP(x) is false.
The existential quantification of P(x) is the proposition โThere exists an element x in the domain such that P(x).โ We use the notation โxP(x) for the existential quantification of P(x). Here โ is called the existential quantifier.
Besides the phrase โthere exists,โ we can also express existential quantification in many other ways, such as by using the words โfor some,โ โfor at least one,โ or โthere is.โ The existential quantification โxP(x) is read as
โThere is an x such that P(x),โโจ
โThere is at least one x such that P(x),โ
โFor some xP(x).โ
If the domain is empty, then โxQ(x) is false whenever Q(x) is a propositional function because when the domain is empty, there can be no element x in the domain for which Q(x) is true.
uniqueness quantifier, denoted by โ! or โ1. โ!xP(x) [or โ1xP(x)] states โThere exists a unique x such that P(x) is true.โ
โxP(x) P(x) is true for every x. oโ There is an x for which P(x) is false.
โxP(x) There is an x for which P(x) is true. oโ P(x) is false for every x.
the universal quantification โxP(x) is the same as the conjunction P(x1) โง P(x2) โง โฏ โง P(xn),โจbecause this conjunction is true if and only if P(x1), P(x2), ... , P(xn) are all true.
Similarly, when the elements of the domain are x1, x2, ... , xn, where n is a positive integer, the existential quantification โxP(x) is the same as the disjunction P(x1) โจ P(x2) โจ โฏ โจ P(xn),โจbecause this disjunction is true if and only if at least one of P(x1), P(x2), ... , P(xn) is true.
โx < 0 (x2 > 0) is another way of expressing โx(x < 0 โ x2 > 0).
โz > 0 (z2 = 2) is another way of expressing โz(z > 0 โง z2 = 2).
The part of a logical expression to which a quantifier is applied is called the scope of this quantifier. In the statement โx(x + y = 1), the variable x is bound by the existential quantification โx, but the variable y is free because it is not bound by a quantifier and no value is assigned to this variable.
Statements involving predicates and quantifiers are logically equivalent if and only if they have the same truth value no matter which predicates are substituted into these statements and which domain of discourse is used for the variables in these propositional functions. We use the notation S โก T to indicate that two statements S and T involving predicates and quantifiers are logically equivalent.
ยฌโxP(x) โก โx ยฌP(x).
ยฌโxQ(x) โก โx ยฌQ(x).
GrupoSujeto(Verbo/Adjetivo/Predicado)
โxโy(x + y = 0)
.
is the same thing as โxQ(x), where Q(x) is โyP(x, y), where P(x, y) is x + y = 0.โจ
Assume that the domain for the variables x and y consists of all real numbers. The statement โxโy(x+y = y+x)โจsays that x + y = y + x for all real numbers x and y. This is the commutative law for addition of real numbers. Likewise, the statement โxโy(x + y = 0) says that for every real number x there is a real number y such that x + y = 0. This states that every real number has an additive inverse. Similarly, the statement โxโyโz(x+(y+z) = (x+y)+z)โจis the associative law for addition of real numbers.
or example, to see whether โxโyP(x, y) is true, we loop through the values for x, and for each x we loop through the values for y. If we find that for all values of x that P(x, y) is true for all values of y, we have determined that โxโyP(x, y) is true. If we ever hit a value x for which we hit a value y for which P(x, y) is false, we have shown that โxโyP(x, y) is false.
Similarly, to determine whether โxโyP(x, y) is true, we loop through the values for x. For each x we loop through the values for y until we find a y for which P(x, y) is true. If for every x we hit such a y, then โxโyP(x, y) is true; if for some x we never hit such a y, then โxโyP(x, y) is false. To see whether โxโyP(x, y) is true, we loop through the values for x until we find an x for which P(x, y) is always true when we loop through all values for y. Once we find such an x, we know that โxโyP(x, y) is true. If we never hit such an x, then we know that โxโyP(x, y) is false. Finally, to see whether โxโyP(x, y) is true, we loop through the values for x, where for each x we loop through the values for y until we hit an x for which we hit a y for which P(x, y) is true. The statement โxโyP(x, y) is false only if we never hit an x for which we hit a y such that P(x, y) is true.
Statement When True? When False?
โxโyP(x, y)
โyโxP(x, y)
P(x, y) is true for every pair x, y.
There is a pair x, y for which P(x, y) is false.
โxโyP(x, y)
For every x there is a y for which P(x, y) is true.
There is an x such that P(x, y) is false for every y.
โxโyP(x, y)
There is an x for which P(x, y) is true for every y.
For every x there is a y for which P(x, y) is false.
โxโyP(x, y)
โyโxP(x, y)
There is a pair x, y for which P(x, y) is true.
P(x, y) is false for every pair x, y.
$\color{Silver}\text{ There is nothing so practical}$ $\color{Silver}\text{ as a good theory.}$
$\color{Silver}\text{ Israel Kleiner}$
๐ Mathematics isnโt just about crunching numbers. It's the art of communicating ideas with exactitude. Therefor, mathematicians have developed a specialized language, that carries very precise meaning.
๐ This is a language designed to be precise, unambiguous, and deeply logical.
๐ Mathematicians didnโt just pull this language out of thin air. They built it brick by brick using the sturdy foundations of logic: The rules that govern mathematical thinking.
๐ At its core, this language is composed by
-
A. ObjectโProperty Statements
-
๐ Object
$\color{red}a$ has property$\color{gold}P$ -
๐ This sentence means that a particular object (
$\color{red}a$ ) possesses some specific characteristic or property$\color{gold}P$ . -
$\color{red}a$ :$\color{gold}P$ -
$\color{red}a$ is$\color{gold}P$ -
$\color{gold}P({\color{red}a})$
๐ฑ The
$\color{red}cat$ is$\color{gold}fluffy$ -
-
๐ Object
$\color{red}a$ has properties$\color{gold}P$ and$\color{gold}Q$ -
๐ A particular object (
$\color{red}a$ ) possesses more than one property:$\color{gold}P$ and$\color{gold}Q$ . -
$\color{red}a$ :$\color{gold}P$ ,$\color{gold}Q$
-
-
-
B. ObjectโType Membership
- ๐ Object
$\color{red}a$ belongs to type$\color{lime}T$ - ๐ This means that
$\color{red}a$ is an element of the set (or type)$\color{lime}T$ .- We arenโt saying anything about the properties of
$\color{lime}T$ just yet, only that$\color{red}a$ is a member of$\color{lime}T$ .
- We arenโt saying anything about the properties of
- Object
$\color{red}a$ belongs to type$\color{lime}T$ -
$\color{red}a$ is an element of$\color{lime}T$ -
$\color{red}a$ $\in$ $\color{lime}T$
The
$\color{red}cat๐ฑ$ is a$\color{lime}mammal$ . - ๐ Object
-
C. Defining a Type by a Property
- ๐ Type
$\color{lime}T$ is defined by property$\color{gold}P$ - This means that all objects in
$\color{lime}T$ share the property$\color{gold}P$ . - Type
$\color{lime}T$ is essentially a set of objects that satisfy the condition of having property$\color{gold}P$ . -
$\color{lime}T$ is defined by property$\color{gold}P$ -
$\color{lime}T$ $\mid$ $\color{gold}P$ -
$\color{lime}T$ = {$\color{red}a$ $\mid \color{gold}P({\color{red}a})$ }- Read as: โ
$T$ is the set of objects$a$ such that$P(a)$ is trueโ
- Read as: โ
$\color{lime}Mammals$ are$\color{gold}Fluffy$ $\color{red}animals$ . - ๐ Type
-
D. Total Containment
- ๐ Type
$\color{lime}T$ contains$\color{tomato}all$ $\color{red}objects$ with property$\color{gold}P$ - ๐ This is very similar to (C), but it emphasizes that
$\color{lime}T$ contains$\color{tomato}ALL$ objects that meet the condition of having property$\color{gold}P$ . - We're saying that if an object has property
$\color{gold}P$ , then it must belong to type$\color{lime}T$ , definitely. -
$\color{lime}T$ contains$\color{tomato}all$ $\color{red}objects$ that satisfy$\color{gold}P$ -
$\color{tomato}\forall$ $\color{red}a$ : {$\color{gold}P({\color{red}a})$ $\implies$ $\color{red}a$ $\in$ $\color{lime}T$ }
- ๐ Type
-
E. Universal Properties
-
Here we assert that if an object is in
$\color{lime}T$ , then it necessarily has property$\color{gold}P$ . -
This universal statement ensures consistency within the type.
-
๐ All objects in type
$\color{lime}T$ have property$\color{gold}P$ -
๐ This means that every object in type
$\color{lime}T$ must have the property$\color{gold}P$ . If$\color{red}a$ is in$\color{lime}T$ , then$\color{gold}P({\color{red}a})$ is true. -
All
$\color{red}a$ in type$\color{lime}T$ have property$\color{gold}P$ : -
$\color{tomato}Everyโ object$ of type$\color{lime}T$ shares a property$\color{gold}P$ -
$\color{tomato} \forall$ $\color{red}a$ $\in$ $\color{lime}T$ :$\color{gold}P({\color{red}a})$ -
$\color{tomato}Every$ $\color{lime}T$ is$\color{gold}P$ -
$\color{tomato}โ$ $\color{red}a$ $\color{lime}\in T$ :$\color{gold}P$ -
$\color{lime}T$ :$\color{gold}P({\color{red}a})$ -
$\color{tomato}โ$ $\color{lime}T$ {$\color{red}a$ }:$\color{gold}P$
$\color{tomato}Every$ $\color{lime}dog ๐$ $\color{gold}barks$ $\color{lime}Dogs ๐$ $\color{gold}bark$ -
-
F. Existential Statements
-
๐ Some
$T$ are$P$ -
๐ This means that there exists at least one object in
$T$ that has the property$P$ . Weโre not claiming that all objects in$T$ have$P$ , just that some do. -
$\color{tomato}Thereโ isโ anโ object$ of Type$\color{lime}T$ having property$\color{gold}P$ -
$\color{tomato}Someโ objects$ in the Set$\color{lime}T$ have property$\color{gold}P$ -
Some
$\color{red}a$ in type$\color{lime}T$ have property$\color{gold}P$ -
$\color{tomato}\exists$ $\color{red}a \in \color{lime}T$ :$\color{gold}P({\color{red}a})$ -
$\color{tomato}โ$ $\color{lime}T$ {$\color{red}a$}:$\color{gold}P$ -
$\color{tomato}โ$ $\color{red}a$ :$\color{gold}P$ -
$\color{tomato}โ$ $\color{red}a$ $\in$ $\color{lime}T$ :$\color{gold}P$ -
$\color{tomato}Thereโ Exist$ in$\color{lime}T$ :$\color{gold}P({\color{red}a})$
-
-
Conditional (IF)
This means that whenever statement A is true, statement B must also be true.
-
๐
$\color{violet}If$ statement$\color{magenta}A$ ,$\color{violet}then$ statement$\color{magenta}B$ -
$\color{violet}If$ $\color{magenta}A$ ,$\color{magenta}B$ must follow. -
$\color{magenta}A$ $\color{violet}implies$ $\color{magenta}B$ -
$\color{magenta}A$ $\color{violet}โน$ $\color{magenta}B$ -
If
$P$ then$Q$ -
$Q$ if$P$ -
$P$ only if$Q$
โIf it rains, then the ground is wet.โ
-
-
Conjunction (AND):
Both
$\color{magenta}A$ and$\color{magenta}B$ are asserted true simultaneously- ๐ Statement
$\color{magenta}A$ $\color{violet}and$ statement$\color{magenta}B$ -
$\color{magenta}A$ $\color{violet}๏ผ$ $\color{magenta}B$ -
$\color{magenta}A$ $\color{violet}โง$ $\color{magenta}B$
โIt is raining and it is cold.โ
- ๐ Statement
-
Disjunction (OR)
At least one of
$\color{magenta}A$ or$\color{magenta}B$ is true (possibly both).-
๐ Statement
$\color{magenta}A$ $\color{violet}or$ statement$\color{magenta}B$ -
$\color{magenta}A$ $\color{violet}โจ$ $\color{magenta}B$
It can be rainy or windy today.
-
-
Negation
This asserts
$\color{magenta}A$ $\color{salmon}is$ $\color{salmon}false$ - ๐ Statement
$\color{salmon}Not$ $\color{magenta}A$ -
$\color{salmon}๏ฟข$ $\color{magenta}A$
- ๐ Statement
โ๏ธ The beauty of math is that once you master the logical toolkit above, you can craft entire theories, proving truths that build on one another, in layers.
๐ฉ And the best part? Thereโs no room for miscommunication. Everything is laid out with crisp, mathematical clarity.
With this logical language at your disposal, you can now construct proofs, formulate models, and develop theories that are as elegant as they are unambiguous. Each sentenceโwhether it asserts a property, defines a set, or connects ideas through conditionalsโserves as a building block in the vast structure of mathematics.