PositiveRealUnitCore.div_mul_div_coe
theoremverifiedformalizationimported Lean
PositiveRealUnitCore.div_mul_div_coe
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open PositiveRealUnitCore in open NNReal in variable {U : Type} [PositiveRealUnitCore U] in @[simp] lemma PositiveRealUnitCore.div_mul_div_coe (x y z : U) : (x / y : ℝ) * (y / z : ℝ) = x / z
- Formalizes
- Physlib, `PositiveRealUnitCore.div_mul_div_coe`
- Lean proof
- By Joseph Tooby-Smith, Hirotaka Monya, 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.PositiveRealUnitCore.div_mul_div_coe← PositiveRealUnitCore.div_mul_div_coe (Physlib/Units/PositiveRealUnit.lean:102): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- PositiveRealUnitCore.div_selfPositiveRealUnitCore.div_self
- PositiveRealUnitCore.instHDivDivision of two units of the same type is their nonnegative real ratio.
- PositiveRealUnitCore.val_ne_zeroPositiveRealUnitCore.val_ne_zero
- PositiveRealUnitCoreCommon representation API for unit types whose magnitude is a positive real.
- PositiveRealUnitCore.div_ne_zeroPositiveRealUnitCore.div_ne_zero
- PositiveRealUnitCore.div_posPositiveRealUnitCore.div_pos
- Used by 70
- MassUnit.quartersThe mass unit of a quarter (28 pounds).
- instPositiveRealUnitCoreChargeUnitinstPositiveRealUnitCoreChargeUnit
- TimeUnit.daysThe time unit of 24 hour days.
- instPositiveRealUnitCoreLengthUnitinstPositiveRealUnitCoreLengthUnit
- LengthUnit.parsecsThe length unit of a parsec (648,000/π astronomicalUnits).
- LengthUnit.feetThe length unit of feet (0.3048 meters)
- MassUnit.ouncesThe mass unit of (avoirdupois) ounces (0.028 349 523 125 of a kilogram).
- PositiveRealUnitCore.scale_onePositiveRealUnitCore.scale_one
- PositiveRealUnitCore.scale_scaleSuccessive rescalings compose by multiplication of their factors.
- instPositiveRealUnitCoreTemperatureUnitinstPositiveRealUnitCoreTemperatureUnit
- PositiveRealUnitCore.extUnits with equal magnitudes are equal.
- LengthUnit.centimetersThe length unit of centimeters (10⁻² of a meter).
- MassUnit.gramsThe mass unit of grams (10^(-3) of a kilogram).
- LengthUnit.nauticalMilesThe length unit of a nautical mile (1852 meters).
- LengthUnit.furlongsThe length unit of a furlong (201.168 meters)
- TimeUnit.picosecondsThe time unit of picoseconds (10⁻¹² of a second).
- LengthUnit.kilometersThe length unit of kilometers (10³ meters).
- MassUnit.longTons_div_kilogramsMassUnit.longTons_div_kilograms
- MassUnit.milligramsThe mass unit of milligram (10^(-6) of a kilogram).
- TimeUnit.weeks_div_secondsTimeUnit.weeks_div_seconds
- PositiveRealUnitCore.scale_valPositiveRealUnitCore.scale_val
- LengthUnit.millimetersThe length unit of millimeters (10⁻³ of a meter).
- LengthUnit.lightYearsThe length unit of a light year (9,460,730,472,580,800 meters).
- TimeUnit.minutes_div_secondsTimeUnit.minutes_div_seconds
- MassUnit.microgramsThe mass unit of a microgram (10^(-9) of a kilogram).
- LengthUnit.micrometersThe length unit of micrometers (10⁻⁶ of a meter).
- TimeUnit.femtosecondsThe time unit of femtoseconds (10⁻¹⁵ of a second).
- LengthUnit.nanometersThe length unit of nanometers (10⁻⁹ of a meter).
- PositiveRealUnitCore.scale_divRescaling a unit by the ratio to a target unit produces that target.
- MassUnit.longTonsThe mass unit of long tons (2240 pounds). Also called shortweight tons.
- TimeUnit.weeks_div_minutesTimeUnit.weeks_div_minutes
- LengthUnit.linksThe length unit of link (0.201168 meters).
- TimeUnit.weeks_div_hoursTimeUnit.weeks_div_hours
- PositiveRealUnitCore.scaleRescale a unit by a strictly positive real factor.
- MassUnit.shortTons_div_kilogramsMassUnit.shortTons_div_kilograms
- TimeUnit.millisecondsThe time unit of milliseconds (10⁻³ of a second).
- MassUnit.metricTonsThe mass unit of metric tons (1000 kilograms).
- MassUnit.pounds_div_ouncesMassUnit.pounds_div_ounces
- TimeUnit.days_div_minutesTimeUnit.days_div_minutes
- TimeUnit.days_div_hoursTimeUnit.days_div_hours
- PositiveRealUnitCore.scale_div_selfThe ratio of a rescaled unit to the original is the scaling factor.
- TimeUnit.microsecondsThe time unit of microseconds (10⁻⁶ of a second).
- instPositiveRealUnitCoreMassUnitinstPositiveRealUnitCoreMassUnit
- LengthUnit.inchesThe length unit of inch (0.0254 meters).
- LengthUnit.astronomicalUnitsThe length unit of an astronomical unit (149,597,870,700 meters).
- TimeUnit.weeksThe time unit of 7 day weeks.
- TimeUnit.hours_div_secondsTimeUnit.hours_div_seconds
- LengthUnit.milesThe length unit of a mile (1609.344 meters).
- ChargeUnit.elementaryChargeThe charge unit of a elementryCharge (1.602176634×10−19 coulomb).
- TimeUnit.centisecondsThe time unit of centiseconds (10⁻² of a second).
- MassUnit.nominalSolarMassesThe mass unit of nominal solar masses (1.988416 × 10 ^ 30 kilograms). See: https://iopscience.iop.org/article/10.3847/0004-6256/152/2/41…
- LengthUnit.chainsThe length unit of a chain (20.1168 meters)
- TimeUnit.days_div_secondsTimeUnit.days_div_seconds
- MassUnit.hundredweightsThe mass unit of hundredweights (112 pounds).
- TimeUnit.hoursThe time unit of hours.
- LengthUnit.femtometersThe length unit of femtometers (10⁻¹⁵ of a meter).
- TimeUnit.decisecondsThe time unit of deciseconds (10⁻¹ of a second).
- LengthUnit.miles_div_yardsThere are exactly 1760 yards in a mile.
- LengthUnit.rodsThe length unit of a rod (5.0292 meters)
- TimeUnit.minutesThe time unit of minutes.
- MassUnit.stonesThe mass unit of stones (14 pounds).
- LengthUnit.furlongs_div_yardsThere are exactly 220 yards in a furlong.
- PositiveRealUnitCore.self_div_scaleThe reverse ratio is the reciprocal of the scaling factor.
- instPositiveRealUnitCoreTimeUnitinstPositiveRealUnitCoreTimeUnit
- LengthUnit.yardsThe length unit of a yard (0.9144 meters)
- MassUnit.shortTonsThe mass unit of short tons (2000 pounds).
- PositiveRealUnitCore.scale_div_scaleRescaling two units multiplies their ratio by the ratio of the factors.
- MassUnit.poundsThe mass unit of (avoirdupois) pounds (0.453 592 37 of a kilogram).
- TimeUnit.nanosecondsThe time unit of nanoseconds (10⁻⁹ of a second).
- LengthUnit.picometersThe length unit of picometers (10⁻¹² of a meter).
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen PositiveRealUnitCore inopen NNReal invariable {U : Type} [PositiveRealUnitCore U] in@[simp]lemma PositiveRealUnitCore.div_mul_div_coe (x y z : U) : (x / y : ℝ) * (y / z : ℝ) = x / z := by change val x / val y * (val y / val z) = val x / val z field_simp [val_ne_zero]