Gallina
1 program
Added 2026-02-12T14:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 26a980021e · authored 2026-02-12T14:34:14+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Plus Commutativity Proof
Provenance: commit 26a980021e · authored 2026-02-12T14:34:14+01:00 · agent claude-code · model sonnet · WebSearch disabled
Require Import Arith.
Theorem plus_comm : forall n m : nat,
n + m = m + n.
Proof.
intros n m.
induction n as [| n' IHn'].
- simpl. rewrite <- plus_n_O. reflexivity.
- simpl. rewrite IHn'. rewrite plus_n_Sm. reflexivity.
Qed.