Documentation

Mathlib.Tactic.NormNum.OfScientific

norm_num plugin for scientific notation. #

theorem Mathlib.Meta.NormNum.isRat_ofScientific_of_true {α : Type u_1} [DivisionRing α] (σα : OfScientific α) {m : } {e : } {n : } {d : } :
(OfScientific.ofScientific = fun m s e => ↑(Rat.ofScientific m s e)) → Mathlib.Meta.NormNum.IsRat (↑(mkRat (m) (10 ^ e))) n dMathlib.Meta.NormNum.IsRat (OfScientific.ofScientific m true e) n d
theorem Mathlib.Meta.NormNum.isNat_ofScientific_of_false {α : Type u_1} [DivisionRing α] (σα : OfScientific α) {m : } {e : } {nm : } {ne : } {n : } :
(OfScientific.ofScientific = fun m s e => ↑(Rat.ofScientific m s e)) → Mathlib.Meta.NormNum.IsNat m nmMathlib.Meta.NormNum.IsNat e nen = Nat.mul nm (10 ^ ne)Mathlib.Meta.NormNum.IsNat (OfScientific.ofScientific m false e) n

The norm_num extension which identifies expressions in scientific notation, normalizing them to rat casts if the scientific notation is inherited from the one for rationals.

Equations
  • One or more equations did not get rendered due to their size.
Instances For