intentionally vague question; please document your assumptions in answers :)
from a (known valid) proof, (when) can you infer what theorem it proves?
(when) can a single proof prove multiple different theorems?
intentionally vague question; please document your assumptions in answers :)
from a (known valid) proof, (when) can you infer what theorem it proves?
(when) can a single proof prove multiple different theorems?
Here's a proof of my favorite theorem.
Well
1. I recognize the book immediately because I did a course on it in college
2. The proof ends with a sequence of equations whose endpoints are the theorem
@chrisamaphone This is a good question. For type theorists, there's also a key distinction between proof terms as a decidably checkable evidence language and the high level language of proofs, which elaborates (by unspecified amounts of computation) to decidably checkable proof terms, or not if you're unlucky.
Let me chuck in a side-question. To what extent should problem solution documents expose the subproblems which arise in the course of that solution.
OK, I'm massively biased. I want to see the whole problem-solving dialectic appearing in the document, and I do not imagine the document as being written by one human. The document is a collective human-machine effort. We should not conflate the length of the document with the amount of work.
@chrisamaphone but my own rather poor largely intuitive understanding of Curry-Howard is my only source of intuition about this problem. Which I suppose is I suppose exactly your point here, lol.
My problem is I have a metalogical block that I spent too much time fixated on overcoming, and still to this day I still have no idea what I'm overlooking. Logic has been ingrained in me through programming and the study of mathematics, and I have always been extraordinarily example-efficient when learning logic. The proofs of Godel's theorems makes no sense to me, never have.
@chrisamaphone “by routine induction” “as the reader can verify”
More seriously, I would say there are collections of theorems which all go together (cut elimination, admissibility of substitution, consistency in logic for example), where a proof of one can essentially amount to a proof of any.
@chrisamaphone From a non-formal perspective of proofs-as-prose-communication: a typical proof would usually start with unpacking some consequences of the hypotheses, but usually that's a one-way process and you couldn't always reconstruct the hypotheses of the theorem from their consequences mentioned in the proof, although you could probably make a good educated guess if you knew the topic
Same with conclusions, especially making a qualitative conclusion from quantitative reasoning. A typical undergrad real analysis proof would conclude "this function is continuous" from a more specific bound