A perfect difference set is a set where every nonzero element is uniquely representable as a difference of two elements of the set.
Instances For
We will show that the following hypotheses are inconsistent; this is the bulk of the proof of Theorem 8.
- p : ℕ
- N : ℕ
- hdiff : IsPerfectDifferenceSet B
- h_inj : Function.Injective embed
Instances
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
- Mainstep.g ha b = (Exists.choose ⋯).2
Instances For
f (a := a) is an involution.
@[implicit_reducible]
Equations
- Mainstep.z2_vact ha = { vadd := fun (i : ZMod 2) (b : ↥Mainstep.B) => if i = 1 then Mainstep.f ha b else b, add_vadd := ⋯, zero_vadd := ⋯ }
Instances For
Instances For
Equations
- Mainstep.d x = if hx : ↑x = 2 then ⟨2, ⋯⟩ else Mainstep.g ⋯ ⋯.choose