LeanAide GPT-4 documentation

Module: Mathlib.Analysis.NormedSpace.Star.Matrix


Matrix.cstar_norm_def

theorem Matrix.cstar_norm_def : βˆ€ {π•œ : Type u_1} {n : Type u_3} [inst : RCLike π•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π•œ), β€–Aβ€– = β€–Matrix.toEuclideanCLM Aβ€–

The theorem `Matrix.cstar_norm_def` states that for any type `π•œ`, any type `n` that is a Fintype and has Decidable Equality, and a square matrix `A` of type `Matrix n n π•œ`, the norm of `A`, represented as `β€–Aβ€–`, is equal to the norm of the Euclidean column-major linear map of `A`, represented as `β€–Matrix.toEuclideanCLM Aβ€–`. Here, `π•œ` is likely a number field (e.g., the real or complex numbers), `n` denotes the indices of the rows and columns of the matrix, `Fintype` ensures that `n` is a finite type, and `DecidableEq` ensures that equality within `n` is a decidable property.

More concisely: For any number field `π•œ`, finite type `n` with decidable equality, and square matrix `A` of size `n x n` over `π•œ`, the matrix norm of `A` equals the Euclidean norm of the column-major linear map of `A`.

entrywise_sup_norm_bound_of_unitary

theorem entrywise_sup_norm_bound_of_unitary : βˆ€ {π•œ : Type u_1} {n : Type u_3} [inst : RCLike π•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {U : Matrix n n π•œ}, U ∈ Matrix.unitaryGroup n π•œ β†’ β€–Uβ€– ≀ 1

The theorem `entrywise_sup_norm_bound_of_unitary` states that for any type `π•œ` that behaves like a real or complex number (denoted by `[inst : RCLike π•œ]`), and any finite type `n`, such that we can decide equality on elements of type `n` (`[inst_2 : DecidableEq n]`), if `U` is a `n` by `n` matrix over `π•œ` that belongs to the unitary group of `n` by `n` matrices over `π•œ` (i.e., `U` is a unitary matrix), then the sup norm (or maximum absolute value of its entries) of `U` is less than or equal to `1`. In mathematical terms, this is saying that if `U` is a unitary matrix, then the maximum absolute value of the entries of `U` is at most `1`. This result is fundamental in several areas of linear algebra and quantum computing, where unitary matrices play a crucial role.

More concisely: For any type `π•œ` that behaves like the real or complex numbers, and for finite type `n` with decidable equality, if `U` is a `n` by `n` unitary matrix over `π•œ`, then the sup norm of `U` is bounded by 1.

Matrix.l2_opNorm_conjTranspose_mul_self

theorem Matrix.l2_opNorm_conjTranspose_mul_self : βˆ€ {π•œ : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π•œ] [inst_1 : Fintype m] [inst_2 : Fintype n] [inst_3 : DecidableEq n] (A : Matrix m n π•œ), β€–A.conjTranspose * Aβ€– = β€–Aβ€– * β€–Aβ€–

The theorem `Matrix.l2_opNorm_conjTranspose_mul_self` states that for any type `π•œ` that behaves like a ring or a field (indicated by `RCLike π•œ`), types `m` and `n` which are finite (indicated by `Fintype m` and `Fintype n`) and have decidable equality (indicated by `DecidableEq n`), and a matrix `A` with entries in `π•œ` and dimensions indexed by `m` and `n`, the L2 operator norm (the square root of the largest eigenvalue of `A* A`) of the product of the conjugate transpose of `A` and `A` is equal to the product of the L2 operator norm of `A` and itself. Here, `Matrix.conjTranspose` is a function that computes the conjugate transpose of a matrix, `β€–Aβ€–` denotes the L2 operator norm of `A`, and '*' denotes matrix multiplication.

More concisely: For any ring or field `π•œ`, finite types `m` and `n` with decidable equality, and matrix `A` of dimension `m x n` over `π•œ`, the L2 norm of `A` multiplied by the L2 norm of its conjugate transpose equals the L2 norm of `A` multiplied by itself. In Lean notation: `βˆ€ π•œ: Type u | RCLike π•œ, (βˆ€ m n: Nat, Fintype m β†’ Fintype n β†’ DecidableEq n β†’ Matrix π•œ m n β†’ Real = β€–A⟩.β€– * β€–Matrix.conjTranspose A⟩.β€– = β€–A⟩.β€– * β€–A⟩.β€–`.`

Matrix.instCstarRing

theorem Matrix.instCstarRing : βˆ€ {π•œ : Type u_1} {n : Type u_3} [inst : RCLike π•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n], CstarRing (Matrix n n π•œ)

This theorem states that for any type `π•œ` and `n` where `π•œ` behaves like real or complex numbers (has a structure `RCLike π•œ`), `n` is a finite type (`Fintype n`), and equality on `n` is decidable (`DecidableEq n`), then the matrix with rows and columns indexed by `n` and entries in `π•œ` (i.e., `Matrix n n π•œ`) forms a `CstarRing`. This is a special mathematical construct related to the operator norm on the matrix given by its identification with the continuous linear endomorphisms of the n-dimensional Euclidean space over `π•œ`. A `CstarRing` captures some properties of complex numbers and linear operators, which are useful in quantum mechanics and other areas of mathematics.

More concisely: For any type `π•œ` behaving like the real or complex numbers and having decidable equality, and `n` a finite type with decidable equality, the `Matrix n n π•œ` forms a `CstarRing`.

Matrix.cstar_nnnorm_def

theorem Matrix.cstar_nnnorm_def : βˆ€ {π•œ : Type u_1} {n : Type u_3} [inst : RCLike π•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π•œ), β€–Aβ€–β‚Š = β€–Matrix.toEuclideanCLM Aβ€–β‚Š

The theorem `Matrix.cstar_nnnorm_def` states that for any type `π•œ`, any type `n`, under the conditions that `π•œ` behaves like a real closed field, `n` is a finite type, and `n` has decidable equality, for any square matrix `A` with entries in `π•œ` and indices in `n`, the non-negative norm of `A` (`β€–Aβ€–β‚Š`) is equal to the non-negative norm of the result of applying the function `Matrix.toEuclideanCLM` to `A` (`β€–Matrix.toEuclideanCLM Aβ€–β‚Š`). This theorem is a variant of `Matrix.l2_opNNNorm_def`, but it expresses the result in a more bundled form for square matrices.

More concisely: For any square matrix A with entries in a real closed field and indices in a finite type with decidable equality, the non-negative norm of A is equal to the non-negative norm of Matrix.toEuclideanCLM(A).