Zulip Chat Archive
Stream: new members
Topic: variable vs constant
Kevin Buzzard (May 06 2021 at 12:18):
The answer is that constant (A : B) adds a new declaration A to the system with no definition, but variable just inserts (A : B) as an assumption in all the theorems and definitions you make which mention A. But what you really need to know is: if in doubt, use variable (and definitely read Patrick's link!)
Matúš Behun (May 06 2021 at 12:45):
Thanks, I've actually read what Patrick posted but difference seemed too subtle to me. I am trying to to formulate how I would explain what's the difference between those two and way to explain it for me is that they have different purpose.
Scott Morrison (May 06 2021 at 12:48):
The main difference is that you shouldn't use constant, and you should use variable. :-)
Matúš Behun (May 06 2021 at 12:54):
and what about axiom is that alias for constant?
Scott Morrison (May 06 2021 at 12:55):
As far as I know. Both are useless if you're doing "normal maths", perhaps outside of writing unit tests for tactics.
Matúš Behun (May 06 2021 at 12:56):
okay, I will move on
Last updated: May 02 2025 at 03:31 UTC