FormalConjecturesForMathlib/Analysis/SpecialFunctions/Log/Basic.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, 0 contain sorry, 0 declared as axioms
Imports (3)
Imported by 1 file
- def
Real.iteratedLogThe iterated logarithm ofxis the number of times the natural logarithm must be iteratively applied before the result is less than or equal to1line 30 sourceSource documentation
The iterated logarithm of
xis the number of times the natural logarithm must be iteratively applied before the result is less than or equal to1. Reference: https://en.wikipedia.org/wiki/Iterated_logarithmstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,NatProof uses:
InfSet.sInf,Set.ofPred,Real.iteratedLog.match_1,LE.le,Nat.iterate,Real.log,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
noncomputable def Real.iteratedLog (x : ℝ) : ℕ := …
- def
Nat.iteratedLogThe iterated logarithm of a natural number in baseb: the number of timesNat.log bmust be iteratively applied tonbefore the result is at most1line 35 sourceSource documentation
The iterated logarithm of a natural number in base
b: the number of timesNat.log bmust be iteratively applied tonbefore the result is at most1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,Nat.iteratedLog.match_1,Unit,OfNat.ofNat,Nat.succ,HAdd.hAdd,Nat.log5 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
def Nat.iteratedLog (b : ℕ) : ℕ → ℕ | 0 => 0 | 1 => 0 | (n + 2) => Nat.iteratedLog b (Nat.log b (n + 2)) + 1 termination_by n => n decreasing_by exact Nat.log_lt_self b (by omega) @[simp]
- theorem
Nat.iteratedLog_zeroline 43 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Nat.iteratedLog,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Nat.iteratedLog.eq_1,eq_self2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Nat.iteratedLog_oneline 47 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Nat.iteratedLog,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Nat.iteratedLog.eq_2,eq_self2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Nat.iteratedLog_of_two_leline 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, Nat.iteratedLog,HAdd.hAdd,Nat.logProof uses:
Exists,Exists.intro,HSub.hSub,Decidable.byContradiction,Not,of_eq_true,Eq.trans,True,congrFun',congrArg,Nat.iteratedLog.eq_3,eq_self,Eq.symm15 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
Real.iteratedLog_eq_zero_of_leline 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LE.le,OfNat.ofNat,Eq,Nat, Real.iteratedLogProof uses:
Eq.mpr,Or,Set,Set.ofPred,Nat.iterate,Real.log,EmptyCollection.emptyCollection,id,Or.inl10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Real.iteratedLog_eq_zero_of_negline 59 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,Eq,Nat, Real.iteratedLogProof uses: Real.iteratedLog_eq_zero_of_le,
le_of_not_gt,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,HAdd.hAdd,Neg.neg,HSub.hSub,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.Common.add_congr,Int.rawCast,inferInstance,Ring,Int.negOfNat,HMul.hMul,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.Common.neg_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNatand 32 more56 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
iteratedLog_twoline 63 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, Real.iteratedLog,OfNat.ofNat,RealProof uses:
id,LE.le,Real.log,Eq.mpr,HSub.hSub,eq_of_heq,LE,HEq,Eq.refl,HEq.refl,Eq.symm,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_one,Mathlib.Meta.NormNum.IsInt.to_isNat,Mathlib.Meta.NormNum.isInt_sub,Int.ofNat,Mathlib.Meta.NormNum.IsNat.to_isInt,Mathlib.Meta.NormNum.instAtLeastTwo,Intand 28 more44 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- theorem
iteratedLog_fourline 71 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, Real.iteratedLog,OfNat.ofNat,RealProof uses:
id,LE.le,Nat.iterate,Real.log,Ne,Real.sqrt,Eq.mpr,Not,Neg.neg,congrArg,Eq.trans,Or,False,congr,of_eq_true,congrFun',false_or,Not.intro,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mpand 142 more141 instances, coercions and auxiliary constants left out.
Tactic trace: 26 steps
Open to load the checked before-and-after goal states.