equal
deleted
inserted
replaced
1552 \begin{enumerate} |
1552 \begin{enumerate} |
1553 \setlength{\itemsep}{0pt} |
1553 \setlength{\itemsep}{0pt} |
1554 |
1554 |
1555 \item |
1555 \item |
1556 Introduce a fully unspecified constant @{text "un_D\<^sub>0 \<Colon> 'a"} using |
1556 Introduce a fully unspecified constant @{text "un_D\<^sub>0 \<Colon> 'a"} using |
1557 @{keyword consts}. |
1557 @{command consts}. |
1558 |
1558 |
1559 \item |
1559 \item |
1560 Define the datatype, specifying @{text "un_D\<^sub>0"} as the selector's default |
1560 Define the datatype, specifying @{text "un_D\<^sub>0"} as the selector's default |
1561 value. |
1561 value. |
1562 |
1562 |
2613 print_theorems |
2613 print_theorems |
2614 print_bnfs |
2614 print_bnfs |
2615 |
2615 |
2616 text {* |
2616 text {* |
2617 \noindent |
2617 \noindent |
2618 Using \keyw{print_theorems} and @{keyword print_bnfs}, we can contemplate and |
2618 Using \keyw{print_theorems} and @{command print_bnfs}, we can contemplate and |
2619 show the world what we have achieved. |
2619 show the world what we have achieved. |
2620 |
2620 |
2621 This particular example does not need any nonemptiness witness, because the |
2621 This particular example does not need any nonemptiness witness, because the |
2622 one generated by default is good enough, but in general this would be |
2622 one generated by default is good enough, but in general this would be |
2623 necessary. See \verb|~~/src/HOL/Basic_BNFs.thy|, |
2623 necessary. See \verb|~~/src/HOL/Basic_BNFs.thy|, |