# HG changeset patch # User nipkow # Date 1236597841 -3600 # Node ID 2f24531b2d3e33dea29dcccd461946550ae2cfda # Parent 96d508968153b371ce8cbfe8cd9e0499fdd3df2a fixed typing of UN/INT syntax diff -r 96d508968153 -r 2f24531b2d3e src/HOL/Docs/MainDoc.thy --- a/src/HOL/Docs/MainDoc.thy Mon Mar 09 09:38:36 2009 +0100 +++ b/src/HOL/Docs/MainDoc.thy Mon Mar 09 12:24:01 2009 +0100 @@ -341,7 +341,7 @@ \end{supertabular} -\section{Set\_Interval} +\section{SetInterval} \begin{supertabular}{@ {} l @ {~::~} l @ {}} @{const lessThan} & @{term_type_only lessThan "'a::ord \ 'a set"}\\ diff -r 96d508968153 -r 2f24531b2d3e src/HOL/SetInterval.thy --- a/src/HOL/SetInterval.thy Mon Mar 09 09:38:36 2009 +0100 +++ b/src/HOL/SetInterval.thy Mon Mar 09 12:24:01 2009 +0100 @@ -54,22 +54,22 @@ @{term"{m.. nat => 'b set => 'b set" ("(3UN _<=_./ _)" 10) - "@UNION_less" :: "nat => nat => 'b set => 'b set" ("(3UN _<_./ _)" 10) - "@INTER_le" :: "nat => nat => 'b set => 'b set" ("(3INT _<=_./ _)" 10) - "@INTER_less" :: "nat => nat => 'b set => 'b set" ("(3INT _<_./ _)" 10) + "@UNION_le" :: "'a => 'a => 'b set => 'b set" ("(3UN _<=_./ _)" 10) + "@UNION_less" :: "'a => 'a => 'b set => 'b set" ("(3UN _<_./ _)" 10) + "@INTER_le" :: "'a => 'a => 'b set => 'b set" ("(3INT _<=_./ _)" 10) + "@INTER_less" :: "'a => 'a => 'b set => 'b set" ("(3INT _<_./ _)" 10) syntax (xsymbols) - "@UNION_le" :: "nat => nat => 'b set => 'b set" ("(3\ _\_./ _)" 10) - "@UNION_less" :: "nat => nat => 'b set => 'b set" ("(3\ _<_./ _)" 10) - "@INTER_le" :: "nat => nat => 'b set => 'b set" ("(3\ _\_./ _)" 10) - "@INTER_less" :: "nat => nat => 'b set => 'b set" ("(3\ _<_./ _)" 10) + "@UNION_le" :: "'a => 'a => 'b set => 'b set" ("(3\ _\_./ _)" 10) + "@UNION_less" :: "'a => 'a => 'b set => 'b set" ("(3\ _<_./ _)" 10) + "@INTER_le" :: "'a => 'a => 'b set => 'b set" ("(3\ _\_./ _)" 10) + "@INTER_less" :: "'a => 'a => 'b set => 'b set" ("(3\ _<_./ _)" 10) syntax (latex output) - "@UNION_le" :: "nat \ nat => 'b set => 'b set" ("(3\(00_ \ _)/ _)" 10) - "@UNION_less" :: "nat \ nat => 'b set => 'b set" ("(3\(00_ < _)/ _)" 10) - "@INTER_le" :: "nat \ nat => 'b set => 'b set" ("(3\(00_ \ _)/ _)" 10) - "@INTER_less" :: "nat \ nat => 'b set => 'b set" ("(3\(00_ < _)/ _)" 10) + "@UNION_le" :: "'a \ 'a => 'b set => 'b set" ("(3\(00_ \ _)/ _)" 10) + "@UNION_less" :: "'a \ 'a => 'b set => 'b set" ("(3\(00_ < _)/ _)" 10) + "@INTER_le" :: "'a \ 'a => 'b set => 'b set" ("(3\(00_ \ _)/ _)" 10) + "@INTER_less" :: "'a \ 'a => 'b set => 'b set" ("(3\(00_ < _)/ _)" 10) translations "UN i<=n. A" == "UN i:{..n}. A"