Skip to content

Instantly share code, notes, and snippets.

@BRonen
Created May 12, 2024 17:42
Show Gist options
  • Save BRonen/041b0c0d31e43392f73706421ded398d to your computer and use it in GitHub Desktop.
Save BRonen/041b0c0d31e43392f73706421ded398d to your computer and use it in GitHub Desktop.
+-assoc-proof : ∀ (x y z : ℕ) → x + (y + z) ≡ (x + y) + z
+-assoc-proof zero y z = refl
+-assoc-proof (suc x) y z = cong suc (+-assoc-proof x y z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment