« first day (409 days earlier)      last day (2408 days later) » 

5:47 AM
@Mathmore That's excellent! In my opinion all students need to learn basic logic as it will make logical reasoning (and everything in mathematics) crystal clear, and all fallacies will go away. =)
@Mathmore Here's fine for logic-related stuff. =)
@Mathmore By the way when I teach logic I always include 2 separate stages of explanation of the implication. Since you mention teaching it, you might be interested to know how I do it.
First is the truth-table.
 
@user21820 Thanks a lot!
 
Namely we define the symbol "⇒" to have a certain meaning.
 
I agree with you. I so much love logic now you know!
Yes you can tell me those 2 separate stages
 
"A⇒B" means "If A is true then B is true.", which is a promise. It is only false (broken) when A is true but B is false.
 
And of course my favourite... explanation of the implication
:)
 
6:02 AM
That is why the truth-table is defined that way.
 
Okay.
 
This is the first stage. Probably very similar to what you do already.
Right?
 
Yes. I first write down the truth table of implication on board!
What is the second stage?
 
That and the explanation of the chosen semantics. Because most laymen have a different notion of "implies" than the mathematical one, so we need to justify why we are defining the mathematical one in a certain way.
And I never use the English word "implies" in the definition of "⇒".
 
Okay. This idea of "promise" is nice. I might use it next time.
 
6:05 AM
Now the second stage is even nicer, especially for CS students. =D
The goal of logic is to ensure that everything we state is true (correct).
This is cumbersome if we don't have contexts, because we often want to state multiple things within some context.
 
Oh I see. My native language is not English. So I have to teach in half english and half native.
 
Ah okay.
So the real goal is to ensure that everything we state is true in its context.
 
Yes... everything should be logical. agreed!
 
For example if we are in a classroom then the word "teacher" usually would refer to some unique entity in that context.
 
True. We must give meaning to things!
Can we say that goal of logic is also to make valid arguments?
 
6:08 AM
Wait I will come to that soon.
 
Baisc arguments like modus ponens modus tollens etc
Okay
 
Now this notion of reasoning within contexts leads directly to Fitch-style natural deduction. There are many variants, and I describe one variant in Math SE (see the links on my profile under natural deduction):
3
A: Predicate logic: How do you self-check the logical structure of your own arguments?

user21820Truth tables are not enough to capture first-order logic (with quantifiers), so we use inference rules instead. Each inference rule is chosen to be sound, meaning that if you start with true statements and use the rule you will deduce only true statements. We say that these rules are truth-preser...

1
A: Deductive proof - need help, explanation how to

user21820There are many styles of natural deduction, and the one most suited for practical use is Fitch-style, which uses indentation just like programming languages to denote scoping. Basically, you ensure that every sentence you write is true in its context, where the context is captured by headers exac...

It is exactly like in programming, where you have contexts created by if-structures and for/while-loops.
Within each context you can execute statements.
In logic, we don't execute statements, but rather we assert them.
 
I visited your profile yesterday and downloaded some pdfs such as 'forallx' and mathematical logic by Hannes...
Okay
I see.
 
Unsurprisingly, we can capture that in common programming languages like C/C++/Java.
They have the assert feature.
 
Such elaborate answers!
 
6:11 AM
The following contextual statement:
If P:
  Q.
 
Thanks for sharing
 
corresponds to:
if(P)
{
  assert Q;
}
 
Okay. Yes. In algorithms I have seen this.
 
Again recall the goal of logic is to only assert statements that are true within their context. That corresponds exactly to being able to execute the corresponding program with no assertion error.
What happens if P is true? Q had better be true, otherwise it would be wrong. But what happens if P is false? The if-body is not executed so it does not matter what Q is!
This is more or less the second concrete explanation for our choice of semantics for "If P then Q.".
 
I am following.
Ah! great. If P is false then if-body isn't executed so whether or not Q is true.. who cares!
 
6:15 AM
Right.
 
So is it based on algorithms? like has it been derived from algorithms?
 
No first-order logic came much earlier than computer science.
But this explanation is very useful to help CS students.
Because they already should know what these programming constructs are.
 
