MathDB
Colored grid with many constraints

Source: 2018 Latvia BW TST P6

June 5, 2022
rectanglecombinatoricscombinatorics unsolved

Problem Statement

Let ABCDABCD be a rectangle consisting of unit squares. All vertices of these unit squares inside the rectangle and on its sides have been colored in four colors. Additionally, it is known that:
[*] every vertex that lies on the side ABAB has been colored in either the 1.1. or 2.2. color; [*] every vertex that lies on the side BCBC has been colored in either the 2.2. or 3.3. color; [*] every vertex that lies on the side CDCD has been colored in either the 3.3. or 4.4. color; [*] every vertex that lies on the side DADA has been colored in either the 4.4. or 1.1. color; [*] no two neighboring vertices have been colored in 1.1. and 3.3. color; [*] no two neighboring vertices have been colored in 2.2. and 4.4. color.
Notice that the constraints imply that vertex AA has been colored in 1.1. color etc. Prove that there exists a unit square that has all vertices in different colors (in other words it has one vertex of each color).