> Why include a script rather than a proof? One reason is that the proof is straight-forward but tedious and the script is compact.
Yes the script lets you check that the result is correct, but a proof lets you see why it's correct. A good proof might even give you a sense of how you could have discovered the result yourself, or how you might generalize it.