src/HOL/HOLCF/FOCUS/FOCUS.thy
author haftmann
Thu, 24 Feb 2022 11:25:09 +0000
changeset 75138 cd77ffb01e15
parent 67613 ce654b0e6d69
permissions -rw-r--r--
simp rules for negative numerals

(*  Title:      HOL/HOLCF/FOCUS/FOCUS.thy
    Author:     David von Oheimb, TU Muenchen
*)

section \<open>Top level of FOCUS\<close>

theory FOCUS
imports Fstream
begin

lemma ex_eqI [intro!]: "\<exists>xx. x = xx"
by auto

lemma ex2_eqI [intro!]: "\<exists>xx yy. x = xx & y = yy"
by auto

lemma eq_UU_symf: "(UU = f x) = (f x = UU)"
by auto

lemma fstream_exhaust_slen_eq: "(#x \<noteq> 0) = (\<exists>a y. x = a~> y)"
by (simp add: slen_empty_eq fstream_exhaust_eq)

lemmas [simp] =
  slen_less_1_eq fstream_exhaust_slen_eq
  slen_fscons_eq slen_fscons_less_eq Suc_ile_eq

declare strictI [elim]

end