FormalConjectures/OEIS/52709.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
13 declarations, 1 contain sorry, 0 declared as axioms
Expansion of g.f. $(1-\sqrt{1-4x-4x^2})/(2(1+x))$
The $n$-th term $a(n)$ is given by $$a(n) = \sum_{k=0}^{n-1} \frac{1}{k+1} \binom{2k}{k} \binom{k}{n-1-k}$$
References:
Imports (1)
- def
OeisA52709.a$a(n) = \sum_{k=0}^{n-1} \frac{1}{k+1} \binom{2k}{k} \binom{k}{n-1-k}$ line 34 sourceSource documentation
$a(n) = \sum_{k=0}^{n-1} \frac{1}{k+1} \binom{2k}{k} \binom{k}{n-1-k}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sum,Finset.range,HMul.hMul,HDiv.hDiv,Nat.choose,OfNat.ofNat,HAdd.hAdd,HSub.hSub10 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA52709.a_0line 38 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA52709.a_1line 42 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA52709.a_2line 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA52709.a_3line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA52709.a_4line 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA52709.a_5line 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA52709.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- def
OeisA52709.isPositiveListA list of natural numbers is composed of positive integers line 62 sourceSource documentation
A list of natural numbers is composed of positive integers.
no axioms what this means
Statement uses:
List,NatProof uses:
Membership.mem,LT.lt,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
def isPositiveList (l : List ℕ) : Prop := …
- def
OeisA52709.coversInitialIntervalA list covers an initial interval of positive integers if the set of its elements is $\{1, 2, \dots, \max(l)\}$ line 67 sourceSource documentation
A list covers an initial interval of positive integers if the set of its elements is $\{1, 2, \dots, \max(l)\}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,NatProof uses:
And, OeisA52709.isPositiveList,Finset,List.toFinset,OeisA52709.coversInitialInterval.match_1,WithBot,Finset.max,LT.lt,OfNat.ofNat,Iff,Membership.mem,LE.le,Unit,Eq,Bool,List.isEmpty,Bool.true7 instances, coercions and auxiliary constants left out.
def coversInitialInterval (l : List ℕ) : Prop := …
- def
OeisA52709.hasNondecreasingPattern3A list has a non-decreasing subsequence of length 3 (the pattern $x \le y \le z$) line 75 sourceSource documentation
A list has a non-decreasing subsequence of length 3 (the pattern $x \le y \le z$).
no axioms what this means
Statement uses:
List,NatProof uses:
Exists,Fin,List.length,And,LT.lt,LE.le,List.get2 instances, coercions and auxiliary constants left out.
def hasNondecreasingPattern3 (l : List ℕ) : Prop := …
- def
OeisA52709.avoidsPatternXYZA list avoids the pattern $x \le y \le z$ if it does not have a non-decreasing subsequence of length 3 line 81 sourceSource documentation
A list avoids the pattern $x \le y \le z$ if it does not have a non-decreasing subsequence of length 3.
no axioms what this means
Statement uses:
List,NatProof uses:
Not, OeisA52709.hasNondecreasingPattern3def avoidsPatternXYZ (l : List ℕ) : Prop := …
- def
OeisA52709.sequencesCountedByA052709The set of sequences of length $n-1$ satisfying the conditions of the conjecture line 85 sourceSource documentation
The set of sequences of length $n-1$ satisfying the conditions of the conjecture.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Set,ListProof uses:
Set.ofPred,And,Eq,List.length,HSub.hSub,OfNat.ofNat, OeisA52709.coversInitialInterval, OeisA52709.avoidsPatternXYZ3 instances, coercions and auxiliary constants left out.
def sequencesCountedByA052709 (n : ℕ) : Set (List ℕ) := …
- theorem
OeisA52709.conjecturesorry line 96 sourcedepends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Fintype,List, OeisA52709.sequencesCountedByA052709,Eq, OeisA52709.a,Fintype.cardProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.