Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions FormalConjectures/Wikipedia/WallSunSun.lean
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@ theorem infinite_isWallSunSunPrime : {p : ℕ | IsWallSunSunPrime p}.Infinite :=
sorry

/--
A Lucas–Wieferich prime associated with $(a,b)$ is an odd prime $p$, not dividing $a^2 - b$, such
A Lucas–Wieferich prime associated with $(a,b)$ is an odd prime $p$, not dividing $a^2 - 4b$, such
that $U_{p-\varepsilon}(a,b) \equiv 0 \pmod{p^2}$ where $U(a,b)$ is the Lucas sequence of the first
kind and $\varepsilon$ is the Legendre symbol $\left({\tfrac {a^2-4b}{p}}\right)$.
The discriminant of this number is the quantity $a^2 - 4b$. It is conjectured that there are
infinitely many Lucas–Wieferich primes of any given discriminant.
infinitely many Lucas–Wieferich primes of any given non-one fundamental discriminant.

TODO: Source this conjecture
-/
@[category research open, AMS 11]
theorem infinite_isWallSunSunPrime_of_disc_eq {D : } (hD : 0 < D)
(hD : D ≡ 0 [MOD 4] ∨ D ≡ 1 [MOD 4]) :
{p : ℕ | ∃ a b : ℕ, a ^ 2 - 4 * b = D ∧ IsLucasWieferichPrime a b p}.Infinite := by
theorem infinite_isWallSunSunPrime_of_disc_eq {D : } (hD : IsFundamentalDiscr D)
(hD : D ≠ 1) :
{p : ℕ | ∃ a b, a ^ 2 - 4 * b = D ∧ IsLucasWieferichPrime a b p}.Infinite := by
sorry
16 changes: 1 addition & 15 deletions FormalConjecturesForMathlib.lean
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
import FormalConjecturesForMathlib.Algebra.GCDMonoid.Finset

Check failure on line 1 in FormalConjecturesForMathlib.lean

View workflow job for this annotation

GitHub Actions / check-copyright

No Copyright Header

There must be a copyright header on the first line
import FormalConjecturesForMathlib.Algebra.Group.Action.Pointwise.Set.Basic
import FormalConjecturesForMathlib.Algebra.Group.Indicator
import FormalConjecturesForMathlib.Algebra.Order.Group.Pointwise.Interval
Expand Down Expand Up @@ -70,6 +55,7 @@
import FormalConjecturesForMathlib.NumberTheory.AdditivelyComplete
import FormalConjecturesForMathlib.NumberTheory.CoveringSystem
import FormalConjecturesForMathlib.NumberTheory.DirichletCharacter.Basic
import FormalConjecturesForMathlib.NumberTheory.FundamentalDiscr
import FormalConjecturesForMathlib.NumberTheory.Lacunary
import FormalConjecturesForMathlib.NumberTheory.LegendreSymbol.Basic
import FormalConjecturesForMathlib.NumberTheory.PrimeGap
Expand Down
Loading
Loading