author | wneuper <walther.neuper@jku.at> |
Tue, 27 Jul 2021 11:21:14 +0200 | |
changeset 60340 | 0ee698b0a703 |
parent 60339 | 0d22a6bf1fc6 |
child 60544 | 794948e61b46 |
permissions | -rw-r--r-- |
walther@59814 | 1 |
(* Title: Interpret/Interpret.thy |
neuper@41905 | 2 |
Author: Walther Neuper 110226 |
neuper@41905 | 3 |
(c) due to copyright terms |
walther@59814 | 4 |
|
walther@59814 | 5 |
Collect all defitions for the Lucas-Interpreter |
walther@59814 | 6 |
*) |
neuper@41905 | 7 |
|
neuper@48761 | 8 |
theory Interpret |
walther@60182 | 9 |
imports Specify.Specify |
neuper@41905 | 10 |
begin |
walther@59737 | 11 |
ML_file istate.sml |
walther@59817 | 12 |
ML_file "sub-problem.sml" |
walther@59916 | 13 |
ML_file "thy-read.sml" |
walther@59920 | 14 |
ML_file "solve-step.sml" |
walther@59909 | 15 |
ML_file "error-pattern.sml" |
walther@59906 | 16 |
ML_file derive.sml |
walther@59790 | 17 |
ML_file "li-tool.sml" |
wneuper@59594 | 18 |
ML_file "lucas-interpreter.sml" |
walther@59748 | 19 |
ML_file "step-solve.sml" |
walther@60081 | 20 |
|
wneuper@59472 | 21 |
ML \<open> |
walther@60081 | 22 |
local |
wenzelm@60282 | 23 |
val thys_known_sofar = Theory.nodes_of @{theory} |
walther@60182 | 24 |
val isac_thys_known_sofar = take ( |
walther@60182 | 25 |
find_index (curry Context.eq_thy ThyC.last_isabelle_thy) thys_known_sofar, |
walther@60182 | 26 |
thys_known_sofar) |
walther@60182 | 27 |
val isac_names_known_sofar = map Context.theory_name isac_thys_known_sofar |
walther@60081 | 28 |
in |
walther@60182 | 29 |
val compare_dependencies__ThyC = |
walther@60182 | 30 |
if isac_names_known_sofar = ThyC.session_interpret_names @ ThyC.session_specify_names then () |
walther@60182 | 31 |
else raise ERROR "theory dependencies not as anticipated in ThyC" |
walther@60081 | 32 |
end |
walther@59664 | 33 |
\<close> ML \<open> |
walther@59729 | 34 |
\<close> ML \<open> |
wneuper@59472 | 35 |
\<close> |
wneuper@59283 | 36 |
end |