Documentation

LeanPool.TwoColoringOneRound.LowerBound.N9

Warm-up: n = 9 gives > 20% #

This file proves a small “warm-up” theorem matching the report:

All proofs are kernel-checked (no native_decide).

@[reducible, inline]

Imported auxiliary declaration for the 2-coloring one-round formalization.

Equations
Instances For
    @[reducible, inline]

    Imported auxiliary declaration for the 2-coloring one-round formalization.

    Equations
    Instances For
      @[reducible, inline]

      Imported auxiliary declaration for the 2-coloring one-round formalization.

      Equations
      Instances For
        @[reducible, inline]

        Imported auxiliary declaration for the 2-coloring one-round formalization.

        Equations
        Instances For
          @[reducible, inline]

          Imported auxiliary declaration for the 2-coloring one-round formalization.

          Equations
          Instances For

            A cyclic 5-cycle model on Emb5 #

            For t : Emb5 (five distinct symbols) and k : Fin 5, define the directed edge obtained from the ordered quadruple of consecutive symbols starting at position k (cyclically).

            We also record the “missing” index in the 5-tuple.

            Imported auxiliary declaration for the 2-coloring one-round formalization.

            Equations
            Instances For

              Imported auxiliary declaration for the 2-coloring one-round formalization.

              Equations
              Instances For

                Imported auxiliary declaration for the 2-coloring one-round formalization.

                Equations
                Instances For
                  noncomputable def Distributed2Coloring.LowerBound.N9.edgeAt (t : Emb5) (k : Fin 5) :

                  Imported auxiliary declaration for the 2-coloring one-round formalization.

                  Equations
                  Instances For

                    An odd cycle has a monochromatic edge #

                    We use brute-force case splitting on 5 booleans (32 cases), which is small and kernel-checked.

                    Double-counting the cycle-edge pairs #

                    We count pairs (t,k) where the k-th edge in the 5-cycle from t is monochromatic. For n = 9, every edge participates in exactly 5 * (9-4) = 25 such pairs, hence

                    Fintype.card (CycleMonoPairs f) = 25 * monoCount f.

                    @[reducible, inline]

                    Imported auxiliary declaration for the 2-coloring one-round formalization.

                    Equations
                    Instances For

                      Imported auxiliary declaration for the 2-coloring one-round formalization.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Imported auxiliary declaration for the 2-coloring one-round formalization.

                        Equations
                        Instances For
                          @[reducible, inline]

                          Imported auxiliary declaration for the 2-coloring one-round formalization.

                          Equations
                          Instances For
                            @[reducible, inline]

                            Imported auxiliary declaration for the 2-coloring one-round formalization.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              Imported auxiliary declaration for the 2-coloring one-round formalization.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                Imported auxiliary declaration for the 2-coloring one-round formalization.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Parity lemma: monoCount is even #

                                  We show (monoCount f : ZMod 2) = (edgeCount 9 : ZMod 2), hence monoCount f is even since edgeCount 9 = 3024 is even.