A Proof-Theoretic Approach To Mathematical Knowledge Management