Skip to content

Commit d4d09ee

Browse files
committed
Adjust Lemmas
1 parent 60fdf1f commit d4d09ee

File tree

3 files changed

+127
-35
lines changed

3 files changed

+127
-35
lines changed

Defs.thy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ nominal_function (default "case_sum (\<lambda>x. Inl undefined) (\<lambda>x. Inr
164164
| "subst_term_type (Ctor D) _ _ = Ctor D"
165165
| "subst_term_type (App e1 e2) \<tau> a = App (subst_term_type e1 \<tau> a) (subst_term_type e2 \<tau> a)"
166166
| "subst_term_type (TApp e \<tau>2) \<tau> a = TApp (subst_term_type e \<tau> a) (subst_type \<tau>2 \<tau> a)"
167-
| "subst_term_type (Case D alts) \<tau> a = Case D (subst_alts_type alts \<tau> a)"
167+
| "subst_term_type (Case e alts) \<tau> a = Case (subst_term_type e \<tau> a) (subst_alts_type alts \<tau> a)"
168168
| "atom y \<sharp> (\<tau>, a) \<Longrightarrow> subst_term_type (\<lambda> y:\<tau>'. e2) \<tau> a = (\<lambda> y:(subst_type \<tau>' \<tau> a). subst_term_type e2 \<tau> a)"
169169
| "atom b \<sharp> (\<tau>, a) \<Longrightarrow> subst_term_type (\<Lambda> b:k. e2) \<tau> a = (\<Lambda> b:k. subst_term_type e2 \<tau> a)"
170170
| "atom y \<sharp> (\<tau>, a) \<Longrightarrow> subst_term_type (Let y \<tau>' e1 e2) \<tau> a = Let y (subst_type \<tau>' \<tau> a) (subst_term_type e1 \<tau> a) (subst_term_type e2 \<tau> a)"

0 commit comments

Comments
 (0)