3 #31 Ramsey's theorem forget
Ramsey's theorem: in a complete graph whose edges are colored with two colors, there is a set of vertices of a prescribed size joined only by red edges or only by blue edges. Proved by induction.
3.1 Order lemmas
Lemmas on the order of natural numbers (from
\(\),
\(\),
\(\), etc.).
3.2 Notation for finite sequences and colorings; base cases
We place as an axiom of this section that there is a sequence obtained by changing the value of a sequence at a single point (UPD).
We represent a finite sequence of length \(P\) by a pair \(\langle x,P\rangle\). \(x \upuparrows P\): an increasing sequence. \(\langle x,P\rangle \sqsubseteq \langle v,L\rangle\): every value of \(x\) is a value of \(v\). \(c \models_0 \langle x,P\rangle\): for a coloring \(c\), any two points of \(x\) are red (value 0). \(\models_1\) means blue (value \(\ne 0\)).
UPD …
\(\exists h \, ( h ( k ) = v , \forall i \in \mathbb{M} . ( i \neq k \Longrightarrow h ( i ) = g ( i ) ) )\) word(ss,p) …
\(\upuparrows\) \(\sqsubseteq\) \(\models_0\) \(\models_1\)⇈. …
\(x \upuparrows P \Longleftrightarrow \forall i \in \mathbb{M} . ( i < P \Longrightarrow x ( i ) \in \mathbb{M} ) , \forall i \in \mathbb{M} . \forall j \in \mathbb{M} . ( i < j < P \Longrightarrow x ( i ) < x ( j ) )\) ⊑. …
\(\langle x , P \rangle \sqsubseteq \langle v , L \rangle \Longleftrightarrow \forall i \in \mathbb{M} . ( i < P \Longrightarrow \exists j \in \mathbb{M} . j < L , x ( i ) = v ( j ) )\) ⊨₀. …
\(c \models_0 \langle x , P \rangle \Longleftrightarrow \forall i \in \mathbb{M} . \forall j \in \mathbb{M} . ( i < j < P \Longrightarrow ( c ( x ( i ) ) ) ( x ( j ) ) = 0 )\) ⊨₁. …
\(c \models_1 \langle x , P \rangle \Longleftrightarrow \forall i \in \mathbb{M} . \forall j \in \mathbb{M} . ( i < j < P \Longrightarrow ( c ( x ( i ) ) ) ( x ( j ) ) \neq 0 )\) Case \(P = 0\): the sequence of length 0 is a red complete part (base case).
R0Q …
\(Q \in \mathbb{M} \Longrightarrow \forall c \, \forall v \, \forall L \in \mathbb{M} . ( v \upuparrows L , 0 \le L \Longrightarrow \exists x \, ( ( x \upuparrows 0 , \langle x , 0 \rangle \sqsubseteq \langle v , L \rangle , c \models_0 \langle x , 0 \rangle ) \mathbin{\rm o\!r} ( x \upuparrows Q , \langle x , Q \rangle \sqsubseteq \langle v , L \rangle , c \models_1 \langle x , Q \rangle ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,⋅0XThe case \(Q = 0\) is similar (base case).
RP0 …
\(P \in \mathbb{M} \Longrightarrow \forall c \, \forall v \, \forall L \in \mathbb{M} . ( v \upuparrows L , 0 \le L \Longrightarrow \exists x \, ( ( x \upuparrows P , \langle x , P \rangle \sqsubseteq \langle v , L \rangle , c \models_0 \langle x , P \rangle ) \mathbin{\rm o\!r} ( x \upuparrows 0 , \langle x , 0 \rangle \sqsubseteq \langle v , L \rangle , c \models_1 \langle x , 0 \rangle ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,⋅0XIf \(n + m \le a + b\), then \(n \le a\) or \(m \le b\).
Lsplit …
\(a , b , n , m \in \mathbb{M} , n + m \le a + b \Longrightarrow n \le a \mathbin{\rm o\!r} m \le b\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,⋅0X3.3 Counting
Distribute the vertices before the last vertex \(v(m)\) into the sequence of those joined to \(v(m)\) by red, \(r\), and the sequence of those joined by blue, \(u\) (ENUM).
ENUM …
\(m , M \in \mathbb{M} , v \upuparrows ( m + 1 ) , M \le m \Longrightarrow \exists a \in \mathbb{M} . \exists b \in \mathbb{M} . a + b = M , \exists r \, ( r \upuparrows a , \langle r , a \rangle \sqsubseteq \langle v , M \rangle , \forall i \in \mathbb{M} . ( i < a \Longrightarrow ( c ( r ( i ) ) ) ( v ( m ) ) = 0 ) ) , \exists u \, ( u \upuparrows b , \langle u , b \rangle \sqsubseteq \langle v , M \rangle , \forall i \in \mathbb{M} . ( i < b \Longrightarrow ( c ( u ( i ) ) ) ( v ( m ) ) \neq 0 ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,UPD ,⋅0X3.4 Appending
Adding \(v(m)\) to a red complete part within the red neighbors gives a red complete part, one size larger, within \(v\) (APPR). Blue is the same (APPB).
3.5 One step of the induction
If there are at least \(n\) red neighbors, apply the case \((P, Q+1)\) there, and if it gives a red complete part, add \(v(m)\). If there are at least \(k\) blue neighbors, the same. Since \(n + k \le m\), one of these happens (Lsplit).
STEP …
\(P , Q , n , k , m \in \mathbb{M} , \forall c \, \forall v \, \forall L \in \mathbb{M} . ( v \upuparrows L , n \le L \Longrightarrow \exists x \, ( ( x \upuparrows P , \langle x , P \rangle \sqsubseteq \langle v , L \rangle , c \models_0 \langle x , P \rangle ) \mathbin{\rm o\!r} ( x \upuparrows ( Q + 1 ) , \langle x , ( Q + 1 ) \rangle \sqsubseteq \langle v , L \rangle , c \models_1 \langle x , ( Q + 1 ) \rangle ) ) ) , \forall c \, \forall v \, \forall L \in \mathbb{M} . ( v \upuparrows L , k \le L \Longrightarrow \exists x \, ( ( x \upuparrows ( P + 1 ) , \langle x , ( P + 1 ) \rangle \sqsubseteq \langle v , L \rangle , c \models_0 \langle x , ( P + 1 ) \rangle ) \mathbin{\rm o\!r} ( x \upuparrows Q , \langle x , Q \rangle \sqsubseteq \langle v , L \rangle , c \models_1 \langle x , Q \rangle ) ) ) , v \upuparrows ( m + 1 ) , ( ( n + k ) + 1 ) \le ( m + 1 ) \Longrightarrow \exists x \, ( ( x \upuparrows ( P + 1 ) , \langle x , ( P + 1 ) \rangle \sqsubseteq \langle v , ( m + 1 ) \rangle , c \models_0 \langle x , ( P + 1 ) \rangle ) \mathbin{\rm o\!r} ( x \upuparrows ( Q + 1 ) , \langle x , ( Q + 1 ) \rangle \sqsubseteq \langle v , ( m + 1 ) \rangle , c \models_1 \langle x , ( Q + 1 ) \rangle ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,UPD ,Lsplit ,ENUM ,APPR ,APPB ,⋅0X3.6 Ramsey's theorem
For any \(P, Q\), there is a bound \(N\) such that for every increasing sequence \(v\) of at least that length and every coloring \(c\), \(v\) contains a red complete part of size \(P\) or a blue complete part of size \(Q\); call it \(N\). By double induction on \(P\) and \(Q\), we can take \(N\) to be \((n + k) + 1\) (STEP).
Ramsey …
\(P , Q \in \mathbb{M} \Longrightarrow \exists N \in \mathbb{M} . \forall c \, \forall v \, \forall L \in \mathbb{M} . ( v \upuparrows L , N \le L \Longrightarrow \exists x \, ( ( x \upuparrows P , \langle x , P \rangle \sqsubseteq \langle v , L \rangle , c \models_0 \langle x , P \rangle ) \mathbin{\rm o\!r} ( x \upuparrows Q , \langle x , Q \rangle \sqsubseteq \langle v , L \rangle , c \models_1 \langle x , Q \rangle ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑s𝕄 ,↑0X ,⋅𝕄:D ,UPD ,R0Q ,RP0 ,STEP ,⋅0X