QuantumInfo.ForMathlib.ULift
11 declarations
`AddZero` structure on the universe lift
Given a type equipped with an addition operation and an additive identity (represented by the `AddZero` class), this definition provides an `AddZero` structure for the universe-lifted type . Specifically, the zero element in is defined as the lift of the zero in , and the addition of two elements in is defined by performing the addition on the underlying elements in and then lifting the result.
Star operation on
For a type equipped with a star operation , there is a corresponding star operation on the universe-lifted type . For any element , its star is defined by applying the star operation to its underlying value in , i.e., .
Star of equals the lift of the star of
For a type equipped with a star operation , and any element in the universe-lifted type , the star of is given by . Here, refers to the underlying value in and refers to the constructor that lifts a value from to .
Involutive star operation on
For any type equipped with an involutive star operation (an operation such that for all ), there is a corresponding involutive star operation on the universe-lifted type . This structure ensures that for any element , the property is preserved under the lifting operation.
Star-multiplication structure on
For any type equipped with a multiplication and a star operation such that the property holds for all , the universe-lifted type also inherits this star-multiplication structure. The operations on are defined by applying the corresponding operations to the underlying elements in .
is a star ring
For any non-unital non-associative semiring equipped with a star ring structure, the universe-lifted type also forms a star ring. This structure inherits the star operation from , which satisfies the properties , , and for all elements in .
in
Let be a commutative star semiring. For any element in the universe-lifted type , the star operation in commutes with the projection to the underlying ring . That is, the downward projection of the star of is equal to the star of the downward projection of : where denotes the star involution.
is a normed field
For any normed field , its universe lift is also a normed field, inheriting the field operations and the norm from .
is a densely normed field
For any densely normed field , its universe lift is also a densely normed field, inheriting the field structure and the property that the set of norms of its elements is dense in .
Let be a type equipped with an addition operation. For any element in the universe-lifted type , applying the additive equivalence to is equal to the underlying value in .
is an `RCLike` field
Let be a field that satisfies the `RCLike` property (isomorphic to either the real numbers or the complex numbers ). The universe lift is also an `RCLike` field. This structure is defined by lifting the operations from , including the real part , the imaginary part , the complex conjugation , and the squared norm , such that they satisfy the standard axioms for a field that behaves like or .
