File size: 865 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import Mathlib
namespace OAI
namespace PiExponent
def GoodRationalApproximations (x Ξ½ : β) : Set β :=
{r | 2 β€ r.den β§ 0 < |x - (r : β)| β§ |x - (r : β)| < (r.den : β) ^ (-Ξ½)}
def ApproximationExponents (x : β) : Set β :=
{Ξ½ | 0 < Ξ½ β§ (GoodRationalApproximations x Ξ½).Infinite}
noncomputable def irrationalityExponent (x : β) : β := sSup (ApproximationExponents x)
def EventualLowerBound (x : β) : Prop :=
β Ξ½ : β, 2 < Ξ½ β β Q : β, 2 β€ Q β§
β (p : β€) (q : β), Q β€ q β (q : β) ^ (-Ξ½) β€ |x - (p : β) / (q : β)|
def PiEventualLowerBound : Prop := EventualLowerBound Real.pi
def IntegerEventualLowerBound (x : β) : Prop :=
β Ξ½ : β, 2 < Ξ½ β β Q : β€, 2 β€ Q β§
β (p q : β€), Q β€ q β (q : β) ^ (-Ξ½) β€ |x - (p : β) / (q : β)|
end PiExponent
end OAI
|