• Semi-Hemi-Lemmygod@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    3
    ·
    4 months ago

    If pi is truly infinite, then it contains all the works of Shakespeare, every version of Windows, and this comment I’m typing right now.

    • driving_crooner@lemmy.eco.br
      link
      fedilink
      arrow-up
      26
      ·
      4 months ago

      That’s not how it’s works. Being “infinite” is not enough, the number 1.110100100010000… is “infinite”, without repeating patterns and dosen’t have other digits that 1 or 0.

      • HatchetHaro@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        11
        arrow-down
        5
        ·
        edit-2
        4 months ago

        to be fair, though, 1 and 0 are just binary representations of values, same as decimal and hexadecimal. within your example, we’d absolutely find the entire works of shakespeare encoded in ascii, unicode, and lcd pixel format with each letter arranged in 3x5 grids.

            • Turun@feddit.de
              link
              fedilink
              arrow-up
              15
              ·
              4 months ago

              No, because you can’t mathematically guarantee that pi contains long strings of predetermined patterns.

              The 1.101001000100001… example by the other user was just that - an example. Their number is infinite, but never contains a 2. Pi is also infinite, but does it contain the number e to 100 digits of precision? Maybe. Maybe not. The point is, we don’t know and we can’t prove it either way (except finding it by accident).

          • leverage@lemdro.id
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            You can encode base 2 as base 10, I don’t think anyone is saying it exists in binary form.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 months ago

          Actually, there’d only be single pixels past digit 225 in the last example, if I understand you correctly.

          If we can choose encoding, we can “cheat” by effectively embedding whatever we want to find in the encoding. The existence of every substring in a one of a set of ordinary encodings might not even be a weaker property than a fixed encoding, though, because infinities can be like that.

      • Fubber Nuckin'@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        If it’s infinite without repeating patterns then it just contain all patterns, no? Eh i guess that’s not how that works, is it? Half of all patterns is still infinity.

          • Ultraviolet@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            4 months ago

            However, as the name implies, this is nothing special about pi. Almost all numbers have this property. If anything, it’s the integers that we should be finding weird, like you mean to tell me that every single digit after the decimal point is a zero? No matter how far you go, just zeroes forever?

          • kn0wmad1c@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            4 months ago

            Yeah, but your number doesn’t fit pi. It may not have a pattern, but it’s predictable and deterministic.

            • OhNoMoreLemmy@lemmy.ml
              link
              fedilink
              arrow-up
              5
              ·
              4 months ago

              Pi is predictable and deterministic.

              Computer programs exist that can tell you what the next digit is. That means it’s deterministic, and running the program will give you a prediction for each digit (within the memory constraints of your computer).

              The fact that it’s deterministic is exactly why pi is interesting. If it was random it would typically be much easier to prove properties about it’s digits.

              • kn0wmad1c@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                edit-2
                4 months ago

                There’s no way to predict what the next unsolved pi digit will be just by looking at what came before it. It’s neither predictable nor deterministic. The very existence of calculations to get the next digit supports that.

                Note: I’m not saying Pi is random. Again, the calculations support the general non-randomness of it. It is possible to be unpredictable, undeterministic, and completely logical.

                Note Note: I don’t know everything. For all I know, we’re in a simulation and we’ll eventually hit the floating point limit of pi and underflow the universe. I just wanted to point out that your example doesn’t quite fit with pi.

                • Tlaloc_Temporal@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  4
                  ·
                  4 months ago

                  π isn’t deterministic? How do you figure that? If two people calculate π they get different answers?

                  What π is, is fully determined by it’s definition and the geometry of a circle.

                  Also, unpredictable? Difficult to predict, sure. Unpredictable by simple methods, sure. But fully impossible to predict at all?

                  • kn0wmad1c@programming.dev
                    link
                    fedilink
                    English
                    arrow-up
                    0
                    arrow-down
                    2
                    ·
                    4 months ago

                    As I said, you can’t predict the next number simply based upon the set of numbers that came before. You have to calculate it, and that calculation can be so complex that it takes insane amounts of energy to do it.

                    Also, I think I was thinking of the philisophical definition of “deterministic” when I was using it earlier. That doesn’t really apply to pi… unless we really do live in a simulation.

        • driving_crooner@lemmy.eco.br
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          Not, the example I gave have infinite decimals who doesn’t repeat and don’t contain any patterns.

          What people think about when said that pi contain all patters, is in normal numbers. Pi is believed to be normal, but haven’t been proven yet.

          An easy example of a number who contains “all patterns” is 0.12345678910111213…

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          Still not enough, or at least pi is not known to have this property. You need the number to be “normal” (or a slightly weaker property) which turns out to be hard to prove about most numbers.

            • barsquid@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              “Nearly all real numbers are normal (basically no real numbers are not normal), but we’re only aware of a few. This one literally non-computable one for sure. Maybe sqrt(2).”

              Gotta love it.

              • CanadaPlus@lemmy.sdf.org
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                4 months ago

                We’re so used to dealing with real numbers it’s easy to forget they’re terrible. These puppies are a particularly egregious example I like to point to - functions that preserve addition but literally black out the entire x-y plane when plotted. On rational numbers all additive functions are automatically linear, of the form mx+n. There’s no nice in-between on the reals, either; it’s the “curve” from hell or a line.

                Hot take, but I really hope physics will turn out to work without them.

    • Naz@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      shaves the sphere down with a sculptor’s knife

      There. 3.1416. Not perfectly round but it’ll bake in the oven just fine.

    • chuckleslord@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      This person doesn’t understand infinity. Don’t feel bad, no one really does, it sort of breaks our brains.