Okay. It's nice to see that how it got applied.
hmmm. since I was teaching for the first time, I gave an explanation which I want to share with you
I taught like this :
If a conditional statement is 'possible' then we give the truth value True to it. Otherwise we say that the statement is false. Lets assume we have a true statement. If we perform logical steps on this statement then the statement to which we arrive has to be true. In other words, it's the only possible way that we start from a true statement and end up on a true statement after doing logical deduction. Since it's 'possible' we assign it's true. let me finish my argument
If we assume a false statement and perform logical deductions on it, then it's possible that we may end up on a true statement or we may end up on a false statement.
I gave examples like if $0=1$ then adding $1$ both sides (which is a logical step), we get $1=2$. So it's possible to start from false statement and end up on a false statement.
Next if $0=1$ then by 'logical step' we have $1=0$ and by adding these two (a 'logical' step) we get $1=1$ which is a true statement. So it's also possible that we start from a false statement and after applying logical deductions we arrive at a true statement.
As discussed, since these things are 'possible' we assign them truth value 'true'.
I stop here. Hope you didn't sleep. Next time I'll definitely include your explanation!
 
I will advise you to avoid this explanation the next time, because it uses "possible" in a misleading (and technically incorrect) manner. There is a correct way to explain this feature of implication, which I can tell you.
 
6:31 AM
Okay. Can you tell me the technical errors in my explanation?
Yes tell me the correct way too. Ready to learn.
Also $p \implies q$ means "$q$ can be deduced logically from $p$" right? that's what I wanted to capture in using the word 'possible'.
 
@Mathmore I understood that idea. But you can't use that to justify your first paragraph because your reasoning would then be circular or wrong. If you can prove "p implies q" then indeed you can deduce q logically from p, but not necessarily the other way around!
This may sound crazy, but in any reasonable foundation for mathematics there are sentences P,Q such that:
(1) If you can deduce P then you can deduce Q.
(2) You cannot deduce ( P implies Q ).
If you take this as true for now, it shows that it is extremely dangerous to associate implication with deduction.
Do you want me to give the details for this 'crazy' claim? Or do you want me to just explain the correct way?
@Mathmore: I've to go off for some time. Let me know what you'd like me to explain further and I'll respond when I'm back.
 
6:49 AM
No no. I didn't mean that if p implies q then q implies p.
I meant if we start from a true statement. apply logical deductions then we get a true statement. I then told them that it is 'never possible' that you apply logical steps on a true statement and end up on a false statement.
I sure want to know your side of the details of this claim. But I didn't mean that this claim is false when teaching the stuff.
I want to know the difference between deduction and implication.
Ignore my first reply "No no..... implies p". I half read your reply and then typed that.
 
7:29 AM
@Mathmore: The details involves the incompleteness theorems. Let FM denote our foundational system for mathematics. Then if FM is sound for arithmetical statements (which we need to believe otherwise we should not be using it) then FM cannot prove some true arithmetical statement Con(FM), where "arithmetical truth" is defined in FM itself. Thus if you can deduce Con(FM) then (vacuously) you can deduce "0=1". But you cannot deduce ( Con(FM) implies 0=1 ).
So this is an explicit example of P,Q such that (1) holds but (2) does not. Therefore, one cannot define the classical implication ( P⇒Q ) to be true exactly when Q can be deduced from P. As in the above example, it may very well be the case that Q can be deduced from P but ( P⇒Q ) is false!
 
8:05 AM
What is Con(FM)?
 
It is some special arithmetical sentence that can be constructed such that FM is consistent if and only if Con(FM) is true about the natural numbers.
 
For example?
As stated, I agree with your claim but I am not following the details.
 
Um, that's the non-trivial part (it was effectively Godel's main contribution). Intuitively we want it to state "FM cannot prove 0=1.". It is relatively easy if we don't want an arithmetical sentence.
I can show you the general idea that produces a sentence about strings instead of natural numbers.
 
I have never came across incompleteness theorems. I suppose they were put forward by Godel but that's what I know about them.
 
You have come across the halting problem, so there is an interesting easy non-constructive proof of the incompleteness theorems, which I can tell you later. This proof wouldn't serve the purpose of showing you what Con(FM) is like, because it's totally non-constructive. So let's leave that aside first.
 
