Can we construct a truth table with infinitely many variables?

  • Context: Graduate 
  • Thread starter Thread starter cragar
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers on the feasibility of constructing a truth table with infinitely many variables, exploring the implications of having a countably infinite number of variables and the resulting number of rows in the truth table. Participants examine the relationship between infinite variables and the potential uncountability of the rows, as well as the implications for computation and logical connectives.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that a truth table with a countably infinite number of variables would lead to an uncountable number of rows, drawing parallels to the binary representation of real numbers between 0 and 1.
  • Others express confusion about how a countable number of variables could correspond to uncountable rows, suggesting that all combinations should be countable.
  • A participant presents Cantor's diagonal argument as a proof that if all rows were listed, one could construct a new row not on the list, indicating incompleteness.
  • Some participants question whether all combinations need to be included in the truth table, suggesting that specific logical connectives might allow for a construction that does not require every possible combination.
  • There is a discussion about the implications of using if-then statements in the truth table, with suggestions that this might circumvent Cantor's argument by not requiring unique lines for every combination.
  • Another participant notes that under the Turing model, computing values from an infinite input space would not be feasible within finite time, raising concerns about the computational limits of such a truth table.

Areas of Agreement / Disagreement

Participants express differing views on whether a truth table with infinitely many variables can be constructed and whether the rows would be countable or uncountable. The discussion remains unresolved, with multiple competing perspectives presented.

Contextual Notes

Limitations in the discussion include assumptions about the nature of logical connectives and the implications of infinite variables on the structure of truth tables. The mathematical steps regarding the relationship between countable and uncountable sets are not fully resolved.

cragar
Messages
2,546
Reaction score
3
If I had a truth table with a countably infinite number of variables. How many rows would my truth table have. For finite truth tables it is [itex]2^n[/itex] n is the number of variables.
Does this work for infinite truth tables?
 
Physics news on Phys.org
It looks like you have something equivalent to all numbers between 0 and 1 in binary.
 
are you saying that the rows in the truth table are uncountable?
That seems weird.
 
cragar said:
are you saying that the rows in the truth table are uncountable?
That seems weird.
Weird or not - it happens to be true.
 
that means that we can't construct the rows of the truth table. We wouldn't be able to write them down. But how could I have a countable number of variables and and uncountable number of rows. It seems that all the possible number of combinations in my truth table should be countable.
 
Why does it seem that way?
 
Would I be able to write down the rows of the truth table? Or at least start to.
Even though I have a countable infinite number of variables. It seems I should be able to compare all these variables by constructing them one line at a time. and why
should [itex]2^n[/itex] hold for infinite tables.
 
cragar said:
Would I be able to write down the rows of the truth table? Or at least start to.
Even though I have a countable infinite number of variables. It seems I should be able to compare all these variables by constructing them one line at a time. and why
should [itex]2^n[/itex] hold for infinite tables.

Think of your truth table as a mapping of [itex]G1 x G2 -> {0,1}[/itex], where G is some input corresponding to a binary vector.

Now let's say that G1 and G2 refer to the same set. If G1 has infinitely many combinations, why should G2 not either?
 
cragar said:
that means that we can't construct the rows of the truth table. We wouldn't be able to write them down. But how could I have a countable number of variables and and uncountable number of rows. It seems that all the possible number of combinations in my truth table should be countable.
The proof is essentially the same as the Cantor proof that the reals are uncountable. Short version: Assume that all the rows are in a (countable) list. Then (following Cantor) I can create a row that is not on the list - contradicting the assumption you have all the rows.

The first entry is the opposite of the first entry of the first row, the second entry is the opposite of the second entry of the second row, ..., the nth entry is the opposite of the nth entry of the nth row, etc. You now have a row which differs from all the rows on list, so the list in incomplete, contradicting the assumption it was complete.
 
  • #10
ok, how do we know that combination needed to be on the table.
Is it because we need an infinite amount of combinations.
What If I constructed my table in such a way that if it had an infinite amount of variables , but I picked the connectives in such a way that we didn't necessarily need all the possible combinations. for example for an if then statement if the first value is false
then it will be true no matter what the second one is. Maybe I am way off. What do you think.
 
  • #11
cragar said:
ok, how do we know that combination needed to be on the table.
Is it because we need an infinite amount of combinations.
What If I constructed my table in such a way that if it had an infinite amount of variables , but I picked the connectives in such a way that we didn't necessarily need all the possible combinations. for example for an if then statement if the first value is false
then it will be true no matter what the second one is. Maybe I am way off. What do you think.
Sorry - you lost me. could you illustrate what you are trying to describe?
 
  • #12
Lets say we use a bunch of if-then statements on our truth table.
so if the first truth value is false then it doesn't matter what the second value is,
So maybe cantors diagonal argument doesn't necessarily apply to this table, because we could generate all the possible truth combinations without having every line be a unique line.
 
  • #13
cragar said:
Lets say we use a bunch of if-then statements on our truth table.
so if the first truth value is false then it doesn't matter what the second value is,
So maybe cantors diagonal argument doesn't necessarily apply to this table, because we could generate all the possible truth combinations without having every line be a unique line.

The thing is though that if you are doing some computation on two inputs and the number of inputs is infinite, then under the Turing model you won't be able to do the computation in a finite amount of time.

For an infinite input space, you will need infinite numbers of bits for every element. For a general truth table, it is not computationally possible under a model like a Turing machine to even calculate the value from an algorithm or look up the entry from some memory location if it is in a table of some sort.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K