Documentation

Mathlib.Data.Complex.Abs

Absolute values of complex numbers #

Absolute value #

noncomputable def Complex.abs :

The complex absolute value function, defined as the square root of the norm squared.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[simp]
    theorem Complex.abs_ofReal (r : ) :
    Complex.abs r = |r|
    theorem Complex.abs_of_nonneg {r : } (h : 0 r) :
    Complex.abs r = r
    @[simp]
    theorem Complex.abs_natCast (n : ) :
    Complex.abs n = n
    @[simp]
    theorem Complex.sq_abs_sub_sq_re (z : ) :
    Complex.abs z ^ 2 - z.re ^ 2 = z.im ^ 2
    @[simp]
    theorem Complex.sq_abs_sub_sq_im (z : ) :
    Complex.abs z ^ 2 - z.im ^ 2 = z.re ^ 2
    theorem Complex.abs_add_mul_I (x : ) (y : ) :
    Complex.abs (x + y * Complex.I) = Real.sqrt (x ^ 2 + y ^ 2)
    theorem Complex.abs_prod {ι : Type u_1} (s : Finset ι) (f : ι) :
    Complex.abs (Finset.prod s f) = Finset.prod s fun (I : ι) => Complex.abs (f I)
    theorem Complex.abs_pow (z : ) (n : ) :
    theorem Complex.abs_zpow (z : ) (n : ) :
    @[simp]
    theorem Complex.abs_re_lt_abs {z : } :
    |z.re| < Complex.abs z z.im 0
    @[simp]
    theorem Complex.abs_im_lt_abs {z : } :
    |z.im| < Complex.abs z z.re 0
    @[simp]
    theorem Complex.abs_re_eq_abs {z : } :
    |z.re| = Complex.abs z z.im = 0
    @[simp]
    theorem Complex.abs_im_eq_abs {z : } :
    |z.im| = Complex.abs z z.re = 0
    @[simp]
    @[simp]
    theorem Complex.int_cast_abs (n : ) :
    |n| = Complex.abs n

    Cauchy sequences #

    theorem Complex.isCauSeq_re (f : CauSeq Complex.abs) :
    IsCauSeq abs fun (n : ) => (f n).re
    theorem Complex.isCauSeq_im (f : CauSeq Complex.abs) :
    IsCauSeq abs fun (n : ) => (f n).im
    noncomputable def Complex.cauSeqRe (f : CauSeq Complex.abs) :

    The real part of a complex Cauchy sequence, as a real Cauchy sequence.

    Equations
    Instances For
      noncomputable def Complex.cauSeqIm (f : CauSeq Complex.abs) :

      The imaginary part of a complex Cauchy sequence, as a real Cauchy sequence.

      Equations
      Instances For
        theorem Complex.isCauSeq_abs {f : } (hf : IsCauSeq (Complex.abs) f) :
        noncomputable def Complex.limAux (f : CauSeq Complex.abs) :

        The limit of a Cauchy sequence of complex numbers.

        Equations
        Instances For

          The complex conjugate of a complex Cauchy sequence, as a complex Cauchy sequence.

          Equations
          Instances For
            noncomputable def Complex.cauSeqAbs (f : CauSeq Complex.abs) :

            The absolute value of a complex Cauchy sequence, as a real Cauchy sequence.

            Equations
            Instances For
              theorem Complex.ne_zero_of_one_lt_re {s : } (hs : 1 < s.re) :
              s 0
              theorem Complex.re_neg_ne_zero_of_one_lt_re {s : } (hs : 1 < s.re) :
              (-s).re 0