aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Chen2018-08-17 13:39:56 +0200
committerJosh Chen2018-08-17 13:39:56 +0200
commita85c05db8b3952ae07a645abfdd8b5418808cfec (patch)
tree181122ca233d1ea25e14ca1bf22ad63388ed85a0
parent10757b7f628655f962b2dd1c7849c75098320ed1 (diff)
Change unnecessary axiomatization to a definition
Diffstat (limited to '')
-rw-r--r--Proj.thy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Proj.thy b/Proj.thy
index 76f9f11..291113d 100644
--- a/Proj.thy
+++ b/Proj.thy
@@ -13,8 +13,8 @@ theory Proj
begin
-axiomatization fst :: "Term \<Rightarrow> Term" where fst_def: "fst \<equiv> \<lambda>p. ind\<^sub>\<Sum>(\<lambda>x y. x)(p)"
-axiomatization snd :: "Term \<Rightarrow> Term" where snd_def: "snd \<equiv> \<lambda>p. ind\<^sub>\<Sum>(\<lambda>x y. y)(p)"
+definition fst :: "Term \<Rightarrow> Term" where "fst(p) \<equiv> ind\<^sub>\<Sum> (\<lambda>x y. x) p"
+definition snd :: "Term \<Rightarrow> Term" where "snd(p) \<equiv> ind\<^sub>\<Sum> (\<lambda>x y. y) p"
text "Typing judgments and computation rules for the dependent and non-dependent projection functions."