diff options
author | Josh Chen | 2018-06-30 07:06:19 +0200 |
---|---|---|
committer | Josh Chen | 2018-06-30 07:06:19 +0200 |
commit | b5f98e4da773e402eef152da8ae87d02a772a3bc (patch) | |
tree | f70121391497b1786f3ed5ebbde05c895bc0e3c0 | |
parent | 62dd007c30b4cc6b0466b7ebc07d59b9be078fd1 (diff) |
Add Pair_intro
Diffstat (limited to '')
-rw-r--r-- | Sum.thy | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -57,5 +57,12 @@ lemmas Sum_form_conds [elim] = 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 + end
\ No newline at end of file |