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