An Introduction to Propositional Logic

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 130

  • @AsadbekErgashev-hz8ny
    @AsadbekErgashev-hz8ny ปีที่แล้ว +34

    My professor could not explain it in 50 minutes and you did it in 10. Thank you

  • @vikaskumarsingh7667
    @vikaskumarsingh7667 ปีที่แล้ว +213

    I am a Computer Engineering Student. I have watched all your videos and discovered that your videos are the best in the topic. I was really upset seeing no recent uploads. Glad to see you are uploading again. All the Best Bro and keep continuing your work because you are making an Impact.🤗🤗

    • @greatestyoutuber
      @greatestyoutuber ปีที่แล้ว +1

      I watched this to learn what the hell a xor is cause im making a mech in gmod with wire mod

    • @roejohntiolengco3938
      @roejohntiolengco3938 ปีที่แล้ว +1

      I agree, this channel should have 10 million subs. quality is unbelievable.

  • @Dent42
    @Dent42 ปีที่แล้ว +88

    This deserves more views! Excellent explanations!

    • @toniok.4726
      @toniok.4726 ปีที่แล้ว

      he not upload consistenly enouge

    • @jaywebster624
      @jaywebster624 ปีที่แล้ว

      @@toniok.4726 i can see why

  • @bakiprogamer6595
    @bakiprogamer6595 ปีที่แล้ว +54

    The legend is back!

  • @WitchelsArtSchool
    @WitchelsArtSchool 9 หลายเดือนก่อน +1

    I was having a hard time understanding the logics of implication, the colorful robots helped me a lot to understand the topic completely! I loved the video.

  • @SaniFakhouri
    @SaniFakhouri ปีที่แล้ว +38

    For conditionals, another logic term that's commonly used when the Proposition is false (the statement that goes with the "If" part) is that we say the Conditional is "Vacuously True".
    For example, if I have the conditional statement "If I get an A on this exam, then the reason must be that I studied hard", it follows that this statement would be vacuously true if it turns out the proposition is false (the "I get an A" part). To continue the example, if I actually got a different grade like a B on the exam, then the statement is still, oddly, 'vacuously' true since the only way to disprove it would be for me to get an A for a reason other than studying hard (like maybe cheating off of other people!).

    • @EdwardChan.999
      @EdwardChan.999 ปีที่แล้ว +1

      Is it equivalent to the "Implication" example that he gave, in which (A --> B) is still "True" when A is false? i.e. (A --> B) is "Vacuously True" when A is False?
      Edit 1: I think it's applicable in programming too, in the "Else" statement, for example:
      if (student.grade == 'A') then {
      print("You have studied hard.");
      } else {
      print("You might have studied hard,");
      print("but try sleeping more before taking exams.");
      }

  • @orange_text
    @orange_text ปีที่แล้ว +3

    and when the world needed him most, he returned

  • @chaomatic5328
    @chaomatic5328 ปีที่แล้ว +21

    I learnt a lot of those statement overy life, but never thought of 'If and Only If' as being bidirectional. Now that you mentioned it, it looks so obvious!

    • @NoNameAtAll2
      @NoNameAtAll2 ปีที่แล้ว +8

      when its symbol is , it's obvious
      my mind was blown when I learned (long time ago) that is "Only If", so they combine into

    • @chaomatic5328
      @chaomatic5328 ปีที่แล้ว +2

      @@NoNameAtAll2 If only if!

    • @AlexE5250
      @AlexE5250 ปีที่แล้ว +3

      Is “if and only if” actually bidirectional though?
      For example: suppose I have a variety of shapes. Some are circles and some are squares. I take some, but not all of the circles and put them in a box. It is true to say “A shape is in the box if and only if it is a circle” but not true to say “a shape is a circle if and only if it is in the box”.
      In other words, P is the shape being a circle, Q is being in the box. In this case, Q IFF P is true, but P IFF Q is not true.
      Edit: I have realized my mistake, but I’ll leave this up in case someone else is having the same question. The first condition is not actually “if and only if”. Rather it is simply “only if”
      The shape is in the box *only if* it is a circle. Which implies that a shape is a circle *if* it is in the box. But it is false to say “the shape is in the box if it is a circle” which means we cannot say “if *and* only if”. We can only say “only if”

    • @hiredfiredtired
      @hiredfiredtired ปีที่แล้ว

      @@AlexE5250 The shapes in the box are a subset of the set of circles.

  • @xFireStyle
    @xFireStyle ปีที่แล้ว +9

    I thought your voice was familiar and then found out you're Brian Yu from CS50! Very helpful man! keep the work going!

  • @shashankhegde4007
    @shashankhegde4007 ปีที่แล้ว

    One of the most underrated channel. Please don’t stop uploading

  • @dac4770
    @dac4770 3 หลายเดือนก่อน

    Very well explained.
    I wish my high school teacher had explained the topic like this, using layman terms like "and", "or", "not", "xor", etc.
    On the other hand, using loads of jargon could make this topic sounds like an extremely complex mathematical equation derived from some black magic.

  • @pfever
    @pfever ปีที่แล้ว +1

    I recognize that voice, CS50 :) I'm glad that finally your channel is taking off!

  • @WilliamWilken-ig4qv
    @WilliamWilken-ig4qv 2 หลายเดือนก่อน

    ... I was so confused. This is a whole lot better than trying to understand my professor...

  • @waddupbro
    @waddupbro ปีที่แล้ว +11

    It's always great when you find a precious gem hidden behind the TH-cam algorithm

  • @punditgi
    @punditgi ปีที่แล้ว +2

    Best introduction on the internet for propositional logic! ❤😊
    Please make many more videos!

  • @naufalihsansriyanto7260
    @naufalihsansriyanto7260 ปีที่แล้ว +1

    So easy to understand, you did a good job. This video deserves more views!

  • @kritipchakrabarti1820
    @kritipchakrabarti1820 ปีที่แล้ว +5

    Please never stop creating videos. Take complex data structures and explain it easily. U r too good in that.

  • @AlexApol
    @AlexApol ปีที่แล้ว

    Inb4 this channel absolutely explodes. This is top tier content.

  • @szymex22
    @szymex22 ปีที่แล้ว +2

    You’re so underrated. Subbed.

  • @belmintuzlic219
    @belmintuzlic219 ปีที่แล้ว +2

    I just discovered your channel, best of luck to you, I learned so much watching your videos. And I can say for myself that I am a decent programmer.

  • @priyanshupratik5197
    @priyanshupratik5197 ปีที่แล้ว +1

    For a better understanding and simpler/eased calculation logic statements are comparable with venn diagrams and sets like compare negation with complement, conjunction with union and disjunction with interaction and you are good to go.

  • @user_aya
    @user_aya ปีที่แล้ว +4

    Can you show us how semaphores and monitors work please ?
    With this sublime presentation of yours for sure

  • @mrdudeguy4537
    @mrdudeguy4537 ปีที่แล้ว +2

    Hope you get to 100k soon!

  • @quyenthokimquang8682
    @quyenthokimquang8682 ปีที่แล้ว

    The content is excellent, but I found a better way to express the 4:50 Implication: If the robot is blue and the blue robot always has an antenna. So when the robot is blue, then it has an antenna.

  • @phazejump3204
    @phazejump3204 ปีที่แล้ว +2

    Hah, yesterday I had this exact subject. I had a hard time understanding equivalence so I looked at the truth table and calculated that it would be equal to ¬P∨Q to help me unferstand how it works, as logic gates are pretty easy to understand. This video helped me understand it clearly.
    Also pretty much all of this logic can be written as logic gates. Biconditional is just an NXOR, for example.

  • @Shawns_snapshots
    @Shawns_snapshots ปีที่แล้ว

    Your content is better than any lecture, wow!

  • @MrWhite-fm4lj
    @MrWhite-fm4lj 2 หลายเดือนก่อน

    Brilliantly explained !!! THANK YOUUUU!!!!!

  • @cressdrg9562
    @cressdrg9562 ปีที่แล้ว +2

    Recently came across your channel and I am binge watching. You are a great content creator, please keep it up!

  • @KunalSharma09
    @KunalSharma09 ปีที่แล้ว +2

    I like video of spanking tree they are easy to understand and informational

  • @Hashasino
    @Hashasino ปีที่แล้ว

    You have a voice of a Ted-Ed instructor. (est un compliment)

  • @josh1ng
    @josh1ng ปีที่แล้ว +1

    Good content, glad you're back. Keep it up.

  • @toblobs
    @toblobs ปีที่แล้ว

    Damn, when we needed them the most, they showed up. Keep making videos!

  • @csanid1
    @csanid1 ปีที่แล้ว +1

    thank you brian for such great content! your CS50 intro to django btw is invaluable!

    • @yash1152
      @yash1152 10 หลายเดือนก่อน

      "intro to django" is in which CS50 course??
      > _"your CS50 intro to django btw is invaluable!"_

  • @jamilmuhanna8792
    @jamilmuhanna8792 ปีที่แล้ว

    welcome back
    don't leave us again :(

  • @piotrrybka318
    @piotrrybka318 ปีที่แล้ว

    Very good explanation of implication.

  • @chaitanyaobhan5774
    @chaitanyaobhan5774 ปีที่แล้ว +1

    Very Well Explained.

  • @dareeldmt9310
    @dareeldmt9310 ปีที่แล้ว +5

    I'm currently at the knowledge lecture of CS50AI so this was an amazing supplement to the propositional logic topics covered in the course.

  • @sayochikun3288
    @sayochikun3288 ปีที่แล้ว +8

    Not sure if you got a shadowban or something but these videos are 3blue1brown level enjoyable.
    Me: "yeah. I wonder whats the equivalent of (p exclusive or q)"
    Answer: " (10 or 01)"
    Me: 💀

  • @jeyans6759
    @jeyans6759 ปีที่แล้ว

    Welcome Back !! Please put a video on Binary Lifting

  • @jan-pi-ala-suli
    @jan-pi-ala-suli ปีที่แล้ว +1

    bro just takes a 2 year break, then comes back without an apology even, props to you.

  • @AlfonsoNeilJimenezCasallas
    @AlfonsoNeilJimenezCasallas ปีที่แล้ว

    the exclusive OR is the negation for biconditional

  • @dancingdoungnut
    @dancingdoungnut ปีที่แล้ว

    I’m glad you’re back!

  • @orpheus2883
    @orpheus2883 ปีที่แล้ว +2

    Welcome back!

  • @danser_theplayer01
    @danser_theplayer01 ปีที่แล้ว +1

    9:50 I believe this one is an XNOR

  • @universal4334
    @universal4334 ปีที่แล้ว

    Please please don't stop making videos

  • @Anythiny
    @Anythiny ปีที่แล้ว

    please keep uploading videos..

  • @xx03_p19
    @xx03_p19 3 หลายเดือนก่อน

    That's Brian... I recognize this voice! :)

  • @rooftopdwelr
    @rooftopdwelr ปีที่แล้ว

    I love how you teach. THANK YOU FOR THIS VIDEO

  • @randomgblsfs2190
    @randomgblsfs2190 ปีที่แล้ว

    Where have you been dude. Missed you!

  • @zmyvisions
    @zmyvisions ปีที่แล้ว

    Just resubscribed...... Don't stop posting plss!!!

  • @Snehi-it4qj
    @Snehi-it4qj ปีที่แล้ว

    Welcome back , Brian !!!

  • @domovoi_0
    @domovoi_0 ปีที่แล้ว

    Great video. Love and blessings.

  • @aslpuppy1026
    @aslpuppy1026 ปีที่แล้ว +1

    HE’S BACK

  • @poneis88
    @poneis88 ปีที่แล้ว +1

    Happy to see a new upload! Please keep them coming 😃

  • @meesvandenberg9468
    @meesvandenberg9468 ปีที่แล้ว +2

    Nice video! But you forgot to say that if P -> Q is true, not Q -> not P

  • @ahmedalagha5793
    @ahmedalagha5793 ปีที่แล้ว +1

    Welcome back🤩🤩🤩🤩

  • @Waffle_6
    @Waffle_6 ปีที่แล้ว

    he’s back

  • @FriedMonkey362
    @FriedMonkey362 ปีที่แล้ว +3

    Please make a video explaining reed solomon error correction its used in data storage like clouds or qr codes i think they are interesting

  • @arthurcheek5634
    @arthurcheek5634 ปีที่แล้ว +1

    Could you do a video on finite state machines?

  • @filipk3207
    @filipk3207 ปีที่แล้ว

    I am glad you are back !!! I love your videos

  • @kales901
    @kales901 ปีที่แล้ว +1

    p xor q is the same as: (p or q) and (not (p and q)),this can be reduced down to:(p or q) and (p nand q),nand is the not of the and of the 2 inputs

  • @gregoryfenn1462
    @gregoryfenn1462 ปีที่แล้ว +2

    at 1:55 you are wrong: if P = "The robot is blue" then ~P is "It is not the case that the robot is blue". It is a common but silly fallacy to render ~P as Q = "The robot is not blue". Both P and Q imply that the robot exists, but if there is no such robot referenced then P and Q are both false. But of course if P is false then ~P is true, and so clearly ~P != Q.

  • @planktonfun1
    @planktonfun1 ปีที่แล้ว

    This better used in electronics than coding

  • @Nathan_0923
    @Nathan_0923 ปีที่แล้ว

    The goat is back!

  • @NotASpyReally
    @NotASpyReally ปีที่แล้ว

    Years ago I wanted to make AI using this logic. I had no idea about neural networks and also I was just a kid lol
    But this video, even including robots, reminds me of that time. And it's pretty cool.

  • @wompastompa3692
    @wompastompa3692 ปีที่แล้ว +4

    So is the biconditional the same thing as not xor?

  • @drainedgaia
    @drainedgaia ปีที่แล้ว

    Glad to have you back !

  • @xyz-wh5qh
    @xyz-wh5qh ปีที่แล้ว

    Bro please make videos on regular basis you tube recommended me this channel and i think this is the most underrated channel,your channel will grow for sure

  • @Grateful92
    @Grateful92 7 หลายเดือนก่อน

    Thanks

  • @Carrymejane
    @Carrymejane 9 หลายเดือนก่อน

    Thanks alot!

  • @Miskamouskamikumouse
    @Miskamouskamikumouse ปีที่แล้ว

    love your vids, king

  • @weebstream7070
    @weebstream7070 ปีที่แล้ว

    Can you make a video on neural networking?

  • @kebman
    @kebman ปีที่แล้ว +1

    Two years and two months!

  • @m.joudeh345
    @m.joudeh345 ปีที่แล้ว

    Exclusive OR>>> "either"

  • @lel7531
    @lel7531 ปีที่แล้ว

    I love your videos cant wait for the next one

  • @robertobomfin3787
    @robertobomfin3787 11 หลายเดือนก่อน

    I got a bit confused in the terms used in the implication part (I am totally lay on this though, maybe it is obvious to others). To me, it is more intuitive to understand it as P->Q being a VALID or in INVALID logical statement in this context, instead of saying it is TRUE or FALSE. Because it being T or F has to do with the particular state of the variables P and Q, which is confusing to me.
    For example, in the truth table of P->Q, to me P = FALSE makes Q undetermined due to the dependence relation.

  • @aashsyed1277
    @aashsyed1277 ปีที่แล้ว

    Your back!!

    • @damamoot2291
      @damamoot2291 ปีที่แล้ว +1

      What about his back?

  • @N3o_xd
    @N3o_xd 3 หลายเดือนก่อน

    8:44 if we create truth table like Q P Q → P as columns , truth table is same

  • @homuraxp6713
    @homuraxp6713 ปีที่แล้ว

    what I NEEDED!

  • @Its-Tim
    @Its-Tim ปีที่แล้ว

    Love your videos but the audio could use some post processing to take out the high ends. Good stuff tho!

  • @youtubeuniversity3638
    @youtubeuniversity3638 ปีที่แล้ว

    6:09 P->Q = -Q->-P

  • @Luciano-lz5ht
    @Luciano-lz5ht ปีที่แล้ว

    Well explained!

  • @bibliusz777
    @bibliusz777 ปีที่แล้ว

    do an intro to linear logic or HoTT

  • @dedmor1
    @dedmor1 ปีที่แล้ว

    I knew I recognized that voice!

  • @daniellaizekemoe1967
    @daniellaizekemoe1967 ปีที่แล้ว

    6:41
    1. Eat the candles
    2. Wait a day
    3. Eat the cake

  • @Rudxain
    @Rudxain ปีที่แล้ว

    I just realized that `iff = xnor = equality` is `true`

  • @Jack-hd3ov
    @Jack-hd3ov ปีที่แล้ว

    I only properly understood implication when I saw P -> Q = ¬P \/ Q. Unfortunately, you kind of glossed over why they're equivalent and just showed the truth tables.
    They're equivalent because P -> Q means "if P is true then Q is also true" and is itself a logical statement which can be true or false. In ¬P \/ Q we see that when P is true ¬P is false so Q must be true to make the whole expression true; if a robot is blue then it must have an antenna otherwise the statement "if a robot is blue it has an antenna" is false.
    When P is false ¬P is true so Q can be either true or false; if a robot is not blue then it can either have an antenna or not have an antenna, either way it doesn't invalidate the statement that blue robots have antennae because it's not a blue robot.
    It's also useful to consider ¬P \/ Q in terms of Q, if Q is true then ¬P can be either true or false; if a robot has an antenna then it can be either blue or not blue and if Q is false then ¬P must be true and the robot must not be blue.

  • @rikschaaf
    @rikschaaf ปีที่แล้ว

    (p -> q) (not q -> not p)

  • @rosauradiaz9842
    @rosauradiaz9842 ปีที่แล้ว

    This is amazing.

  • @costrio
    @costrio ปีที่แล้ว

    This reminds me of an old movie named, "If This Is Tuesday Then We Must Be In Belgium." The logic of comedy?

  • @DanielDSI2.0
    @DanielDSI2.0 ปีที่แล้ว

    7:40 But in the case of the not p or q all except the last should be true?

    • @sahil7503
      @sahil7503 ปีที่แล้ว

      No,
      Third one will be not P, so, False or Q, False
      False or false is false
      Last one will be
      Not P, so, False again or Q, True
      false or true
      So it will be true

  • @professorpoke
    @professorpoke ปีที่แล้ว

    I today realised that *IFF* is same as *XNOR*

  • @edenasharpie
    @edenasharpie ปีที่แล้ว

    wooo! i love this explanation!

  • @sakshamlal3355
    @sakshamlal3355 ปีที่แล้ว

    ❤️

  • @stimulantdaimamld2099
    @stimulantdaimamld2099 ปีที่แล้ว

    great

  • @cheetosnour.scratch-learn
    @cheetosnour.scratch-learn ปีที่แล้ว +1

    "weird"

    • @Carrymejane
      @Carrymejane 9 หลายเดือนก่อน

      🤣😭😭

  • @stoyan.dimitrov.01
    @stoyan.dimitrov.01 ปีที่แล้ว

    For the algorithm 💪

  • @cheetosnour.scratch-learn
    @cheetosnour.scratch-learn ปีที่แล้ว

    p implies q's outcome is q implies p upside down

  • @nsfeliz7825
    @nsfeliz7825 ปีที่แล้ว

    destroyed by facts and logic!😆😂😂😂ben shapiro has joined the chat!

  • @waddupbro
    @waddupbro ปีที่แล้ว

    Next vid when