A junior high school level of understanding of logic

What is the basis for reason? And mathematics?

Moderators: AMod, iMod

PeteOlcott
Posts: 1597
Joined: Mon Jul 25, 2016 6:55 pm

Re: A junior high school level of understanding of logic

Post by PeteOlcott »

Univalence wrote: Sat May 25, 2019 4:21 pm
PeteOlcott wrote: Sat May 25, 2019 4:06 pm
Univalence wrote: Sat May 25, 2019 2:49 pm
Infinities..... OK.

How do you parse an infinitely-long string?
They are excluded from consideration.
How?

How do you make sure that one of the strings in your infinite set aren’t infinite-length?

How do you check that the length of a string is infinite?
There is no actual way to specify an infinite string and if there was such a way I could use that as a criterion measure.
Univalence
Posts: 492
Joined: Sun May 12, 2019 6:28 pm

Re: A junior high school level of understanding of logic

Post by Univalence »

PeteOlcott wrote: Sat May 25, 2019 4:40 pm There is no actual way to specify an infinite string and if there was such a way I could use that as a criterion measure.
Nonsense. A string is a character array. A set.

If you have an infinite set of strings, you have an infinite set of characters also. Pick the first element of every string.

Code: Select all

a = ['abc', 'def', 'ghi','jkl', 'mno']
print(''.join([ x[0] for x in a ]))
>>> adgjm
PeteOlcott wrote: Sat May 25, 2019 4:40 pm and if there was such a way I could use that as a criterion measure.
How? For the sake of argument - you have an infinite string. cat /dev/random

Show me the algorithm which determines that it's an infinite string.
Post Reply