equal
deleted
inserted
replaced
9 (*The structure protects these items from redeclaration (somewhat!). The |
9 (*The structure protects these items from redeclaration (somewhat!). The |
10 datatype definitions in theory files refer to these items by name! |
10 datatype definitions in theory files refer to these items by name! |
11 *) |
11 *) |
12 structure Ind_Syntax = |
12 structure Ind_Syntax = |
13 struct |
13 struct |
|
14 |
|
15 (*Print tracing messages during processing of "inductive" theory sections*) |
|
16 val trace = ref false; |
14 |
17 |
15 (** Abstract syntax definitions for ZF **) |
18 (** Abstract syntax definitions for ZF **) |
16 |
19 |
17 val iT = Type("i",[]); |
20 val iT = Type("i",[]); |
18 |
21 |
122 (*Turns iff rules into safe elimination rules*) |
125 (*Turns iff rules into safe elimination rules*) |
123 fun mk_free_SEs iffs = map (gen_make_elim [conjE,FalseE]) (iffs RL [iffD1]); |
126 fun mk_free_SEs iffs = map (gen_make_elim [conjE,FalseE]) (iffs RL [iffD1]); |
124 |
127 |
125 end; |
128 end; |
126 |
129 |
|
130 |
|
131 val trace_induct = Ind_Syntax.trace; |