Proof: Difference between revisions

Content added Content deleted
Line 221: Line 221:




Although probably I could do more precisely what is asked, and encode some formal logic in the ATS proofs language, that is not what I do below. Rosetta Code is here to show what a language can do, and so it seems better to show a bit of how ATS ''actually'' would be used.
Although probably I could do more precisely what is asked, and encode some formal logic in the ATS proofs language, that is not what I do below. '''(Footnote: I am currently at work on the task.)''' Rosetta Code is here to show what a language can do, and so it seems better to show a bit of how ATS ''actually'' would be used.


In that case, addition is a poor operation upon which to base the demonstration. ''Multiplication'' would be much better, because ATS has relatively little built-in knowledge of multiplication; the operation has to be defined by axioms or recursively from addition. But I shall stick with addition, just the same.
In that case, addition is a poor operation upon which to base the demonstration. ''Multiplication'' would be much better, because ATS has relatively little built-in knowledge of multiplication; the operation has to be defined by axioms or recursively from addition. But I shall stick with addition, just the same.