Lean / Reader
Lean reader

SignedStatement.lean

29 lines2 declarationsno sorryimports SignedTables SignedPolynomials

Lean 4 Web has Mathlib, so it can check files that import only Mathlib. This one also imports SignedTables, SignedPolynomials, which it does not have: you can read it there, but it will not check. Build the project itself to check it.

  1. import SignedTables
  2. import SignedPolynomials
  3. namespace SignedExample
  4. /-- The two explicitly given signings have equally many proper signed
  5. colorings for every palette size and parity. -/
  6. theorem colorings_equal (odd : Bool) (m : ℕ) :
  7. Fintype.card (SignedColoring first odd m .univ) =
  8. Fintype.card (SignedColoring second odd m .univ) := by
  9. simpa only [signed_coloring_count] using signed_counts_equal odd m
  10. /-- Counterexample to Greaves, Syatriadi, and Utomo, Conjecture 2.7.
  11. The two evaluation laws uniquely specify the even and odd counting
  12. polynomials, respectively. -/
  13. theorem cochromatic_complete_graphs :
  14. ¬ SwitchingIso first second ∧
  15. (∀ odd m, Fintype.card (SignedColoring first odd m .univ) =
  16. Fintype.card (SignedColoring second odd m .univ)) ∧
  17. (∀ E₁ E₂ O₁ O₂, Represents first false E₁ → Represents second false E₂ →
  18. Represents first true O₁ → Represents second true O₂ → E₁ = E₂ ∧ O₁ = O₂) := by
  19. refine ⟨first_not_switchingIso_second, colorings_equal, ?_⟩
  20. intro E₁ E₂ O₁ O₂ hE₁ hE₂ hO₁ hO₂
  21. exact ⟨polynomial_eq_of_palette_counts hE₁ hE₂ (signed_counts_equal false),
  22. polynomial_eq_of_palette_counts hO₁ hO₂ (signed_counts_equal true)⟩
  23. #print axioms cochromatic_complete_graphs
  24. end SignedExample