Send
Close Add comments:
(status displays here)
Got it! This site "creationpie.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website. Note: This appears on each machine/browser from which this site is accessed.
Finite representations of infinite objects
1. Finite representations of infinite objects
Computer/Information science can be defined as the search for
finite representations of (potentially)
infinite objects.
The more finite the time, the faster the program runs.
The more finite the space, the less space the program requires.
Recognizing patterns and effectively and efficiently using such patterns is an important part of computer science.
Is this possible? Does it make sense?
2. Dots

How many dots are red?
What is the ratio of red dots to blue dots?
3. Ratio

The ratio of red dots to blue dots is one third or
1/3.
How is this represented in decimal notation?
4. Decimal notation

The decimal notation for
1/3 is infinite.
How can we finitely represent this infinity?
5. Finite representation

Mathematical repetend notation can be used to show that the finite representation is "
repeated".
How can we show this in graph notation as might be used in computer science?
6. Graph notation

We could print out this finite representation to any desired precision as long as we eventually stop. Lazy evaluation only continues as needed.
Do real numbers exist? Or are they just in the human imagination as a way of approximating results.
7. A third alternative
Many people think of two choices.
1. Look and do it.
2. Look but do not do it.
A third choice is at the heart of computer science and statistics.
3. Do not look. There is a cost to looking. And it may not matter.
It may already be known what is there, or it may have been determined that it is not necessary.
8. Short-circuit conditional evaluation
This idea is used all of the time in computer science and programming. A simple example is that of conditional evaluation of expressions (i.e., no side-effects during evaluation).
In the expression A and B, if A is false, then one need not look at B.
In the expression A or B, if A is true, then one need not look at B.
It may be the case that evaluating
B may cause an error.
In discussions, it may be the case that
B is a "
red herring" and does not matter. The only thing that matters is
A. Here are some tautologies often used in programming (as algebraic transformations).
(A and false) = false
(A and true) = A
(A or false) = A
(A or true) = true
(A = true) = A
(A = false) = false = (not A)
9. End of page