Announcement

Collapse
No announcement yet.

Constructively proving that the integers are countable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • That was the proof we did, from Hopcroft/Ullman/Motwani.

    Just out of curiosity, which book did you use for this course?


    I don't know. I've never actually read any of my CS textbooks.

    Quite interesting. Where can I read further on this?



    Though, that article looks pretty crappy.

    http://en.wikipedia.org/wiki/Turing_degree looks better.

    Comment


    • Originally posted by Sirotnikov

      ok i read it up.

      you set up a function to match x/y to (x,y) which is countable.
      or you can setup f(m/n) = 2^m * 3^n.

      this annoying, and unexpected.

      but does the definition of countable not require that the matching functions be unto?

      we still haven't reached it, under what subject is it usually taught?
      Countability requires simply a bijection between the set and SOME SUBSET of the naturals

      Since any infinite subset of the naturals is bijective with the naturals (use the well-ordering of the naturals under <=) any infinite countable set is therefore directly provable to be bijective with the naturals
      12-17-10 Mohamed Bouazizi NEVER FORGET
      Stadtluft Macht Frei
      Killing it is the new killing it
      Ultima Ratio Regum

      Comment


      • If a set is infinite it is therefore sufficient to show that there is an injective function from the set to the naturals. The fact that a bijection exists follows directly.
        12-17-10 Mohamed Bouazizi NEVER FORGET
        Stadtluft Macht Frei
        Killing it is the new killing it
        Ultima Ratio Regum

        Comment


        • .

          Comment


          • Originally posted by KrazyHorse
            If a set is infinite it is therefore sufficient to show that there is an injective function from the set to the naturals. The fact that a bijection exists follows directly.
            To be more explicit, let f:S->N be an injective function. Let f(S) be the image of f in N. let g:f(S)->N be a bijection between an infinite subset of the naturals and the naturals themselves. g(f):S->N is therefore a bijection
            12-17-10 Mohamed Bouazizi NEVER FORGET
            Stadtluft Macht Frei
            Killing it is the new killing it
            Ultima Ratio Regum

            Comment


            • Originally posted by Kuciwalker

              That was the proof we did, from Hopcroft/Ullman/Motwani.

              Just out of curiosity, which book did you use for this course?


              I don't know. I've never actually read any of my CS textbooks.
              ?

              Then what do you learn from, other than the lectures?

              Comment


              • Originally posted by aneeshm
                ?

                Then what do you learn from, other than the lectures?
                Nothing? (Well, ignoring the practical experience gained in project classes.)

                I do read math texts, as they tend to be a lot better than the lectures.

                Comment


                • Originally posted by Kuciwalker

                  Nothing? (Well, ignoring the practical experience gained in project classes.)
                  The lectures are sufficient?

                  Comment


                  • Usually the lectures themselves are even unnecessary, all you need are the lecture notes (helpfully online in PDF).

                    Comment


                    • Originally posted by Kuciwalker
                      Usually the lectures themselves are even unnecessary, all you need are the lecture notes (helpfully online in PDF).
                      Is this generally the case, or specific to CMU? Because as far as my experience goes, the lectures are generally only enough to cover the fundamentals, all the deep study has to be done on your own, from the texts.

                      Comment


                      • bah

                        it is increasingly frustrating having to refer to a dictionary to read KH's post.

                        Learning math in hebrew, we use other hebrew words for things like injection bijection etc.

                        Comment


                        • surjection (prefix like "sur" in French meaning "over") is a mapping f from A to B such that f(A) = B

                          injection is a mapping g from A to B s.t. g(a) = g(a') implies a=a'

                          bijection is surjection AND injection
                          12-17-10 Mohamed Bouazizi NEVER FORGET
                          Stadtluft Macht Frei
                          Killing it is the new killing it
                          Ultima Ratio Regum

                          Comment


                          • injection also called "one-to-one"
                            surjection also called "onto"

                            confusingly, bijection also called "one-to-one correspondence"

                            This is why injection, surjection, bijection terminology better
                            12-17-10 Mohamed Bouazizi NEVER FORGET
                            Stadtluft Macht Frei
                            Killing it is the new killing it
                            Ultima Ratio Regum

                            Comment


                            • one-to-one and onto is what we used for bijection

                              JM
                              Jon Miller-
                              I AM.CANADIAN
                              GENERATION 35: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

                              Comment


                              • The terminology for this is silly. I had one course where the things were referred to as injections and surjections, and another where they were referred to as "onto" and "over". Redundancy
                                Solver, WePlayCiv Co-Administrator
                                Contact: solver-at-weplayciv-dot-com
                                I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                                Comment

                                Working...
                                X