8:17 AM
Okay. Yeah I have done halting problem in 'theorem-proof' setting. Theorem : There is no algorithm that can tell us whether any given algorithm will loop forever or halt.
 
To say "FM cannot prove 0=1" we say "There is no string that encodes a proof of 0=1.". Note that a proof in any reasonable formal system can be encoded as a finite string, just like every program is a string.
So Con(FM) can be represented by "¬∃s∈Strings ( ... )" if FM supports string manipulation.
It turns out that if FM can prove Con(FM) then FM can prove "0=1".
 
Can I support your claim with the following ? Let p : sinx is continuous and q : sinx is differentiable. Now if we can deduce that sinx is continuous then we can deduce that sinx is differentiable. But it's not possible to deduce that "sinx is continuous implies sinx is differentiable."
 
Your last sentence is false. We can indeed deduce that ( sin is continuous implies sin is differentiable ).
Simply because sin is differentiable.
 
Oh great. So you see a proof as a string of characters?
 
There is no easy way to observe my claim, which is why it's a common mistake by non-logicians to associate provability and truth.
 
8:21 AM
Oops!!
 
hmm, what am I missing?
 
@Mathmore For any reasonable formal system, it must be, because the only kind of formal systems we can actually use are those that can be described syntactically.
@LeakyNun You are missing the possibility that provability is not the same as truth.
 
so provability=deducability?
 
@user21820 right, truth is about models
 
Yes I'm using them synonymously.
@LeakyNun No here we are only invoking arithmetic truth, which is fixed by the standard model of PA.
 
8:23 AM
What kinda models? If both of you know but I don't know any model.
 
@LeakyNun: But for now let's not talk about that.
 
What do you mean by arithmetic truth? Like adding 1 both sides, subtracting 2 from both sides etc?
 
lol @user21820 it turns out you introduced proof theory :P
not sure if @Mathmore wants to dig into that
 
@Mathmore You don't need to know models here. We simply need to work in a foundational system FM that can reason about natural numbers (or finite strings).
 
@LeakyNun If I am curious, then I will dig anything.
 
8:25 AM
For natural numbers what axioms we need are just the axioms of PA− plus induction.
 
@Mathmore then are you curious?
 
Yes I am curious.
 
then you will dig anything!
 
So by modus ponens.....
 
@Mathmore ;)
 
8:25 AM
:D
@LeakyNun
 
lol
 
The reason I switched to strings is that it's difficult to prove the core Godel lemma needed to get an arithmetical sentence (namely a sentence that only involves natural numbers).
 
example of a FM? @user21820
 
Hmm.. most logicians will say ZFC, but that's really unnecessary here.
Just think of FM as a system capturing what you personally believe in. For now.
 
Oh! so ZFC is a model
 
8:27 AM
ZFC is a formal system, not a model.
 
or as you say a FM
Okay.
 
"Model" in logic has a technical meaning, so I'm avoiding it.
 
13 mins ago, by user21820
Um, that's the non-trivial part (it was effectively Godel's main contribution). Intuitively we want it to state "FM cannot prove 0=1.". It is relatively easy if we don't want an arithmetical sentence.
I think you meant "FM cannot prove that FM cannot prove that 0=1"?
 
Okay @user21820
Let p : 1=1 and q : 0=1.
 
@Mathmore In this case (1) does not hold.
 
8:30 AM
then p can be deduced then q can also be deduced. But 1=1 doesn't imply 0=1.
 
No I do not believe that you can deduce q. Show me how!
As I said, you can't find a simple example because there are no simple examples unless current mathematics is severely flawed.
 
@user21820 what is (1)?
 
2 hours ago, by user21820
This may sound crazy, but in any reasonable foundation for mathematics there are sentences P,Q such that:
(1) If you can deduce P then you can deduce Q.
(2) You cannot deduce ( P implies Q ).
 
hmm?
what sentences?
 
Oh so you don't know also?
Heh..
@LeakyNun: You can click the link to start reading my explanation of that claim.
 
