Sub topic 1
How Copyright Applies to Software
Prerequisites
Assume you can use an AI coding assistant, understand basic Git and code review, and recognize common open-source licenses. This chapter gives general information, not legal advice. Copyright rules differ by jurisdiction and can change.
Copyright and software
Copyright protects original expression recorded in a medium. Software source code and compiled object code can qualify as protected expression. Copyright usually does not protect an idea, algorithm, programming language, data format, or method of operation by itself.
Two programs can implement the same algorithm without infringing each other if their expressive code is independently created. However, copying distinctive code, comments, structure, or other expressive elements can create risk.
def clamp(value: float, low: float, high: float) -> float:
return max(low, min(value, high))
print(clamp(12, 0, 10))The mathematical idea of limiting a value is not usually protected. The particular source-code expression may be protected if it is original.
Why human authorship matters
Copyright generally requires a human creative contribution. A person may make that contribution by designing the structure, selecting among generated alternatives, rewriting code, or making creative edits. Merely accepting an assistant's response may provide little evidence of human authorship.
Keep the distinction clear:
- AI-generated output is produced mainly from the tool's generation process.
- AI-assisted work includes meaningful human choices that shape the final program.
Copyrightability can apply to the human-authored parts without automatically applying to every generated line.
Can AI-generated code be copyrighted?
In the United States, current guidance emphasizes human authorship. A fully machine-generated result may receive no copyright protection, while human selection, arrangement, or modification may protect only those creative contributions.
The United Kingdom has a statutory category for some computer-generated works. It identifies the author as the person who makes the arrangements necessary for creation. Applying that rule to generative AI remains uncertain.
The European Union generally requires an original work that reflects the author's own intellectual creation. EU law has no single special rule that grants copyright to an AI system. National courts and facts still matter.
| Jurisdiction | Practical working rule |
|---|---|
| United States | Protect human creative contribution, not purely machine-generated expression. |
| United Kingdom | Computer-generated work rules may identify the arranging person as author. |
| European Union | Assess originality and human intellectual creation under EU and national law. |
Treat authorship as a fact-based question. Record what the assistant produced, what you changed, and which design decisions you made.
Exercise
An assistant generates a complete function from one short prompt, and you use it unchanged. What is the main copyright concern?
Show answer
There may be little human creative contribution to support copyright in the generated expression, although the exact result depends on the jurisdiction and facts.