src/HOL/Hahn_Banach/Hahn_Banach_Sup_Lemmas.thy
author wenzelm
Mon, 02 Nov 2015 11:43:02 +0100
changeset 61540 f92bf6674699
parent 61539 a29295dac1ca
child 61879 e4f9d8f094fe
permissions -rw-r--r--
tuned document;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31795
be3e1cc5005c standard naming conventions for session and theories;
wenzelm
parents: 29252
diff changeset
     1
(*  Title:      HOL/Hahn_Banach/Hahn_Banach_Sup_Lemmas.thy
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
     2
    Author:     Gertrud Bauer, TU Munich
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
     3
*)
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
     4
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
     5
section \<open>The supremum wrt.\ the function order\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
     6
31795
be3e1cc5005c standard naming conventions for session and theories;
wenzelm
parents: 29252
diff changeset
     7
theory Hahn_Banach_Sup_Lemmas
be3e1cc5005c standard naming conventions for session and theories;
wenzelm
parents: 29252
diff changeset
     8
imports Function_Norm Zorn_Lemma
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
     9
begin
9256
f9a6670427fb completed TYPES version of HahnBanach;
bauerg
parents: 9035
diff changeset
    10
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    11
text \<open>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    12
  This section contains some lemmas that will be used in the proof of the
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    13
  Hahn-Banach Theorem. In this section the following context is presumed.
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    14
  Let \<open>E\<close> be a real vector space with a seminorm \<open>p\<close> on \<open>E\<close>. \<open>F\<close> is a
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    15
  subspace of \<open>E\<close> and \<open>f\<close> a linear form on \<open>F\<close>. We consider a chain \<open>c\<close> of
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    16
  norm-preserving extensions of \<open>f\<close>, such that \<open>\<Union>c = graph H h\<close>. We will
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    17
  show some properties about the limit function \<open>h\<close>, i.e.\ the supremum of
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    18
  the chain \<open>c\<close>.
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    19
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
    20
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    21
  Let \<open>c\<close> be a chain of norm-preserving extensions of the function \<open>f\<close> and
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    22
  let \<open>graph H h\<close> be the supremum of \<open>c\<close>. Every element in \<open>H\<close> is member of
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    23
  one of the elements of the chain.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    24
\<close>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
    25
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    26
lemmas [dest?] = chainsD
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    27
lemmas chainsE2 [elim?] = chainsD2 [elim_format]
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    28
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    29
lemma some_H'h't:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    30
  assumes M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    31
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    32
    and u: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    33
    and x: "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    34
  shows "\<exists>H' h'. graph H' h' \<in> c
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    35
    \<and> (x, h x) \<in> graph H' h'
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    36
    \<and> linearform H' h' \<and> H' \<unlhd> E
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    37
    \<and> F \<unlhd> H' \<and> graph F f \<subseteq> graph H' h'
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    38
    \<and> (\<forall>x \<in> H'. h' x \<le> p x)"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
    39
proof -
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    40
  from x have "(x, h x) \<in> graph H h" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    41
  also from u have "\<dots> = \<Union>c" .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    42
  finally obtain g where gc: "g \<in> c" and gh: "(x, h x) \<in> g" by blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    43
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    44
  from cM have "c \<subseteq> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    45
  with gc have "g \<in> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    46
  also from M have "\<dots> = norm_pres_extensions E p F f" .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    47
  finally obtain H' and h' where g: "g = graph H' h'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    48
    and * : "linearform H' h'"  "H' \<unlhd> E"  "F \<unlhd> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    49
      "graph F f \<subseteq> graph H' h'"  "\<forall>x \<in> H'. h' x \<le> p x" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    50
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    51
  from gc and g have "graph H' h' \<in> c" by (simp only:)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    52
  moreover from gh and g have "(x, h x) \<in> graph H' h'" by (simp only:)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    53
  ultimately show ?thesis using * by blast
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
    54
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    55
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    56
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
    57
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    58
  Let \<open>c\<close> be a chain of norm-preserving extensions of the function \<open>f\<close> and
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    59
  let \<open>graph H h\<close> be the supremum of \<open>c\<close>. Every element in the domain \<open>H\<close> of
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    60
  the supremum function is member of the domain \<open>H'\<close> of some function \<open>h'\<close>,
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    61
  such that \<open>h\<close> extends \<open>h'\<close>.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    62
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    63
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
    64
