--- a/src/Pure/Isar/object_logic.ML Sat Oct 13 17:16:40 2007 +0200
+++ b/src/Pure/Isar/object_logic.ML Sat Oct 13 17:16:41 2007 +0200
@@ -69,7 +69,7 @@
let val c = Sign.full_name thy (Syntax.const_name bname mx) in
thy
|> add_consts [(bname, T, mx)]
- |> (fn thy' => Theory.add_finals_i false [(Const (c, Sign.the_const_type thy' c))] thy')
+ |> (fn thy' => Theory.add_deps c (c, Sign.the_const_type thy' c) [] thy')
|> ObjectLogicData.map (new_judgment c)
end;
--- a/src/Pure/pure_thy.ML Sat Oct 13 17:16:40 2007 +0200
+++ b/src/Pure/pure_thy.ML Sat Oct 13 17:16:41 2007 +0200
@@ -580,12 +580,11 @@
("prop", typ "prop => prop", NoSyn),
("TYPE", typ "'a itself", NoSyn),
(Term.dummy_patternN, typ "'a", Delimfix "'_")]
- |> Theory.add_finals_i false
- [Const ("==", typ "'a => 'a => prop"),
- Const ("==>", typ "prop => prop => prop"),
- Const ("all", typ "('a => prop) => prop"),
- Const ("TYPE", typ "'a itself"),
- Const (Term.dummy_patternN, typ "'a")]
+ |> Theory.add_deps "==" ("==", typ "'a => 'a => prop") []
+ |> Theory.add_deps "==>" ("==>", typ "prop => prop => prop") []
+ |> Theory.add_deps "all" ("all", typ "('a => prop) => prop") []
+ |> Theory.add_deps "TYPE" ("TYPE", typ "'a itself") []
+ |> Theory.add_deps Term.dummy_patternN (Term.dummy_patternN, typ "'a") []
|> Sign.add_trfuns Syntax.pure_trfuns
|> Sign.add_trfunsT Syntax.pure_trfunsT
|> Sign.local_path