How much structure of mathematical theories can be retained in the shortest proo...

@trebor@types.pl

How much structure of mathematical theories can be retained in the shortest proof of mathematical statements? Take for example quadratic reciprocity. Suppose we somehow know the literal shortest proof in some formal system (with mechanisms for definitions/abbreviations and lemmas), would it be recognizable as a variant of a known proof?