Skip to content

Weird variable name C (printed C0) in QuantumLib.Complex.Cconj_opp #48

@letouzey

Description

@letouzey

Just a minor remark : QuantumLib.Complex.Cconj_opp uses a variable named capitalized C, which is unfortunate, since C is here the type of the complex numbers. Even if that doesn't prevent from using this lemma, could you rename this variable, for instance to uncapitalized c ? Currently, there's even more confusion when Check'ing Cconj_opp :

Check Cconj_opp.
(*Cconj_opp
     : forall C0 : C, (- C0) ^* = - C0 ^*
*)

Actually, Coq noticed the name clash ... and displays instead C0, i.e the zero of complex numbers ! (I guess it has something to
do with C0 being a notation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions