From 406c23a9f6c6a4c7e03f9aad4131921e589623bc Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Sun, 22 Dec 2024 23:17:05 +0100 Subject: Day 17, part 1 (hopefully) --- Common/Function.lean | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Common/Function.lean (limited to 'Common/Function.lean') 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 -- cgit v1.2.3