8:32 AM
1 hour ago, by user21820
@Mathmore: The details involves the incompleteness theorems. Let FM denote our foundational system for mathematics. Then if FM is sound for arithmetical statements (which we need to believe otherwise we should not be using it) then FM cannot prove some true arithmetical statement Con(FM), where "arithmetical truth" is defined in FM itself. Thus if you can deduce Con(FM) then (vacuously) you can deduce "0=1". But you cannot deduce ( Con(FM) implies 0=1 ).
 
Right.
 
I thought that's deduction theorem
proof by induction on the length of proof
 
No it's not the deduction theorem at all.
 
what is the deduction theorem?
 
( S |− P⇒Q ) iff ( S+P |− Q ).
 
8:34 AM
how is that different?
 
Here we have ( S |− P ) ⇒ ( S |− Q ). Totally different from ( S |− P⇒Q ).
 
@user21820 okay. I believe you.
BRB
guys
gonna have lunch.
 
@Mathmore: Okay. I'll see you later!
 
@user21820 why can't you deduce [con(FM) implies 0=1]?
 
@LeakyNun I missed this. What I wrote was correct.
@LeakyNun Because Con(FM) is constructed to be true for natural numbers. So if FM is sound for arithmetical sentences then FM cannot prove ¬Con(FM).
 
8:38 AM
@user21820 interesting
 
The hard part is to construct such a sentence that FM cannot prove, so that (1) holds.
 
I wonder where we are when we say "if we can deduce con(FM) then we can deduce 0=1"
 
In the meta-system MS, which could very well be FM too.
This whole discussion (minus the non-mathematical parts) is supposed to be in MS anyway.
After all, if FM is supposed to be a viable foundation, then FM should be able to act as our MS.
 
but if it can be FM then what is happening there?
 
Nothing fishy. FM can analyze itself and observe that if it is consistent then it cannot prove Con(FM).
 
8:41 AM
what the hell
 
And that if it is arithmetically sound then it cannot prove ¬Con(FM).
 
don't mess with my brain :P
 
You can analyze yourself too.
Only that you would be probably less systematic than FM analyzing itself. =D =D
 
do we have a provability predicate?
 
Yes indeed it can be constructed easily or difficultly depending on what FM can do.
That's why I wanted to use strings instead of natural numbers.
 
8:44 AM
so what are we dealing with now
P(con(FM)) => P(0=1)?
 
I misunderstood your question. The answer is yes and no.
 
@user21820 ?
 
Let's be systematic. Remember that I am always talking within MS, and my MS can construct collections of strings that satisfy some property.
Let Th(FM) be the collection of all sentences that FM proves.
If Con(FM)∈Th(FM) then "0=1"∈Th(FM).
 
what is Con(FM) again?
 
35 mins ago, by user21820
It is some special arithmetical sentence that can be constructed such that FM is consistent if and only if Con(FM) is true about the natural numbers.
34 mins ago, by user21820
Um, that's the non-trivial part (it was effectively Godel's main contribution). Intuitively we want it to state "FM cannot prove 0=1.". It is relatively easy if we don't want an arithmetical sentence.
 
8:48 AM
could you go deeper?
 
NL (Natural language): This is why I said the answer is yes and no...
Let Con(FM) be the sentence "There is no string encoding a valid proof of 0=1 over FM.".
NL: Of course, "encoding" here is dependent on FM. The easiest way is the generalized way I always do it; a formal system S is simply a program that halts on all input strings and accepts or rejects, and whenever it accepts a pair (p,x) we interpret it to mean that p is a valid proof of sentence x over S.
NL: So that is how we handle formal systems in general. I can hence be now more precise in the definition of Con(FM) in MS.
NL: Remember we will treat FM as a program now.
MS: Let Con(FM) be the sentence ( There is no string p such that FM accepts (p,"0=1"). ).
I edited to avoid ambiguous quotations.
NL: @LeakyNun: Is this definition of Con(FM) clear enough?
 
NL: Yes
 
MS: Then if FM is consistent then Con(FM) is in fact true (over here in MS).
MS: But Con(FM) is also a sentence over FM (since I said our FM like MS can handle string manipulation).
 
NL: what is "FM is consistent"?
 
