Documentation

LeanUnits.Framework.Dimensions.Tactic

theorem Units.eq_imp_equiv {μ : Sort u_1} [Setoid μ] {u1 u2 : μ} (h : u1 = u2) :
u1 u2

macro that reduces expressions involving dimensions or units by simplifying using the lemmas tagged with the attributes dimension_set, derived_unit_set or base_unit_set.

Equations
Instances For

    Helper tactic that tries to prove equalities or equivalences between dimensions or units. It tries the following strategies in order:

    1. propositional equality check using module tactic
    2. propositional equivalence on units using module tactic
    Equations
    Instances For

      Helper tactic that tries to prove equalities between dimensions or units. It tries the following strategies in order:

      1. propositional equality check using rfl
      2. simplification using simp with the lemmas tagged with the attribute dimension_set or derived_unit_set. so we don't use native_decide that would require to trust the compiler.
      Equations
      Instances For