src/HOL/Corec_Examples/Tests/Merge_C.thy
author haftmann
Thu, 05 Jun 2025 15:18:27 +0000
changeset 82688 b391142bd2d2
parent 62858 d72a6f9ee690
permissions -rw-r--r--
prefer already existing operation to calculate minimum

(*  Title:      HOL/Corec_Examples/Tests/Merge_C.thy
    Author:     Aymeric Bouzy, Ecole polytechnique
    Author:     Jasmin Blanchette, Inria, LORIA, MPII
    Copyright   2015, 2016

Tests theory merges.
*)

section \<open>Tests Theory Merges\<close>

theory Merge_C
imports Merge_A
begin

consts fc :: "'a ta \<Rightarrow> 'a ta"
consts gc :: "'a ta \<Rightarrow> 'a ta"

friend_of_corec fc :: "'a ta \<Rightarrow> 'a ta" where
  "fc t = Ca (sa1 t) (sa2 t)"
  sorry

friend_of_corec gb :: "'a ta \<Rightarrow> 'a ta" where
  "gb t = Ca (sa1 t) (sa2 t)"
  sorry

friend_of_corec gc :: "'a ta \<Rightarrow> 'a ta" where
  "gc t = Ca (sa1 t) (sa2 t)"
  sorry

end