MS: Define that FM is consistent iff ( there is no string p such that FM accepts (p,"0=1") ).
NL: =D
 
8:59 AM
what the hell
 
NL: It's what we want, isn't it? We literally define (arithmetic) consistency as that FM does not prove "0=1".
 
NL: continue then
 
NL: It turns out Godel proved the following (in MS).
MS: If FM is consistent then FM does not prove Con(FM).
MS: Also, if FM is sound for finite strings (does not prove a false sentence about strings) then FM does not prove ¬Con(FM) by definition.
 
should we go over Godel's proof?
I've read it once and kind of understood but maybe we should go over it to be on the same page
(of course, I read a simplified version)
 
MS: Note that if FM is sound for finite strings then it is also consistent, and hence it neither proves Con(FM) nor its negation.
@LeakyNun I intend to do so when @Mathmore is back, otherwise I might be doing it twice. =P
 
9:03 AM
@user21820 just have him read the conversation
 
For you, you can probably read my post with both non-constructive and constructive proofs:
6
A: In Godel's first incompleteness theorem, what is the appropriate notion of interpretation function?

user21820I've always interpreted this notion in the following way. $ \def\eq{\leftrightarrow} \def\t{\text} \def\pa{\t{PA}} \def\th{\t{Th}} \def\prf{\t{Proof}} \def\prov{\t{Prov}} \def\box{\square} \def\nn{\mathbb{N}} \def\str#1{{``\text{#1}\!"}} $ Formal system interpretation Take any formal systems...

It is symbol-heavy so I will rephrase it in informal terms for Mathmore.
But if you want rigour that's the one to go for.
 
ok
 
You could read the linked blog post first, if you already have background knowledge of Turing machines and decidability.
Later I will also explain only the simpler version that reduces to the halting problem.
 
Hey I am back
 
Oh so fast.
 
9:08 AM
Curiousity killed my hunger
Reading through where I left quickly
 
I'll recap. We will work in meta-system MS (which should be FM anyway) to analyze any viable foundational system FM.
MS: Let Con(FM) be the sentence "There is no string encoding a valid proof of 0=1 over FM.".
 
When we say that FM is sound for arithmetical statements...what do we exactly mean?
meta-system MS?
 
@Mathmore It does not prove a sentence involving only the natural numbers that is actually false.
 
Okay!
 
@Mathmore We always need to work in some system (reasoning framework). We call that MS.
 
9:11 AM
hope @LeakyNun also joins
Fine
 
@Mathmore I'm here
I'll chime in when I have anything to say
 
NL: We shall handle formal systems in full generality by considering that each formal system S is simply a program that halts on all string inputs and accepts or rejects, and consider that when a pair (p,x) is accepted it means that p is a valid proof of sentence x over S.
NL: I need to say this in NL because MS cannot possibly talk about our human consideration/interpretation.
 
@user21820 what is program $x$? (referring to your blog)
 
@LeakyNun Not my blog, and for now let's not go off-tangent to the blog. I did things differently from that blog.
 
ok
 
9:15 AM
MS: Let Con(FM) be the sentence ( There is no string p such that FM accepts (p,"0=1"). ).
NL: Note that pairs can be suitably encoded and decoded by programs. @Mathmore I'm sure you know how to do so, which may involve escaping. Details do not matter here.
 
@user21820 How is it possible? looks like halting problem or russell's paradox.
 
MS: If FM is consistent then FM does not prove Con(FM).
MS: Also, if FM is sound for finite strings (does not prove a false sentence about strings) then FM does not prove ¬Con(FM) by definition.
@Mathmore It's not a paradox. But it's not so trivial either.
 
@Mathmore because FM can act as an MS
 
MS: Let ⬜P denote the sentence "FM proves P", for any sentence P over FM.
 
Okay. I am reading through the chat. continue...
 
9:19 AM
@user21820 this is the hard part
you might want to explain it to @Mathmore
 
@Mathmore You don't exactly have to read the stuff before you came back. I will copy all the relevant messages.
@LeakyNun This is not the hard part. It's just a definition.
NL: This definition will make our lives easier in what follows.
 
