Prove countability of letter combinations
$begingroup$
A sentence written in 'Fakelang' is made up of letters from a finite set X. These letters follow certain syntax rules. The task is to prove that the number of sentences possible in Fakelang is countable. How do you prove this?
My thinking: X is countable. A sentence made up of letters from X will be countable. No matter how long the sentence is, as long as it is finite in length, the possible combinations will also be finite (combinations will necessarily be less than $|X|^n$ due to the syntax rules). Since each subset of 'total combinations' is countable and finite, the 'total combinations' set must also be countable.
Is my thinking wrong? What is lacking for this to be considered a proof?
algebra-precalculus elementary-set-theory
$endgroup$
add a comment |
$begingroup$
A sentence written in 'Fakelang' is made up of letters from a finite set X. These letters follow certain syntax rules. The task is to prove that the number of sentences possible in Fakelang is countable. How do you prove this?
My thinking: X is countable. A sentence made up of letters from X will be countable. No matter how long the sentence is, as long as it is finite in length, the possible combinations will also be finite (combinations will necessarily be less than $|X|^n$ due to the syntax rules). Since each subset of 'total combinations' is countable and finite, the 'total combinations' set must also be countable.
Is my thinking wrong? What is lacking for this to be considered a proof?
algebra-precalculus elementary-set-theory
$endgroup$
add a comment |
$begingroup$
A sentence written in 'Fakelang' is made up of letters from a finite set X. These letters follow certain syntax rules. The task is to prove that the number of sentences possible in Fakelang is countable. How do you prove this?
My thinking: X is countable. A sentence made up of letters from X will be countable. No matter how long the sentence is, as long as it is finite in length, the possible combinations will also be finite (combinations will necessarily be less than $|X|^n$ due to the syntax rules). Since each subset of 'total combinations' is countable and finite, the 'total combinations' set must also be countable.
Is my thinking wrong? What is lacking for this to be considered a proof?
algebra-precalculus elementary-set-theory
$endgroup$
A sentence written in 'Fakelang' is made up of letters from a finite set X. These letters follow certain syntax rules. The task is to prove that the number of sentences possible in Fakelang is countable. How do you prove this?
My thinking: X is countable. A sentence made up of letters from X will be countable. No matter how long the sentence is, as long as it is finite in length, the possible combinations will also be finite (combinations will necessarily be less than $|X|^n$ due to the syntax rules). Since each subset of 'total combinations' is countable and finite, the 'total combinations' set must also be countable.
Is my thinking wrong? What is lacking for this to be considered a proof?
algebra-precalculus elementary-set-theory
algebra-precalculus elementary-set-theory
asked Dec 11 '18 at 12:39
Adam JenssenAdam Jenssen
51
51
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You are on the right track.
A bit more formal:
Let $X$, the set of letters, be finite.
Now consider a sentence of length $n$, i.e.
$n$ spaces.
Let $P_n$ be the set of all permutations of length $n$ with elements (letters , spaces , and what not) in $X$. $P_n$ is finite.
Consider the set $P$:
$P:= displaystyle{ cup}_{n in mathbb{N}} P_n$.
$P$ as the countable union of countable (actually finite) sets is countable.
Let $S$ be the set of sentences in Fakelang of finite length, then
$S subset P$, hence countable .
$endgroup$
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035242%2fprove-countability-of-letter-combinations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You are on the right track.
A bit more formal:
Let $X$, the set of letters, be finite.
Now consider a sentence of length $n$, i.e.
$n$ spaces.
Let $P_n$ be the set of all permutations of length $n$ with elements (letters , spaces , and what not) in $X$. $P_n$ is finite.
Consider the set $P$:
$P:= displaystyle{ cup}_{n in mathbb{N}} P_n$.
$P$ as the countable union of countable (actually finite) sets is countable.
Let $S$ be the set of sentences in Fakelang of finite length, then
$S subset P$, hence countable .
$endgroup$
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
add a comment |
$begingroup$
You are on the right track.
A bit more formal:
Let $X$, the set of letters, be finite.
Now consider a sentence of length $n$, i.e.
$n$ spaces.
Let $P_n$ be the set of all permutations of length $n$ with elements (letters , spaces , and what not) in $X$. $P_n$ is finite.
Consider the set $P$:
$P:= displaystyle{ cup}_{n in mathbb{N}} P_n$.
$P$ as the countable union of countable (actually finite) sets is countable.
Let $S$ be the set of sentences in Fakelang of finite length, then
$S subset P$, hence countable .
$endgroup$
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
add a comment |
$begingroup$
You are on the right track.
A bit more formal:
Let $X$, the set of letters, be finite.
Now consider a sentence of length $n$, i.e.
$n$ spaces.
Let $P_n$ be the set of all permutations of length $n$ with elements (letters , spaces , and what not) in $X$. $P_n$ is finite.
Consider the set $P$:
$P:= displaystyle{ cup}_{n in mathbb{N}} P_n$.
$P$ as the countable union of countable (actually finite) sets is countable.
Let $S$ be the set of sentences in Fakelang of finite length, then
$S subset P$, hence countable .
$endgroup$
You are on the right track.
A bit more formal:
Let $X$, the set of letters, be finite.
Now consider a sentence of length $n$, i.e.
$n$ spaces.
Let $P_n$ be the set of all permutations of length $n$ with elements (letters , spaces , and what not) in $X$. $P_n$ is finite.
Consider the set $P$:
$P:= displaystyle{ cup}_{n in mathbb{N}} P_n$.
$P$ as the countable union of countable (actually finite) sets is countable.
Let $S$ be the set of sentences in Fakelang of finite length, then
$S subset P$, hence countable .
edited Dec 11 '18 at 13:19
answered Dec 11 '18 at 13:13
Peter SzilasPeter Szilas
11.6k2822
11.6k2822
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
add a comment |
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Thanks a lot! Additional question: if the sentence has to be of finite length, will the number of possible sentences still be infinite? Considering the fact that your can always construct a sentence longer the previous one?
$endgroup$
– Adam Jenssen
Dec 11 '18 at 21:29
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Adam.A pleasure.We are considering sentences of length, say n= 10,100, 1000,... etc.Every sentence has length n(finite).Then S is countable infinite.Is this your question?
$endgroup$
– Peter Szilas
Dec 11 '18 at 22:56
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
$begingroup$
Yes, that was the question. Thanks again!
$endgroup$
– Adam Jenssen
Dec 12 '18 at 5:36
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035242%2fprove-countability-of-letter-combinations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown