Formalisation using the proof assistant Coq, the language ssreflect, and the Mathematical Components libraries