@user21820 oh wait it isn't a sentence in FM?
it isn't hard then
 
@LeakyNun It is. Remember our FM can do string manipulation.
 
@Mathmore do you need explanation?
 
Yes guys I am losing you
What does NL mean?
 
9:22 AM
natural language.
Sorry missed that.
 
example
??
@LeakyNun yeah need explanation
 
NL: FM can do string manipulation so sentences regarding strings are also sentences over FM. Not everything we say is mathematical.
NL: Non-mathematical things can only be said in NL. Like this one.
NL: The mathematics is all done in MS. But our comments about what we are doing will be in NL.
NL: So if you delete all my comments in NL you will be left with the mathematics and no human explanation.
 
So NL and MS together form FM?
 
NL: No. FM is a formal system itself, and does not invoke natural language.
 
Okay gotcha!!!!!!!
NL, MS and FM understood!
 
9:26 AM
NL: We can use NL to study FM, but it's dangerous because NL is ambiguous and people will continually argue about what they mean/say in NL. So to fix that problem we define a syntactic formal system MS that seems to capture how we want to reason about formal systems in general, such as FM.
NL: Most textbooks will not clearly distinguish NL and MS, which is bad in my opinion.
Above I said:
9 mins ago, by user21820
MS: Let ⬜P denote the sentence "FM proves P", for any sentence P over FM.
Which isn't very obvious what it means.
 
@user21820 asking your opinion before posting it: is this a good question: "in a choiceless universe, if b=inf(A), must there be a sequence in A converging to b"
 
Wonderful! We discard NL and define new system MS. which is more precise
 
@Mathmore we're only using NL to explain our proofs
because we speak in NL
 
@LeakyNun Yup Yup. All human written proofs are in NL right?
 
@Mathmore well I can write a proof in MS if that's what you mean
I mean, I theoretically can, not that I would bother
 
9:29 AM
@LeakyNun Depends on what A is. If A is arbitrary, then you need countable choice if I'm not mistaken, and can't prove the claim without.
 
@LeakyNun Then show me a proof in MS
I think you mean the proof with only mathematical and logical symbols
 
7
A: Prove if $n^2$ is even, then $n$ is even

