wenzelm@60616
|
1 |
* MW: implement ML toplevel spans in official Isabelle, e.g.
|
wenzelm@60616
|
2 |
with separator \<^medskip> and some tool support for automated
|
wenzelm@60616
|
3 |
update (in "isabelle update" and/or PIDE);
|
wenzelm@60616
|
4 |
|
Walther@60626
|
5 |
* MW?: rename *.sml to *.ML, potentially with tool support;
|
Walther@60605
|
6 |
|
wenzelm@60216
|
7 |
* MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
|
wenzelm@60216
|
8 |
|
wenzelm@60216
|
9 |
diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
|
wenzelm@60216
|
10 |
11a12
|
wenzelm@60216
|
11 |
> src/Tools/isac/BridgeJEdit/isac.scala
|
wenzelm@60216
|
12 |
|
wenzelm@60216
|
13 |
diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
|
wenzelm@60216
|
14 |
76a77
|
wenzelm@60216
|
15 |
> "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
|
wenzelm@60225
|
16 |
|
Walther@60519
|
17 |
* MW: Skip_Proof.make_thm: theory -> term -> thm ? could now change signature to
|
Walther@60519
|
18 |
: Proof.context -> term -> thm
|
Walther@60771
|
19 |
* MW: Make $ISABELLE_ISAC_POS work without sessions (please synchronise with WN)
|
Walther@60695
|
20 |
* MW: ? implement a template, inserted in a proof in the line of metis;
|
Walther@60695
|
21 |
hints are given in src/../BridgeJEdit/template.sml
|
Walther@60695
|
22 |
and in test/../BridgeJEdit/template.sml
|
Walther@60512
|
23 |
|
Walther@60512
|
24 |
***** some items for discussion
|
Walther@60512
|
25 |
|
wenzelm@60295
|
26 |
* Clarify symmetric rule: Thm.apply_attribute Calculation.symmetric thm context (!?);
|
walther@60369
|
27 |
??
|
wenzelm@60295
|
28 |
|
Walther@60512
|
29 |
* "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};
|
Walther@60512
|
30 |
takes only static arguments ----------------^^^^^^^^^^^^^^, not value of "hd_ord (f, g)"
|
Walther@60512
|
31 |
? are there better approximations to old output of (*1*) than with (*2*)
|
Walther@60512
|
32 |
(*1*)val _ = tracing ("hd_ord (f, g) = " ^ ((pr_ord o hd_ord) (f, g)) );
|
Walther@60512
|
33 |
(*2*)val _ = @{print tracing}{a = "hd_ord (f, g) = ", z = hd_ord (f, g)}(**)
|
Walther@60512
|
34 |
|
wenzelm@60281
|
35 |
|
Walther@60512
|
36 |
***** for the few items below WN asks MW for help
|
wenzelm@60281
|
37 |
|
Walther@60582
|
38 |
* postpone: ?How accomplish two user-requirements by Outer_Syntax.command \<^command_keyword>\<open>Example\<close>
|
Walther@60533
|
39 |
(1) start a Calculation with a CAS_Cmd
|
Walther@60533
|
40 |
(2) start an Example from scratch, i.e. with (Formalize.empty, References.empty)
|
Walther@60533
|
41 |
Proposals for a solution are in test/../Test_VSCode_Example.thy
|
Walther@60626
|
42 |
in subsubsection ‹Start Example with a CAS_Cmd›
|
Walther@60533
|
43 |
|
wenzelm@60304
|
44 |
|
Walther@60512
|
45 |
***** priority of WN items is top down, most urgent/simple on top
|
wenzelm@60234
|
46 |
|
Walther@60763
|
47 |
* WN:
|
Walther@60772
|
48 |
* WN: clarify handling "#undef" -> type m_field +++ bool in i_single
|
Walther@60772
|
49 |
?RN?or?just for OLD? ori_2itm -> single_from_o, ori_2itm_POS -> single_from_o_POS
|
Walther@60777
|
50 |
* WN: replace I_Model.feedb_values -> val get_values = Pre_Conds.get_values
|
Walther@60777
|
51 |
* WN: RN o_model_values -> get_values, feedb_values -> get_values_POS,
|
Walther@60772
|
52 |
TEST_to_OLD -> POS_to_OLD, TEST_to_OLD_single -> POS_to_OLD_single,
|
Walther@60772
|
53 |
|
Walther@60772
|
54 |
* WN: eliminate max_variant in favour of max_variants
|
Walther@60770
|
55 |
* WN: replace I_Model.descriptor with fun descr_exists: descriptor -> feedback -> bool
|
Walther@60766
|
56 |
* WN: review Model_Def.is_list_descr, replace by Term.is_list. Exception: make_values
|
Walther@60766
|
57 |
(values determine handling_lists by [[..], [..], ..])
|
Walther@60770
|
58 |
* WN: review Specify.select_inc_lists .. should not be necessary
|
Walther@60767
|
59 |
* WN: intro-fn into M_Match
|
Walther@60771
|
60 |
* WN: after--^^^ replace I_Model.descriptor_POS with Model_Def.get_descr, ELIMI_Model.descriptor
|
Walther@60771
|
61 |
* WN: thy --> ctxt in by_Add_, ? I_Model.T_POS ?
|
Walther@60765
|
62 |
try to do the same in as many functions as possible
|
Walther@60769
|
63 |
* WN: rename type Rule.rule -> Rule.T
|
Walther@60769
|
64 |
* WN: use fn in add_single and further funs in i-model.sml
|
Walther@60771
|
65 |
* WN: reconsider design max_variants/_POS
|
Walther@60765
|
66 |
* WN: simplify "" in O_Model.to_string "(3, [\"1\", \"2\", \"3\"], #Find, AdditionalValues, [\"[u]\", \"[v]\"])"
|
Walther@60766
|
67 |
* WN: review PblObj {meth, ...}
|
Walther@60760
|
68 |
* fill early (Model_Problem?) with Inc [] presents input-templates
|
Walther@60760
|
69 |
* try to minimise user's contact with Method:
|
Walther@60769
|
70 |
* M_Model.by_i_models can probably be replaced by i_Model.s_make_complete and Pre_Conds.check(?_*)
|
Walther@60729
|
71 |
* WN: undetected ERROR in autoCalculate --- due to Post_Conds.check? (_OLD .. dispels ?)
|
Walther@60712
|
72 |
* WN: DEL get_simplifier: is only used in test/*
|
Walther@60698
|
73 |
* WN: replace take in LibraryC with take from Library
|
Walther@60698
|
74 |
* WN: Syntax.read_term @{context} --> Syntax.read_term\<^context> , see I_Model "UnIqE_tErM"
|
Walther@60687
|
75 |
* WN: renaming in References
|
Walther@60596
|
76 |
* WN: shift code from libraryC.sml to designated destination (ThyC, etc)
|
Walther@60705
|
77 |
* WN: review ?code ERROR? in Rewrite.eval_true, see WN230329
|
Walther@60705
|
78 |
|
Walther@60705
|
79 |
* WN: unify get_ctxt in Solve_Step, Ctree (*DEPRECATED*)
|
Walther@60705
|
80 |
* WN: Step_Specify.initialise: remove hdl in return-value, replace Step_Specify.initialise' xxx'
|
Walther@60559
|
81 |
? which uses initialise !?
|
Walther@60547
|
82 |
* WN: ? unify "no_met" with "empty_meth_id" from References.empty ?
|
Walther@60547
|
83 |
|
Walther@60512
|
84 |
* WN: proper ML antiquotations for "Tactical.Try" etc. --- be careful about unclear situations,
|
Walther@60512
|
85 |
e.g. "Tactical.Try" vs. "Lucas_Interpreter.Try";
|
Walther@60512
|
86 |
|
Walther@60500
|
87 |
* WN: ? Rational.Cancel_p; extend use of \<^theory> to \<^theory_context>
|
Walther@60500
|
88 |
|
Walther@60512
|
89 |
* WN: Check/clarify Context.theory_name vs. Context.theory_long_name.
|
Walther@60582
|
90 |
Context.theory_name seems to suffice after elimination of sessions.
|
Walther@60512
|
91 |
|
Walther@60512
|
92 |
* WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
|
Walther@60512
|
93 |
- quite often "axiomatization ..." can be turned into "lemma ... by auto"
|
Walther@60512
|
94 |
without further ado;
|
Walther@60512
|
95 |
- sometimes this requires to use more specific types / type classes;
|
Walther@60512
|
96 |
- sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
|
Walther@60512
|
97 |
- a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
|
Walther@60512
|
98 |
|
Walther@60520
|
99 |
* WN: rename Pos.* -- Pos.ints, Pos.spec, Pos.empty, Pos.ints_empty
|
Walther@60520
|
100 |
|
Walther@60466
|
101 |
* WN: redesign transition from Specification to Solution: how relate
|
Walther@60466
|
102 |
- Formalise.model with variants (e.g. VSCode_Example)
|
Walther@60466
|
103 |
reconsider separation of variants F_I, F_II, see MAWEN paper
|
Walther@60466
|
104 |
- !?! I_Model of MethodC (fairly free sequence, dependent on Formalise.model)
|
Walther@60466
|
105 |
- !?! formal arguments of program (fixed sequence)
|
wenzelm@60622
|
106 |
|
wenzelm@60622
|
107 |
* WN: avoid too many uses of "structure Data = Theory_Data", instead use approx. 1 data slot
|
wenzelm@60622
|
108 |
per ML module, with type T = ... record or tuple (e.g. see @{apply} ML antiquotation)
|
wenzelm@60622
|
109 |
|
wenzelm@60622
|
110 |
* WN: rename *.sml to *.ML, potentially with tool support by MW;
|
wenzelm@60622
|
111 |
* WN: rename src/Tools/isac/ to main/ (or something else);
|
Walther@60684
|
112 |
rename src/Tools/isac/BridgeJEdit and test/Tools/isac/BridgeJEdit to */Tools/isac/BridgePIDE
|