Translating ENGLISH into PREDICATE LOGIC

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 62

  • @mangomondo1625
    @mangomondo1625 Рік тому +18

    Can I just say how much of a life saver you are? Concepts explained crystal clear, unlike my professor. Thank you so much!

  • @nitheeshraajar393
    @nitheeshraajar393 2 роки тому +10

    This video was so helpful.. Thank you so much :))

  • @phatcat7924
    @phatcat7924 2 роки тому

    thankyou so much trev . descrete mathematics was nightmare for me until i found your channel thank you so much.

  • @funkysagancat3295
    @funkysagancat3295 Рік тому +6

    I don't get the sushi example, if I say that someone eats sushi doesn't it mean that this someone eats at least one kind of sushi and not necessarily all kinds of sushi? why use "∀y[Sy →Exy]" instead of "∃y[Sy∧Exy]" ?

    • @donuteater7774
      @donuteater7774 7 місяців тому

      Was looking to see if anyone else realized this.

    • @771aryan
      @771aryan 4 місяці тому

      I think you are right.

  • @amberyang8395
    @amberyang8395 2 роки тому +9

    Hi Trev, thank you so much for making this vid! Could you explain how to translate this into predicate logic: A stamp collector wants to include in her collection exactly one stamp from each country of Africa. If I(s) means that she has stamp s in her collection, F(s, c) means that stamp s was issued by country c, the domain for s is all stamps, and the domain for c is all countries of Africa, express the statement that her collection satisfies her requirement. (Do not use Ǝ! symbol)

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 2 роки тому +2

    Wow men ! you save my semester
    Thx alot 🙏

  • @zacariaalihat9789
    @zacariaalihat9789 Рік тому +1

    thanks trev

  • @rhino_for_free
    @rhino_for_free 8 місяців тому

    why we didn't add for all x x is a cake for previous examples but we did it for sushi. If food names were considered generic then we had to do it for cake and pie too.

  • @g30r93g
    @g30r93g 2 роки тому +8

    For question 5, if you define s as Sushi, could you not write Ax(Fx ^ Exs -> Tx)

    • @anashoussaini3915
      @anashoussaini3915 2 роки тому +1

      that's what I thought as well, @trevtutor what do you think ???

    • @jsrsrsr1106
      @jsrsrsr1106 2 роки тому

      I think the same.

    • @SleepyLink1
      @SleepyLink1 2 роки тому

      You can define sushi however you like. The variables themselves don't really matter, it's more a convention to translate them back and forth. You still need to explicitly define all sushi just as you defined all friends, and you need to verify that it is sushi just as in the previous examples you verified that D(x) was a dog. You have to verify that s is S(s) or sushi in this case. He avoids using s because it can get confusing very fast just as when you're doing calculus you avoid using d as a variable because you don't want to use dd for derivatives.

    • @malteeaser101
      @malteeaser101 2 роки тому

      I would say no because 'sushi' in that statement is referring to anything that is sushi, not just a specific bit of individual sushi.

    • @bishwajeetpandey1570
      @bishwajeetpandey1570 2 роки тому

      Same here a bit confusing

  • @marciocosta7619
    @marciocosta7619 2 роки тому +2

    very helpful, just wanted to say there’s a mistake at 18:22, you didn’t demonstrate what is the main conjunction, whether it’s the first or the second

    • @marciocosta7619
      @marciocosta7619 2 роки тому +1

      same mistake on 24:30

    • @agspda
      @agspda 2 роки тому +2

      That's not necessary because conjunction is associative and commutative.
      A : "I eat apples"
      B: "I love biking"
      G: "I go to the gym"
      Commutative:
      A^B^G : "I eat apples, love biking and go to the gym."
      G^B^A : "I go to the gym, love biking, and eat apples."
      Associative:
      A*(B*G): "I eat apples. I also love biking and go to the gym."
      (A*B)*G: "I eat apples and love biking. I Also go to the gym."

  • @kyaruh
    @kyaruh 2 роки тому +3

    this is so helpful. thank you so much!!

  • @davidgirgar8843
    @davidgirgar8843 Рік тому +1

    Do you have smt harder in english like you lear basic things like this or ?

  • @abdulomar624
    @abdulomar624 Рік тому

    This was very helpful!!

  • @danielpaul65
    @danielpaul65 Рік тому

    Thank you!

  • @sayedabdulgaleel8995
    @sayedabdulgaleel8995 7 місяців тому

    Thank you Trev

  • @mherbars1229
    @mherbars1229 2 роки тому +1

    thx, this is helpful

  • @kaushicgm3122
    @kaushicgm3122 5 місяців тому

    dude you are awesome!

  • @revanthsrinivaslubolla4882
    @revanthsrinivaslubolla4882 Рік тому

    your tools are awesome sir ,which tool are you using sir?

  • @soulexesns9522
    @soulexesns9522 5 місяців тому

    thank you so much!!

  • @malteeaser101
    @malteeaser101 2 роки тому +2

    How would express something like 'If John claims that all dogs are happy then all dogs are happy'?
    Seems like 'all dogs are happy' would have to both be treated as an object and a proposition? Isn't clear how you can express that using the notation of predicate logic?

  • @Eddies_Bra-att-ha-grejer
    @Eddies_Bra-att-ha-grejer 27 днів тому

    The sushi example feels needlessly complicated. Why not just go with (Fx ^ Sx) where the S means "eats sushi", treating it as a property of x instead.

  • @Rain_MG
    @Rain_MG Рік тому

    I am a little confused on when to use and and when to use arrow

  • @nadjibbenserir6676
    @nadjibbenserir6676 8 місяців тому

    Thanks a lot

  • @anaybaid
    @anaybaid 2 роки тому +13

    Who's here before giving their CST exam ?

  • @pallantibunny4205
    @pallantibunny4205 2 роки тому

    for somme dog is happy we can interjection..so the sample symbol from pevious exampple

  • @zeigenin3428
    @zeigenin3428 Рік тому

    Great videos, but why is "all sushi" in the example 5, if one eats sushi, should he have to eat all sushi?

    • @kagwaarthur7689
      @kagwaarthur7689 10 місяців тому

      just because I eat pizza doesn't mean I eat Pizza with meat on it because I'm vegetarian

  • @halitolmaz
    @halitolmaz Рік тому

    thank you. i want to askeone question. What does Lambda means in translation of predicate logic?

  • @giorlife7668
    @giorlife7668 Рік тому +2

    This is me before watching the video: Wtf is thiss
    (Edit after watching) eh ok
    But, Still fked

  • @NesKimStyle
    @NesKimStyle 2 роки тому +1

    Thank you very helpful

  • @michellexxrose
    @michellexxrose 7 місяців тому

    For the sentence "Solomon and Kevin are both dogs", would D(s, k) also work or not?

    • @bryno2932
      @bryno2932 6 місяців тому

      Warning, it has been a long time since I took a logic class, so take this with a grain of salt.
      I think you would not prefer to do this because "Solomon and Kevin are both dogs" is not atomic. You can talk about the doglliness of both Solomon and Kevin independently and, if we want to use that statement as a premise, we would write them independently and join them together with an '&'.
      This contrasts the comparison examples because I can't describe the relative happiness of one person unless I am directly referencing someone else (or a different benchmark).

    • @771aryan
      @771aryan 4 місяці тому

      No, how would you define the predicate as? D (x, y) : x and y are both dogs? We need to split this into independent Predicates.

  • @nattachak.2683
    @nattachak.2683 2 роки тому

    thank you, thank you so much. UwU

  • @TheGodshelper
    @TheGodshelper 2 роки тому +2

    yesssssssssssss

  • @YousufJamz
    @YousufJamz Рік тому +1

    my frnd abu amara thinks ur answer is wrong in 'A kid question' ????/?????

  • @SamuelAsamoah-sl7nz
    @SamuelAsamoah-sl7nz 6 місяців тому

    So with the second example, with Solomon and Kevin is a dog , can you write it like this? D(S and k)

  • @mohammedhasan3075
    @mohammedhasan3075 4 місяці тому

    How "Every monster is scary" and "Every dog is happy" is any different? So why one is using arrow and the other is using 'and'

    • @Trevtutor
      @Trevtutor  4 місяці тому

      They both use the arrow. The example at 9:36 shows the "and" does NOT work.

    • @mohammedhasan3075
      @mohammedhasan3075 4 місяці тому

      @@Trevtutor My bad. I misunderstood. Thanks for the reply.

  • @dosto_viski8292
    @dosto_viski8292 3 місяці тому

    Who's here for Erdal teacher's exam?

  • @SNComment
    @SNComment Рік тому +1

    "If girls has husband then she is married " please translate these , anyone please

    • @carlosmunchrath4212
      @carlosmunchrath4212 7 місяців тому

      Ex(G(x)+H(x)=M(x)

    • @771aryan
      @771aryan 4 місяці тому

      It is similar to 5th example. ForAllX[[Gx & ForSomeY [Hyx]] => Mx]
      Where Gx : x is a girl
      Hyx : y is husband of x
      Mx : x is married

  • @marcussiziba1203
    @marcussiziba1203 2 роки тому

    Here in time for farons quiz

  • @borisrusev9474
    @borisrusev9474 10 місяців тому

    I think you made a mistake on the 6th example at 24:25. I think the correct answer is ∃x[kid(x) ∧ ∃y[fred(y) ∧ made_fun_of(x, y)] ∧ ∃z[teacher(z) ∧ ate(x, z)]]

    • @Trevtutor
      @Trevtutor  10 місяців тому +2

      We don’t assign variables to proper names. They behave as constants. So Fred(y) doesn’t really make sense.