Classical logic is generous. If you know it is raining, you can use that fact in ten proofs and it stays true every time. Logic does not charge you for premises.
But the real world does. You cannot pay for a coffee with the same euro twice. A file handle passed to a function should not be closed twice. A mutable memory cell cannot be aliased freely without causing data races.
In 1987, the logician Jean-Yves Girard invented linear logic to capture exactly this intuition. In linear logic, every assumption is a resource: when you use it, it is consumed. You cannot copy a premise for free, and you cannot silently discard it either. The famous slogan is that linear logic treats hypotheses like money — spend them once, spend them precisely.
This sounds like a restriction, but it is actually extra power: you can now reason about what happens to resources, not just about what is true or false. That shift from truth to resource accounting turned out to be foundational for programming languages and the theory of computation.
Comments
Loading comments...