lemma some_H'h':
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    65
  assumes M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    66
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    67
    and u: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    68
    and x: "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    69
  shows "\<exists>H' h'. x \<in> H' \<and> graph H' h' \<subseteq> graph H h
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    70
    \<and> linearform H' h' \<and> H' \<unlhd> E \<and> F \<unlhd> H'
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    71
    \<and> graph F f \<subseteq> graph H' h' \<and> (\<forall>x \<in> H'. h' x \<le> p x)"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
    72
proof -
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    73
  from M cM u x obtain H' h' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    74
      x_hx: "(x, h x) \<in> graph H' h'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    75
    and c: "graph H' h' \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    76
    and * : "linearform H' h'"  "H' \<unlhd> E"  "F \<unlhd> H'"
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
    77
      "graph F f \<subseteq> graph H' h'"  "\<forall>x \<in> H'. h' x \<le> p x"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    78
    by (rule some_H'h't [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    79
  from x_hx have "x \<in> H'" ..
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    80
  moreover from cM u c have "graph H' h' \<subseteq> graph H h" by blast
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    81
  ultimately show ?thesis using * by blast
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
    82
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    83
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    84
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
    85
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    86
  Any two elements \<open>x\<close> and \<open>y\<close> in the domain \<open>H\<close> of the supremum function
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    87
  \<open>h\<close> are both in the domain \<open>H'\<close> of some function \<open>h'\<close>, such that \<open>h\<close>
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
    88
  extends \<open>h'\<close>.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
    89
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
    90
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
    91
lemma some_H'h'2:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    92
  assumes M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
    93
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    94
    and u: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    95
    and x: "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    96
    and y: "y \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    97
  shows "\<exists>H' h'. x \<in> H' \<and> y \<in> H'
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    98
    \<and> graph H' h' \<subseteq> graph H h
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
    99
    \<and> linearform H' h' \<and> H' \<unlhd> E \<and> F \<unlhd> H'
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   100
    \<and> graph F f \<subseteq> graph H' h' \<and> (\<forall>x \<in> H'. h' x \<le> p x)"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   101
proof -
61539
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   102
  txt \<open>\<open>y\<close> is in the domain \<open>H''\<close> of some function \<open>h''\<close>,
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   103
  such that \<open>h\<close> extends \<open>h''\<close>.\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   104
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   105
  from M cM u and y obtain H' h' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   106
      y_hy: "(y, h y) \<in> graph H' h'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   107
    and c': "graph H' h' \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   108
    and * :
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   109
      "linearform H' h'"  "H' \<unlhd> E"  "F \<unlhd> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   110
      "graph F f \<subseteq> graph H' h'"  "\<forall>x \<in> H'. h' x \<le> p x"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   111
    by (rule some_H'h't [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   112
61539
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   113
  txt \<open>\<open>x\<close> is in the domain \<open>H'\<close> of some function \<open>h'\<close>,
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   114
    such that \<open>h\<close> extends \<open>h'\<close>.\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   115
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   116
  from M cM u and x obtain H'' h'' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   117
      x_hx: "(x, h x) \<in> graph H'' h''"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   118
    and c'': "graph H'' h'' \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   119
    and ** :
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   120
      "linearform H'' h''"  "H'' \<unlhd> E"  "F \<unlhd> H''"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   121
      "graph F f \<subseteq> graph H'' h''"  "\<forall>x \<in> H''. h'' x \<le> p x"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   122
    by (rule some_H'h't [elim_format]) blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   123
61539
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   124
  txt \<open>Since both \<open>h'\<close> and \<open>h''\<close> are elements of the chain,
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   125
    \<open>h''\<close> is an extension of \<open>h'\<close> or vice versa. Thus both
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   126
    \<open>x\<close> and \<open>y\<close> are contained in the greater
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   127
    one. \label{cases1}\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   128
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   129
  from cM c'' c' consider "graph H'' h'' \<subseteq> graph H' h'" | "graph H' h' \<subseteq> graph H'' h''"
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   130
    by (blast dest: chainsD)
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   131
  then show ?thesis
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   132
  proof cases
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   133
    case 1
23378
1d138d6bb461 tuned proofs: avoid implicit prems;
wenzelm
parents: 16417
diff changeset
   134
    have "(x, h x) \<in> graph H'' h''" by fact
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   135
    also have "\<dots> \<subseteq> graph H' h'" by fact
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   136
    finally have xh:"(x, h x) \<in> graph H' h'" .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   137
    then have "x \<in> H'" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   138
    moreover from y_hy have "y \<in> H'" ..
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   139
    moreover from cM u and c' have "graph H' h' \<subseteq> graph H h" by blast
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   140
    ultimately show ?thesis using * by blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   141
  next
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   142
    case 2
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   143
    from x_hx have "x \<in> H''" ..
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   144
    moreover have "y \<in> H''"
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   145
    proof -
23378
1d138d6bb461 tuned proofs: avoid implicit prems;
wenzelm
parents: 16417
diff changeset
   146
      have "(y, h y) \<in> graph H' h'" by (rule y_hy)
1d138d6bb461 tuned proofs: avoid implicit prems;
wenzelm
parents: 16417
diff changeset
   147
      also have "\<dots> \<subseteq> graph H'' h''" by fact
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   148
      finally have "(y, h y) \<in> graph H'' h''" .
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   149
      then show ?thesis ..
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   150
    qed
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   151
    moreover from u c'' have "graph H'' h'' \<subseteq> graph H h" by blast
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   152
    ultimately show ?thesis using ** by blast
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   153
  qed
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   154
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   155
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   156
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   157
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   158
  The relation induced by the graph of the supremum of a chain \<open>c\<close> is
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   159
  definite, i.e.\ it is the graph of a function.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   160
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   161
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   162
lemma sup_definite:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   163
  assumes M_def: "M \<equiv> norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   164
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   165
    and xy: "(x, y) \<in> \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   166
    and xz: "(x, z) \<in> \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   167
  shows "z = y"
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   168
proof -
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   169
  from cM have c: "c \<subseteq> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   170
  from xy obtain G1 where xy': "(x, y) \<in> G1" and G1: "G1 \<in> c" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   171
  from xz obtain G2 where xz': "(x, z) \<in> G2" and G2: "G2 \<in> c" ..
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   172
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   173
  from G1 c have "G1 \<in> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   174
  then obtain H1 h1 where G1_rep: "G1 = graph H1 h1"
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   175
    unfolding M_def by blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   176
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   177
  from G2 c have "G2 \<in> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   178
  then obtain H2 h2 where G2_rep: "G2 = graph H2 h2"
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   179
    unfolding M_def by blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   180
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   181
  txt \<open>\<open>G\<^sub>1\<close> is contained in \<open>G\<^sub>2\<close> or vice versa, since both \<open>G\<^sub>1\<close> and \<open>G\<^sub>2\<close>
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   182
    are members of \<open>c\<close>. \label{cases2}\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   183
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   184
  from cM G1 G2 consider "G1 \<subseteq> G2" | "G2 \<subseteq> G1"
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   185
    by (blast dest: chainsD)
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   186
  then show ?thesis
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   187
  proof cases
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   188
    case 1
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   189
    with xy' G2_rep have "(x, y) \<in> graph H2 h2" by blast
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   190
    then have "y = h2 x" ..
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   191
    also
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   192
    from xz' G2_rep have "(x, z) \<in> graph H2 h2" by (simp only:)
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   193
    then have "z = h2 x" ..
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   194
    finally show ?thesis .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   195
  next
60458
0d10ae17e3ee tuned proofs;
wenzelm
parents: 60412
diff changeset
   196
    case 2
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   197
    with xz' G1_rep have "(x, z) \<in> graph H1 h1" by blast
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   198
    then have "z = h1 x" ..
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   199
    also
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   200
    from xy' G1_rep have "(x, y) \<in> graph H1 h1" by (simp only:)
27612
d3eb431db035 modernized specifications and proofs;
wenzelm
parents: 27611
diff changeset
   201
    then have "y = h1 x" ..
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   202
    finally show ?thesis ..
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   203
  qed
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   204
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   205
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   206
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   207
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   208
  The limit function \<open>h\<close> is linear. Every element \<open>x\<close> in the domain of \<open>h\<close>
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   209
  is in the domain of a function \<open>h'\<close> in the chain of norm preserving
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   210
  extensions. Furthermore, \<open>h\<close> is an extension of \<open>h'\<close> so the function
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   211
  values of \<open>x\<close> are identical for \<open>h'\<close> and \<open>h\<close>. Finally, the function \<open>h'\<close>
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   212
  is linear by construction of \<open>M\<close>.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   213
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   214
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   215
lemma sup_lf:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   216
  assumes M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   217
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   218
    and u: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   219
  shows "linearform H h"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   220
proof
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   221
  fix x y assume x: "x \<in> H" and y: "y \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   222
  with M cM u obtain H' h' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   223
        x': "x \<in> H'" and y': "y \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   224
      and b: "graph H' h' \<subseteq> graph H h"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   225
      and linearform: "linearform H' h'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   226
      and subspace: "H' \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   227
    by (rule some_H'h'2 [elim_format]) blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   228
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   229
  show "h (x + y) = h x + h y"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   230
  proof -
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   231
    from linearform x' y' have "h' (x + y) = h' x + h' y"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   232
      by (rule linearform.add)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   233
    also from b x' have "h' x = h x" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   234
    also from b y' have "h' y = h y" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   235
    also from subspace x' y' have "x + y \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   236
      by (rule subspace.add_closed)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   237
    with b have "h' (x + y) = h (x + y)" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   238
    finally show ?thesis .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   239
  qed
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   240
next
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   241
  fix x a assume x: "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   242
  with M cM u obtain H' h' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   243
        x': "x \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   244
      and b: "graph H' h' \<subseteq> graph H h"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   245
      and linearform: "linearform H' h'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   246
      and subspace: "H' \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   247
    by (rule some_H'h' [elim_format]) blast
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   248
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   249
  show "h (a \<cdot> x) = a * h x"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   250
  proof -
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   251
    from linearform x' have "h' (a \<cdot> x) = a * h' x"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   252
      by (rule linearform.mult)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   253
    also from b x' have "h' x = h x" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   254
    also from subspace x' have "a \<cdot> x \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   255
      by (rule subspace.mult_closed)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   256
    with b have "h' (a \<cdot> x) = h (a \<cdot> x)" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   257
    finally show ?thesis .
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   258
  qed
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   259
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   260
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   261
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   262
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   263
  The limit of a non-empty chain of norm preserving extensions of \<open>f\<close> is an
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   264
  extension of \<open>f\<close>, since every element of the chain is an extension of \<open>f\<close>
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   265
  and the supremum is an extension for every element of the chain.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   266
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   267
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   268
lemma sup_ext:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   269
  assumes graph: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   270
    and M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   271
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   272
    and ex: "\<exists>x. x \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   273
  shows "graph F f \<subseteq> graph H h"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   274
proof -
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   275
  from ex obtain x where xc: "x \<in> c" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   276
  from cM have "c \<subseteq> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   277
  with xc have "x \<in> M" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   278
  with M have "x \<in> norm_pres_extensions E p F f"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   279
    by (simp only:)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   280
  then obtain G g where "x = graph G g" and "graph F f \<subseteq> graph G g" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   281
  then have "graph F f \<subseteq> x" by (simp only:)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   282
  also from xc have "\<dots> \<subseteq> \<Union>c" by blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   283
  also from graph have "\<dots> = graph H h" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   284
  finally show ?thesis .
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   285
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   286
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   287
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   288
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   289
  The domain \<open>H\<close> of the limit function is a superspace of \<open>F\<close>, since \<open>F\<close> is
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   290
  a subset of \<open>H\<close>. The existence of the \<open>0\<close> element in \<open>F\<close> and the closure
61539
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   291
  properties follow from the fact that \<open>F\<close> is a vector space.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   292
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   293
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   294
lemma sup_supF:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   295
  assumes graph: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   296
    and M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   297
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   298
    and ex: "\<exists>x. x \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   299
    and FE: "F \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   300
  shows "F \<unlhd> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   301
proof
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   302
  from FE show "F \<noteq> {}" by (rule subspace.non_empty)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   303
  from graph M cM ex have "graph F f \<subseteq> graph H h" by (rule sup_ext)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   304
  then show "F \<subseteq> H" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   305
  fix x y assume "x \<in> F" and "y \<in> F"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   306
  with FE show "x + y \<in> F" by (rule subspace.add_closed)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   307
next
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   308
  fix x a assume "x \<in> F"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   309
  with FE show "a \<cdot> x \<in> F" by (rule subspace.mult_closed)
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   310
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   311
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   312
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   313
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   314
  The domain \<open>H\<close> of the limit function is a subspace of \<open>E\<close>.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   315
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   316
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   317
lemma sup_subE:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   318
  assumes graph: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   319
    and M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   320
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   321
    and ex: "\<exists>x. x \<in> c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   322
    and FE: "F \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   323
    and E: "vectorspace E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   324
  shows "H \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   325
proof
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   326
  show "H \<noteq> {}"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   327
  proof -
13547
wenzelm
parents: 13515
diff changeset
   328
    from FE E have "0 \<in> F" by (rule subspace.zero)
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   329
    also from graph M cM ex FE have "F \<unlhd> H" by (rule sup_supF)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   330
    then have "F \<subseteq> H" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   331
    finally show ?thesis by blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   332
  qed
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   333
  show "H \<subseteq> E"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   334
  proof
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   335
    fix x assume "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   336
    with M cM graph
44887
7ca82df6e951 misc tuning and clarification;
wenzelm
parents: 32960
diff changeset
   337
    obtain H' where x: "x \<in> H'" and H'E: "H' \<unlhd> E"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   338
      by (rule some_H'h' [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   339
    from H'E have "H' \<subseteq> E" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   340
    with x show "x \<in> E" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   341
  qed
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   342
  fix x y assume x: "x \<in> H" and y: "y \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   343
  show "x + y \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   344
  proof -
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   345
    from M cM graph x y obtain H' h' where
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   346
          x': "x \<in> H'" and y': "y \<in> H'" and H'E: "H' \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   347
        and graphs: "graph H' h' \<subseteq> graph H h"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   348
      by (rule some_H'h'2 [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   349
    from H'E x' y' have "x + y \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   350
      by (rule subspace.add_closed)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   351
    also from graphs have "H' \<subseteq> H" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   352
    finally show ?thesis .
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   353
  qed
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   354
next
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   355
  fix x a assume x: "x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   356
  show "a \<cdot> x \<in> H"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   357
  proof -
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   358
    from M cM graph x
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   359
    obtain H' h' where x': "x \<in> H'" and H'E: "H' \<unlhd> E"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   360
        and graphs: "graph H' h' \<subseteq> graph H h"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   361
      by (rule some_H'h' [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   362
    from H'E x' have "a \<cdot> x \<in> H'" by (rule subspace.mult_closed)
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   363
    also from graphs have "H' \<subseteq> H" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   364
    finally show ?thesis .
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   365
  qed
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   366
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   367
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   368
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   369
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   370
  The limit function is bounded by the norm \<open>p\<close> as well, since all elements
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   371
  in the chain are bounded by \<open>p\<close>.
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   372
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   373
9374
153853af318b - xsymbols for
bauerg
parents: 9262
diff changeset
   374
lemma sup_norm_pres:
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   375
  assumes graph: "graph H h = \<Union>c"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   376
    and M: "M = norm_pres_extensions E p F f"
52183
667961fa6a60 fixed files broken due to Zorn changes (cf. 59e5dd7b8f9a)
popescua
parents: 45605
diff changeset
   377
    and cM: "c \<in> chains M"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   378
  shows "\<forall>x \<in> H. h x \<le> p x"
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   379
proof
9503
wenzelm
parents: 9394
diff changeset
   380
  fix x assume "x \<in> H"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   381
  with M cM graph obtain H' h' where x': "x \<in> H'"
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   382
      and graphs: "graph H' h' \<subseteq> graph H h"
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   383
      and a: "\<forall>x \<in> H'. h' x \<le> p x"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   384
    by (rule some_H'h' [elim_format]) blast
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   385
  from graphs x' have [symmetric]: "h' x = h x" ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   386
  also from a x' have "h' x \<le> p x " ..
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   387
  finally show "h x \<le> p x" .
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   388
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   389
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   390
text \<open>
61486
3590367b0ce9 tuned document;
wenzelm
parents: 60595
diff changeset
   391
  \<^medskip>
61540
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   392
  The following lemma is a property of linear forms on real vector spaces.
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   393
  It will be used for the lemma \<open>abs_Hahn_Banach\<close> (see page
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   394
  \pageref{abs-Hahn-Banach}). \label{abs-ineq-iff} For real vector spaces
f92bf6674699 tuned document;
wenzelm
parents: 61539
diff changeset
   395
  the following inequality are equivalent:
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   396
  \begin{center}
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   397
  \begin{tabular}{lll}
61539
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   398
  \<open>\<forall>x \<in> H. \<bar>h x\<bar> \<le> p x\<close> & and &
a29295dac1ca isabelle update_cartouches -t;
wenzelm
parents: 61486
diff changeset
   399
  \<open>\<forall>x \<in> H. h x \<le> p x\<close> \\
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   400
  \end{tabular}
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   401
  \end{center}
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   402
\<close>
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   403
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   404
lemma abs_ineq_iff:
27611
2c01c0bdb385 Removed uses of context element includes.
ballarin
parents: 23378
diff changeset
   405
  assumes "subspace H E" and "vectorspace E" and "seminorm E p"
2c01c0bdb385 Removed uses of context element includes.
ballarin
parents: 23378
diff changeset
   406
    and "linearform H h"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   407
  shows "(\<forall>x \<in> H. \<bar>h x\<bar> \<le> p x) = (\<forall>x \<in> H. h x \<le> p x)" (is "?L = ?R")
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   408
proof
29234
60f7fb56f8cd More porting to new locales.
ballarin
parents: 27612
diff changeset
   409
  interpret subspace H E by fact
60f7fb56f8cd More porting to new locales.
ballarin
parents: 27612
diff changeset
   410
  interpret vectorspace E by fact
60f7fb56f8cd More porting to new locales.
ballarin
parents: 27612
diff changeset
   411
  interpret seminorm E p by fact
60f7fb56f8cd More porting to new locales.
ballarin
parents: 27612
diff changeset
   412
  interpret linearform H h by fact
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   413
  have H: "vectorspace H" using \<open>vectorspace E\<close> ..
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   414
  {
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   415
    assume l: ?L
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   416
    show ?R
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   417
    proof
9503
wenzelm
parents: 9394
diff changeset
   418
      fix x assume x: "x \<in> H"
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   419
      have "h x \<le> \<bar>h x\<bar>" by arith
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   420
      also from l x have "\<dots> \<le> p x" ..
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   421
      finally show "h x \<le> p x" .
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   422
    qed
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   423
  next
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   424
    assume r: ?R
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   425
    show ?L
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   426
    proof
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   427
      fix x assume x: "x \<in> H"
60595
804dfdc82835 premises in 'show' are treated like 'assume';
wenzelm
parents: 60458
diff changeset
   428
      show "\<bar>b\<bar> \<le> a" when "- a \<le> b" "b \<le> a" for a b :: real
804dfdc82835 premises in 'show' are treated like 'assume';
wenzelm
parents: 60458
diff changeset
   429
        using that by arith
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   430
      from \<open>linearform H h\<close> and H x
23378
1d138d6bb461 tuned proofs: avoid implicit prems;
wenzelm
parents: 16417
diff changeset
   431
      have "- h x = h (- x)" by (rule linearform.neg [symmetric])
14710
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   432
      also
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   433
      from H x have "- x \<in> H" by (rule vectorspace.neg_closed)
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   434
      with r have "h (- x) \<le> p (- x)" ..
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   435
      also have "\<dots> = p x"
58744
c434e37f290e update_cartouches;
wenzelm
parents: 52183
diff changeset
   436
        using \<open>seminorm E p\<close> \<open>vectorspace E\<close>
14710
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   437
      proof (rule seminorm.minus)
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   438
        from x show "x \<in> E" ..
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   439
      qed
14710
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   440
      finally have "- h x \<le> p x" .
247615bfffb8 replaced Aux.thy by RealLemmas.thy
bauerg
parents: 13547
diff changeset
   441
      then show "- p x \<le> h x" by simp
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   442
      from r x show "h x \<le> p x" ..
9261
879e0f0cd047 removed sorry;
bauerg
parents: 9256
diff changeset
   443
    qed
13515
a6a7025fd7e8 updated to use locales (still some rough edges);
wenzelm
parents: 10687
diff changeset
   444
  }
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   445
qed
7917
5e5b9813cce7 HahnBanach update by Gertrud Bauer;
wenzelm
parents:
diff changeset
   446
10687
c186279eecea tuned HOL/Real/HahnBanach;
wenzelm
parents: 9623
diff changeset
   447
end