数学史

四色定理

四色定理说任何平面地图都可以用四种颜色着色,使相邻区域不同。1976 年的证明是第一个由计算机检验的重大定理。

6 分钟难度 2/3交互演示区域不展示广告。
Regions7Colors used4Conflicts1Theorem bound≤ 4
CenterNorthSouthwestSoutheastWestEastSouth
0 · Cyan 1 · Amber 2 · Green 3 · Violet same-color neighbors

Click a region to cycle its color. A valid map coloring gives adjacent regions different colors. 1 adjacent pair still share a color.

The four color theorem states that every planar map can be colored with four colors so that adjacent regions differ. Three colors are not always enough: the four mutually adjacent regions in this map already form a K₄, which is planar but not 3-colorable. Appel and Haken proved the theorem in 1976 by reducing it to about 1,900 configurations and checking them with a computer — the first major computer-assisted proof in mathematics.

Adjacency means sharing a border, not just a corner. Click regions to try a four-coloring yourself; pink dashed edges mark conflicts. The central region touches the north, southwest, and southeast regions, and those three also touch each other — that K₄ forces four colors.

你看到的是什么

1

如果两个区域共享边界(而不只是点),它们就是相邻的,必须使用不同颜色。

2

定理说明平面地图总能用四种颜色,而三种颜色并不总是够用。

3

阿佩尔和哈肯把问题归约为有限多种情况,并用计算机逐一检查,引发了对证明与验证的讨论。

为什么重要

该定理连接了图着色、拓扑学和计算机辅助证明,也提出了一个问题:什么才算数学证明?

复杂度与细节

检查一个着色为 O(V + E)。已知算法可线性时间找到平面图的四着色,但原始证明是海量情况检查。

常见问题

每张地图都能用三种颜色吗?+

不能。四个两两相邻的区域需要四种颜色。三种颜色并不总是足够。

为什么需要计算机?+

证明把定理归约为约 1900 种构型。手工检查不现实,因此作者编写程序逐一验证。