False theorem: All horses are the same color.
Proof by induction:
P(n) is the statement: In every set of horses of size n, all n horses are the same color.
Base Case or P(1): One horse is the same color as itself. This is true by inspection.
Induction Step: Assume P(k) for some k≥1.
Proof of P(k+1):
Since {H1,H2,...,Hn} is a set of n horses, the induction hypothesis applies to this set. Thus, all the horses in this set are the same color.
Since {H2,H3,...,Hn+1} is also a set of n horses, the induction step likewise holds for this set. Thus, all the horses in this set are the same color too.
Therefore, all n+1 horses in {H1,H2,H3,...,Hn,Hn+1} are the same color. QED.
컴퓨터과학 수업 시간에 교수님이 어디가 잘못됐는지 찾아보라고 한 건데, 정답 말한 학생은 좀 오래 걸려서 나왔음
재미없습니다 비추
밸런스 맞추기 위해 자추함
n이 2일때도 성립함을 보여야할 것 같은데 induction hypothesis를 쓰는 부분에서 암묵적으로 n이 2보다 크다는 가정을 쓰고 있는듯
ㅇㅇ 맞음
1에러 2로 안감