Kenny LauDefinitions $x\text{ is even} := \exists y[y+y=x]$ (Denote as $E(x)$) $x\text{ is odd} := \exists y[S(y+y)=x]$ (Denote as $O(x)$) Axioms $\forall x[S(x) \ne 0]$ $\forall x \forall y[S(x)=S(y) \implies x=y]$ $\forall x[x+0=x]$ $\forall x \forall y[x+S(y)=S(x+y)]$ $[\varphi(0) \land [\forall ...

Does this count?
 
@Mathmore Exactly, like most of my Fitch-style proofs, or the one @LeakyNun just linked to (assuming it's correct). =P
 
@user21820 build a program to verify it :P
[it's computable as you've said]
 
@Mathmore @LeakyNun See this:
0
A: When is a proof or definition formal?

user21820There is actually a whole spectrum of "formality" in mathematics. In informal terms, "formal" it refers to what is considered as rigorous, but that is of course subjective. Absolutely formal: Written in a language that can be verified by a program that implements some formal system. Check out M...

A proof in MS would be an absolutely formal proof, while most proofs published by mathematicians would be reasonably formal.
 
9:32 AM
@LeakyNun lol what was that????? MS feels like a robot although must say it's precise
 
Anyway let's get back to the incompleteness theorem. =)
 
Fitch-style proof means?
@user21820
 
@Mathmore With explicit subcontexts and indentation. It's a style, not a particular system.
 
@user21820 Okay. You can resume now where we left incompleteness theorem
 
Explicit examples:
2
A: Deductive proof - need help, explanation how to

user21820There are many styles of natural deduction, and the one most suited for practical use is Fitch-style, which uses indentation just like programming languages to denote scoping. Basically, you ensure that every sentence you write is true in its context, where the context is captured by headers exac...

You should get the idea; it's actually clear that one can build a program to verify all such proofs.
That's the real meaning of "formal system".
Okay back to my unclear definition.
18 mins ago, by user21820
MS: Let ⬜P denote the sentence "FM proves P", for any sentence P over FM.
NL: How to say "proves", is the question.
 
9:37 AM
Okay box p : sentence that "FM proves p". no problem here.
Yup that's the question
how to describe the word "proves" mathematically?
 
NL: No I should be precise, otherwise you will later ask why I can say ⬜P is a sentence over FM.
NL: Well by our identification of formal systems and their proof verifier programs, we simply need to say "FM accepts (X,P) for some string X". But how to say "accept"...
 
@Mathmore NL: we have a bunch of rules that tell you what you can do (such as modus ponens). Then, "FM proves p" is saying that under the rules of FM, there is a sequence of steps such that each consecutive step follows the rules of FM and that the last step is "p".
 
@LeakyNun No that's not what I want. As I said, I want the generalization to all formal systems.
NL: In particular, formal systems may have nothing to do with modus ponens.
 
@user21820 I said "such as"
you can have other rules, completely different rules
 
@LeakyNun It may not even have "rules"...
 
9:41 AM
what is a formal system?
 
27 mins ago, by user21820
NL: We shall handle formal systems in full generality by considering that each formal system S is simply a program that halts on all string inputs and accepts or rejects, and consider that when a pair (p,x) is accepted it means that p is a valid proof of sentence x over S.
 
ok
 
@user21820 So our FM accepts (X,P) where p is a sentence and X is anything. In particular want X to be proof that FM proves p right?
 
@Mathmore it can reject
 
@LeakyNun yeah it CAN reject
when it accepts (X,P) then we say that FM proves P right?
 
9:44 AM
right
 
@user21820 you have jumbled the roles of p and x :p
 
@Mathmore The thing is that we are defining what it means for a general formal system to prove something. In conventional formal systems you may have syntactic rules of the form "If you can deduce this then you can deduce that." In a general formal system S we define that p is a proof for a sentence x iff S accepts (p,x).
 
read after "it means that p is a valid proof of sentence x over S"
it should be "...it means that x is a valid proof of sentence p over S" right?
@LeakyNun
@user21820
 
I don't know
 
@Mathmore I didn't actually jumble anything. What I originally wrote is correct, though later I wanted to use "P" for sentences....
I'm used to using capitals P,Q,R,... for sentences.. but earlier on I just happened to use lower-case p for a proof... Lol..
You two should know that dummy variables can be anything, anyway. =P
 
9:48 AM
since x is a string, and if the proof for sentence p exists, then... OH read your final comment. So I stop.
:D
 
@user21820 I don't care what variables you use
as long as it's consistent within a sentence
can we go on?
 
Let's go on
 
NL: A program execution can be completely encoded as a single finite string (using some suitable encoding+escaping...). So to say that a program accepts some input is the same as saying that there is a finite string that encodes a valid execution of that program on that input that ends in acceptance.
NL: That is precisely how we will define ⬜ in MS.
 
Okay
 
MS: Let ⬜P denote the sentence "There is a string E and proof C such that E is a valid encoding of the execution of FM on (C,P) that ends with acceptance.", for any sentence P over FM.
MS: Then ⬜P is actually a sentence over FM. (NL: Because we chose that FM can form sentences about strings.)
NL: Now we need to prove what are called the Hilbert-Bernays derivability conditions for FM. (For further reading later see plato.stanford.edu/entries/logic-provability .)
 
9:53 AM
Document not found! for that link...
 
@Mathmore The chat interface added my full-stop to the link...
 
@user21820 Oh I see.
 
MS: Given any sentence P over FM we have the following:
(D1) If FM proves P then FM proves ⬜P.
(D2) FM proves ( ⬜P∧⬜(P⇒Q)⇒⬜Q ). (Note that the precedence order from highest to lowest is ⬜,∧,⇒.)
(D3) FM proves ( ⬜P⇒⬜⬜P ).
 
First we denote box P as a sentence. Then we say box P is actually a sentence over FM. Why so?
 
@Mathmore I'm being a little imprecise up there. ⬜P is a mostly English sentence... However, you can see that you can translate it into a sentence over FM. Let me be a bit more precise...
 

« first day (409 days earlier)      last day (2408 days later) »