Collect references of equations and use them in proof production. Export buggy proof and import again throws exception.