Carleson/ToMathlib/Data/NNReal.lean

GitHub source file

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
  1. lemma NNReal.div_self_eq_ite MR wonders: is this lemma actually used? line 12 source

    Source 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.ofNat

    Proof 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_self

    36 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
    …
  2. lemma Real.nnnorm_le_nnnorm Transfer an inequality over ℝ to one of NNNorms over ℝ≥0 line 21 source

    Source documentation

    Transfer an inequality over ℝ to one of NNNorms over ℝ≥0.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Real, LE.le, OfNat.ofNat, NNReal, NNNorm.nnnorm

    Proof uses: Eq.mpr, NNReal.mk, id, Eq, congrArg, Real.nnnorm_of_nonneg, LE.le.trans

    29 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
    …