Reference. Refinement and extension of mathematical structures in proof assistants based on dependent type theory [sakaguchi-2023]