by tantalor · 5y ago · 0 comments
> declaring code would satisfy the general test for copyrightability.. they are expressed in “words, numbers, or other verbal or numerical symbols
It is common knowledge that mathematical formulae & equations, which are also expressed in words, numbers, and symbols, do not have copyright protection.
> Copyright protection is therefore not available for... mathematical principles; formulas or algorithms
https://www.copyright.gov/circs/circ31.pdf
> public static int MaxNum (int x, int y, int z)
This is literally a mathematical formula, hence does not have copyright protection.
public static int MaxNum (int x, int y, int z)
This is not a mathematical formula. It is a declaration of intent to name some code that takes three ints and returns an int 'MaxNum'. It says nothing about what the code can, should or must do.Now, if you've come up with some novel way to perform some computation on three integers and produce an integer:
- you might be able to patent that procedure.
- you might write some code that performs that procedure, and you would hold a copyright over that specific set of code
- you might, I suppose, name your algorithm 'MaxNum' and declare a trademark over it
But I don't think any of those could prevent someone from writing
public static int MaxNum (int x, int y, int z)
in another codebase.
- your patent protection might limit their ability to make a substantially similar implementation of such a function
- your copyright protection might prevent them from literally copying your implementation word for word
- your trademark protection might prevent them from passing off their implementation of MaxNum as if it were yours
But in no way does this have anything to do with the uncopyrightability of mathematics.
Also, you are distorting the argument by making it about one method signature instead of thousands of interconnected types and methods that work together to present an ergonomic interface for the developer.
Two equally good programmers may come up with radically different interfaces. Whereas if given an interface and instructed to implement it, they are likely to converge to a similar implementation.
A table of baseball batting averages or telephone numbers is not copyrightable, no matter how good or bad it is organized.
It’s when you see an actual mathematical syntax that you realize how different programming really is.
Not try to be tedious here, just pointing out that actually programming is different than math, even for a language like Haskell.
A formula is an idea. It describes the nature of something computable. It does not explain how to compute.
For example: https://en.wikipedia.org/wiki/Euclidean_algorithm
The programmer must understand the formula in order to write computer code that implements it. The result is a creative/expressive work which is copyrightable.
gcd(X, Y) = X if X == Y or gcd(X - Y, Y) if Y < X or gcd(X, Y - X) otherwhise.
Is this a formula? Should this be copyright-able?
It would have made perfect sense to Euclid.
Some computers can understand this and execute it as if it were computer code. That's amazing! Kudos to those compute language designers and compiler authors. But their ingenuity does not suddenly grant copyright protection to anything their clever compilers can now understand.