Last active
August 31, 2022 22:46
-
-
Save vhxs/83fff8d089068e614d2441d9d97e641f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Coq is a proof assistant. Not a theorem prover. *) | |
(* also github has syntax highlighting for Coq, wow. *) | |
Require Import Ring. | |
Require Import Arith. | |
Theorem simply_poly : forall (x : nat), (x + 1) * (x + 2) = x * x + 3 * x + 2. | |
Proof. intros. ring. Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment