FormalConjectures/Arxiv/2104.00502/BarkerSequence.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

6 declarations, 1 contain sorry, 0 declared as axioms

Barker sequences

A Barker sequence is a finite sequence of $\pm 1$ values whose nontrivial aperiodic autocorrelations all have magnitude at most one. The Barker conjecture says that no such sequence has length greater than $13$.

References:

Imports (1)
  1. def Arxiv.«2104.00502».aperiodicAutocorrelation The aperiodic autocorrelation $C_k(a)=\sum_i a_i a_{i+k}$ line 38 source

    Source documentation

    The aperiodic autocorrelation $C_k(a)=\sum_i a_i a_{i+k}$.

    standard axioms: propext what this means

    Statement uses: List, Int, Nat

    Proof uses: List.sum, List.zipWith, HMul.hMul, List.drop

    6 instances, coercions and auxiliary constants left out.

    def aperiodicAutocorrelation (a : List ℤ) (k : ℕ) : ℤ :=
    …
  2. def Arxiv.«2104.00502».IsBarkerSequence A Barker sequence has $\pm 1$ entries and nontrivial autocorrelations of magnitude at most one line 44 source

    Source documentation

    A Barker sequence has $\pm 1$ entries and nontrivial autocorrelations of magnitude at most one.

    standard axioms: propext what this means

    Statement uses: List, Int

    Proof uses: And, Membership.mem, Or, Eq, OfNat.ofNat, Neg.neg, Nat, LT.lt, List.length, LE.le, abs, Arxiv.«2104.00502».aperiodicAutocorrelation

    8 instances, coercions and auxiliary constants left out.

    def IsBarkerSequence (a : List ℤ) : Prop :=
    …
  3. theorem Arxiv.«2104.00502».barker_conjecture Every Barker sequence has length at most $13$ sorry line 50 source

    Source documentation

    Every Barker sequence has length at most $13$.

    depends on sorry what this means

    Statement uses: List, Int, Arxiv.«2104.00502».IsBarkerSequence, LE.le, Nat, List.length, OfNat.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    4 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem barker_conjecture (a : List ℤ) (ha : IsBarkerSequence a) : a.length ≤ 13 := by
    …

    Mentions: Arxiv.«2104.00502».IsBarkerSequence

  4. theorem Arxiv.«2104.00502».isBarkerSequence_length_thirteen The known sequence $(1,1,1,1,1,-1,-1,1,1,-1,1,-1,1)$ of length $13$ is a Barker sequence line 57 source

    Source documentation

    The known sequence $(1,1,1,1,1,-1,-1,1,1,-1,1,-1,1)$ of length $13$ is a Barker sequence.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Arxiv.«2104.00502».IsBarkerSequence, List.cons, Int, OfNat.ofNat, Neg.neg, List.nil

    Proof uses: And.intro, Membership.mem, List, Or, Eq, Nat, LT.lt, List.length, LE.le, abs, Arxiv.«2104.00502».aperiodicAutocorrelation, of_eq_true, Eq.trans, And, True, forall_congr, implies_congr, congrArg, False, or_false and 50 more

    77 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

    Open to load the checked before-and-after goal states.

    theorem isBarkerSequence_length_thirteen :
        IsBarkerSequence [1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1] := by
    …

    Mentions: Arxiv.«2104.00502».IsBarkerSequence

  5. theorem Arxiv.«2104.00502».isBarkerSequence_length_four The sequence $(1,1,1,-1)$ is a Barker sequence line 68 source

    Source documentation

    The sequence $(1,1,1,-1)$ is a Barker sequence.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Arxiv.«2104.00502».IsBarkerSequence, List.cons, Int, OfNat.ofNat, Neg.neg, List.nil

    Proof uses: And.intro, Membership.mem, List, Or, Eq, Nat, LT.lt, List.length, LE.le, abs, Arxiv.«2104.00502».aperiodicAutocorrelation, of_eq_true, Eq.trans, True, forall_congr, implies_congr, congrArg, False, or_false, Eq.refl and 41 more

    75 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

    Open to load the checked before-and-after goal states.

    theorem isBarkerSequence_length_four : IsBarkerSequence [1, 1, 1, -1] := by
    …

    Mentions: Arxiv.«2104.00502».IsBarkerSequence

  6. theorem Arxiv.«2104.00502».not_isBarkerSequence_constant_four The constant sequence $(1,1,1,1)$ is not a Barker sequence line 78 source

    Source documentation

    The constant sequence $(1,1,1,1)$ is not a Barker sequence.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Not, Arxiv.«2104.00502».IsBarkerSequence, List.cons, Int, OfNat.ofNat, List.nil

    Proof uses: LE.le, abs, Arxiv.«2104.00502».aperiodicAutocorrelation, Nat, And.right, Membership.mem, List, Or, Eq, Neg.neg, LT.lt, List.length, Mathlib.Meta.NormNum.isNat_lt_true, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Bool, Bool.false, of_eq_true, Eq.trans, True and 24 more

    60 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

    theorem not_isBarkerSequence_constant_four : ¬ IsBarkerSequence [1, 1, 1, 1] := by
    …

    Mentions: Arxiv.«2104.00502».IsBarkerSequence