summaryrefslogtreecommitdiff
path: root/Common/Function.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-12-22 23:17:05 +0100
committerAndreas Grois <andi@grois.info>2024-12-22 23:17:05 +0100
commit406c23a9f6c6a4c7e03f9aad4131921e589623bc (patch)
treeef4917104f505eb7fda1af9f7b3390c78bc38148 /Common/Function.lean
parentb37fc3089eb0ca8fc37a82ae6d6071b0accbca19 (diff)
Day 17, part 1 (hopefully)
Diffstat (limited to 'Common/Function.lean')
-rw-r--r--Common/Function.lean3
1 files changed, 3 insertions, 0 deletions
diff --git a/Common/Function.lean b/Common/Function.lean
new file mode 100644
index 0000000..f497baa
--- /dev/null
+++ b/Common/Function.lean
@@ -0,0 +1,3 @@
+theorem Function.comp_assoc (f : γ → δ) (g : β → γ) (h : α → β) : (f∘g)∘h = f∘g∘h := rfl
+theorem Function.comp_id (f : α → β) : f ∘ id = f := rfl
+theorem Function.id_comp (f : α → β) : id ∘ f = f := rfl