equal
deleted
inserted
replaced
5 Pure/Isar derived theory operations. |
5 Pure/Isar derived theory operations. |
6 *) |
6 *) |
7 |
7 |
8 signature ISAR_THY = |
8 signature ISAR_THY = |
9 sig |
9 sig |
|
10 val add_txt: Comment.text -> ProofHistory.T -> ProofHistory.T |
10 val add_text: Comment.text -> theory -> theory |
11 val add_text: Comment.text -> theory -> theory |
11 val add_title: Comment.text -> Comment.text -> Comment.text -> theory -> theory |
12 val add_title: Comment.text -> Comment.text -> Comment.text -> theory -> theory |
12 val add_chapter: Comment.text -> theory -> theory |
13 val add_chapter: Comment.text -> theory -> theory |
13 val add_section: Comment.text -> theory -> theory |
14 val add_section: Comment.text -> theory -> theory |
14 val add_subsection: Comment.text -> theory -> theory |
15 val add_subsection: Comment.text -> theory -> theory |
152 |
153 |
153 (** derived theory and proof operations **) |
154 (** derived theory and proof operations **) |
154 |
155 |
155 (* formal comments *) |
156 (* formal comments *) |
156 |
157 |
|
158 fun add_txt comment prf = prf; |
157 fun add_text comment thy = thy; |
159 fun add_text comment thy = thy; |
158 fun add_title title author date thy = thy; |
160 fun add_title title author date thy = thy; |
159 val add_chapter = add_text; |
161 val add_chapter = add_text; |
160 val add_section = add_text; |
162 val add_section = add_text; |
161 val add_subsection = add_text; |
163 val add_subsection = add_text; |