equal
deleted
inserted
replaced
184 |
184 |
185 val (typedefs, thy3) = thy2 |
185 val (typedefs, thy3) = thy2 |
186 |> Sign.parent_path |
186 |> Sign.parent_path |
187 |> fold_map |
187 |> fold_map |
188 (fn (((name, mx), tvs), c) => |
188 (fn (((name, mx), tvs), c) => |
189 Typedef.add_typedef_global (name, tvs, mx) |
189 Typedef.add_typedef_global {overloaded = false} (name, tvs, mx) |
190 (Collect $ Const (c, UnivT')) NONE |
190 (Collect $ Const (c, UnivT')) NONE |
191 (fn ctxt => |
191 (fn ctxt => |
192 resolve_tac ctxt [exI] 1 THEN |
192 resolve_tac ctxt [exI] 1 THEN |
193 resolve_tac ctxt [CollectI] 1 THEN |
193 resolve_tac ctxt [CollectI] 1 THEN |
194 QUIET_BREADTH_FIRST (has_fewer_prems 1) |
194 QUIET_BREADTH_FIRST (has_fewer_prems 1) |