src/FOL/ex/Locale_Test/Locale_Test.thy
author wenzelm
Thu, 03 Jan 2019 22:19:19 +0100
changeset 69590 e65314985426
parent 61489 b8d375aee0df
permissions -rw-r--r--
isabelle update_inner_syntax_cartouches;

(*  Title:      FOL/ex/Locale_Test/Locale_Test.thy
    Author:     Clemens Ballarin

Test environment for the locale implementation.
*)

theory Locale_Test
imports Locale_Test1 Locale_Test2 Locale_Test3
begin

text \<open>Result of theory merge with distinct but identical interpretations\<close>

context mixin_thy_merge
begin
lemmas less_mixin_thy_merge1 = le.less_def
lemmas less_mixin_thy_merge2 = le'.less_def
end

lemma \<open>gless(x, y) \<longleftrightarrow> gle(x, y) \<and> x \<noteq> y\<close> (* mixin from first interpretation applied *)
  by (rule le1.less_mixin_thy_merge1)
lemma \<open>gless'(x, y) \<longleftrightarrow> gle'(x, y) \<and> x \<noteq> y\<close> (* mixin from second interpretation applied *)
  by (rule le1.less_mixin_thy_merge2)

end