Is nested induction necessary for all variables
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
Let $S(n_1,n_2,n_3)$ be the statement to prove in natural numbers;
If I prove the following three
$S(1,1,1)$ is true
$forall n_1n_2 S(n_1,n_2,n_3) implies S(n_1,n_2,n_3+1)$
$forall n_1n_3 S(n_1,n_2,n_3) implies S(n_1,n_2+1,n_3)$
Now, Is it sufficient or we have to prove for $n_1$ also?
induction
add a comment |Â
up vote
3
down vote
favorite
Let $S(n_1,n_2,n_3)$ be the statement to prove in natural numbers;
If I prove the following three
$S(1,1,1)$ is true
$forall n_1n_2 S(n_1,n_2,n_3) implies S(n_1,n_2,n_3+1)$
$forall n_1n_3 S(n_1,n_2,n_3) implies S(n_1,n_2+1,n_3)$
Now, Is it sufficient or we have to prove for $n_1$ also?
induction
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Let $S(n_1,n_2,n_3)$ be the statement to prove in natural numbers;
If I prove the following three
$S(1,1,1)$ is true
$forall n_1n_2 S(n_1,n_2,n_3) implies S(n_1,n_2,n_3+1)$
$forall n_1n_3 S(n_1,n_2,n_3) implies S(n_1,n_2+1,n_3)$
Now, Is it sufficient or we have to prove for $n_1$ also?
induction
Let $S(n_1,n_2,n_3)$ be the statement to prove in natural numbers;
If I prove the following three
$S(1,1,1)$ is true
$forall n_1n_2 S(n_1,n_2,n_3) implies S(n_1,n_2,n_3+1)$
$forall n_1n_3 S(n_1,n_2,n_3) implies S(n_1,n_2+1,n_3)$
Now, Is it sufficient or we have to prove for $n_1$ also?
induction
edited Aug 2 at 23:12
asked Aug 2 at 23:07
hanugm
789419
789419
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
Yes, you need one for $n_1$ as well. As it stands, you don't even have any way of knowing whether $S(2,1,1)$ is true from those assumptions.
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
add a comment |Â
up vote
1
down vote
You have to prove it for $n_1$ as well. Consider the statement:
$$
S(n_1,n_2,n_3) leftrightarrow
(n_1 < 2) land (n_2 = n_2) land (n_3 = n_3)
$$
We have that $S(1,1,1)$ is true. For $n_1 > 1$, the statement is false, so the implications are all true; for $n_1=1$, the statement is true regardless of $n_2$ and $n_3$, so the implications are still true.
Note: I'm not sure if this is sufficient to prove $S(n_1,n_2,n_3)$ for every $n_1,n_2,n_3$. We'd have to prove it formally.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Yes, you need one for $n_1$ as well. As it stands, you don't even have any way of knowing whether $S(2,1,1)$ is true from those assumptions.
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
add a comment |Â
up vote
3
down vote
accepted
Yes, you need one for $n_1$ as well. As it stands, you don't even have any way of knowing whether $S(2,1,1)$ is true from those assumptions.
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Yes, you need one for $n_1$ as well. As it stands, you don't even have any way of knowing whether $S(2,1,1)$ is true from those assumptions.
Yes, you need one for $n_1$ as well. As it stands, you don't even have any way of knowing whether $S(2,1,1)$ is true from those assumptions.
answered Aug 2 at 23:10
Arthur
98.1k792173
98.1k792173
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
add a comment |Â
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
For example, if $S(n_1, n_2, n_3)$ is the proposition $n_1 = 1$ then the conditions hold...
– Daniel Schepler
Aug 2 at 23:16
add a comment |Â
up vote
1
down vote
You have to prove it for $n_1$ as well. Consider the statement:
$$
S(n_1,n_2,n_3) leftrightarrow
(n_1 < 2) land (n_2 = n_2) land (n_3 = n_3)
$$
We have that $S(1,1,1)$ is true. For $n_1 > 1$, the statement is false, so the implications are all true; for $n_1=1$, the statement is true regardless of $n_2$ and $n_3$, so the implications are still true.
Note: I'm not sure if this is sufficient to prove $S(n_1,n_2,n_3)$ for every $n_1,n_2,n_3$. We'd have to prove it formally.
add a comment |Â
up vote
1
down vote
You have to prove it for $n_1$ as well. Consider the statement:
$$
S(n_1,n_2,n_3) leftrightarrow
(n_1 < 2) land (n_2 = n_2) land (n_3 = n_3)
$$
We have that $S(1,1,1)$ is true. For $n_1 > 1$, the statement is false, so the implications are all true; for $n_1=1$, the statement is true regardless of $n_2$ and $n_3$, so the implications are still true.
Note: I'm not sure if this is sufficient to prove $S(n_1,n_2,n_3)$ for every $n_1,n_2,n_3$. We'd have to prove it formally.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You have to prove it for $n_1$ as well. Consider the statement:
$$
S(n_1,n_2,n_3) leftrightarrow
(n_1 < 2) land (n_2 = n_2) land (n_3 = n_3)
$$
We have that $S(1,1,1)$ is true. For $n_1 > 1$, the statement is false, so the implications are all true; for $n_1=1$, the statement is true regardless of $n_2$ and $n_3$, so the implications are still true.
Note: I'm not sure if this is sufficient to prove $S(n_1,n_2,n_3)$ for every $n_1,n_2,n_3$. We'd have to prove it formally.
You have to prove it for $n_1$ as well. Consider the statement:
$$
S(n_1,n_2,n_3) leftrightarrow
(n_1 < 2) land (n_2 = n_2) land (n_3 = n_3)
$$
We have that $S(1,1,1)$ is true. For $n_1 > 1$, the statement is false, so the implications are all true; for $n_1=1$, the statement is true regardless of $n_2$ and $n_3$, so the implications are still true.
Note: I'm not sure if this is sufficient to prove $S(n_1,n_2,n_3)$ for every $n_1,n_2,n_3$. We'd have to prove it formally.
answered Aug 2 at 23:17
Sambo
1,2771427
1,2771427
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2870582%2fis-nested-induction-necessary-for-all-variables%23new-answer', 'question_page');
);
Post as a guest
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
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
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