« first day (609 days earlier)      last day (2222 days later) » 

2:22 AM
@user21820 I finally proved church rosser in Lean
it was very difficult
 
@LeakyNun hey
 
hi
 
:D
you got time ?
to do some logic with good old kasmir ? :D
 
ping me every time you reply
(or else I'll forget to check this room)
and yes
 
@LeakyNun okay good :D
@LeakyNun I have to show that phi <--> psi is a tautology , iff phi and psi are logically equiv
what i did is , phi --> psi " and" psi -->phi @LeakyNun
so
"not" phi "or" psi "and" "not" psi "or" phi
grrrr this is getting annoying, can we agree on some symbols?
Like if you show me how to do , and , or and not
& this could work for and
@LeakyNun Did you sleep ? :D
 
2:27 AM
&and |or !not ->implies
and please replace phi and psi by A and B
 
okay good :D
 
if you want
 
A <--> B is a tautology iff A is logiclly equivalent to B
( !A | B ) & ( !B | A)
some boolean stuff i dont get btw
like why A---> B is the same as !A | B
 
eh
 
i can use them now but I don't get why
 
2:30 AM
assume A->B
by LEM, either A is true or !A is true
but A->B, so either B is true of !A is true
 
LEM ?
 
that's one direction
law of excluded middle
now, assume !A|B
if A is true, then !A can't be true, so B must be true
so A->B
 
okay :D
and why in boole
a | 0 = a
this is from axioms for boolean algebras
 
assume a|0
if a, then a
if 0, then a
so a.
 
a | 1 = 1 also
by "a" here
 
2:33 AM
I used what is called disjunction elimination
 
do they mean a can be 0 or 1 ?
 
yes
 
OMG
my teacher said that those are like elements in a group
whaaaat the hell .-.-
 
please do ping me everytime you say anything
but they are
 
grrr i forget
 
2:34 AM
it's called boolean algebra
 
@LeakyNun yes but how to see them like elements of a group ?
if they are either 0 or 1
 
it's just C2
 
@LeakyNun aha now i can make sense of those axioms
because we have inclusive or
anything | 1 = 1
 
right
 
okay neeat neat :D
@LeakyNun can I send you a picture of the problems?
 
2:36 AM
ok
 
I solved part a,b,c
let me get mobile fast :D
 
hey @LeakyNun .You mentioned days ago that you know prolog. Could you tell me how did you learn Prolog? What can you recommend to a totally newbie?
 
@LeakyNun 4.2.32 the 4 parts :D
sorry it came tilted
 
I have neck pain
 
2:44 AM
@LeakyNun if you download it you can turn it around in paint
 
why is b no?
 
i checked the truth table after some simplification and it is not all 1'S
@LeakyNun
 
I disagree
 
let me check again
( !P_1 | P_2 ) | ( !P_2 | P_3)
iworked on this truth table
three 1's and one 0
 
which one is 0?
 
2:49 AM
checking my notes
yikes ._.
i did not do that using truth table
Damn it :( @LeakyNun
How does one solve these questions without truth table?
 
2 mins ago, by Kasmir Khaan
( !P_1 | P_2 ) | ( !P_2 | P_3)
you should be able to directly see the answer here
 
oh
because P_2 appear in both , one as itself and other as negatin
and we have inclusive or
so one side is forced to be "true"
so this is indeed a tautology
 
right
 
:D
am doing part d ) !
(P_3 | P_1) & ( P_2 | P_3) | ! P_2 & ! P_3 | P_1 @LeakyNun
this is the last step
 
this is more complicated than the answer in my head
 
3:01 AM
hmm
btw i did not do part d
i went to exercice 33
>< sorry about this
@LeakyNun
 
oh
how was I supposed to figure that out
 
haha i did not realease it myself ><
and i wrote it
 
alright
 
so its not you its me =P
@LeakyNun i got an idea
@LeakyNun the middle "or" is the key
we need to show the first half of that expression is a tautology
or the second half
 
just write everything in sum-of-product aka disjunctive normal form and ko everything
 
3:07 AM
hmm
i dont understand precicely what you mean?
disjunctive normal form ? ko ?
 
In boolean logic, a disjunctive normal form (DNF) is a standardization (or normalization) of a logical formula which is a disjunction of conjunctive clauses; it can also be described as an OR of ANDs, a sum of products, or (in philosophical logic) a cluster concept. As a normal form, it is useful in automated theorem proving. == Definition == A logical formula is considered to be in DNF if and only if it is a disjunction of one or more conjunctions of one or more literals. A DNF formula is in full disjunctive normal form if each of its variables appears exactly once in every conjunction. As in...
ko means ko
 
knockout? :D
let me try and see what i see :D
@LeakyNun but is my idea bad? of the split?
 
I don't know, just try it
 
okay :D
 
3:25 AM
@LeakyNun it is not a tautology !
 
ok
 
the first half is obviously not because
if P_1 and P_3 are false
then we get a 0
the second one i did it with truth table and found many 0 's as well :D
@LeakyNun did you solve it as well ? or just said ok ? :D
 
I didn't solve it
 
grrr leaky how i know i did it right then
 
but they aren't asking iff
 
3:27 AM
i know
i split the problem
the middle "OR"
if the two smaller pieaces are not tautologies then the bigger pieace is not
if one of them is however , then the while expression is also tauto
 
@KasmirKhaan that's false
 
hmm why ?
 
neither P nor !P are tautologies
 
we have inclusive or
 
but P|!P is a tautology
 
3:29 AM
hmm ><
true
how else does one do this then
grrrrrrrrrr
 
I already told you
 
by sum and product you mean "and" and "or" ?
can any expression be written using those two ?
@LeakyNun
 
and not
so (!P1 & P2 & P3) | (P1 & P3) | P4 is in SOP
 
what SOP ?
and we dont have P_4
 
sum of product
 
3:34 AM
GRRR @LeakyNun thanks for help leaky :D i think i need to sleep its 5 am here ><
ill continue tomorrow
 
ok
 
 
14 hours later…
5:05 PM
@LeakyNun Interesting. (But I never understood what was so important about confluence, and Google doesn't tell me much. I understand that strong normalization is very useful to have, if we want some things like decidable equality.) As for the proof, here is my proof sketch by strong induction:
Let ~> be the transitive closure of beta-reduction (one or more reductions).
Let size(e) be the length of expression e (counting lambdas plus applications).
Given expressions p,q,r such that p ~> q and p ~> r:
	If p = (x->i) for some expression i and variable x:
		q = (x->j) and r = (x->k) and i ~> j and i ~> k for some expressions j,k.
		size(i) < size(p).
		Thus by induction j ~> l and k ~> l for some expression l.
		Thus q ~> (x->l) and r ~> (x->l).
	If p = i(a) for some expressions i,a:
		If q = j(a) and r = i(b) and i ~> j and a ~> b for some expressions j,b:
 
 
4 hours later…
8:50 PM
@user21820 please text me when you are here :D
 
 
3 hours later…
11:26 PM
@AlessandroCodenotti hi here? :D
I need help with natural deduction
in propositional logic
:D
 

« first day (609 days earlier)      last day (2222 days later) »