aboutsummaryrefslogtreecommitdiff
path: root/Sum.thy
diff options
context:
space:
mode:
authorJosh Chen2018-07-04 10:50:52 +0200
committerJosh Chen2018-07-04 10:50:52 +0200
commitb65450369f992171f166a53e9cab408819cd987f (patch)
tree6c8449d762d26d68f9e4760a05520346eac5125a /Sum.thy
parent7823d59b2d9436f1bf0042fff62ee2bcc4c29ec0 (diff)
Trivial changes
Diffstat (limited to '')
-rw-r--r--Sum.thy13
1 files changed, 7 insertions, 6 deletions
diff --git a/Sum.thy b/Sum.thy
index bf7b829..1e6e6b0 100644
--- a/Sum.thy
+++ b/Sum.thy
@@ -57,12 +57,13 @@ lemmas Sum_form_conds [elim, wellform] = Sum_form_cond1 Sum_form_cond2
abbreviation Pair :: "[Term, Term] \<Rightarrow> Term" (infixr "\<times>" 50)
where "A \<times> B \<equiv> \<Sum>_:A. B"
-lemma
- Pair_intro [intro]: "\<And>A B a b. \<lbrakk>a : A; b : B\<rbrakk> \<Longrightarrow> (a,b) : A \<times> B"
- proof
- fix b B assume "b : B"
- then show "B : U" ..
- qed
+text "The nondependent pair needs its own separate introduction rule."
+
+lemma Pair_intro [intro]: "\<And>A B a b. \<lbrakk>a : A; b : B\<rbrakk> \<Longrightarrow> (a,b) : A \<times> B"
+proof
+ fix b B assume "b : B"
+ then show "B : U" ..
+qed
end \ No newline at end of file