AFTD Auto-Formalizing Theoretical Domains

ProbabilisticTheory.instArchimedeanOrderUnitSpaceReal

instanceimported Lean

The real numbers form an Archimedean order-unit space.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
instance ProbabilisticTheory.instArchimedeanOrderUnitSpaceReal : ArchimedeanOrderUnitSpace ℝ
Defined in
Physlib, `ProbabilisticTheory.instArchimedeanOrderUnitSpaceReal`
Lean proof
By Tom Ole Diem, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Tom Ole Diem. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
10 Oct 2026
Axioms
none listed
Built on 3
Used by 19

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- The real numbers form an Archimedean order-unit space. -/
instance ProbabilisticTheory.instArchimedeanOrderUnitSpaceReal : ArchimedeanOrderUnitSpace ℝ where
  one_nonneg := zero_le_one
  exists_nsmul_one_le A := by
    obtain ⟨n, hn⟩ := exists_nat_ge A
    exact ⟨n, by simpa using hn⟩
  le_zero_of_forall_pos_smul_one_le A hA := by
    by_contra h
    have := hA (A / 2) (by positivity [lt_of_not_ge h])
    rw [smul_eq_mul, mul_one] at this
    linarith
See it in the graphDiscuss this resultChallenge it