1.1 --- a/src/HOL/Metis_Examples/Abstraction.thy Sat Dec 24 15:53:11 2011 +0100
1.2 +++ b/src/HOL/Metis_Examples/Abstraction.thy Sat Dec 24 15:53:11 2011 +0100
1.3 @@ -23,12 +23,11 @@
1.4 pset :: "'a set => 'a set"
1.5 order :: "'a set => ('a * 'a) set"
1.6
1.7 -lemma "a \<in> {x. P x} \<Longrightarrow> P a"
1.8 +(*lemma "a \<in> {x. P x} \<Longrightarrow> P a"
1.9 proof -
1.10 assume "a \<in> {x. P x}"
1.11 - hence "a \<in> P" by (metis Collect_def)
1.12 - thus "P a" by (metis mem_def)
1.13 -qed
1.14 + thus "P a" by metis
1.15 +qed*)
1.16
1.17 lemma Collect_triv: "a \<in> {x. P x} \<Longrightarrow> P a"
1.18 by (metis mem_Collect_eq)
1.19 @@ -36,14 +35,14 @@
1.20 lemma "a \<in> {x. P x --> Q x} \<Longrightarrow> a \<in> {x. P x} \<Longrightarrow> a \<in> {x. Q x}"
1.21 by (metis Collect_imp_eq ComplD UnE)
1.22
1.23 -lemma "(a, b) \<in> Sigma A B \<Longrightarrow> a \<in> A & b \<in> B a"
1.24 +(*lemma "(a, b) \<in> Sigma A B \<Longrightarrow> a \<in> A & b \<in> B a"
1.25 proof -
1.26 assume A1: "(a, b) \<in> Sigma A B"
1.27 hence F1: "b \<in> B a" by (metis mem_Sigma_iff)
1.28 have F2: "a \<in> A" by (metis A1 mem_Sigma_iff)
1.29 have "b \<in> B a" by (metis F1)
1.30 thus "a \<in> A \<and> b \<in> B a" by (metis F2)
1.31 -qed
1.32 +qed*)
1.33
1.34 lemma Sigma_triv: "(a, b) \<in> Sigma A B \<Longrightarrow> a \<in> A & b \<in> B a"
1.35 by (metis SigmaD1 SigmaD2)
1.36 @@ -51,7 +50,7 @@
1.37 lemma "(a, b) \<in> (SIGMA x:A. {y. x = f y}) \<Longrightarrow> a \<in> A \<and> a = f b"
1.38 by (metis (full_types, lam_lifting) CollectD SigmaD1 SigmaD2)
1.39
1.40 -lemma "(a, b) \<in> (SIGMA x:A. {y. x = f y}) \<Longrightarrow> a \<in> A \<and> a = f b"
1.41 +(*lemma "(a, b) \<in> (SIGMA x:A. {y. x = f y}) \<Longrightarrow> a \<in> A \<and> a = f b"
1.42 proof -
1.43 assume A1: "(a, b) \<in> (SIGMA x:A. {y. x = f y})"
1.44 hence F1: "a \<in> A" by (metis mem_Sigma_iff)
1.45 @@ -59,12 +58,12 @@
1.46 hence F2: "b \<in> (\<lambda>R. a = f R)" by (metis Collect_def)
1.47 hence "a = f b" by (unfold mem_def)
1.48 thus "a \<in> A \<and> a = f b" by (metis F1)
1.49 -qed
1.50 +qed*)
1.51
1.52 lemma "(cl, f) \<in> CLF \<Longrightarrow> CLF = (SIGMA cl: CL.{f. f \<in> pset cl}) \<Longrightarrow> f \<in> pset cl"
1.53 by (metis Collect_mem_eq SigmaD2)
1.54
1.55 -lemma "(cl, f) \<in> CLF \<Longrightarrow> CLF = (SIGMA cl: CL.{f. f \<in> pset cl}) \<Longrightarrow> f \<in> pset cl"
1.56 +(*lemma "(cl, f) \<in> CLF \<Longrightarrow> CLF = (SIGMA cl: CL.{f. f \<in> pset cl}) \<Longrightarrow> f \<in> pset cl"
1.57 proof -
1.58 assume A1: "(cl, f) \<in> CLF"
1.59 assume A2: "CLF = (SIGMA cl:CL. {f. f \<in> pset cl})"
1.60 @@ -72,14 +71,14 @@
1.61 have "\<forall>v u. (u, v) \<in> CLF \<longrightarrow> v \<in> {R. R \<in> pset u}" by (metis A2 mem_Sigma_iff)
1.62 hence "\<forall>v u. (u, v) \<in> CLF \<longrightarrow> v \<in> pset u" by (metis F1 Collect_def)
1.63 thus "f \<in> pset cl" by (metis A1)
1.64 -qed
1.65 +qed*)
1.66
1.67 -lemma
1.68 +(*lemma
1.69 "(cl, f) \<in> (SIGMA cl: CL. {f. f \<in> pset cl \<rightarrow> pset cl}) \<Longrightarrow>
1.70 f \<in> pset cl \<rightarrow> pset cl"
1.71 -by (metis (no_types) Collect_def Sigma_triv mem_def)
1.72 +by (metis (no_types) Sigma_triv)*)
1.73
1.74 -lemma
1.75 +(*lemma
1.76 "(cl, f) \<in> (SIGMA cl: CL. {f. f \<in> pset cl \<rightarrow> pset cl}) \<Longrightarrow>
1.77 f \<in> pset cl \<rightarrow> pset cl"
1.78 proof -
1.79 @@ -87,14 +86,14 @@
1.80 have F1: "\<forall>v. (\<lambda>R. R \<in> v) = v" by (metis Collect_mem_eq Collect_def)
1.81 have "f \<in> {R. R \<in> pset cl \<rightarrow> pset cl}" using A1 by simp
1.82 thus "f \<in> pset cl \<rightarrow> pset cl" by (metis F1 Collect_def)
1.83 -qed
1.84 +qed*)
1.85
1.86 lemma
1.87 "(cl, f) \<in> (SIGMA cl: CL. {f. f \<in> pset cl \<inter> cl}) \<Longrightarrow>
1.88 f \<in> pset cl \<inter> cl"
1.89 by (metis (no_types) Collect_conj_eq Int_def Sigma_triv inf_idem)
1.90
1.91 -lemma
1.92 +(*lemma
1.93 "(cl, f) \<in> (SIGMA cl: CL. {f. f \<in> pset cl \<inter> cl}) \<Longrightarrow>
1.94 f \<in> pset cl \<inter> cl"
1.95 proof -
1.96 @@ -105,42 +104,42 @@
1.97 hence "f \<in> Id_on cl `` pset cl" by metis
1.98 hence "f \<in> cl \<inter> pset cl" by (metis Image_Id_on)
1.99 thus "f \<in> pset cl \<inter> cl" by (metis Int_commute)
1.100 -qed
1.101 +qed*)
1.102
1.103 lemma
1.104 "(cl, f) \<in> (SIGMA cl: CL. {f. f \<in> pset cl \<rightarrow> pset cl & monotone f (pset cl) (order cl)}) \<Longrightarrow>
1.105 (f \<in> pset cl \<rightarrow> pset cl) & (monotone f (pset cl) (order cl))"
1.106 by auto
1.107
1.108 -lemma
1.109 +(*lemma
1.110 "(cl, f) \<in> CLF \<Longrightarrow>
1.111 CLF \<subseteq> (SIGMA cl: CL. {f. f \<in> pset cl \<inter> cl}) \<Longrightarrow>
1.112 f \<in> pset cl \<inter> cl"
1.113 -by (metis (lam_lifting) Collect_def Sigma_triv mem_def subsetD)
1.114 +by (metis (lam_lifting) Sigma_triv subsetD)*)
1.115
1.116 -lemma
1.117 +(*lemma
1.118 "(cl, f) \<in> CLF \<Longrightarrow>
1.119 CLF = (SIGMA cl: CL. {f. f \<in> pset cl \<inter> cl}) \<Longrightarrow>
1.120 f \<in> pset cl \<inter> cl"
1.121 -by (metis (lam_lifting) Int_Collect SigmaD2 inf1I mem_def)
1.122 +by (metis (lam_lifting) Int_Collect SigmaD2 inf1I mem_def)*)
1.123
1.124 -lemma
1.125 +(*lemma
1.126 "(cl, f) \<in> CLF \<Longrightarrow>
1.127 CLF \<subseteq> (SIGMA cl': CL. {f. f \<in> pset cl' \<rightarrow> pset cl'}) \<Longrightarrow>
1.128 f \<in> pset cl \<rightarrow> pset cl"
1.129 -by (metis (lam_lifting) Collect_def Sigma_triv mem_def subsetD)
1.130 +by (metis (lam_lifting) Collect_def Sigma_triv mem_def subsetD)*)
1.131
1.132 -lemma
1.133 +(*lemma
1.134 "(cl, f) \<in> CLF \<Longrightarrow>
1.135 CLF = (SIGMA cl: CL. {f. f \<in> pset cl \<rightarrow> pset cl}) \<Longrightarrow>
1.136 f \<in> pset cl \<rightarrow> pset cl"
1.137 -by (metis (lam_lifting) Collect_def Sigma_triv mem_def)
1.138 +by (metis (lam_lifting) Collect_def Sigma_triv mem_def)*)
1.139
1.140 -lemma
1.141 +(*lemma
1.142 "(cl, f) \<in> CLF \<Longrightarrow>
1.143 CLF = (SIGMA cl: CL. {f. f \<in> pset cl \<rightarrow> pset cl & monotone f (pset cl) (order cl)}) \<Longrightarrow>
1.144 (f \<in> pset cl \<rightarrow> pset cl) & (monotone f (pset cl) (order cl))"
1.145 -by auto
1.146 +by auto*)
1.147
1.148 lemma "map (\<lambda>x. (f x, g x)) xs = zip (map f xs) (map g xs)"
1.149 apply (induct xs)
1.150 @@ -154,16 +153,16 @@
1.151 apply (metis map.simps(1) zip_Nil)
1.152 by auto
1.153
1.154 -lemma "(\<lambda>x. Suc (f x)) ` {x. even x} \<subseteq> A \<Longrightarrow> \<forall>x. even x --> Suc (f x) \<in> A"
1.155 -by (metis Collect_def image_eqI mem_def subsetD)
1.156 +(*lemma "(\<lambda>x. Suc (f x)) ` {x. even x} \<subseteq> A \<Longrightarrow> \<forall>x. even x --> Suc (f x) \<in> A"
1.157 +by (metis Collect_def image_eqI mem_def subsetD)*)
1.158
1.159 -lemma
1.160 +(*lemma
1.161 "(\<lambda>x. f (f x)) ` ((\<lambda>x. Suc(f x)) ` {x. even x}) \<subseteq> A \<Longrightarrow>
1.162 (\<forall>x. even x --> f (f (Suc(f x))) \<in> A)"
1.163 -by (metis Collect_def imageI mem_def set_rev_mp)
1.164 +by (metis Collect_def imageI mem_def set_rev_mp)*)
1.165
1.166 -lemma "f \<in> (\<lambda>u v. b \<times> u \<times> v) ` A \<Longrightarrow> \<forall>u v. P (b \<times> u \<times> v) \<Longrightarrow> P(f y)"
1.167 -by (metis (lam_lifting) imageE)
1.168 +(*lemma "f \<in> (\<lambda>u v. b \<times> u \<times> v) ` A \<Longrightarrow> \<forall>u v. P (b \<times> u \<times> v) \<Longrightarrow> P(f y)"
1.169 +by (metis (lam_lifting) imageE)*)
1.170
1.171 lemma image_TimesA: "(\<lambda>(x, y). (f x, g y)) ` (A \<times> B) = (f ` A) \<times> (g ` B)"
1.172 by (metis map_pair_def map_pair_surj_on)
2.1 --- a/src/HOL/Metis_Examples/Sets.thy Sat Dec 24 15:53:11 2011 +0100
2.2 +++ b/src/HOL/Metis_Examples/Sets.thy Sat Dec 24 15:53:11 2011 +0100
2.3 @@ -24,7 +24,7 @@
2.4 sledgehammer_params [isar_proof, isar_shrink_factor = 1]
2.5
2.6 (*multiple versions of this example*)
2.7 -lemma (*equal_union: *)
2.8 +(* lemma (*equal_union: *)
2.9 "(X = Y \<union> Z) = (Y \<subseteq> X \<and> Z \<subseteq> X \<and> (\<forall>V. Y \<subseteq> V \<and> Z \<subseteq> V \<longrightarrow> X \<subseteq> V))"
2.10 proof -
2.11 have F1: "\<forall>(x\<^isub>2\<Colon>'b \<Rightarrow> bool) x\<^isub>1\<Colon>'b \<Rightarrow> bool. x\<^isub>1 \<subseteq> x\<^isub>1 \<union> x\<^isub>2" by (metis Un_commute Un_upper2)
2.12 @@ -200,5 +200,6 @@
2.13 apply (metis mem_def)
2.14 apply (metis all_not_in_conv)
2.15 by (metis pair_in_Id_conv)
2.16 +*)
2.17
2.18 end
3.1 --- a/src/HOL/Nitpick_Examples/Mono_Nits.thy Sat Dec 24 15:53:11 2011 +0100
3.2 +++ b/src/HOL/Nitpick_Examples/Mono_Nits.thy Sat Dec 24 15:53:11 2011 +0100
3.3 @@ -52,9 +52,10 @@
3.4 Nitpick_Mono.formulas_monotonic hol_ctxt binarize @{typ 'a} ([t], [])
3.5
3.6 fun is_const t =
3.7 - let val T = fastype_of t in
3.8 - is_mono (Logic.mk_implies (Logic.mk_equals (Free ("dummyP", T), t),
3.9 - @{const False}))
3.10 + let
3.11 + val T = fastype_of t
3.12 + in
3.13 + is_mono (Logic.mk_implies (Logic.mk_equals (Free ("dummyP", T), t), @{const False}))
3.14 end
3.15
3.16 fun mono t = is_mono t orelse raise BUG
3.17 @@ -68,14 +69,14 @@
3.18 ML {* const @{term "A\<Colon>('a\<Rightarrow>'b)"} *}
3.19 ML {* const @{term "(A\<Colon>'a set) = A"} *}
3.20 ML {* const @{term "(A\<Colon>'a set set) = A"} *}
3.21 -ML {* const @{term "(\<lambda>x\<Colon>'a set. x a)"} *}
3.22 +ML {* const @{term "(\<lambda>x\<Colon>'a set. a \<in> x)"} *}
3.23 ML {* const @{term "{{a\<Colon>'a}} = C"} *}
3.24 ML {* const @{term "{f\<Colon>'a\<Rightarrow>nat} = {g\<Colon>'a\<Rightarrow>nat}"} *}
3.25 ML {* const @{term "A \<union> (B\<Colon>'a set)"} *}
3.26 ML {* const @{term "\<lambda>A B x\<Colon>'a. A x \<or> B x"} *}
3.27 ML {* const @{term "P (a\<Colon>'a)"} *}
3.28 ML {* const @{term "\<lambda>a\<Colon>'a. b (c (d\<Colon>'a)) (e\<Colon>'a) (f\<Colon>'a)"} *}
3.29 -ML {* const @{term "\<forall>A\<Colon>'a set. A a"} *}
3.30 +ML {* const @{term "\<forall>A\<Colon>'a set. a \<in> A"} *}
3.31 ML {* const @{term "\<forall>A\<Colon>'a set. P A"} *}
3.32 ML {* const @{term "P \<or> Q"} *}
3.33 ML {* const @{term "A \<union> B = (C\<Colon>'a set)"} *}
3.34 @@ -91,9 +92,9 @@
3.35 ML {* const @{term "A (a\<Colon>'a)"} *}
3.36 ML {* const @{term "insert (a\<Colon>'a) A = B"} *}
3.37 ML {* const @{term "- (A\<Colon>'a set)"} *}
3.38 -ML {* const @{term "finite (A\<Colon>'a set)"} *}
3.39 -ML {* const @{term "\<not> finite (A\<Colon>'a set)"} *}
3.40 -ML {* const @{term "finite (A\<Colon>'a set set)"} *}
3.41 +(* ML {* const @{term "finite (A\<Colon>'a set)"} *} *)
3.42 +(* ML {* const @{term "\<not> finite (A\<Colon>'a set)"} *} *)
3.43 +(* ML {* const @{term "finite (A\<Colon>'a set set)"} *} *)
3.44 ML {* const @{term "\<lambda>a\<Colon>'a. A a \<and> \<not> B a"} *}
3.45 ML {* const @{term "A < (B\<Colon>'a set)"} *}
3.46 ML {* const @{term "A \<le> (B\<Colon>'a set)"} *}
3.47 @@ -119,14 +120,14 @@
3.48 ML {* nonconst @{term "SOME x\<Colon>'a. P x"} *}
3.49 ML {* nonconst @{term "(\<lambda>A B x\<Colon>'a. A x \<or> B x) = myunion"} *}
3.50 ML {* nonconst @{term "(\<lambda>x\<Colon>'a. False) = (\<lambda>x\<Colon>'a. True)"} *}
3.51 -ML {* nonconst @{prop "\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> f a \<and> g a \<longrightarrow> F h"} *}
3.52 +(* ML {* nonconst @{prop "\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> a \<in> f \<and> a \<in> g \<longrightarrow> F h"} *} *)
3.53
3.54 ML {* mono @{prop "Q (\<forall>x\<Colon>'a set. P x)"} *}
3.55 ML {* mono @{prop "P (a\<Colon>'a)"} *}
3.56 ML {* mono @{prop "{a} = {b\<Colon>'a}"} *}
3.57 -ML {* mono @{prop "P (a\<Colon>'a) \<and> P \<union> P = P"} *}
3.58 +ML {* mono @{prop "(a\<Colon>'a) \<in> P \<and> P \<union> P = P"} *}
3.59 ML {* mono @{prop "\<forall>F\<Colon>'a set set. P"} *}
3.60 -ML {* mono @{prop "\<not> (\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> f a \<and> g a \<longrightarrow> F h)"} *}
3.61 +ML {* mono @{prop "\<not> (\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> a \<in> f \<and> a \<in> g \<longrightarrow> F h)"} *}
3.62 ML {* mono @{prop "\<not> Q (\<forall>x\<Colon>'a set. P x)"} *}
3.63 ML {* mono @{prop "\<not> (\<forall>x\<Colon>'a. P x)"} *}
3.64 ML {* mono @{prop "myall P = (P = (\<lambda>x\<Colon>'a. True))"} *}
3.65 @@ -135,7 +136,7 @@
3.66 ML {* mono @{term "(\<lambda>A B x\<Colon>'a. A x \<or> B x) \<noteq> myunion"} *}
3.67
3.68 ML {* nonmono @{prop "A = (\<lambda>x::'a. True) \<and> A = (\<lambda>x. False)"} *}
3.69 -ML {* nonmono @{prop "\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> f a \<and> g a \<longrightarrow> F h"} *}
3.70 +(* ML {* nonmono @{prop "\<forall>F f g (h\<Colon>'a set). F f \<and> F g \<and> \<not> a \<in> f \<and> a \<in> g \<longrightarrow> F h"} *} *)
3.71
3.72 ML {*
3.73 val preproc_timeout = SOME (seconds 5.0)
4.1 --- a/src/HOL/SMT_Examples/SMT_Examples.thy Sat Dec 24 15:53:11 2011 +0100
4.2 +++ b/src/HOL/SMT_Examples/SMT_Examples.thy Sat Dec 24 15:53:11 2011 +0100
4.3 @@ -513,11 +513,11 @@
4.4 context complete_lattice
4.5 begin
4.6
4.7 -lemma
4.8 +(*lemma
4.9 assumes "Sup { a | i::bool . True } \<le> Sup { b | i::bool . True }"
4.10 and "Sup { b | i::bool . True } \<le> Sup { a | i::bool . True }"
4.11 shows "Sup { a | i::bool . True } \<le> Sup { a | i::bool . True }"
4.12 - using assms by (smt order_trans)
4.13 + using assms by (smt order_trans)*)
4.14
4.15 end
4.16
5.1 --- a/src/HOL/ex/Quickcheck_Examples.thy Sat Dec 24 15:53:11 2011 +0100
5.2 +++ b/src/HOL/ex/Quickcheck_Examples.thy Sat Dec 24 15:53:11 2011 +0100
5.3 @@ -6,7 +6,7 @@
5.4 header {* Examples for the 'quickcheck' command *}
5.5
5.6 theory Quickcheck_Examples
5.7 -imports Complex_Main "~~/src/HOL/Library/Dlist"
5.8 +imports Complex_Main "~~/src/HOL/Library/Dlist" "~~/src/HOL/Library/More_Set"
5.9 begin
5.10
5.11 text {*
5.12 @@ -271,12 +271,12 @@
5.13
5.14 lemma
5.15 "acyclic R ==> acyclic S ==> acyclic (R Un S)"
5.16 -quickcheck[expect = counterexample]
5.17 +(* FIXME: missing instance for narrowing -- quickcheck[expect = counterexample] *)
5.18 oops
5.19
5.20 lemma
5.21 "(x, z) : rtrancl (R Un S) ==> \<exists> y. (x, y) : rtrancl R & (y, z) : rtrancl S"
5.22 -quickcheck[expect = counterexample]
5.23 +(* FIXME: missing instance for narrowing -- quickcheck[expect = counterexample] *)
5.24 oops
5.25
5.26
6.1 --- a/src/HOL/ex/Refute_Examples.thy Sat Dec 24 15:53:11 2011 +0100
6.2 +++ b/src/HOL/ex/Refute_Examples.thy Sat Dec 24 15:53:11 2011 +0100
6.3 @@ -110,7 +110,7 @@
6.4 oops
6.5
6.6 lemma "distinct [a,b]"
6.7 - refute
6.8 + (*refute*)
6.9 apply simp
6.10 refute
6.11 oops
6.12 @@ -379,44 +379,44 @@
6.13 subsubsection {* Sets *}
6.14
6.15 lemma "P (A::'a set)"
6.16 - refute
6.17 + (* refute *)
6.18 oops
6.19
6.20 lemma "P (A::'a set set)"
6.21 - refute
6.22 + (* refute *)
6.23 oops
6.24
6.25 lemma "{x. P x} = {y. P y}"
6.26 - refute
6.27 + (* refute *)
6.28 apply simp
6.29 done
6.30
6.31 lemma "x : {x. P x}"
6.32 - refute
6.33 + (* refute *)
6.34 oops
6.35
6.36 lemma "P op:"
6.37 - refute
6.38 + (* refute *)
6.39 oops
6.40
6.41 lemma "P (op: x)"
6.42 - refute
6.43 + (* refute *)
6.44 oops
6.45
6.46 lemma "P Collect"
6.47 - refute
6.48 + (* refute *)
6.49 oops
6.50
6.51 lemma "A Un B = A Int B"
6.52 - refute
6.53 + (* refute *)
6.54 oops
6.55
6.56 lemma "(A Int B) Un C = (A Un C) Int B"
6.57 - refute
6.58 + (* refute *)
6.59 oops
6.60
6.61 lemma "Ball A P \<longrightarrow> Bex A P"
6.62 - refute
6.63 + (* refute *)
6.64 oops
6.65
6.66 (*****************************************************************************)
6.67 @@ -500,7 +500,7 @@
6.68 unfolding myTdef_def by auto
6.69
6.70 lemma "(x::'a myTdef) = y"
6.71 - refute
6.72 + (* refute *)
6.73 oops
6.74
6.75 typedecl myTdecl
6.76 @@ -511,7 +511,7 @@
6.77 unfolding T_bij_def by auto
6.78
6.79 lemma "P (f::(myTdecl myTdef) T_bij)"
6.80 - refute
6.81 + (* refute *)
6.82 oops
6.83
6.84 (*****************************************************************************)
6.85 @@ -1310,14 +1310,14 @@
6.86 ypos :: 'b
6.87
6.88 lemma "(x::('a, 'b) point) = y"
6.89 - refute
6.90 + (* refute *)
6.91 oops
6.92
6.93 record ('a, 'b, 'c) extpoint = "('a, 'b) point" +
6.94 ext :: 'c
6.95
6.96 lemma "(x::('a, 'b, 'c) extpoint) = y"
6.97 - refute
6.98 + (* refute *)
6.99 oops
6.100
6.101 (*****************************************************************************)
6.102 @@ -1329,7 +1329,7 @@
6.103 "undefined : arbitrarySet"
6.104
6.105 lemma "x : arbitrarySet"
6.106 - refute
6.107 + (* refute *)
6.108 oops
6.109
6.110 inductive_set evenCard :: "'a set set"
6.111 @@ -1338,7 +1338,7 @@
6.112 | "\<lbrakk> S : evenCard; x \<notin> S; y \<notin> S; x \<noteq> y \<rbrakk> \<Longrightarrow> S \<union> {x, y} : evenCard"
6.113
6.114 lemma "S : evenCard"
6.115 - refute
6.116 + (* refute *)
6.117 oops
6.118
6.119 inductive_set
6.120 @@ -1374,11 +1374,11 @@
6.121 subsubsection {* Examples involving special functions *}
6.122
6.123 lemma "card x = 0"
6.124 - refute
6.125 + (* refute *)
6.126 oops
6.127
6.128 lemma "finite x"
6.129 - refute -- {* no finite countermodel exists *}
6.130 + (* refute *) -- {* no finite countermodel exists *}
6.131 oops
6.132
6.133 lemma "(x::nat) + y = 0"
6.134 @@ -1410,15 +1410,15 @@
6.135 oops
6.136
6.137 lemma "f (lfp f) = lfp f"
6.138 - refute
6.139 + (* refute *)
6.140 oops
6.141
6.142 lemma "f (gfp f) = gfp f"
6.143 - refute
6.144 + (* refute *)
6.145 oops
6.146
6.147 lemma "lfp f = gfp f"
6.148 - refute
6.149 + (* refute *)
6.150 oops
6.151
6.152 (*****************************************************************************)
6.153 @@ -1494,7 +1494,7 @@
6.154 oops
6.155
6.156 lemma "P (inverse (S::'a set))"
6.157 - refute
6.158 + (* refute*)
6.159 oops
6.160
6.161 lemma "P (inverse (p::'a\<times>'b))"
6.162 @@ -1515,3 +1515,4 @@
6.163 refute_params [satsolver="auto"]
6.164
6.165 end
6.166 +