Commit 2021-06-25 10:35 1774cf95
View on Github →chore(data/complex/{module, is_R_or_C}, analysis/complex/basic): rationalize the structure provided for conj and of_real (#8014)
We have many bundled versions of the four operations associated with the complex-real interaction (real & imaginary parts, real-to-complex coercion of_real, complex conjugation conj).
This PR adjusts the versions provided, according to the following principles:
- conjis always an equivalence, there is never a need for the map version
- Both of_realandconjareℝ-algebra homomorphisms, and since this in typical applications requires no more imports thanℝ-linear maps, they can entirely supersede theℝ-linear map versions.
- Name according to the base map name together with an acronym for the bundled map type, for example conj_aeforconjas an algebra-equivalence (this principle had been largely, but not entirely, followed previously). The following specific changes result:
- quaternion.conj_alg_equivrenamed to- quaternion.conj_ae, likewise for- quaternion_algebra.conj_alg_equiv
- complex.conj_liupgraded from a map to an equivalence
- complex.conj_clm(continuous linear map) upgraded to- complex.conj_cle(continuous linear equivalence)
- complex.conj_alg_equivrenamed to- complex.conj_ae
- complex.conj_lmgone, use- complex.conj_aeinstead
- complex.of_real_lm(linear map) upgraded to- complex.of_real_am(algebra homomorphism)
- all the same changes for is_R_or_C.*as forcomplex.*Associated lemmas are also renamed.