aboutsummaryrefslogtreecommitdiff
path: root/Prod.thy
diff options
context:
space:
mode:
authorJosh Chen2018-09-11 10:20:26 +0200
committerJosh Chen2018-09-11 10:20:26 +0200
commit637ee546f3eb9a927d83bd19ae0bee09031bd7d5 (patch)
tree23618624e90f2c84a3576ff528229b54d35d4981 /Prod.thy
parent9b17aac85aa650a7a9d6463d3d01f1eb228d4572 (diff)
Implementing univalence
Diffstat (limited to 'Prod.thy')
-rw-r--r--Prod.thy5
1 files changed, 5 insertions, 0 deletions
diff --git a/Prod.thy b/Prod.thy
index 35d6b07..a7968b6 100644
--- a/Prod.thy
+++ b/Prod.thy
@@ -81,4 +81,9 @@ syntax "_COMPOSE" :: "[Term, Term] \<Rightarrow> Term" (infixr "\<circ>" 110)
translations "g \<circ> f" \<rightleftharpoons> "g o f"
+section \<open>Polymorphic identity function\<close>
+
+abbreviation id :: Term where "id \<equiv> \<^bold>\<lambda>x. x"
+
+
end