FormalConjectures/Arxiv/2104.00502/BarkerSequence.lean
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)
- def
Arxiv.«2104.00502».aperiodicAutocorrelationThe aperiodic autocorrelation $C_k(a)=\sum_i a_i a_{i+k}$ line 38 sourceSource documentation
The aperiodic autocorrelation $C_k(a)=\sum_i a_i a_{i+k}$.
standard axioms: propext what this means
Statement uses:
List,Int,NatProof uses:
List.sum,List.zipWith,HMul.hMul,List.drop6 instances, coercions and auxiliary constants left out.
def aperiodicAutocorrelation (a : List ℤ) (k : ℕ) : ℤ := …
- def
Arxiv.«2104.00502».IsBarkerSequenceA Barker sequence has $\pm 1$ entries and nontrivial autocorrelations of magnitude at most one line 44 sourceSource 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,IntProof uses:
And,Membership.mem,Or,Eq,OfNat.ofNat,Neg.neg,Nat,LT.lt,List.length,LE.le,abs, Arxiv.«2104.00502».aperiodicAutocorrelation8 instances, coercions and auxiliary constants left out.
def IsBarkerSequence (a : List ℤ) : Prop := …
- theorem
Arxiv.«2104.00502».barker_conjectureEvery Barker sequence has length at most $13$ sorry line 50 sourceSource 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.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 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
- theorem
Arxiv.«2104.00502».isBarkerSequence_length_thirteenThe known sequence $(1,1,1,1,1,-1,-1,1,1,-1,1,-1,1)$ of length $13$ is a Barker sequence line 57 sourceSource 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.nilProof 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_falseand 50 more77 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
- theorem
Arxiv.«2104.00502».isBarkerSequence_length_fourThe sequence $(1,1,1,-1)$ is a Barker sequence line 68 sourceSource 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.nilProof 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.refland 41 more75 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
- theorem
Arxiv.«2104.00502».not_isBarkerSequence_constant_fourThe constant sequence $(1,1,1,1)$ is not a Barker sequence line 78 sourceSource 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.nilProof 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,Trueand 24 more60 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