FLT/Mathlib/Data/Real/Archimedean.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 FLT blueprint introduction

1 declarations, 0 contain sorry, 0 declared as axioms

Archimedean

Material destined for Mathlib.

Imports (1)
Imported by 2 files
  1. lemma Int.eq_floor The file this was destined for (Mathlib.Data.Real.Archimedean) no longer exists -- it was moved to Mathlib.Algebra.Order.Archimedean.Real.Basic line 19 source

    Source comment

    The file this was destined for (Mathlib.Data.Real.Archimedean) no longer exists -- it was moved to Mathlib.Algebra.Order.Archimedean.Real.Basic

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

    Statement uses: Real, Int, LE.le, OfNat.ofNat, HSub.hSub, LT.lt, Eq, Int.floor

    Proof uses: Eq.mpr, id, congrArg, propext, eq_comm, And, HAdd.hAdd, Int.floor_eq_iff

    42 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

    lemma Int.eq_floor {a : ℝ} {b : ℤ} (h1 : 0 ≤ a - b) (h2 : a - b < 1) : b = ⌊a⌋ := by
    …