fun sup_const where"x \ y = (if x=y then x else Any)"
definition"\ = Any"
instance proof (standard, goal_cases) case 1 thus ?caseby (rule less_const_def) next case (2 x) show ?caseby (cases x) simp_all next case (3 x y z) thus ?caseby(cases z, cases y, cases x, simp_all) next case (4 x y) thus ?caseby(cases x, cases y, simp_all, cases y, simp_all) next case (6 x y) thus ?caseby(cases x, cases y, simp_all) next case (5 x y) thus ?caseby(cases y, cases x, simp_all) next case (7 x y z) thus ?caseby(cases z, cases y, cases x, simp_all) next case 8 thus ?caseby(simp add: top_const_def) qed
end
global_interpretation Val_semilattice where\<gamma> = \<gamma>_const and num' = Const and plus' = plus_const proof (standard, goal_cases) case (1 a b) thus ?case by(cases a, cases b, simp, simp, cases b, simp, simp) next case 2 show ?caseby(simp add: top_const_def) next case 3 show ?caseby simp next case 4 thus ?caseby(auto simp: plus_const_cases split: const.split) qed
global_interpretation Abs_Int where\<gamma> = \<gamma>_const and num' = Const and plus' = plus_const defines AI_const = AI and step_const = step' and aval'_const = aval'
..
subsubsection "Tests"
definition"steps c i = (step_const \ ^^ i) (bot c)"
global_interpretation Abs_Int_mono where\<gamma> = \<gamma>_const and num' = Const and plus' = plus_const proof (standard, goal_cases) case 1 thus ?caseby(auto simp: plus_const_cases split: const.split) qed
text\<open>Termination:\<close>
definition m_const :: "const \ nat" where "m_const x = (if x = Any then 0 else 1)"
global_interpretation Abs_Int_measure where\<gamma> = \<gamma>_const and num' = Const and plus' = plus_const and m = m_const and h = "1" proof (standard, goal_cases) case 1 thus ?caseby(auto simp: m_const_def split: const.splits) next case 2 thus ?caseby(auto simp: m_const_def less_const_def split: const.splits) qed
thm AI_Some_measure
end
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.