FormalConjectures/OEIS/1818.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
9 declarations, 2 contain sorry, 0 declared as axioms
Squares of double factorials
Squares of double factorials: $a(n) = ((2n-1)!!)^2 = (1 \cdot 3 \cdot 5 \cdots (2n-1))^2$.
References:
Imports (1)
- def
OeisA1818.aThe sequence of squares of double factorials: $a(n) = ((2n-1)!!)^2$ line 36 sourceSource documentation
The sequence of squares of double factorials: $a(n) = ((2n-1)!!)^2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
HPow.hPow,Finset.prod,Finset.range,HAdd.hAdd,HMul.hMul,OfNat.ofNat10 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA1818.a_0Value of the sequenceaat 0 line 41 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1818.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 a_0 : a 0 = 1 := by decide …
Mentions: OeisA1818.a
- theorem
OeisA1818.a_1Value of the sequenceaat 1 line 45 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1818.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 a_1 : a 1 = 1 := by decide …
Mentions: OeisA1818.a
- theorem
OeisA1818.a_2Value of the sequenceaat 2 line 49 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1818.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 a_2 : a 2 = 9 := by decide …
Mentions: OeisA1818.a
- theorem
OeisA1818.a_3Value of the sequenceaat 3 line 53 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1818.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 a_3 : a 3 = 225 := by decide …
Mentions: OeisA1818.a
- theorem
OeisA1818.a_4Value of the sequenceaat 4 line 57 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1818.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 a_4 : a 4 = 11025 := by decide
Mentions: OeisA1818.a
- def
OeisA1818.fEntryCharacteristic function $f(j, k)$ for matrix entries in $\mathbb{Z}/p^2\mathbb{Z}$ line 60 sourceSource documentation
Characteristic function $f(j, k)$ for matrix entries in $\mathbb{Z}/p^2\mathbb{Z}$.
standard axioms: Quot.sound, propext what this means
Statement uses:
Nat,ZMod,HPow.hPow,OfNat.ofNatProof uses:
ite,Eq,Int,HAdd.hAdd,HSub.hSub,HMul.hMul,Inv.inv31 instances, coercions and auxiliary constants left out.
noncomputable def fEntry {p : ℕ} (i j : ℕ) : ZMod (p ^ 2) := … - theorem
OeisA1818.conjecture1Conjecture 1: For any primitive sorry line 78 sourceSource documentation
Conjecture 1: For any primitive $2n$-th root $\zeta$ of unity, the permanent of the $2n \times 2n$ matrix $[m(j,k)]_{j,k=1..2n}$ coincides with $a(n) = ((2n-1)!!)^2$, where $m(j,k)$ is $(1+\zeta^{j-k})/(1-\zeta^{j-k})$ if $j \neq k$, and $1$ otherwise.
- Zhi-Wei Sun, Dec 21 2021
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Complex,IsPrimitiveRoot,HMul.hMul,Eq,Matrix.permanent,Fin,ite,HDiv.hDiv,HAdd.hAdd,HPow.hPow,Int,HSub.hSub, OeisA1818.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous52 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture1 (n : ℕ) (hn : 1 ≤ n) : ∀ (ζ : ℂ), IsPrimitiveRoot ζ (2 * n) → Matrix.permanent (fun (i j : Fin (2 * n)) => if i = j then (1 : ℂ) else (1 + ζ ^ (i.val - j.val : ℤ)) / (1 - ζ ^ (i.val - j.val : ℤ)) ) = (a n : ℂ) := by …Mentions: OeisA1818.a
- theorem
OeisA1818.conjecture2Conjecture 2: Let $p$ be an odd prime sorry line 95 sourceSource documentation
Conjecture 2: Let $p$ be an odd prime. Then the permanent of the $(p-1) \times (p-1)$ matrix $[f(j,k)]_{j,k=1..p-1}$ is congruent to $a((p-1)/2) = ((p-2)!!)^2 \pmod{p^2}$, where $f(j,k)$ is $(j+k)/(j-k)$ if $j \neq k$, and $f(j,k) = 1$ otherwise.
- Zhi-Wei Sun, Dec 22 2021
depends on sorry what this means
Statement uses:
Nat,Nat.Prime,Ne,OfNat.ofNat,HSub.hSub,ZMod,HPow.hPow,Fin,Matrix, OeisA1818.fEntry,HAdd.hAdd,Eq,Matrix.permanent, OeisA1818.a,HDiv.hDivProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous42 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture2 {p : ℕ} (hp : p.Prime) (h_odd : p ≠ 2) : let N : ℕ := p - 1 …