AFTD Auto-Formalizing Theoretical Domains

TimeMan.valHomeomorphism

defimported Lean

The choice of map Time.val from TimeMan to ℝ as a homeomorphism.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
def TimeMan.valHomeomorphism : TimeMan ≃ₜ ℝ
Defined in
Physlib, `TimeMan.valHomeomorphism`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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 5
  • TimeMan.val_rangeTimeMan.val_range
  • TimeAn instant in time with a given unit and orientation, but no distinguished origin.
  • TimeMan.isOpen_iffTimeMan.isOpen_iff
  • TimeManThe type TimeMan represents the time manifold. Mathematically TimeMan is a manifold diffeomorphic to ℝ with an orientation but no…
  • TimeMan.instTopologicalSpaceThe instance of a topological space on TimeMan induced by the map TimeMan.val. s
Used by 3

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- The choice of map `Time.val` from `TimeMan` to `ℝ` as a homeomorphism. -/
def TimeMan.valHomeomorphism : TimeMan ≃ₜ ℝ where
  toFun := TimeMan.val
  invFun := fun t => { val := t }
  left_inv := by
    intro t
    cases t
    rfl
  right_inv := by
    intro t
    rfl
  continuous_toFun := by fun_prop
  continuous_invFun := by
    refine { isOpen_preimage := ?_ }
    intro s hs
    rw [isOpen_iff] at hs
    rw [← Set.image_eq_preimage_of_inverse]
    · exact hs
    · intro t
      rfl
    · intro x
      simp
See it in the graphDiscuss this resultChallenge it