From c73a924eb679dea0455414a91dcdeb66b3f827f9 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Tue, 5 Jun 2018 13:02:44 +0200 Subject: Dependent sum done, I think. --- HoTT_Theorems.thy | 2 ++ 1 file changed, 2 insertions(+) (limited to 'HoTT_Theorems.thy') diff --git a/HoTT_Theorems.thy b/HoTT_Theorems.thy index aeddf9f..a44c8f9 100644 --- a/HoTT_Theorems.thy +++ b/HoTT_Theorems.thy @@ -41,6 +41,8 @@ proposition "a : A \ (\<^bold>\x:A. x)`a \ a" by text "Currying:" +lemma "\a : A; b : B\ \ (\<^bold>\x:A. \<^bold>\y:B. y)`a`b \ b" by simp + lemma "a : A \ (\<^bold>\x:A. \<^bold>\y:B(x). f x y)`a \ \<^bold>\y:B(a). f a y" by simp lemma "\a : A; b : B(a); c : C(a)(b)\ \ (\<^bold>\x:A. \<^bold>\y:B(x). \<^bold>\z:C(x)(y). f x y z)`a`b`c \ f a b c" by simp -- cgit v1.2.3