Carleson/ToMathlib/Data/NNReal.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, Pinned Carleson blueprint
2 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
Imported by 2 files
- lemma
NNReal.div_self_eq_iteMR wonders: is this lemma actually used? line 12 sourceSource comment
MR wonders: is this lemma actually used? could or should it be golfed away?standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NNReal,Eq,HDiv.hDiv,ite,LT.lt,OfNat.ofNatProof uses:
dite,Eq.mpr,id,congrArg,ite_eq_left,div_self,LT.lt.ne',Not,ite_eq_right,of_eq_true,Eq.trans,True,congrFun',congr,Eq.mp,LE.le,div_zero,eq_self36 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
lemma div_self_eq_ite {x : ℝ≥0} : x / x = if 0 < x then 1 else 0 := by … - lemma
Real.nnnorm_le_nnnormTransfer an inequality overℝto one ofNNNorms overℝ≥0line 21 sourceSource documentation
Transfer an inequality over
ℝto one ofNNNorms overℝ≥0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LE.le,OfNat.ofNat,NNReal,NNNorm.nnnormProof uses:
Eq.mpr,NNReal.mk,id,Eq,congrArg,Real.nnnorm_of_nonneg,LE.le.trans29 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
lemma Real.nnnorm_le_nnnorm {x y : ℝ} (hx : 0 ≤ x) (hy : x ≤ y) : ‖x‖₊ ≤ ‖y‖₊ := by …