theorem
proved
graphTheoremCount
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Mathematics.GraphTheoryDepthFromRS on GitHub at line 26.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
23 | handshaking | euler | kuratowski | fourColor | ramsey
24 deriving DecidableEq, Repr, BEq, Fintype
25
26theorem graphTheoremCount : Fintype.card GraphTheorem = 5 := by decide
27
28/-- Q₃ Euler: V - E + F = 8 - 12 + 6 = 2. -/
29def q3Vertices : ℕ := 8
30def q3Edges : ℕ := 12
31def q3Faces : ℕ := 6
32def q3EulerChar : ℤ := q3Vertices - q3Edges + q3Faces
33theorem q3Euler_eq_2 : q3EulerChar = 2 := by decide
34
35/-- Q₃ chromatic number: 2. -/
36def q3ChromaticNumber : ℕ := 2
37theorem q3Chromatic_bipartite : q3ChromaticNumber = 2 := rfl
38
39structure GraphTheoryDepthCert where
40 five_theorems : Fintype.card GraphTheorem = 5
41 euler_q3 : q3EulerChar = 2
42 chromatic_q3 : q3ChromaticNumber = 2
43
44def graphTheoryDepthCert : GraphTheoryDepthCert where
45 five_theorems := graphTheoremCount
46 euler_q3 := q3Euler_eq_2
47 chromatic_q3 := q3Chromatic_bipartite
48
49end IndisputableMonolith.Mathematics.GraphTheoryDepthFromRS