Documentation

FormalRamsey.Ramsey2Color

def Ramsey₂Prop (N s t : ) :
Equations
Instances For
    Equations
    • =
    Instances For
      theorem Ramsey₂PropIneq {M N s t : } :
      0 < M + NRamsey₂Prop M s t.succRamsey₂Prop N s.succ tRamsey₂Prop (M + N) s.succ t.succ
      def Ramsey₂ (s t : ) :
      Equations
      Instances For
        theorem Ramsey₂2 (k : ) :
        theorem Ramsey₂1 (k : ) :
        theorem Ramsey₂PropStrictIneq {M N s t : } :
        Odd MOdd NRamsey₂Prop M.succ s t.succRamsey₂Prop N.succ s.succ tRamsey₂Prop (M + N).succ s.succ t.succ
        theorem Ramsey₂ToRamsey₂Prop {N s t : } :
        Ramsey₂ s t = NRamsey₂Prop N s t
        theorem Ramsey₂0 {s : } :
        Ramsey₂ 0 s = 0
        theorem Ramsey₂Symm {s t : } :
        theorem Ramsey₂ByList (N s t : ) :
        Ramsey₂Prop N s.succ t.succ ∀ (f : Sym2 (Fin N)Fin 2), (∃ lList.sublistsLen s.succ (List.finRange N), List.Pairwise (fun (u v : Fin N) => f s(u, v) = 0) l) lList.sublistsLen t.succ (List.finRange N), List.Pairwise (fun (u v : Fin N) => f s(u, v) = 1) l
        theorem R43 :
        Ramsey₂ 4 3 = 9
        theorem R53 :
        Ramsey₂ 5 3 = 14
        theorem R44 :
        Ramsey₂ 4 4 = 18