Loogle!
Result
Found 278 declarations mentioning SignType. Of these, only the first 200 are shown.
- SignType π Mathlib.Basic.Sign.Defs
: Type - SignType.neg π Mathlib.Basic.Sign.Defs
: SignType - SignType.pos π Mathlib.Basic.Sign.Defs
: SignType - SignType.zero π Mathlib.Basic.Sign.Defs
: SignType - instDecidableEqSignType π Mathlib.Basic.Sign.Defs
: DecidableEq SignType - instFintypeSignType π Mathlib.Basic.Sign.Defs
: Fintype SignType - instInhabitedSignType π Mathlib.Basic.Sign.Defs
: Inhabited SignType - SignType.instCommGroupWithZero π Mathlib.Basic.Sign.Defs
: CommGroupWithZero SignType - SignType.instLE π Mathlib.Basic.Sign.Defs
: LE SignType - SignType.instLinearOrder π Mathlib.Basic.Sign.Defs
: LinearOrder SignType - SignType.instMul π Mathlib.Basic.Sign.Defs
: Mul SignType - SignType.instNeg π Mathlib.Basic.Sign.Defs
: Neg SignType - SignType.instOne π Mathlib.Basic.Sign.Defs
: One SignType - SignType.instZero π Mathlib.Basic.Sign.Defs
: Zero SignType - SignType.LE π Mathlib.Basic.Sign.Defs
: SignType β SignType β Prop - SignType.instBoundedOrder π Mathlib.Basic.Sign.Defs
: BoundedOrder SignType - SignType.instDecidableLE π Mathlib.Basic.Sign.Defs
: DecidableLE SignType - SignType.instHasDistribNeg π Mathlib.Basic.Sign.Defs
: HasDistribNeg SignType - SignType.LE.of_neg π Mathlib.Basic.Sign.Defs
(a : SignType) : SignType.neg.LE a - SignType.LE.of_pos π Mathlib.Basic.Sign.Defs
(a : SignType) : a.LE SignType.pos - SignType.cast π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] : SignType β Ξ± - SignType.pos_eq_one π Mathlib.Basic.Sign.Defs
: SignType.pos = 1 - SignType.zero_eq_zero π Mathlib.Basic.Sign.Defs
: SignType.zero = 0 - SignType.le_one π Mathlib.Basic.Sign.Defs
(a : SignType) : a β€ 1 - SignType.instCoeDep π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] (s : SignType) : CoeDep SignType s Ξ± - SignType.neg_eq_neg_one π Mathlib.Basic.Sign.Defs
: SignType.neg = -1 - SignType.neg_one_le π Mathlib.Basic.Sign.Defs
(a : SignType) : -1 β€ a - SignType.fin3Equiv π Mathlib.Basic.Sign.Defs
: SignType β* Fin 3 - SignType.neg_eq_self_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : -a = a β a = 0 - SignType.self_eq_neg_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : a = -a β a = 0 - SignType.neg_le_neg_iff π Mathlib.Basic.Sign.Defs
{a b : SignType} : -a β€ -b β b β€ a - SignType.nonpos_iff_ne_one π Mathlib.Basic.Sign.Defs
{a : SignType} : a β€ 0 β a β 1 - SignType.one_le_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : 1 β€ a β a = 1 - SignType.neg_eq_zero_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : -a = 0 β a = 0 - SignType.nonneg_iff_ne_neg_one π Mathlib.Basic.Sign.Defs
{a : SignType} : 0 β€ a β a β -1 - SignType.not_one_lt π Mathlib.Basic.Sign.Defs
(a : SignType) : Β¬1 < a - SignType.sign π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : Ξ± βo SignType - SignType.coe_one π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] : β1 = 1 - SignType.coe_zero π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] : β0 = 0 - SignType.le_neg_one_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : a β€ -1 β a = -1 - SignType.not_lt_neg_one π Mathlib.Basic.Sign.Defs
(a : SignType) : Β¬a < -1 - SignType.neg_one_lt_one π Mathlib.Basic.Sign.Defs
: -1 < 1 - SignType.nonneg_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : 0 β€ a β a = 0 β¨ a = 1 - SignType.coe_neg_one π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] : β(-1) = -1 - SignType.pos_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : 0 < a β a = 1 - SignType.trichotomy π Mathlib.Basic.Sign.Defs
(a : SignType) : a = -1 β¨ a = 0 β¨ a = 1 - SignType.lt_one_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : a < 1 β a β€ 0 - SignType.nonpos_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : a β€ 0 β a = -1 β¨ a = 0 - SignType.neg_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : a < 0 β a = -1 - SignType.neg_one_lt_iff π Mathlib.Basic.Sign.Defs
{a : SignType} : -1 < a β 0 β€ a - SignType.neg_lt_neg_iff π Mathlib.Basic.Sign.Defs
{a b : SignType} : -a < -b β b < a - SignType.coe_neg π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_2} [One Ξ±] [SubtractionMonoid Ξ±] (s : SignType) : β(-s) = -βs - sign_zero π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : SignType.sign 0 = 0 - sign_pos π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} (ha : 0 < a) : SignType.sign a = 1 - sign_eq_one_iff π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} : SignType.sign a = 1 β 0 < a - sign_neg π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} (ha : a < 0) : SignType.sign a = -1 - sign_eq_neg_one_iff π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} : SignType.sign a = -1 β a < 0 - Int.sign_eq_sign π Mathlib.Basic.Sign.Defs
(n : β€) : n.sign = β(SignType.sign n) - SignType.map_cast' π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [One Ξ±] [Neg Ξ±] {Ξ² : Type u_2} [One Ξ²] [Neg Ξ²] [Zero Ξ²] (f : Ξ± β Ξ²) (hβ : f 1 = 1) (hβ : f 0 = 0) (hβ : f (-1) = -1) (s : SignType) : f βs = βs - sign_one π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Semiring Ξ±] [PartialOrder Ξ±] [IsOrderedRing Ξ±] [DecidableLT Ξ±] [Nontrivial Ξ±] : SignType.sign 1 = 1 - sign_eq_zero_iff π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {a : Ξ±} : SignType.sign a = 0 β a = 0 - sign_ne_zero π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {a : Ξ±} : SignType.sign a β 0 β a β 0 - SignType.map_cast π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_2} {Ξ² : Type u_3} {F : Type u_4} [AddGroupWithOne Ξ±] [One Ξ²] [SubtractionMonoid Ξ²] [FunLike F Ξ± Ξ²] [AddMonoidHomClass F Ξ± Ξ²] [OneHomClass F Ξ± Ξ²] (f : F) (s : SignType) : f βs = βs - sign_nonneg_iff π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {a : Ξ±} : 0 β€ SignType.sign a β 0 β€ a - sign_nonpos_iff π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {a : Ξ±} : SignType.sign a β€ 0 β a β€ 0 - sign_apply π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} : SignType.sign a = if 0 < a then 1 else if a < 0 then -1 else 0 - Left.sign_neg π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [AddGroup Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] [AddLeftStrictMono Ξ±] (a : Ξ±) : SignType.sign (-a) = -SignType.sign a - Right.sign_neg π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [AddGroup Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] [AddRightStrictMono Ξ±] (a : Ξ±) : SignType.sign (-a) = -SignType.sign a - StrictMono.sign_comp π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {Ξ² : Type u_2} {F : Type u_3} [Zero Ξ²] [Preorder Ξ²] [DecidableLT Ξ²] [FunLike F Ξ± Ξ²] [ZeroHomClass F Ξ± Ξ²] {f : F} (hf : StrictMono βf) (a : Ξ±) : SignType.sign (f a) = SignType.sign a - sign_eq_sign_or_eq_neg π Mathlib.Basic.Sign.Defs
{Ξ± : Type u_1} [Zero Ξ±] [LinearOrder Ξ±] {a b : Ξ±} (ha : a β 0) (hb : b β 0) : SignType.sign a = SignType.sign b β¨ SignType.sign a = -SignType.sign b - SignType.castHom π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [MulZeroOneClass Ξ±] [HasDistribNeg Ξ±] : SignType β*β Ξ± - SignType.zpow_odd π Mathlib.Basic.Sign.Basic
(s : SignType) {z : β€} (hz : Odd z) : s ^ z = s - SignType.pow_odd π Mathlib.Basic.Sign.Basic
(s : SignType) {n : β} (hn : Odd n) : s ^ n = s - signHom π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] : Ξ± β*β SignType - SignType.range_eq π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} (f : SignType β Ξ±) : Set.range f = {f SignType.zero, f SignType.neg, f SignType.pos} - SignType.zpow_even π Mathlib.Basic.Sign.Basic
(s : SignType) {z : β€} (hz : Even z) (hs : s β 0) : s ^ z = 1 - SignType.pow_even π Mathlib.Basic.Sign.Basic
(s : SignType) {n : β} (hn : Even n) (hs : s β 0) : s ^ n = 1 - SignType.univ_eq π Mathlib.Basic.Sign.Basic
: Finset.univ = {0, -1, 1} - SignType.intCast_cast π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [AddGroupWithOne Ξ±] (s : SignType) : ββs = βs - SignType.castHom_apply π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [MulZeroOneClass Ξ±] [HasDistribNeg Ξ±] (aβ : SignType) : SignType.castHom aβ = βaβ - SignType.coe_mul π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [MulZeroOneClass Ξ±] [HasDistribNeg Ξ±] (a b : SignType) : β(a * b) = βa * βb - SignType.coe_pow π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [MonoidWithZero Ξ±] [HasDistribNeg Ξ±] (a : SignType) (k : β) : β(a ^ k) = βa ^ k - exists_signed_sum π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [DecidableEq Ξ±] (s : Finset Ξ±) (f : Ξ± β β€) : β Ξ² x sgn g, (β (b : Ξ²), g b β s) β§ Fintype.card Ξ² = β a β s, (f a).natAbs β§ β a β s, (β b, if g b = a then β(sgn b) else 0) = f a - SignType.coe_zpow π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [GroupWithZero Ξ±] [HasDistribNeg Ξ±] (a : SignType) (k : β€) : β(a ^ k) = βa ^ k - sign_intCast π Mathlib.Basic.Sign.Basic
{Ξ± : Type u_1} [Ring Ξ±] [PartialOrder Ξ±] [IsOrderedRing Ξ±] [Nontrivial Ξ±] [DecidableLT Ξ±] (n : β€) : SignType.sign βn = SignType.sign n - exists_signed_sum' π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Nonempty Ξ±] [DecidableEq Ξ±] (s : Finset Ξ±) (f : Ξ± β β€) (n : β) (h : β i β s, (f i).natAbs β€ n) : β Ξ² x sgn g, (β (b : Ξ²), g b β s β sgn b = 0) β§ Fintype.card Ξ² = n β§ β a β s, (β i, if g i = a then β(sgn i) else 0) = f a - signHom_apply π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] : βsignHom = βSignType.sign - abs_mul_sign π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : |x| * β(SignType.sign x) = x - self_mul_sign π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : x * β(SignType.sign x) = |x| - sign_mul_abs π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) * |x| = x - sign_mul_self π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) * x = |x| - sign_pow π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) (n : β) : SignType.sign (x ^ n) = SignType.sign x ^ n - sign_sum π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [AddCommGroup Ξ±] [LinearOrder Ξ±] [IsOrderedAddMonoid Ξ±] {ΞΉ : Type u_1} {s : Finset ΞΉ} {f : ΞΉ β Ξ±} (hs : s.Nonempty) (t : SignType) (h : β i β s, SignType.sign (f i) = t) : SignType.sign (β i β s, f i) = t - sign_mul π Mathlib.Basic.Sign.Basic
{Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x y : Ξ±) : SignType.sign (x * y) = SignType.sign x * SignType.sign y - EReal.coe_coe_sign π Mathlib.Data.EReal.Inv
(x : SignType) : ββx = βx - EReal.sign_top π Mathlib.Data.EReal.Inv
: SignType.sign β€ = 1 - EReal.sign_bot π Mathlib.Data.EReal.Inv
: SignType.sign β₯ = -1 - EReal.abs_mul_sign π Mathlib.Data.EReal.Inv
(x : EReal) : βx.abs * β(SignType.sign x) = x - EReal.sign_mul_abs π Mathlib.Data.EReal.Inv
(x : EReal) : β(SignType.sign x) * βx.abs = x - EReal.sign_mul_inv_abs π Mathlib.Data.EReal.Inv
(a : EReal) : β(SignType.sign a) * (βa.abs)β»ΒΉ = aβ»ΒΉ - EReal.sign_mul_inv_abs' π Mathlib.Data.EReal.Inv
(a : EReal) : β(SignType.sign a) * βa.absβ»ΒΉ = aβ»ΒΉ - EReal.sign_coe π Mathlib.Data.EReal.Inv
(x : β) : SignType.sign βx = SignType.sign x - EReal.sign_neg π Mathlib.Data.EReal.Inv
(x : EReal) : SignType.sign (-x) = -SignType.sign x - EReal.sign_eq_and_abs_eq_iff_eq π Mathlib.Data.EReal.Inv
{x y : EReal} : x.abs = y.abs β§ SignType.sign x = SignType.sign y β x = y - EReal.sign_mul π Mathlib.Data.EReal.Inv
(x y : EReal) : SignType.sign (x * y) = SignType.sign x * SignType.sign y - EReal.le_iff_sign π Mathlib.Data.EReal.Inv
{x y : EReal} : x β€ y β SignType.sign x < SignType.sign y β¨ SignType.sign x = SignType.neg β§ SignType.sign y = SignType.neg β§ y.abs β€ x.abs β¨ SignType.sign x = SignType.zero β§ SignType.sign y = SignType.zero β¨ SignType.sign x = SignType.pos β§ SignType.sign y = SignType.pos β§ x.abs β€ y.abs - instTopologicalSpaceSignType π Mathlib.Topology.Instances.Sign
: TopologicalSpace SignType - instDiscreteTopologySignType π Mathlib.Topology.Instances.Sign
: DiscreteTopology SignType - continuousAt_sign_of_neg π Mathlib.Topology.Instances.Sign
{Ξ± : Type u_1} [Zero Ξ±] [TopologicalSpace Ξ±] [PartialOrder Ξ±] [DecidableLT Ξ±] [OrderTopology Ξ±] {a : Ξ±} (h : a < 0) : ContinuousAt (βSignType.sign) a - continuousAt_sign_of_pos π Mathlib.Topology.Instances.Sign
{Ξ± : Type u_1} [Zero Ξ±] [TopologicalSpace Ξ±] [PartialOrder Ξ±] [DecidableLT Ξ±] [OrderTopology Ξ±] {a : Ξ±} (h : 0 < a) : ContinuousAt (βSignType.sign) a - continuousAt_sign_of_ne_zero π Mathlib.Topology.Instances.Sign
{Ξ± : Type u_1} [Zero Ξ±] [TopologicalSpace Ξ±] [LinearOrder Ξ±] [OrderTopology Ξ±] {a : Ξ±} (h : a β 0) : ContinuousAt (βSignType.sign) a - Real.Angle.sign π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : SignType - Real.Angle.sign_coe_pi π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
: (βReal.pi).sign = 0 - Real.Angle.sign_antiperiodic π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
: Function.Antiperiodic Real.Angle.sign βReal.pi - Real.Angle.coe_abs_toReal_of_sign_nonneg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} (h : 0 β€ ΞΈ.sign) : β|ΞΈ.toReal| = ΞΈ - Real.Angle.sign_pi_sub π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : (βReal.pi - ΞΈ).sign = ΞΈ.sign - Real.Angle.toReal_nonneg_iff_sign_nonneg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : 0 β€ ΞΈ.toReal β 0 β€ ΞΈ.sign - Real.Angle.sign_neg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : (-ΞΈ).sign = -ΞΈ.sign - Real.Angle.toReal_neg_iff_sign_neg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : ΞΈ.toReal < 0 β ΞΈ.sign = -1 - Real.Angle.eq_iff_abs_toReal_eq_of_sign_eq π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (h : ΞΈ.sign = Ο.sign) : ΞΈ = Ο β |ΞΈ.toReal| = |Ο.toReal| - Real.Angle.sign_sub_pi π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : (ΞΈ - βReal.pi).sign = -ΞΈ.sign - Real.Angle.sign_zero π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
: Real.Angle.sign 0 = 0 - Real.Angle.eq_iff_sign_eq_and_abs_toReal_eq π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} : ΞΈ = Ο β ΞΈ.sign = Ο.sign β§ |ΞΈ.toReal| = |Ο.toReal| - Real.Angle.sign_coe_nonneg_of_nonneg_of_le_pi π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : β} (h0 : 0 β€ ΞΈ) (hpi : ΞΈ β€ Real.pi) : 0 β€ (βΞΈ).sign - Real.Angle.sign_add_pi π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : (ΞΈ + βReal.pi).sign = -ΞΈ.sign - Real.Angle.sign_pi_add π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(ΞΈ : Real.Angle) : (βReal.pi + ΞΈ).sign = -ΞΈ.sign - Real.Angle.toReal_mem_Ioo_iff_sign_pos π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : ΞΈ.toReal β Set.Ioo 0 Real.pi β ΞΈ.sign = 1 - Real.Angle.neg_coe_abs_toReal_of_sign_nonpos π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} (h : ΞΈ.sign β€ 0) : -β|ΞΈ.toReal| = ΞΈ - Real.Angle.sign_coe_pi_div_two π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
: (β(Real.pi / 2)).sign = 1 - Real.Angle.sign_eq_zero_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : ΞΈ.sign = 0 β ΞΈ = 0 β¨ ΞΈ = βReal.pi - Real.Angle.sign_ne_zero_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : ΞΈ.sign β 0 β ΞΈ β 0 β§ ΞΈ β βReal.pi - Real.Angle.sub_ne_pi_of_sign_eq_of_sign_ne_zero π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(a b : Real.Angle) (h_sign : a.sign = b.sign) (h_ne : b.sign β 0) : a - b β βReal.pi - Real.Angle.continuousAt_sign π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} (h0 : ΞΈ β 0) (hpi : ΞΈ β βReal.pi) : ContinuousAt Real.Angle.sign ΞΈ - Real.Angle.sign_neg_coe_nonpos_of_nonneg_of_le_pi π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : β} (h0 : 0 β€ ΞΈ) (hpi : ΞΈ β€ Real.pi) : (-βΞΈ).sign β€ 0 - Real.Angle.sign_coe_neg_pi_div_two π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
: (β(-Real.pi / 2)).sign = -1 - Real.Angle.sign_toReal π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} (h : ΞΈ β βReal.pi) : SignType.sign ΞΈ.toReal = ΞΈ.sign - Real.Angle.toReal_add_of_sign_eq_neg_sign π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (hΟ : ΞΈ β βReal.pi β¨ Ο β βReal.pi) (hs : ΞΈ.sign = -Ο.sign) : (ΞΈ + Ο).toReal = ΞΈ.toReal + Ο.toReal - Real.Angle.toReal_add_of_sign_pos_sign_neg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (hΞΈ : ΞΈ.sign = 1) (hΟ : Ο.sign = -1) : (ΞΈ + Ο).toReal = ΞΈ.toReal + Ο.toReal - ContinuousOn.angle_sign_comp π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{Ξ± : Type u_1} [TopologicalSpace Ξ±] {f : Ξ± β Real.Angle} {s : Set Ξ±} (hf : ContinuousOn f s) (hs : β z β s, f z β 0 β§ f z β βReal.pi) : ContinuousOn (Real.Angle.sign β f) s - Real.Angle.two_zsmul_eq_iff_eq π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{a b : Real.Angle} (ha : a.sign β 0) (h : a.sign = b.sign) : 2 β’ a = 2 β’ b β a = b - Real.Angle.sign_two_zsmul_eq_sign_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : (2 β’ ΞΈ).sign = ΞΈ.sign β ΞΈ = βReal.pi β¨ |ΞΈ.toReal| < Real.pi / 2 - Real.Angle.toReal_add_eq_toReal_add_toReal π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (hΞΈ : ΞΈ β βReal.pi) (hΟ : Ο β βReal.pi) (hs : ΞΈ.sign β Ο.sign β¨ ΞΈ.sign = (ΞΈ + Ο).sign) : (ΞΈ + Ο).toReal = ΞΈ.toReal + Ο.toReal - Real.Angle.sign_two_nsmul_eq_sign_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : (2 β’ ΞΈ).sign = ΞΈ.sign β ΞΈ = βReal.pi β¨ |ΞΈ.toReal| < Real.pi / 2 - Real.Angle.sign_eq_of_continuousOn π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{Ξ± : Type u_1} [TopologicalSpace Ξ±] {f : Ξ± β Real.Angle} {s : Set Ξ±} {x y : Ξ±} (hc : IsConnected s) (hf : ContinuousOn f s) (hs : β z β s, f z β 0 β§ f z β βReal.pi) (hx : x β s) (hy : y β s) : (f y).sign = (f x).sign - Real.Angle.eq_add_pi_of_two_zsmul_eq_of_sign_eq_neg π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
(a b : Real.Angle) (h : 2 β’ a = 2 β’ b) (h_sign : a.sign = -b.sign) (h_ne : b.sign β 0) : a = b + βReal.pi - Real.Angle.sign_two_zsmul_eq_neg_sign_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : (2 β’ ΞΈ).sign = -ΞΈ.sign β ΞΈ = 0 β¨ Real.pi / 2 < |ΞΈ.toReal| - Real.Angle.sign_two_nsmul_eq_neg_sign_iff π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ : Real.Angle} : (2 β’ ΞΈ).sign = -ΞΈ.sign β ΞΈ = 0 β¨ Real.pi / 2 < |ΞΈ.toReal| - Real.Angle.abs_toReal_add_abs_toReal_eq_pi_of_two_zsmul_add_eq_zero_of_sign_eq π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (h : 2 β’ (ΞΈ + Ο) = 0) (hs : ΞΈ.sign = Ο.sign) (h0 : ΞΈ.sign β 0) : |ΞΈ.toReal| + |Ο.toReal| = Real.pi - Real.Angle.abs_toReal_add_abs_toReal_eq_pi_of_two_nsmul_add_eq_zero_of_sign_eq π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (h : 2 β’ (ΞΈ + Ο) = 0) (hs : ΞΈ.sign = Ο.sign) (h0 : ΞΈ.sign β 0) : |ΞΈ.toReal| + |Ο.toReal| = Real.pi - Real.Angle.abs_toReal_add_eq_two_pi_sub_abs_toReal_add_abs_toReal π Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle
{ΞΈ Ο : Real.Angle} (hs : ΞΈ.sign = Ο.sign) (hsa : ΞΈ.sign β (ΞΈ + Ο).sign) : |(ΞΈ + Ο).toReal| = 2 * Real.pi - (|ΞΈ.toReal| + |Ο.toReal|) - sign_eq_of_affineCombination_mem_affineSpan_single_lineMap π Mathlib.LinearAlgebra.AffineSpace.Independent
{k : Type u_1} {V : Type u_2} {P : Type u_3} [Ring k] [LinearOrder k] [IsStrictOrderedRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ΞΉ : Type u_4} {p : ΞΉ β P} (h : AffineIndependent k p) {w : ΞΉ β k} {s : Finset ΞΉ} (hw : β i β s, w i = 1) {iβ iβ iβ : ΞΉ} (hβ : iβ β s) (hβ : iβ β s) (hβ : iβ β s) (hββ : iβ β iβ) (hββ : iβ β iβ) (hββ : iβ β iβ) {c : k} (hc0 : 0 < c) (hc1 : c < 1) (hs : (Finset.affineCombination k s p) w β line[k, p iβ, (AffineMap.lineMap (p iβ) (p iβ)) c]) : SignType.sign (w iβ) = SignType.sign (w iβ) - sign_eq_of_affineCombination_mem_affineSpan_pair π Mathlib.LinearAlgebra.AffineSpace.Independent
{k : Type u_1} {V : Type u_2} {P : Type u_3} [Ring k] [LinearOrder k] [IsStrictOrderedRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {ΞΉ : Type u_4} {p : ΞΉ β P} (h : AffineIndependent k p) {w wβ wβ : ΞΉ β k} {s : Finset ΞΉ} (hw : β i β s, w i = 1) (hwβ : β i β s, wβ i = 1) (hwβ : β i β s, wβ i = 1) (hs : (Finset.affineCombination k s p) w β line[k, (Finset.affineCombination k s p) wβ, (Finset.affineCombination k s p) wβ]) {i j : ΞΉ} (hi : i β s) (hj : j β s) (hi0 : wβ i = 0) (hj0 : wβ j = 0) (hij : SignType.sign (wβ i) = SignType.sign (wβ j)) : SignType.sign (w i) = SignType.sign (w j) - Polynomial.signVariations_eraseLead π Mathlib.Algebra.Polynomial.RuleOfSigns
{R : Type u_1} [Semiring R] [LinearOrder R] (P : Polynomial R) (h : SignType.sign P.leadingCoeff = SignType.sign P.nextCoeff) : P.eraseLead.signVariations = P.signVariations - Polynomial.signVariations_eq_eraseLead_add_ite π Mathlib.Algebra.Polynomial.RuleOfSigns
{R : Type u_1} [Semiring R] [LinearOrder R] {P : Polynomial R} (h : P β 0) : P.signVariations = P.eraseLead.signVariations + if SignType.sign P.leadingCoeff = -SignType.sign P.eraseLead.leadingCoeff then 1 else 0 - NormedSpace.normalize_smul π Mathlib.Analysis.Normed.Module.Normalize
{V : Type u_1} [NormedAddCommGroup V] [NormedSpace β V] (r : β) (x : V) : NormedSpace.normalize (r β’ x) = β(SignType.sign r) β’ NormedSpace.normalize x - deriv_abs π Mathlib.Analysis.Calculus.Deriv.Abs
(x : β) : deriv (fun x => |x|) x = β(SignType.sign x) - hasDerivAt_abs π Mathlib.Analysis.Calculus.Deriv.Abs
{x : β} (hx : x β 0) : HasDerivAt (fun x => |x|) (β(SignType.sign x)) x - hasStrictDerivAt_abs π Mathlib.Analysis.Calculus.Deriv.Abs
{x : β} (hx : x β 0) : HasStrictDerivAt (fun x => |x|) (β(SignType.sign x)) x - hasDerivWithinAt_abs π Mathlib.Analysis.Calculus.Deriv.Abs
(s : Set β) {x : β} (hx : x β 0) : HasDerivWithinAt (fun x => |x|) (β(SignType.sign x)) s x - HasFDerivAt.abs π Mathlib.Analysis.Calculus.Deriv.Abs
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] {f : E β β} {f' : StrongDual β E} {x : E} (hf : HasFDerivAt f f' x) (hβ : f x β 0) : HasFDerivAt (fun x => |f x|) (β(SignType.sign (f x)) β’ f') x - HasStrictFDerivAt.abs π Mathlib.Analysis.Calculus.Deriv.Abs
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] {f : E β β} {f' : StrongDual β E} {x : E} (hf : HasStrictFDerivAt f f' x) (hβ : f x β 0) : HasStrictFDerivAt (fun x => |f x|) (β(SignType.sign (f x)) β’ f') x - HasFDerivWithinAt.abs π Mathlib.Analysis.Calculus.Deriv.Abs
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] {f : E β β} {f' : StrongDual β E} {s : Set E} {x : E} (hf : HasFDerivWithinAt f f' s x) (hβ : f x β 0) : HasFDerivWithinAt (fun x => |f x|) (β(SignType.sign (f x)) β’ f') s x - eventually_nhdsWithin_sign_eq_of_deriv_neg π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hf : deriv f xβ < 0) (hx : f xβ = 0) : βαΆ (x : β) in nhds xβ, SignType.sign (f x) = SignType.sign (xβ - x) - eventually_nhdsWithin_sign_eq_of_deriv_pos π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hf : deriv f xβ > 0) (hx : f xβ = 0) : βαΆ (x : β) in nhds xβ, SignType.sign (f x) = SignType.sign (x - xβ) - isLocalMax_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (h : ContinuousAt f xβ) (hf : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (xβ - x)) : IsLocalMax f xβ - isLocalMin_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (h : ContinuousAt f xβ) (hf : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (x - xβ)) : IsLocalMin f xβ - deriv_neg_left_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hβ : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (x - xβ)) : βαΆ (b : β) in nhdsWithin xβ (Set.Iio xβ), deriv f b < 0 - deriv_neg_right_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hβ : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (xβ - x)) : βαΆ (b : β) in nhdsWithin xβ (Set.Ioi xβ), deriv f b < 0 - deriv_pos_left_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hβ : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (xβ - x)) : βαΆ (b : β) in nhdsWithin xβ (Set.Iio xβ), deriv f b > 0 - deriv_pos_right_of_sign_deriv π Mathlib.Analysis.Calculus.DerivativeTest
{f : β β β} {xβ : β} (hβ : βαΆ (x : β) in nhdsWithin xβ {xβ}αΆ, SignType.sign (deriv f x) = SignType.sign (x - xβ)) : βαΆ (b : β) in nhdsWithin xβ (Set.Ioi xβ), deriv f b > 0 - HasFDerivAt.hasFDerivAt_norm_smul π Mathlib.Analysis.Calculus.FDeriv.Norm
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] {f : StrongDual β E} {x : E} {t : β} (ht : t β 0) (h : HasFDerivAt (fun x => βxβ) f x) : HasFDerivAt (fun x => βxβ) (β(SignType.sign t) β’ f) (t β’ x) - HasStrictFDerivAt.hasStrictFDerivAt_norm_smul π Mathlib.Analysis.Calculus.FDeriv.Norm
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] {f : StrongDual β E} {x : E} {t : β} (ht : t β 0) (h : HasStrictFDerivAt (fun x => βxβ) f x) : HasStrictFDerivAt (fun x => βxβ) (β(SignType.sign t) β’ f) (t β’ x) - fderiv_norm_smul π Mathlib.Analysis.Calculus.FDeriv.Norm
{E : Type u_1} [NormedAddCommGroup E] [NormedSpace β E] (x : E) (t : β) : fderiv β (fun x => βxβ) (t β’ x) = β(SignType.sign t) β’ fderiv β (fun x => βxβ) x - Matrix.ProjGenLinGroup.signDet π Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Projective
{n : Type u_1} {R : Type u_2} [Fintype n] [DecidableEq n] [CommRing R] [Fact (Even (Fintype.card n))] [LinearOrder R] [IsStrictOrderedRing R] : Matrix.ProjGenLinGroup n R β* SignTypeΛ£ - Matrix.ProjGenLinGroup.val_signDet_mk π Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Projective
{n : Type u_1} {R : Type u_2} [Fintype n] [DecidableEq n] [CommRing R] [Fact (Even (Fintype.card n))] [LinearOrder R] [IsStrictOrderedRing R] (g : GL n R) : β(Matrix.ProjGenLinGroup.signDet (Matrix.ProjGenLinGroup.mk g)) = SignType.sign β(Matrix.GeneralLinearGroup.det g) - Matrix.ProjGenLinGroup.signDet_mk π Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Projective
{n : Type u_1} {R : Type u_2} [Fintype n] [DecidableEq n] [CommRing R] [Fact (Even (Fintype.card n))] [LinearOrder R] [IsStrictOrderedRing R] (g : GL n R) : Matrix.ProjGenLinGroup.signDet (Matrix.ProjGenLinGroup.mk g) = (Units.map βsignHom) (Matrix.GeneralLinearGroup.det g) - UpperHalfPlane.det_smulFDeriv π Mathlib.Analysis.Complex.UpperHalfPlane.Manifold
(g : GL (Fin 2) β) (z : β) : (UpperHalfPlane.smulFDeriv g z).det = β(SignType.sign β(Matrix.GeneralLinearGroup.det g)) * β(Matrix.GeneralLinearGroup.det g) ^ 2 / βUpperHalfPlane.denom g zβ ^ 4 - Affine.Simplex.sSameSide_affineSpan_faceOpposite_of_sign_eq π Mathlib.Analysis.Convex.Side
{R : Type u_1} {V : Type u_2} {P : Type u_4} [Field R] [LinearOrder R] [IsStrictOrderedRing R] [AddCommGroup V] [Module R V] [AddTorsor V P] {n : β} [NeZero n] (s : Affine.Simplex R P n) {wβ wβ : Fin (n + 1) β R} (hwβ : β j, wβ j = 1) (hwβ : β j, wβ j = 1) {i : Fin (n + 1)} (hs : SignType.sign (wβ i) = SignType.sign (wβ i)) (h0 : wβ i β 0) : (affineSpan R (Set.range (s.faceOpposite i).points)).SSameSide ((Finset.affineCombination R Finset.univ s.points) wβ) ((Finset.affineCombination R Finset.univ s.points) wβ) - Affine.Simplex.sSameSide_affineSpan_faceOpposite_iff π Mathlib.Analysis.Convex.Side
{R : Type u_1} {V : Type u_2} {P : Type u_4} [Field R] [LinearOrder R] [IsStrictOrderedRing R] [AddCommGroup V] [Module R V] [AddTorsor V P] {n : β} [NeZero n] (s : Affine.Simplex R P n) {wβ wβ : Fin (n + 1) β R} (hwβ : β j, wβ j = 1) (hwβ : β j, wβ j = 1) {i : Fin (n + 1)} : (affineSpan R (Set.range (s.faceOpposite i).points)).SSameSide ((Finset.affineCombination R Finset.univ s.points) wβ) ((Finset.affineCombination R Finset.univ s.points) wβ) β SignType.sign (wβ i) = SignType.sign (wβ i) β§ wβ i β 0 - Affine.Simplex.sOppSide_affineSpan_faceOpposite_iff π Mathlib.Analysis.Convex.Side
{R : Type u_1} {V : Type u_2} {P : Type u_4} [Field R] [LinearOrder R] [IsStrictOrderedRing R] [AddCommGroup V] [Module R V] [AddTorsor V P] {n : β} [NeZero n] (s : Affine.Simplex R P n) {wβ wβ : Fin (n + 1) β R} (hwβ : β j, wβ j = 1) (hwβ : β j, wβ j = 1) {i : Fin (n + 1)} : (affineSpan R (Set.range (s.faceOpposite i).points)).SOppSide ((Finset.affineCombination R Finset.univ s.points) wβ) ((Finset.affineCombination R Finset.univ s.points) wβ) β SignType.sign (wβ i) = -SignType.sign (wβ i) β§ wβ i β 0 - Affine.Simplex.wSameSide_affineSpan_faceOpposite_iff π Mathlib.Analysis.Convex.Side
{R : Type u_1} {V : Type u_2} {P : Type u_4} [Field R] [LinearOrder R] [IsStrictOrderedRing R] [AddCommGroup V] [Module R V] [AddTorsor V P] {n : β} [NeZero n] (s : Affine.Simplex R P n) {wβ wβ : Fin (n + 1) β R} (hwβ : β j, wβ j = 1) (hwβ : β j, wβ j = 1) {i : Fin (n + 1)} : (affineSpan R (Set.range (s.faceOpposite i).points)).WSameSide ((Finset.affineCombination R Finset.univ s.points) wβ) ((Finset.affineCombination R Finset.univ s.points) wβ) β SignType.sign (wβ i) = SignType.sign (wβ i) β¨ wβ i = 0 β¨ wβ i = 0 - Affine.Simplex.wOppSide_affineSpan_faceOpposite_iff π Mathlib.Analysis.Convex.Side
{R : Type u_1} {V : Type u_2} {P : Type u_4} [Field R] [LinearOrder R] [IsStrictOrderedRing R] [AddCommGroup V] [Module R V] [AddTorsor V P] {n : β} [NeZero n] (s : Affine.Simplex R P n) {wβ wβ : Fin (n + 1) β R} (hwβ : β j, wβ j = 1) (hwβ : β j, wβ j = 1) {i : Fin (n + 1)} : (affineSpan R (Set.range (s.faceOpposite i).points)).WOppSide ((Finset.affineCombination R Finset.univ s.points) wβ) ((Finset.affineCombination R Finset.univ s.points) wβ) β SignType.sign (wβ i) = -SignType.sign (wβ i) β¨ wβ i = 0 β¨ wβ i = 0 - Orientation.ne_of_oangle_sign_eq_one π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign = 1) : x β y - Orientation.ne_of_oangle_sign_ne_zero π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign β 0) : x β y - Orientation.ne_of_oangle_sign_eq_neg_one π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign = -1) : x β y - Orientation.oangle_eq_angle_of_sign_eq_one π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign = 1) : o.oangle x y = β(InnerProductGeometry.angle x y) - Orientation.oangle_sign_sub_left π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle (x - y) y).sign = (o.oangle x y).sign - Orientation.oangle_sign_sub_left_swap π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle (x - y) x).sign = (o.oangle x y).sign - Orientation.oangle_sign_sub_right π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle x (y - x)).sign = (o.oangle x y).sign - Orientation.oangle_sign_sub_right_swap π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle y (y - x)).sign = (o.oangle x y).sign - Orientation.left_ne_zero_of_oangle_sign_eq_one π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign = 1) : x β 0 - Orientation.left_ne_zero_of_oangle_sign_ne_zero π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign β 0) : x β 0 - Orientation.oangle_sign_add_left π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle (x + y) y).sign = (o.oangle x y).sign - Orientation.oangle_sign_add_right π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle x (x + y)).sign = (o.oangle x y).sign - Orientation.oangle_sign_neg_left π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle (-x) y).sign = -(o.oangle x y).sign - Orientation.oangle_sign_neg_right π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle x (-y)).sign = -(o.oangle x y).sign - Orientation.right_ne_zero_of_oangle_sign_eq_one π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign = 1) : y β 0 - Orientation.right_ne_zero_of_oangle_sign_ne_zero π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) {x y : V} (h : (o.oangle x y).sign β 0) : y β 0 - Orientation.oangle_sign_sub_left_eq_neg π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle (y - x) y).sign = -(o.oangle x y).sign - Orientation.oangle_sign_sub_right_eq_neg π Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (o.oangle x (x - y)).sign = -(o.oangle x y).sign
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?bBy main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβandβ) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
β’ (_ : Type _)finds all definitions which provide data whileβ’ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision ce5dd8c