News for hackers. Stuff that matters.
Re:All Horses Are the Same Color by auggierose on Saturday December 04, 2021 @07:24PM (#29445616)
Sorry, this answer is confusing. The base case just needs to have the property you want to prove. The induction step does all of the heavy lifting to go from n to n+1. In this case, the induction step fails, because it cannot go from 1 to 2. Simple as that.

Edit: I removed the wrong. It’s just confusing.

Re:All Horses Are the Same Color by poetically on Saturday December 04, 2021 @07:27PM (#29445637)
Where exactly is my error?
Re:All Horses Are the Same Color by auggierose on Saturday December 04, 2021 @07:36PM (#29445678)
In your first sentence. What is the inductive invariant you are talking about?
Re:All Horses Are the Same Color by poetically on Saturday December 04, 2021 @07:57PM (#29445805)
Re:All Horses Are the Same Color by auggierose on Saturday December 04, 2021 @08:19PM (#29445933)
You explain how the induction step works. That step from n to n + 1 only works for n > 1. But 2 is not a proper base case. 3 is neither. Actually, the only potential base cases are 0 or 1.

So the proper explanation why this argument doesn’t work is that the potential base cases are not covered by the induction step. And not that “the real base case is 2”.

Re:All Horses Are the Same Color by poetically on Saturday December 04, 2021 @08:24PM (#29445950)
Actually, now that I have explained the argument I realize it has nothing to do with induction. The logic of the argument is unrelated to induction, it's simply about functions that take constant values on some sets and what is required to extend a function to a larger set and conclude that it is constant on the larger set.
Re:All Horses Are the Same Color by auggierose on Saturday December 04, 2021 @08:55PM (#29446090)
Your argument still explains the induction step. In the end, P[n] => P[n+1] is just a statement that has “nothing to do with induction” once it is formed.

You have obviously the right intuition about induction, but I think you are confused about its exact nature.

Re:All Horses Are the Same Color by poetically on Saturday December 04, 2021 @08:58PM (#29446103)
We'll have to agree to disagree then.
Re:All Horses Are the Same Color by Rexxar on Saturday December 04, 2021 @11:43PM (#29446738)
You prove "n+1=>n" instead of "n=>n+1"
Re:All Horses Are the Same Color by poetically on Saturday December 04, 2021 @11:52PM (#29446775)
I don't think so but we can agree to disagree.
Re:All Horses Are the Same Color by Rexxar on Sunday December 05, 2021 @06:24AM (#29448470)
In your induction you start by "Consider a set of n+1 horse" then conclude "By the inductive hypothesis, all of the n remaining horses are the same color".

You did the induction in the wrong direction.

"We can agree to disagree" is not a valid mathematical in my opinion. At least one of us is wrong (and maybe we are both wrong).

Re:All Horses Are the Same Color by auggierose on Sunday December 05, 2021 @08:19AM (#29449052)
Well, in this case, you are wrong ;-)