Documentation

Analysis.Misc.erdos_707

A perfect difference set is a set where every nonzero element is uniquely representable as a difference of two elements of the set.

Equations
Instances For
    def IsPerfectDifferenceSet.map {N : ℕ} (B : Finset (ZMod N)) (p : ↥B × ↥B ⊕ Unit) :
    ZMod N ⊕ ↥B
    Equations
    Instances For
      theorem IsPerfectDifferenceSet.card {N : ℕ} [NeZero N] {B : Finset (ZMod N)} (hdiff : IsPerfectDifferenceSet B) :
      B.card * B.card + 1 = N + B.card

      We will show that the following hypotheses are inconsistent; this is the bulk of the proof of Theorem 8.

      Instances
        theorem Mainstep.mul_two_inj [Hypotheses] {x y : ZMod N} (h : 2 * x = 2 * y) :
        x = y
        theorem Mainstep.diff_uniq [Hypotheses] {a b c d : ↥B} (ha : a ≠ b) (hsub : ↑a - ↑b = ↑c - ↑d) :
        a = c ∧ b = d
        noncomputable def Mainstep.f [Hypotheses] {a : ZMod N} (ha : a ∉ B) (b : ↥B) :
        ↥B

        Given a perfect difference set B and an element a not in B, the function f (a := a) maps each b ∈ B to the unique c ∈ B such that a - b = c - d for some d ∈ B.

        Equations
        Instances For
          noncomputable def Mainstep.g [Hypotheses] {a : ZMod N} (ha : a ∉ B) (b : ↥B) :
          ↥B

          Though not defined in Theorem 8, it is convenient to also introduce the companion function g (a := a), defined to be the d element such that a - b = f (a := a) ha b - d.

          Equations
          Instances For
            theorem Mainstep.f_def [Hypotheses] {a : ZMod N} (ha : a ∉ B) (b : ↥B) :
            a - ↑b = ↑(f ha b) - ↑(g ha b)
            theorem Mainstep.f_def' [Hypotheses] {a : ZMod N} (ha : a ∉ B) (b c d : ↥B) :
            a - ↑b = ↑c - ↑d ↔ c = f ha b ∧ d = g ha b
            theorem Mainstep.f_inv [Hypotheses] {a : ZMod N} (ha : a ∉ B) :

            f (a := a) is an involution.

            theorem Mainstep.f_fixed [Hypotheses] {a : ZMod N} {ha : a ∉ B} {b : ↥B} (hb : f ha b = b) :
            2 * ↑b = a + ↑(g ha b)

            Fixed points of f (a := a) satisfy 2 * f ha b = a + g ha b.

            @[implicit_reducible]
            noncomputable def Mainstep.z2_vact [Hypotheses] {a : ZMod N} (ha : a ∉ B) :
            Equations
            Instances For
              theorem Mainstep.f_second_fixed [Hypotheses] {a : ZMod N} {ha : a ∉ B} {b : ↥B} (hb : f ha b = b) :
              ∃ (c : ↥B), c ≠ b ∧ f ha c = c

              If there is one fixed point, there is another.

              theorem Mainstep.two_mul_sub_one_notin [Hypotheses] {x : ↥B} (hx : ↑x ≠ 2) :
              2 * (↑x - 1) ∉ B
              theorem Mainstep.first_fixed [Hypotheses] {x : ↥B} (hx : ↑x ≠ 2) :
              f ⋯ x = x
              theorem Mainstep.second_fixed [Hypotheses] {x : ↥B} (hx : ↑x ≠ 2) :
              ∃ (b : ↥B), b ≠ x ∧ f ⋯ b = b
              noncomputable def Mainstep.b [Hypotheses] (x : ↥B) :
              ↥B
              Equations
              Instances For
                noncomputable def Mainstep.d [Hypotheses] (x : ↥B) :
                ↥B
                Equations
                Instances For
                  theorem Mainstep.b_neq [Hypotheses] {x : ↥B} (hx : ↑x ≠ 2) :
                  b x ≠ x
                  theorem Mainstep.bd_ident [Hypotheses] (x : ↥B) :
                  2 * ↑(b x) = 2 * (↑x - 1) + ↑(d x)