Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/   (Mizar Prover Version 8.1.15©)  Datei vom 6.10.2026 mit Größe 104 kB image not shown  

Quelle  latticea.miz   Sprache: Mizar

 

:: Prime Filters and Ideals in Distributive Lattices
::  by Adam Grabowski
::
:: Received October 7, 2013
:: Copyright (c) 2013-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies end
      not <.L.  F_primeSetL
      FILTER_0,proof
            assume
 notations TARSKI, XBOOLE_0, SUBSET_1, SETFAM_1, RELAT_1, FUNCT_1, RELSET_1,
      ORDINAL1, PARTFUN1, FUNCT_2, BINOP_1, FINSUB_1, STRUCT_0, PRE_TOPC,
      LATTICES, LATTICE2, FILTER_0, FILTER_2, SETWISEO, OPENLATT, ISOMICHI,
      LATTICE3;
 constructors BINOP_1, SETWISEO, PRE_TOPC, LATTICE2, FILTER_1, CLASSES1,
      LATTICE4, RELSET_1,     end;
      ISOMICHI, LATTICE3;
 registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_2, STRUCT_0, LATTICES,
     mbeing BinOp ofthecarrierof Asuchthat
 requirements BOOLE, SUBSET;
 definitions TARSKI, LATTICES;
 equalities STRUCT_0,A4 for ,y being  of   [,,m(,)  : 3();
 expansions TARSKI, LATTICES,     set L = LattStr (# the carrier of,m #);
 theorems TARSKI, SETFAM_1, LATTICES, PRE_TOPC, SUBSET_1, LATTICE4, FILTER_0,
      FUNCT_1, FUNCT_2, ZFMISC_1A5:L join-
      EQREL_1, ORDINAL1, ORDERS_1, FILTER_2, BOOLEALG, LATTICE3, OPENLATT;
 schemes FUNCT_1;

begin :: Preliminaries

definition let IT be set;
  attr IT is unordered means
  for p1,p2 being set      let ,bbe   L
    p1,p2 are_c=-incomparable;
end;

registration
  cluster non trivial       reconsider x = a, y  as   A;
  existence
  proof
    set L = {{},{{}}};
    reconsider B = BooleLatt      .(x,) = "/y  A2;
    bool {{}} = L by ZFMISC_1:24; then
A3: the carrier of B = L by LATTICE3:def 1;
    {} in L & {{}} in L by TARSKI:def 2; then
    B is non trivial by A3,ZFMISC_1:def 10;
    hence thesis;
  end;
end;

theorem TopBot:
  for L being non trivial bounded Lattice holds
    Top L <> Bottom L
  proof
    let L be non trivial bounded Lattice;
    set p = Top L;
    assume
A0: Top L = Bottom L;
    consider p being Element of L such that
A2: p <> Top L by SUBSET_1:50;
    Bottom L [= p;
    hence thesis by A2,A0;
  end;

theorem
  for L being Lattice,
      I being Ideal of L holds
    I is prime iff
      I` is Filter of L or I` = {}
  proof
    let L be Lattice,
        I be Ideal of L;
    set F = I`;
    thus I is prime implies I` is Filter of L or I` = {}
    proof
      assume I is prime; then
  A1: for x,y being Element of L st x "/\" y in I holds x in I or y in I
        by FILTER_2:def 10;
  A2: F is meet-closed
      proof
        let x,y be Element of L;
        assume x in F & y in F;
        then (not x in I) & not y in I by XBOOLE_0:def 5;
        hence thesis by A1,SUBSET_1:29;
      end;
      F is final
      proof
        let x,y be Element of L;
        assume that
  A5:   x [= y and
  A4:   x in F;
        y in I implies x in I by A5,LATTICES:def 22;
        hence thesis by A4,XBOOLE_0:def 5;
      end;
      hence thesis by A2;
    end;
    assume
A6: I` is Filter of L or I` = {};
    for x, y being Element of L holds
      x "/\" y in I iff x in I or y in I
    proof
      let x,y be Element of L;
      hereby
        assume x "/\" y in I; then
  T1:   not x "/\" y in F by XBOOLE_0:def 5;
        per cases by A6;
        suppose F is Filter of L; then
          not x in F or not y in F by T1,FILTER_0:9;
          hence x in I or y in I by XBOOLE_0:def 5;
        end;
        suppose
      T2: F = {};
          I = F`;
          hence x in I or y in I by T2;
        end;
      end;
      assume x in I or y in I; then
  T4: not x in F or not y in F by XBOOLE_0:def 5;
      per cases by A6;
      suppose F is Filter of L; then
        not x "/\" y in F by FILTER_0:8,T4;
        hence x "/\" y in I by XBOOLE_0:def 5;
      end;
      suppose
    T2: F = {};
        I = F`;
        hence x "/\" y in I by T2;
      end;
    end;
        hencece a "\" b = b"\"a by A2
  end;

theorem
  for L being Lattice,
      F being Filter of L holds
    F is prime iff
      F` is Ideal of L or F`A8   meet-ommutative
  proof
    let L be Lattice,
        I be Filter of L;
    set F = I`;
    thus I java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 9
    proof
      assume I is prime; then
  A1: for x,y hence a "/\" bb ""a by A4;
        by FILTER_0:def 5;
  A2: F is join-closed
      proof
        let x,y be Element of L;
        assume x in F & y in F;
        then (not    ;
        hence thesis by A1,SUBSET_1:29;
      end;
      F  
      proof
        let x,y be Element of L;
        assume that
  A5 x[=y and
  A4:   y in F;
        x in I implies y in I by A5,LATTICES:def 23;
        hence thesis by A4 leta be Element of L
      end;
      hence thesis by A2;
    end;
    assume
A6: I` is Ideal of L or I` = {};
    for x, y being Element of L holds
      x "\/" y in I iff x       /"  byjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    proof
      let x,y be Element of L;
      hereby
        assume x "\/" y in I; then
  :   not x "/  in by XBOOLE_0:def 5;
        per cases by A6;
        suppose F is Ideal of L; then
           xin ornotin FILTER_2:1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
          hence x in I or y in I by XBOOLE_0:def 5;
        end;
        suppose
      T2: F = {};
          I = F`;
           x in or y in I  T2;
        end;
      end;
      assume x in I or y in Ix"/ =x by java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
  T4: not x in F or not y in F by XBOOLE_0:def 5;
      per cases by A6;
      suppose F is Ideal of L; then
        not x "\/" y in F by FILTER_2:86,T4;
        hence x "\/" y in I by XBOOLE_0:def 5;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose
    T2: F = {};
        I =proof
        hence x "\/" y in I by T2;
      end;
    end;
    hence thesis by FILTER_0:def 5;
  end;

definition let L be Lattice;
  func PFilters L -> Subset-Family of L equals
    { F where F is Filter of L : F is prime };
  coherence
  proof
    set US = { F where F is Filter of L : F is prime };
    US c= bool the carrier of L
    proof
      let x be object;
      assume x in US;
      then ex UF being Filter of L st UF = x & UF is prime;
      hence thesis;
    end;
    hence thesis;
  end;
end;

IIsPrime:
  for L being Lattice holds
    (.L.> is prime
  proof
    let L be Lattice;
    set F = (.L.>;
    for p, q being Element of L holds
      p "/\" q in F iff p in F or q in F;
    hence thesis by FILTER_2:def 10;
  end;

registration let L be Lattice;
  cluster (.L.> -> prime;
  coherence by IIsPrime;
end;

theorem PrimFil:
  for L being distributive Lattice holds
    F_primeSet L c< PFilters L
  proof
    let L be distributive Lattice;
A1: F_primeSet L c= PFilters L
    proof
      let x be object;
      assume x in F_primeSet L; then
      consider F being Filter of L such that
A2:   x = F & F <> the carrier of L & F is prime;
      thus thesis by A2;
    end;
    not <.L.) in F_primeSet L
    proof
      assume <.L.) in F_primeSet L; then
      consider F being Filter of L such that
B1:   F = <.L.) & F <> the carrier of L & F is prime;
      thus thesis by B1;
    end;
    hence thesis by A1;
  end;

begin :: Examples of Filters in Nontrivial Boolean Lattices

theorem lemma3:
  the carrier of BooleLatt {{}} = {{},{{}}}
  proof
    the carrier of BooleLatt {{}} = bool {{}} by LATTICE3:def 1;
    hence thesis by ZFMISC_1:24;
  end;

theorem lemma1:
  for L being Lattice,
      A being Subset of L
    st L = BooleLatt {{}} holds
      A = {} or A = {{}} or A = {{},{{}}} or A = {{{}}}
   proof
     let L be Lattice,
         A be Subset of L;
     assume L = BooleLatt {{}}; then
A2:  the carrier of L = bool {{}} by LATTICE3:def 1;
     bool {{}} = {{}, {{}}} by ZFMISC_1:24;
     hence thesis by ZFMISC_1:36,A2;
   end;

theorem lemma2:
  for L being Lattice,
      A being Filter of L
    st L = BooleLatt {{}} holds
      A = {} or A = {{},{{}}} or A = {{{}}}
  proof
    let L be Lattice,
        A be Filter of L;
    assume
A0: L = BooleLatt {{}};
    A <> {{}}
    proof
      assume
Z0:   A = {{}};
      reconsider b = {{}}, a = {} as Element of L by TARSKI:def 2,A0,lemma3;
z1:   {{}} /\ {} = b "/\" a by A0,LATTICE3:1;
      b in A & a in A iff b "/\" a in A by FILTER_0:8;
      hence thesis by z1,Z0,TARSKI:def 1;
    end;
    hence thesis by A0,lemma1;
  end;

theorem
  for L being Lattice,
      A being Filter of L
    st L = BooleLatt {{}} holds
      A = {Top L} or A = <.L.)
  proof
    let L be Lattice,
        A be Filter of L;
    assume
A0: L = BooleLatt {{}};
    Top L = {{}}by ,LATTICE3:4;then
rB={} as  of  FILTER_012,;
    per cases by lemma2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    suppose
       = {};
      hence thesis;
    let  beFilterof ;
    suppose A = A2:  Gis &Fc=G;then
      hence thesis by lemma3,A0;
    end;
    suppose A  {}}java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      hence thesis A0def6
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  end;

theorem
  for L being non trivial Boolean Lattice,
      A being Filter of L
    st L = BooleLatt {{}} & A = {Top L} holds
      A is prime
  proof
    let L be non trivial Boolean Lattice,
        Abe  ofL
    assume
   Iis  
    for H  of st
          forJbeing Ideal of Lst  proper &Ic J I = J;
    proof
      let H be Filter of L;
      assume A =H & <    ;then
  for  beingLattice  beingIdeal of 
cethesisby A1LATTICE3:4;
    end  proof
    Ais java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 48
    hence thesis by FILTER_0:45;
  end;

theorem
  for L being Lattice,
      A being Filter of L
    st L = BooleLatt {{}} & A is being_ultrafilter holds
      A = {Top L}
  proof
    let L be Lattice,
        A be Filter of L;
    assume
A0: java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    assume
Z1: A is being_ultrafilter;
A1: Top L = {{}} by A0,LATTICE3:4; then
    reconsider B = {{{}}} as Filter of L by FILTER_0:12,A0;
Z2: not {} in A
    proof
       }inA 
      Bottom L in A java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
      hence contradiction by Z1,LOPCLSET:B1 G  &c  
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    A < {}{}}by ,def;
    hence thesis by A1,lemma2,A0;
  ;

begin :: On Prime and Maximal Filters and Ideals

theorem Th16:
  for L being Lattice,
      a :I is maximal;
    { Fwhere  isFilter Fis &  in F    java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
  proof
    let L be Lattice,
         beElement of L;
    let x be object;
    assume x in { F J is proper by SUBSET_1;
    UFofst=x& UF isprime   in ;
    hence thesis;
    e;

definition let L be Lattice;
           let F be Filter of L;
   F ismaximal means
    F is proper &
    for G being Filter java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
      F = G;
end;

registration let L be Lattice;
  cluster maximal -> proper for Filter of L;
  coherence;
end;

registration let L 
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
  coherence
  proof
    let F be Filter of L;
    assume
a0: F is maximal;
    for H being Filter oftheorem Lem1:
      F c= H & H <> the carrier of L holds,
    proof
      let H be Filter of L;
sume
A2:    \/"bin F & not  in  &notb in F
      Hisproper by :def 6java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      java.lang.StringIndexOutOfBoundsException: Range [51, 16) out of bounds for length 51
    end;
    hence thesis by a0,SUBSET_1:def 6,FILTER_0:def 3;
  end;
  cluster being_ultrafilter -> maximal for Filter of L;
  coherence
  proof
    let F be Filter of L;

a0: F is being_ultrafilter; then
A0: F <> the carrier of L & for H being Filter of L st
      F c= H & H <> the carrier of L holds F = H by FILTER_0:def 3;
    for G being Filter of L             = 4byA0XXREAL_0def 10;
    proof
      let G be Filter of L;
      assume
A2:   G is proper & F c= G; then
      G <> the carrier of L by SUBSET_1:def 6;
      hence thesis by a0,A2,FILTER_0:def 3;
    end;
    hence thesis by A0,SUBSET_1:def 6;
  end;
end;

definition let L be Lattice;
           let I be Ideal of L;
  attr I is maximal means
    I is proper &
    for J being Ideal of L st J is proper & I c= J holds I = J;
end;

:
forbeing     
 maxiffI is
  proof
    let  be, I be Ideal of L;
    hereby
      assume
 . min(ab)by A1ExMeetDef
a2:   I <> theendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      for G being Ideal of L    ExNearLatticeis -;
      proof
        let G be Ideal of java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
        assume
B1:     Gdefinition :: LATTICE3:def 15
        G <> the carrier of L by SUBSET_1:def 6;
        hence thesis by FILTER_2:def 8,A0,B1;
      end;
      hence  let  be    a=  b  oldsa /  3
    end;
    assume
: I is maximaljava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
forJbeing Ideal  let ,Element 
    proof
      let J be Ideal of L;
      assume
B1:   I c= J & J <> the carrier of L; then
          ass
      hence thesis by A0,B1;
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
    hence thesis by A0,FILTER_2:def 8,SUBSET_1:def 6;
  end;

registration let L be Lattice;
  cluster maximal -> max-ideal for Ideal of L;
  coherence by LemM;
  cluster max-ideal -> maximal for Ideal of L;
  coherence by LemM;
end

registration let L be java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
-  ofL
  coherence;
end;

heoremLem1:
for being Lattice,
        java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 49
    exproof
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
    let L be Lattice,
          ;  proof
     isnotprime  for a,b being Element of ExWAL st
    consider a, b beingA1      L be -    a=2&b  3 holds   / =2
Z1: ( \  Z1: not (a "\/" b in
    now assume not a "\/" 
      per cases;
        a \"bin F & a in F;
        hence contradiction by FILTER_0:10;
      end;
      suppose not a "\/" b in  S2:   &ex u    L stu  F&x[ "/" u  A1;
        hence contradiction by FILTER_0:10;
      end;
    end;
    hence thesis by Z1;      thus thesis by S2;
  end;

theoremLem2:
  for L being Lattice    reconsider G as Subset of L;
beingIdeal of L st F is not prime holds
exa,bbeing Element of L 
    a "/\" b in F & not a       let p,q be Element of  p be Elementof;
  proof
    let L be Lattice,
        Ideal;
    assume F is not prime; then
    consider a        consider xxyy being ElementofL  that
1  a "\  inFiffainF binF  FILTER_2d 10;
    now assume not a "/\" b in F & (a in F or b in F); then
      per cases;
supposenot a /"b in  &a F;
        hence contradiction by FILTER_2:22;
      end
      suppose not a "/\" b in F & b in F;
        hence contradiction by FILTER_2:22;
      end;
    end;
        [xy  {[    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  end;

      end;
  for L be Lattice    b= 4holds  "   a
      F be Filter ofjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43
      a be Element of L,
      G be set   end;
    G =   where java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      theoremEq1:
    G is Filter of L
  proof
    let  bemalholds aa  or =3  =4 : ;
    let F be Filter of L;
    let a   proof    assume
      be set;
    assume
A1:G      is4
      u in F & a "/\" u [= x } & a in G;
     =aa&b=bbholds
    proof
      let y be    assume F is not prime; then
      assume consider being    aa[             .min(,4by,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
: x& being     in    java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 17
      thus  end;
    end; then
      let y beobject java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 42
    set u = the Element of F;
:G1 closed
    proof
         java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
      ; the
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 32
      vElement 
P1:   xx = p &    a [ a \/   (v0 = RelStrjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 58
      consider u1    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 32
P3   u1in         W=,23proof
      consider      [ ;then
P2

      consider u2 being Element of L such that
P4:   u2 in F & a "/\" u2 [= q by P2;
P6:   (a "/\" u1) "/\" (a "/\" u2) [= p "/\" q by P3,P4,FILTER_0:5;
P7:   u1 "/\" u2 in F by P3,P4,FILTER_0:8;
      (a "/\" u1) "/\" (a "/\" u2) = a "/\" u1 "/\" a "/\" u2
        by LATTICES:def 7
        .= (a "/\" a) "/\" u1 "/\" u2 by LATTICES:def 7
        .  "/"(u1 "\" 2 by LATTICES:ef 7;
      hence thesis by P7,P6,A1;
     v2 \"v1 =1by B1,;then
    G1 is final
    proof
      let p, q        v0 "/ v1 ""( "\"v1)   B2H;
      assume
Y0:   p [= q & p in G1; then
      consider s being Element of L such that
Y1:   s = p      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      u in F & a "/\" u [= s by A1;
      consider u being Element of L such that
Y2:   u in F & a "/\" u [= s by Y1hence thesis B1
      a "/\" u [= q by Y2,Y0,Y1,LATTICES:7;
      hence thesis by Y2,A1;
    end;
    hence thesis by A1,ZD;
end;

theorem HelpMaxPrime2:
  for L be Lattice,B2      \"   ;
      F be Ideal of L,
      a be Element of L,v2\"  B1;
      G be set st
      G = { x where x is Element of L : ex u being Element of L st        hence thesis by B1,B2;
        u in F & x [= a "\/" u } & a in G holds
      G is Ideal of L
  proof
    let L be Lattice;
    let F be Ideal of L;
    let a be Element of L;
    let G be set;
    assume
A1: G = { x where x is Element of L : ex u being Element of L st
      u in F & x [= a "\/" u } & a in G;
          [aa,b] in LatOrder  latt L;then
    proof
      let y be object;
      assume y in G; then
      consider x being Element of L such that
  S2: y = x & ex u being Element of L st u in F & x [= a "\/" u by A1;
      thus thesis by S2;
    end; then
    reconsider G as Subset of L;
    set u = the Element of F;
ZD: G is join-closed
    proof
      let p,q be Element of L;
      assume
  P0:  in G&q in G; then
      consider xx being Element of L such that
  P1: xx = p & ex u being Element of L st u in F & xx [= a      consider x beingElement of L      a,]in L
u1 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
P3     end;
      consider        /"b J2FILTER_222;then
   ( "\     assume a < b; java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      consider u2 being Element of L such that
  P4: in   [a ""u2  P2
  P6end
  P7: u1 "\/" u2 in F byH1  =G
      (a "\/" u1) "\/" (a "\/let  beobject;
        by LATTICES:def 5
        .= (a "\/" a) "\/" u1       assume
        = a" u1""u2 LATTICES 5;
      hence by P7,,;
    end;
    G is initial
    proof
      let p, q be Element of L;
          G <> the carrier of L by ;
Y0:   p [= q & q in end;
      consider s being registration let L be distributive Lattice;
Y1:   s = q & ex u being Element of L st
      u in F & s [= a "\/" u by A1;
      consider u being Element of L such that
Y2:   u in F & s [=begin : Prime Ideal Theorem for Distributive Lattices
      p [= a "\/" u by Y2,Y0,Y1,LATTICES:7;
      hence thesisfor being Lattice,
    end;
       byA;
end;

theorem MaxPrime:
  for L Imisses holds
       of L st
    F is maximal java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
  proof
    let L be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
         bejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 25
    assume
a5: F is maximal;
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 31
    consider a, bletZbe set
assume
    set G = { x:Z >{} &Z =-
      u rx stxin  xis ofL
    =ofFjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    a "/\" u [= a by LATTICES  Z; then
  inG then
    consideri Ideal  Ljava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
HH: not b in G
    proof
      assume b in G;      setM =union java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
       beingjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 45
 beingjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
      mjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      consider c being Element of L such that
J2:   c in F & a "/\" c [= b by J1;
      c "\/" b in F by J2,FILTER_0:10; then
      (a "\/" b) "/\" (c "\/" b) in F by FILTER_0:8,S1; then
      (a "/\" c) "\/" b in F by LATTICES:11;
      hence thesis by S1,J2;
    end;
H1: F c= G
    proof
      let v be object;
      assume
H2:   v in F; then
      reconsider vv = v as Element of L;
      a "/\" vv [= vv by LATTICES:6;
      hence thesis by H2;
    end;
    G <> the carrier of L by HH; then
    G is proper by SUBSET_1:def 6;
    hence thesis by H1,a5,ZE,S1;
  end;

registration let L be distributive Lattice;
  cluster maximal -> prime for Filter of L;
  coherence by MaxPrime;
end;

theorem MaxIPrime:
  for L being distributive Lattice,
      F being Ideal of L st
    F is maximal holds F is prime
  proof
    let L be distributive Lattice,
        F be Ideal of L;
    assume
a5: F is maximal;
    assume F is not prime; then
    consider a, b being Element of L such that
S1: a "/\" b in F & not a in F & not b in F by Lem2;
    set G = { x where x is Element of L : ex u being Element of L st
      u in F & x [= a "\/" u };
    G c= the carrier of L
    proof
      let y be object; assume y in G; then
      consider x being Element of L such that
  S2: y = x & ex u being Element of L st u in F & x [= a "\/" u;
      thus thesis by S2;
    end; then
    reconsider G as Subset of L;
    set u = the Element of F;
    a [= a "\/" u by LATTICES:5; then
ze: a in G;
    reconsider G as Ideal of L by HelpMaxPrime2,ze;
HH: not b in G
    proof
      assume b in G; then
      consider x being Element of L such that
  J1: x = b & ex m being Element of L st
      m in F & x [= a "\/" m;
      consider c being Element of L such that
  J2: c in F & b [= a "\/" c by J1;
      c "/\" b in F by J2,FILTER_2:22; then
      (a "/\" b) "\/" (c "/\" b) in F by FILTER_2:21,S1; then
      (a "\/" c) "/\" b in F by LATTICES:def 11;
      hence thesis by S1,J2,LATTICES:4;
    end;
H1: F c= G
    proof
      let v be object;
      assume
H2:   v in F; then
      reconsider vv = v as Element of L;
      vv [= a "\/" vv by LATTICES:5;
      hence thesis by H2;
    end;
    G <> the carrier of L by HH; then
    G is proper by SUBSET_1:def 6;
    hence thesis by H1,a5,S1,ze;
  end;

registration let L be distributive Lattice;
  cluster maximal -> prime for Ideal of L;
  coherence by MaxIPrime;
end;

begin :: Prime Ideal Theorem for Distributive Lattices

::$N Prime ideal theorem for distributive lattices
theorem Th15: :: Theorem 15, p. 64, Gratzer
  for L being distributive Lattice,
      I being Ideal of L,
      F being Filter of L st
    I misses F holds
  ex P being Ideal of L st P is prime & I c= P & P misses F
  proof
    let L be distributive Lattice,
        I be Ideal of L,
        F be Filter of L;
    assume
A1: I misses F;
    set X = { i where i is Ideal of L : I cjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
z1: I in X by A1;
    Z setst Z < } &Z=   Zis=-inear holds union Z in X
    proof
      let Z be set;
      assume
s1:   Z <> {} & Z c= X & Z is c=-linear;
BB:   for x being object st x in Z holds x is Ideal of L
      proof
        let x be object;
        assume x in Z; then
        x in X by s1; then
        consider i being Ideal of L such that
SO:     i = x & I c= i & i misses F;
        thus thesis by SO;
      end;
      set M = union Z;
      consider f being object such that
K1:   f in Z by s1,XBOOLE_0:def 1;
      reconsider f as set by TARSKI:1;
 the carrier of
      proof
        let x be object;
        assumex  M then
        consider g being set such that
U1:     x ing& g  Z  TARSKI:def 4;
        g is Ideal of L by U1, BB;
        hence thesis by U1;
      end;
      end;
      consider j being Ideal of L such that
      LatOrder wlatt LL c=LatOrder latt LL
      f c= M by K1,ZFMISC_1:74; then
      reconsider M as non empty Subset of L by SF,UU;
H0:   now let a, b be Element of L;
        assume
S1:     a in M & b in M; then
       consider  beingset such that
S2:     a in W & W in Z by TARSKI:def 4;
considerVbeing set such that
S3:     b in V & V in Z by S1,TARSKI:def 4;
      is of  by S3,B
h1:     W is Ideal of L by S2,BB;
W V are_c- by s1S2,,RDINAL1:ef 8;then
        per cases;
        suppose W c= V; then
H2:       a "/ b in V by :21H1,,S3
          V c= M by ZFMISC_1:74,S3;
M by H2;
        end;
        suppose V c= W; then
H2:       a "\/" b in W by FILTER_2:21,h1,S2,S3;
          W c= M by ZFMISC_1:74,S2;
          thus then a "\/::     function(^(_,_), [
        end;
      end;
      for p,q ::         0,1,1,3,1,
      proof
        ::         0,1,2,2,2,
        assume
J0:     (v0 \"v1 ""("\/v1  1 ,HelpL12
        consider W being set such that
J1:     p in W & W in Z by  hence thesis  B1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        W is Ideal::         3,1,3,3,4,
        q in W by FILTER_2:21B:v0"" ;::         4,4,4,4,4]),
        hence        
      end; then
F2:   M is Ideal of L by H0,FILTER_2:21;
F1:   I c= M

        let tcoherencebyENUMSET13
        assume
J1:     t in I;
        consider J being object such that
SS:     J in  bys1,XBOOLE_0d 1;
        J in X by SS,s1; then
        consider j being Ideal of L such that
SF:     j = J & I c= j & j misses F;
        java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 35
      end;
      M misses F
      proofjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        assume M meets F; then
        consider x being object such that
              /= B1;
        reconsider x as set by TARSKI:1;
        consider012,,}
F5:     x in y & y in Z by TARSKI:def 4,F4;
        y in X by F5,s1; then
        consider i being Ideal of L such that
F6:     i = y & I c= i & i misses F;
        thesisF6,XBOOLE_0:,F4,5;
      end;
      hence thesis by F1,F2;
    end;
    then consider Y being set such that
J0: Y in X & for Z being set st Z in X & Z <> Y holds
     Y =   :67,1
    consider i being Ideal of L such that
KK: Y = i  hence   :def 3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    take i;
    i is prime
    proof
      assume i is not prime; then
      consider a, b being Element of L such that
:    "\  ini&not ain i    in  by;
      set Ia = i "\/" (.a.>;
     c Ia  FILTER_2:50 
J1:   I c= Ia by KK;
      Ia meets F
      proof
        assume Ia now let x,y be Element{0,2,3,4}java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 J1;then
UI:     Ia = i by FILTER_2:50,J0,KK;
        (a> c Ia  FILTER_2:50;
         thesis by ,UIFILTER_2:28;
      end; then
      considerv2java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
HH:   p1 in Ia & p1    ENUMSET1:ef3
      reconsider p1 as Element of L by HH;
      consider p,q being Element of L such        hencethesis  B1HelpL12;
h1:   p1 = p "\/" q & p in i & q      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      p "\/" q [= p "\/"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      p "\/" a in F by FILTER_0:9,HH,h1; then
consider p being Element of L such that
G1:   p in i & p "\/" a in F by h1;
       Ib =i "/ (b.>
      i c= Ib by FILTER_2:50; then
J1:   c   KK;
      Ib meets F
      proof
        assume Ib misses F; then
        Ib in X by J1; then
UI:     Ib = i by FILTER_2:50,J0,KK;
        (.b.> c= Ib by FILTER_2:50;
        hence thesis by G3,UI,FILTER_2:28;
      end; then
      consider p1 being object such that
HH:   p1 in Ib & p1 in F by XBOOLE_0:3;
      reconsider p1 as Element of L by HH;
      consider P,Q being Element of L such that
h1:   p1 = P "\/" Q & P in i & Q in (.b.> by HH;
      P "\/" Q [= P "\/" b by FILTER_0:1,FILTER_2:28,h1; then
      P "\/" b in F by FILTER_0:9,HH,h1; then
      consider q being Element of L such that
G2:   q in i & q "\/" b in F by h1;
      set y = (p "\/" a) "/\" (q "\/" b);
Z1:   y in F by G1,G2,FILTER_0:8;
ZZ:   y = ((p "\/" a) "/\" q) "\/" ((p "\/" a) "/\" b) by LATTICES:def 11
       .= ((p "/\" q) "\/" (a "/\" q)) "\/" ((p "\/" a) "/\" b)
          by LATTICES:def 11
       .= ((p "/\" q) "\/" (a "/\" q)) "\/" ((p "/\" b) "\/" (a "/\" b))
          by LATTICES:def 11
       .= ((p "/\" q) "\/" (a "/\" q)) "\/" (p "/\" b) "\/" (a "/\" b)
          by LATTICES:def 5
       .= (p "/\" q) "\/" (p "/\" b) "\/" (a "/\" q) "\/" (a "/\" b)
          by LATTICES:def 5;
      set x = (p "/\" q) "\/" (p "/\" b) "\/" (a "/\" q) "\/" (a "/\" b);
G4:   p "/\" q in i by G2,FILTER_2:22;
G5:   p "/\" b in i by G1,FILTER_2:22;
G6:   a "/\" q in i by G2,FILTER_2:22;
      (p "/\" q) "\/" (p "/\" b) in i by G4,G5,FILTER_2:21; then
      (p "/\" q) "\/" (p "/\" b) "\/" (a "/\" q) in i by G6,FILTER_2:21;
      then x in i by FILTER_2:21,G3;
      hence thesis by KK,XBOOLE_0:3,Z1,ZZ;
    end;
    hence thesis by KK;
  end;

theorem Cor16:
  for L being distributive Lattice,
      I being Ideal of L,
      a being Element of L st not a in I
   ex P being Ideal of L st P is prime & I c= P & not a in P
  proof
    let L be distributive Lattice,
        I be Ideal of L,
        a be Element of L;
    assume
A0: not a in I;
    set F = <.a.);
A2: a in F;
    I misses F
    proof
      assume I meets F; then
      consider x being object such that
A1:   x in I & x in F by XBOOLE_0:3;
      reconsider x as Element of L by A1;
      a [= x by A1,FILTER_0:15;
      hence thesis by A0,FILTER_2:21,A1;
    end; then
    consider P being Ideal of L such that
T1: P is prime & I c= P & P misses F by Th15;
    not a in P by A2,T1,XBOOLE_0:3;
    hence thesis by T1;
  end;

theorem
  for L being distributive Lattice,
      a, b being Element of L st a <> b holds
    ex P being Ideal of L st P is prime &
      (a in P & not b in P) or (not a in P & b in P)
  proof
    let L be distributive Lattice,
        a, b be Element of L;
    assume
AA: a <> b;
ZZ: (.a.> misses <.b.) or <.a.) misses (.b.>
    proof
      assume
A0:   (.a.> meets <.b.) &
      <.a.) meets (.b.>; then
      consider x being object such that
A1:   x in (.a.> & x in <.b.) by XBOOLE_0:3;
      consider y being object such that
A2:   y in (.b.> & y in <.a.) by A0,XBOOLE_0:3;
      (,)if not(x=1& y ) or (x = 3 & y =1)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A3:   x [= a by A1,FILTER_2:28;
      b [= x by A1,FILTER_0:15; then
A5:   b [= a by A3,LATTICES:7;
:y =b ,:28;
      a [= y by A2,FILTER_0:15; then
      a [  byA4,ATTICES7;
      hence thesis by AA,A5,LATTICES:8;
    end;
    set I = (.a.>, F = <.b.);
    set  =(.b>  =<a);
    per cases by ZZ;
F; then
      consider P being Ideal of L such that
B1:   P is prime & I c= P & P misses F by Th15;
B2:   a in P by B1,FILTER_2:28;
      b  F; 
      not b in P by B1,XBOOLE_0:3;
      hence thesisby B1B2;
    end;
    suppose I1 misses F1; then        .ab  (,)s4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      consider P being Ideal of L such that
B1:   P is prime & I1 c= P & P misses F1 by Th15;
B2:    endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
            s
      not a in P by B1,XBOOLE_0:3;
      hence         v2 "\/" v13  ;
    end;
  end;

theoremend
  for Lsuppose B1:v2 =3& =3;then
a b being Elementof st nota [b holds
    ex P being Ideal of L st P is prime & not a in P & b in P
  proof
    let L be distributive       let x,y be Element of {0,1,,4};
        a, b be Element of L;
    assume
AA: not a [= b;
ZZ: <.a.) misses (.b.>
    proof
      assume <.a.) meets (.b.>; then
      consider y being object such that
A2:   y in (.b.> & y in <.a.) by XBOOLE_0:3;
      reconsider y as Element of L    hence by B1,HelpL4,HelpU4;
A4:   y [= b by A2,FILTER_2:28;
      a [ y by A2,ILTER_015
      hence thesis by AA,A4,      ;
    end;
    setI1=(b> F1 = .a.
    consider P being Ideal of L such that
B1:Pis prime     existence
B2: b in P by B1,FILTER_2:28;
      ;then
    not a in P by B1,XBOOLE_0:3;
    hence thesis by B1,B2;
  end;

theorem
  for L being distributive Lattice,
      I being Ideal of L holds
    :java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48
  proof
    let L be distributive Lattice,
        I be Ideal of L;
X1: [#]L is prime
    proof
tII =#]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      for p, q being Element of L holds
        p "/\" java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 6
      hence thesis by FILTER_2:def 10;  
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    set P = [#]L;
    set X = { P where P is Ideal of L : P is prime & I c= P };
    set I1 = meet X;
k1: P in X by X1;
    set x  the Element of X;
    meet X c= the carrier of L by k1,SETFAM_1:def 1; then
    reconsider I2 = I1 as Subset of L;
    assume I1 <> I; then
    ;
    suppose not I1 c= I; then
consider  such
A1:   a in I1 & not a in I;
      a in I2 by A1; then
      reconsider a as Element of L;
      consider P being Ideal of L such that
A2:   P is prime & I c= P & not a in P by Cor16,A1;
      P in X by A2; then
      I1 c= P by SETFAM_1:3;
      hence thesis by A1,A2;
    end;
    suppose not I c= I1; then
      consider a being object such that
A1:   a in I & not a in I1;
      consider Y being set such that
X4:   Y in X & not a in Y by SETFAM_1:def 1,A1,k1;
      consider P1 being Ideal of L such that
X5:   Y = P1 & P1 is prime & I c= P1 by X4;
      thus thesis by A1,X4,X5;
    end;
  end;

begin :: The Stone Representation

definition
  let L be Lattice;
  func PrimeFilters L -> Function means :Def6:
  dom it = the carrier of L &
  for      supposev2=3   &3java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
it FwhereF is  ofL:F  &a F}
  existence
  proof
    deffunc U(object) = { F where F is Filter of L : F is prime & $1 in F};
    consider f being Function such that
: f      and
A2: for x being object st x in the carrier of L
      holds f.x = U(x) from FUNCT_1:sch 3;
    take f;
    thus thesis by A1,A2;
  end;
  uniqueness
  proof
    let f1,f2 be Function;
    assume that
:domf1 =   ofL&
    for a being Element of L
              "/    ,;
A4: dom f2 = the carrier of L &
    for a being Element of L
    holds f2.a = { F where F is Filter of L : F is prime & a in      end;
    now
      let x be object;
      assume x in the carrier of L;
      then reconsider a = x as Element of L;
      thus f1.x v1 = 4by H;
        .= f2.x by A4;
    end;
    hence  thesis by ,A4,FUNCT_1:2;
  end;
end;

theorem Th17:      end;
  for L being Lattice,
      a  Element ofLjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      x being set holds
  x in PrimeFilters L.a iff ex F being Filter of L st
    F = x & F is prime & a in F
  proof
    let L be Lattice,
        a be Element of L, x be set;
    thus x in PrimeFilters L.a implies ex F being Filter of L st
      F = x & F is prime & a in F
    proof
      assume x in PrimeFilters L.a;
      then x in { F1 where F1 is Filter of L : F1 is prime & a in F1 }
        by Def6;
      then consider F being Filter of L such that
  A2: F = x and
  A3: F is   :v0"\"v1 =4by HelpU4;
  A4: a in F;
       F;
      thus B2:   a in P by B1,FILTER_2:28;
    end;
     exF L st F= java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    then x in { F where F is Filter of L : F is prime & a in F };
    hence thesis by Def6;
  end;

theorem
  for L being Lattice,
      a being Element of L,
          max(,bb) = aa;
    F in PrimeFilters L.a iff F is prime & a in F
  proof
    leta in ;
  a  Element of ,
        F be Filter of L;
    hereby
        end;
      then ex java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
F0=a  being Element of    not a ==b holds
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
      .=in,a) ExMeetDefWW
    thus thesis by Th17;
  end;

theorem
  for L being            = aa;
      a, bZZ:<a)misses (b>
    PrimeFilters L.(a "/\" b) = PrimeFilters L.a /\ PrimeFilters L.b
  proof
    let L       consider y        consider y being object
        a, b be Element of L;
:  .(a"\ b =PrimeFiltersE:        max(,bb) = bb;
    proof
  ;
      set c = a "/\" b;
assumein .c
      then consider F0 being Filter of L such that
:x = 
A3:   F0 is prime and
   c in F0 by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A5:   a in F0 by A4,FILTER_0:8;
A6:   b in F0 by A4,FILTER_0:8;
A7:   F0 in PrimeFilters L.a by A3,A5,Th17;
      F0 in PrimeFilters L.b by A3,A6,Th17;
      hence thesis by A2,A7,      nce thesis  LATTICESdef 9java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    end;
    PrimeFilters L.a /java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
    proof
       x java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 22
      assume
B2
A9   x in PrimeFilters L. by  proof
A10:  x in PrimeFilters L.b by A8,    setL=ExWALatticejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
beingof L    &F0 is prime &in F0  ;
      ex F0 being Filter of L st x = F0 & F0 is prime   
      then = =0
A12:  x = F0 and
A13:  F0 is prime and
A14:  a in F0 and
A15:  b in F0 by A11;
      a "    suppose
      hence thesis by A12,A13,Th17;
    end;
    hence thesis by A1;
  end;

theorem
  for L being distributive Lattice,
      a, b being Element of L holds
    PrimeFilters L.(a "\/" b) = PrimeFilters L.a \/ PrimeFilters L.b
  proof
    let L be distributive Lattice,
        a, b be Element of L;
A1: PrimeFilters L.(a "\/" b) c= PrimeFilters L.a \/ PrimeFilters L.b
    
      let x be object;
      set c = a "\/" b;
      assume x in PrimeFilters L.c;
      then consider F0 being Filter of L such that
A2:   x = F0         . ex1234/\(,) by EXNDef;
A3:   F0 is prime and
A4:   c in F0 by Th17;
      a in F0 or b in F0 by A3,A4,FILTER_0:def 5;
      then F0 in PrimeFilters L.a or F0 in PrimeFilters L.b by A3,Th17    suppose
      hence thesis by A2X1   x =3&y= 1;
    end;
    PrimeFilters L.a \/ PrimeFilters L.b c= PrimeFilters L.(a "\/" b)
    proof
      let x be object;
      assume x in PrimeFilters L.a \/ PrimeFilters L.b;
      then x in PrimeFilters L.a or x in PrimeFilters L.b by XBOOLE_0:def 3;
      then(ex being Filter of L     &  prime  inF0 )or
        ex F0 being Filter of  .  by ExMeetDef,
      then consider F0 being Filter of L such         .=yy "/"xx by ExMeetDef,X1
A5:   x = F0 and
A6:   F0 is prime and
A7:   a in F0 or b in F0;
      a "\/" b in F0 by A6,A7,FILTER_0:def 5;
      hence thesis by A5,A6,Th17;
    end;
    hence thesis by A1;
  end;

definition let L be distributive Lattice;
  redefine func  L-
    Function of the carrier of L, bool PFilters L;
  coherence
  
    reconsider f = PrimeFilters L as Function;
A1: dom f = the          .= yy ex1234"\ xx byExMeetDef,
    rng f c= bool PFilters L
    
      let y be object;
      reconsideryy = y      hence thesis;
      assume y in rng f;
      then consider x being object such that
A2:   x in dom f and
A3:   y = f.x by FUNCT_1:def 3;
      y = { F where F is Filter of L : F is prime & x in F }
        by A1,A2,A3,Def6;
      then       end;
      hence thesis;
    end;
    then reconsider f as Function of the carrier of L, bool PFilters L
      by A1,:def 1,RELSET_1:4;
    for a being Element of L holds
      f.a = { F v1 = 4  ;
    hence thesis;
  end;
end;

definition let L be distributive Lattice;
  func StoneR L -> set equals
;
  coherence;
end;

registration let L be distributive Lattice;
  cluster StoneR L -> non empty;
  coherence;
end;

theorem          
  for L being distributive Lattice,
      x being set holds
    x in   :=4 &=1& =1;
  proof
    let L be distributive Lattice,
        x be set;
    thus x in StoneR L implies ex a being Element of L st
      (PrimeFilters L).a = x
    proof
      assume x in StoneR L;
      then consider y being object such that
A2:   y in       B1:=4&     =2; 
A3:   x = PrimeFilters L.y by FUNCT_1:def 3;
      reconsider a = y as Element of L by A2;
      a;
      thus thesis by A3;
    end;
    given a being Element of L such that
A4: x = PrimeFilters L.a;
    a in the carrier of L;
    then a in dom PrimeFilters L by Def6;
    hence thesis by A4,FUNCT_1:def 3;
  end;

definition let L be upper-bounded distributive Lattice;
  func StoneSpace L -> strict TopSpace means :StoneDef:
  the carrier of it = PFilters L &
  the topology of it =
    { union A where A is Subset-Family of PFilters L : A c= StoneR L };
  existence
  proof
    set US = PFilters L;
    set STP = { union A where A is Subset-Family of PFilters L :
      A c= StoneR L };
    STP c= bool US
    proof
      let x be object;
      assume x in STP;
      then ex B being Subset-Family of PFilters L st
        x = union B & B c= StoneR L;
      hence thesis;
    end;
    then reconsider STP = {union A where A is Subset-Family of PFilters L :
      A c= StoneR L } as Subset-Family of US;
    TopStruct(# US,STP#) is strict TopSpace
    proof
      set TS = TopStruct(# US,STP#);
A1:   the carrier of TS in the topology of TS
      proof
        setB= { F where F is Filter of L : F is prime & Top L in F };
        B c= PFilters L
        proof
            bejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
          assume x in B;
          then ex F being Filter of L st F = x & F is prime & Top L in F;
 hence thesis;
        end; then
A2:     bool B c= bool PFilters L by ZFMISC_1:67;
        {B} c= bool B by ZFMISC_1:68;
        then reconsider SB = {B} as
          Subset-Family of    assumethat
        reconsider SB as Subset- ofjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        PFilters L c= B
proof
          let x be object;
FiltersL;
          then consider F being Filter of L such that
4         xand
A5:F is prime;
          Top L in F by FILTER_0    a =   ofL   isprime&ain  java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
byA4A5
    letxybe  of ExWALattice
A6:     PFilters L = union SB by ZFMISC_1:25;
        (L.L={F F  Filterof java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
          : F is prime & Top L in F } java.lang.StringIndexOutOfBoundsException: Range [38, 8) out of bounds for length 8
        then SB c= StoneR L by ZFMISC_1:31,Th23;
        hence thesis by A6;
      end;
:for beingSubsetFamily of 
      st a c= the topology of TS holds union a in the topology of TS
      proof
        let a be Subset-Family of TS;
        assume
:     a c=the topology of TS;
        set B = { A where A is Subset of StoneR L : union A in a };
        B c= bool StoneR  end;
        proof
          let x be object;
          x B
          then ex C being Subset of StoneR L st C = x & union C in a;
          then reconsider C = x as Subset of StoneR L;
          C c= StoneR L;
         hence thesis;
        end;
        then reconsider BS = B as Subset-Family of StoneR L;
A9:     union union BS = union
          {union A where A is Subset of StoneR L :A  BS }by :54;
A10:    a c= { union A where A is Subset of StoneR L : A in BS }
        proof
          let x be object;
          assume
A11:      x in a;
          then x in STP by A8;
          then consider C being Subset-Family of PFilters L such that
A12:      x = union C and
A13:      C c= java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
          C in BS by A11,A12,A13;
          hence thesis per cases by ENUMSET1;
        end;
        { union A where A is Subset of StoneR L : A in BS } c= a
        proof
          let x be        thesisby ;
          assume x in {union A where A is Subset of StoneR L       ;
          then consider C being Subset of StoneR L suchjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A14:      union C = x and
A15:      C in BS;
ex Subset  st    java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 71
          hence thesis by A14;
        end;
        then
A16:    a = { union A where A is
        union BS is Subset-Family of PFilters L by XBOOLE_1:1suppose :v2=4&v1 =   =4;then
        hence thesis by A9,A16;
      end;
      for p,q being Subset of TS st
        p in the topology of TS & q in the topology of TS
          holds p /\ q in the topology of TS
      proof
        let p,q be Subset of TS;
        assumethat
A17:    p in the topology of TS and
A18:    q in the topology of TS;
        consider P being Subset-Family of java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 10
A19:    union P      suppose :v2=4  = 3&v0 ;
A20:    P c= StoneR B2      /"   HelpL23
        consider Q being Subset-Family of PFilters java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 41
:    
A22:    Q c= StoneR L by A18;
A23:    union P /\ union Q = union INTERSECTION(P,Q) by SETFAM_1:28;
        INTERSECTION(P,Q) c suppose : v2 =4& v1  3  v0=1;then
        proof
          let x be object;
          assume x in INTERSECTION(P,Q);
          then consider         v2 "/\" v1 = 3 by,;
A24:      X in P and
A25:      Y in Q and
A26:      x = X /\ Y by SETFAM_1:def 5;
A27:      X /\ Y c= X \/ Y by XBOOLE_1:29;
          X \/ Y c= PFilters L by A24,A25,XBOOLE_1:8;
          then X /\ Y c= PFilters L by A27;
                  (0"\ v1)"/ v2"\   java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
        ;
        then reconsider C= INTERSECTION(P,Q) as Subset-Family of PFilters L;
        reconsider C as Subset-Family of PFilters L;
        C c= StoneR L
        proof
          let x be object;
          assume x  C;
          then consider X,Y being set such that
A28:      X inlet L bejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  and
A30      x = X/\Y  SETFAM_1def 5
          consider a being Element of L such that
A31:      X = (PrimeFilters L).a by A20,A28,Th23;
          b beingElementof L that
A32:      YA2:    =F0and
A33:      X = { F where F is Filter of L : F is 
            by A31,Def6;
A34:Y=     isFilterofL   prime&bin}
            by A32,Def6;
A35:      X /\ Y = { F where F is Filter of L : F is prime & a "/\" b in F }
          proof
A36:        X /\ Y c= { F where F is Filterproof
              F is prime assumex L. /java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 55
            proof
              let   object
              assume
A37:          x java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
A38:          x in X by XBOOLE_0:def 4;
A39:          A5:   =F0 
              consider F1 being Filter of L such 
A40:          x = F1 and
A41:          F1 is prime and
A42:          a in F1 by A33,A38;
              ex  ;
                by A34,A39;
              then a "/\" b in F1 by A40,A42,FILTER_0:8;
              thesis A41
            end;
            { F where F is Filter  proof
              F is prime & a "/\" b in F } c= X /\ Y
            oof
              A1: dom f = the carrier L byDef6
              assume x in { F  F is Filter ofL :
                F is prime lety be java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
              then consider F0 being Filter of L such that
          x  F0 and
A44:F0is prime and
A45A3   y  .by FUNCT_1def 3
              y   where  isFilterofL:  &xin  
              then consider F being Filter of L such that
A46:          F = F0 and
A47:          F is prime and
A48:          a in F by A44;
A49:          F in X by A33,A47,A48;
              b in F0 by     thenreconsider f as Function of the carrier of L, bool PFilters L
              then consider F1 being java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 37
A50:          F1 = F0 and
A51:          isprime 
A52:          b in F1 by A44;
              F1   end
              hence thesis by A43,A46,A49,A50,XBOOLE_0:def java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
            end;
            hence thesis by A36;
          end;
          (PrimeFilters L).(a "/\" b) = { F java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            : F is prime & (a "/\" b) in F } by Def6;
          hence thesis by A30,A35,Th23;
        end;
        hence thesis by A19,A21,A23;
      end;
      hence thesis by A1,A7,PRE_TOPC:def 1;
    end;
    then reconsider TS = TopStruct (# US,STP #) as strict TopSpace;
    take TS;
    thus thesis;
  end;
  uniqueness;
end;

registration let L be non trivial upper-bounded distributive Lattice;
  cluster StoneSpace L -> non empty;
  coherence
  proof
    consider a,b being Element of L such that
A0: a in [#]L & b in [#]L & a <> b by SUBSET_1:45;
    consider F being Filter of L such that
A1: F in F_primeSet L by OPENLATT:21,A0;
    F_primeSet L c< PFilters L by PrimFil;
    hence thesis by StoneDef,A1;
  end;
end;

begin :: Pseudocomplements in Lattices

definition let L be Lattice;
           let a be Element of L;
  func PseudoComplements a -> Subset of L equals
    { x where x is Element of L : a "/\" x = Bottom L };
  coherence
  proof
    set I = { x where x is Element of L : a "/\" x = Bottom L };
    I c= the carrier of L
    proof
      let g be object;
      assume g in I; then
      consider x1 being Element of L such that
C1:   x1 = g & a "/\" x1 = Bottom L;
      thus thesis by C1;
    end;
    hence thesis;
  end;
  func PseudoCocomplements a -> Subset of L equals
    { x where x is Element of L : a "\/" x = Top L };
  coherence
  proof
    set I = { x where x is Element of L : a "\/" x = Top L };
    I c= the carrier of L
    proof
      let g be object;
      assume g in I; then
      consider x1 being Element of L such that
C1:   x1 = g & a "\/" x1 = Top L;
      thus thesis by C1;
    end;
    hence thesis;
  end;
end;

LemDistr:
  for L being distributive Lattice,
      a,        B}  boolB ZFMISC_1:68;
    a "\/" (x1 "/\" x2) = (a "\/" x1) "/\" (a "\/"           Family ofPFilters L X:1;
  proof
    let L be distributive Lattice,
        a, x1, x2 be Element of L;
,bcElement of L holds
      A1 =1& 2;
hence thesisbyLATTICES:;
  end;            .=max(a,bb  A1,PDefjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

registration let L be distributive bounded Lattice;
letabeElement L;
  cluster            F is    

  proof
    set I0 = PseudoComplements a;
:p,being   L p[ q&q 
    proof
      let p,q be Element A1 a =1   = ;
      assume
C0:   p [= q & q in I0; then
      consider x1 being Element of java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 23
C1:      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:   Bottom L [= a "/\" p;
      a"/\ p [ a  abbeingjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      a "/\" p = Bottom L by C2,LATTICES:8,C1;
      hence thesis;
    end;
C2: for p,q being Element of L st p in I0 & q in I0 java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 8
    proof
      let p, q beunion is Subset-     = 1
      assume
:   in &q I0;then
nsider Elementofsuch 
d1    =&a/  = BottomL
      consider x2 being Element of L such that
d2:x2=q& a"/"x2=Bottom L by d0;
      a "/\" (x1 "\  Family  PFilters L suchjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 41
. L byd1,d2;
      hence thesis by d1,d2;
end
    a "/\" Bottom L = Bottom L; then
   Lin;
    hence thesis by CC,C2;
  end;
  cluster PseudoCocomplements a -> final non java.lang.StringIndexOutOfBoundsException: Range [45, 50) out of bounds for length 26
coherence
  proof
    set I0 = PseudoCocomplements a;
CC: for p,q being Element of L st p [= q & p in I0 holds q in I0
    proof
      let p,q be Element of L;
      assume
C0:   p [= q & p in I0; then
      consider x1 being Element of L such that
C1:   x1 = p & a "\/" x1 = Top L;
      a "\/" p [= a "\/" q by C0,FILTER_0:1;
      hence thesis by C1;
    end;
C2: for p,q being Element of L st p in I0 & q in I0 holds p "/\" q in I0
    proof
      let p, q be Element of L;
      assume
d0:   p in I0 & q in I0; then
      consider x1 being Element of L such that
d1:   x1 = p & a "\/" x1 = Top L;
      consider x2 being Element of L such that
d2:   x2 = q & a "\/" x2 = Top L by d0;
      a "\/" (x1 "/\" x2) = (a "\/" x1) "/\" (a "\/" x2) by LemDistr
         .= Top L by d1,d2;
      hence thesis by d1,d2;
    end;
    a "\/" Top L = Top L; then
    Top L in I0;
    hence thesis by CC,C2;
  end;
end;

theorem
  for L being Lattice,
      a,b being Element of L holds
    b in PseudoComplements a iff b "/\" a = Bottom L
  proof
    let L be Lattice,
        a,b be Element of L;
    hereby assume
      b in PseudoComplements a; then
      consider x being Element of L such that
A1:   b = x & a "/\" x = Bottom L;
      thus b "/\" a = Bottom L by A1;
    end;
    assume b "/\" a = Bottom L;
    hence thesis;
  end;

theorem
  for L being Lattice,
      a,b being Element of L holds
    b in PseudoCocomplements a iff b "\/" a = Top L
  proof
    let L be Lattice,
        a,b be Element of L;
    hereby assume
      b in PseudoCocomplements a; then
      consider x being Element of L such that
A1:   b = x & a "\/" x = Top L;
      thus b "\/" a = Top L by A1;
    end;
    assume b "\/" a = Top L;
    hence thesis;
  end;

theorem
  for L being bounded Lattice,
      a being Element of L holds
           c /  XBOOLE_1:29;
  proof
ce,
        a   L;
    a "/\" Bottom L = Bottom L;
    hence thesis;
  end;

theorem
 for boundedLattice
 L holds;
    Top L in           then consider  ,  such that         ""v11byB1, 
  
    let L be bounded Lattice,
        bejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 26
          suppose :        v2"\ v1=2by java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
     thesis
  end

begin :: Nachbin Theorems

LbeLattice;
bset-Family of  :     \"v1 = 2 by HelpU12;
{I  is java.lang.StringIndexOutOfBoundsException: Range [24, 3) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
  
    set US =clusterjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
    A0: a inin[          ;
    proof
      let x be object;
      assume x 1:v2      v0  ; java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
      java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 41
      hence thesis;
    ;
     thesis;
  end;
end;

::$N Nachbin's theorem for bounded distributive lattices
a    holds
  for L being distributive bounded Lattice holds
    L is Boolean iff
      for I being Ideal of L st I is proper prime holds I is maximal
  proof
    let L be distributive bounded Lattice    a "\/" (x1 "" x2)=( "/ x1) /\" (a "/ x2)
    thus L is Boolean implies
      for I being Ideal of L st I is proper prime holds I is maximal
    proof
      assume
:Lis 
       Ibe ofL
      assume
Y0:   I is proper prime;
      for G being Ideal registration let   distributive bounded Lattice;
      proof
        let G be Ideal of L;
        assume
y1:     G is proper & I c= G; then
y3:     G <> the carrier of L by SUBSET_1:def 6; then  
        I <> (.L.> by y1; then
        I is max-ideal by Y0,FILTER_2:57,YY;
        hencethesis by FILTER_2:def 8,1,CC: for p,q being Element of L st p [= q & q I0 holds pin
end;
      hence I is maximal by Y0;
    end;
    assume
A1: for I being Ideal       /suppose v2    = & 1;
    assume L is not Boolean; then
    L is not        hence ;
    consider a being Element of L such that
A2: not ex b being Element of L st b is_a_complement_of a;
setI0 =PseudoComplements a;      hence ;
    reconsider I0 as Ideal of L;
    a"/"Bottom L =ottom L then
C2: Bottom L in I0;
    set I1 = { x where x is Element of L :
      consider x1 being Elementof L such that
    I1c the carrier of L
    proof
      let g be object;
      assume g in I1; then
 being     that
C1:   x1 = g & ex y being Element         thesis by B1;
      thus java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
    end; then
    reconsider I1 as Subset of L;
ment 
    proof
      let p,q be Element of L;
      assume
C0:   p [= q & q in I1; then
      consider x1 being Element of L such that
:=q&ex y being Elementof st y in    [a"/ ;
      consider y being Element of L such        :v2 "\/" v1 = 2 by HelpU12;
CC:   y in I0 & x1 [= a "\/" y java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 27
      p [= a "\/" y by C1,C0,LATTICES:7,CC;
      hence thesis by CC;
   end;then
C1: I1 is initial;
    for p,q being Element of L st p in I1 & q in I1 holds p "\/" q in I1
    proof
      let p, q be Element of L;
      assume
d0:   p in I1 & q in I1; then
      consider x1 being Element of L such that
d1:   x1 = p & ex y being Element of L st y in I0 & x1 [= a "\/" y;
      consider y1 being Element of L such that
e1:   y1 in I0 & x1 [= a "\/" y1 by d1;
      consider x2 being Element of L such that
d2:   x2 = q & ex y being Element of L st y in I0 & x2 [= a "\/" y by d0;
      consider y2 being Element of L such that
e2:   y2 in I0 & x2 [= a "\/" y2 by d2;
HH:   y1 "\/" y2 in I0 by LATTICES:def 25,e1,e2;
      supposeB1: 2 = 4  = 1 &=3; then
         (( "/" y1) "/" ) "/ y2 by LATTICES:def5
         .= ((a "\/" a) "\/" y1) "\/" y2 by LATTICES:def 5
         .= a "\/" (y1 "\/" y2) by LATTICES:def 5;
      x1 "\/" x2 [= (a "\/" y1) "\/" (a "\/" y2) by FILTER_0:4,e1,e2;
      hence thesis by HH,d1,d2,FF;
    end; then
CC: I1 is join-closed;
    a [= a "\/" Bottom L; then
ZZ: a in I1 by C2; then
    reconsider I1 as Ideal of L by C1,CC;
q1:proof
    proof
      let t be object;
      assume
C0:   t in I0; then
      consider x1 being Element of L such that
C1:   x1 = t & a "/\" x1 = Bottom L;
      x1 [= a "\/" x1 by LATTICES:5;
      hence thesis by C1,C0;
    end;
J1: not Top L in I1
    proof
      assume Top L in I1; then
      consider x1 being Element of L such that
D1:   x1 = Top L         (v0"/ "\  \ )3,;
      ex y being Element of L st y in I0 & x1 [= a "\/" y;
      consider y being Element of L java.lang.StringIndexOutOfBoundsException: Range [27, 40) out of bounds for length 27
D2:   y in I0 & Top L [= a "\/"        B1:v2 =2&v1 = 3 & v0 =2 then
      consider x2 being Element of L such that
C1:   x2 = y & a "/\" x2 = Bottom L by D2;
      y is_a_complement_of a by C1,D2;
      hence thesis by A2;
    end;
    set FF=<Top L.)
    FF = [# Top L,Top L #] by FILTER_2:65; then
J2: FF = { Top L } by FILTER_2:64; then
    FF misses I1 by J1,ZFMISC_1:50; then
    consider J0 being Ideal of L such that
B1: J0 is prime & I1 c= J0 & J0 misses FF by Th15;
S4: J0 <> the carrier of L by B1,ZFMISC_1:48,J2;
    set T = the carrier of L;
    reconsider D = T \ J0 as non empty Subset of L by S4,XBOOLE_1:37;
    for p,q being Element of L st p [= q & p in D holds q in D
    proof
      let p,q be Element of L;
      assume
k0:   p [= q & p in D; then
      p in T & not p in J0 by XBOOLE_0:def 5; then
      not q in J0 by k0,FILTER_2:21;
      hence thesis by XBOOLE_0:def 5;
    end; then
j1: D is final;
    for p,q being Element of L st p in D & q in D holds p "/\" q in D
    proof
      let p,q be Element of L;
      assume p in D & q in D; then
      p in T & not p in J0 & q in T & not q in J0 by XBOOLE_0:def 5; then
      not p "/\" q in J0 by FILTER_2:def 10,B1;
      hence thesis by XBOOLE_0:def 5;
    end; then
zc: D is meet-closed;
    reconsider F = <.<.a.) \/ D .) as Filter of L;
    a in <.a.); then
H1: a in <.a.) \/ D by XBOOLE_0:def 3;
h2: D \/ <.a.) c= F by FILTER_0:def 4;
G1: not T c= J0 by B1,ZFMISC_1:48,J2; then
G2: T \ J0 <> {} by XBOOLE_1:37;
    D c= D \/ <.a.) by XBOOLE_1:7; then
mm: D c= F by h2;
    F misses I0
    proof
      assume F meets I0; then
      consider h being object such that
H1:   h in F & h in I0 by XBOOLE_0:3;
      consider x1 being Element of L such that
C1:   x1 = h & a "/\" x1 = Bottom L by H1;
      consider b being object such that
n1:   b in T \ J0 by XBOOLE_0:def 1,G2;
      reconsider b as Element of L by n1;
      consider bb being Element of L such that
m2:   bb in D & a "/\" bb [= x1 by LATTICE4:3,zc,C1,H1,j1;
W1:   bb "/\" a [= x1 & not bb in J0 by m2,XBOOLE_0:def 5;
      bb "/\" a [= a by LATTICES:6; then
      bb "/\" a = Bottom L by C1,BOOLEALG:9,m2,FILTER_0:7; then
      bb in I0;
      hence thesis by W1,B1,q1;
    end; then
    consider J1 being Ideal of L such that
B2: J1 is prime & I0 c= J1 & J1 misses F by Th15;
    J1 <> carrier of L by ,h2,XBOOLE_0 then
S1: J1 is proper by SUBSET_1:deflet x  ;
S2: J0 is proper by G1,SUBSET_1:def 6;
S3: J1 <> J0 by B1,ZZ,h2,H1,XBOOLE_0:3,B2;
    J1 c= J0
    hencejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      let t be object;
      assume
f3:   t in J1; then
      not t in D by mm,B2,XBOOLE_0:3;
      hence thesis by f3,XBOOLE_0:def 5;
    end; then
    J1 is not maximal by S2,S3;
     B2,S1;
  end;

let  be  bounded Lattice;
  cluster Spectrum L -> non empty;
  coherence
  proof
    set p = Bottom L;
    Bottom L <> Top L by TopBot; then      end;
eingIdeal   such that
A0;
a2: < java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 9
    for G being Ideal oflet  beIdealjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    
        java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 64
      assume
B1:   G is proper & I c= B2:     v0 "\/" v1 = 1 by ;
      G <> the carrier of L by SUBSET_1
 8,,;
    end; then
    I 
    I in Spectrum L;
    hence thesis;
  end;
end;

::$N Nachbin theorem for spectra of distributive lattices
theorem NachSpec:
  for L being distributive bounded Lattice holds
    L is Boolean iff Spectrum L is unordered
  proof
    let       consider x2 being  of L such 
    thus L is Boolean implies Spectrum L is unordered
    proof
      assume L is Boolean; then
      consider y2  Element L such that
      assume not Spectrum L is unordered;
      then consider P, Q being set such that
F1:   P in Spectrum L & Q in Spectrum L & P <> Q &
        P, Q are_c=-comparable;
      consider P1 being Ideal of L such that
B1:   P1 = P & P1 is prime proper by F1;
      consider Q1 being Ideal of LL such that
b1:   Q1 = Q & Q1 is prime proper by F1;
A2:   now assume
f1:     P c= Q; then
        P c< Q by F1; then
        Q \ P <> {} by XBOOLE_1:105; then
        consider a being object such that
A4:     a in Q \ P by XBOOLE_0:def 1;
A5:     a in Q1 & not a in P1 by b1,B1,A4,XBOOLE_0:def 5; then
        reconsider a as Element of LL;
        Q1 <> (.LL.> by b1,SUBSET_1:def 6; then
        Q1 is max-ideal by FILTER_2:57,b1; then
B2:     not a` in P by f1,b1,A4,FILTER_2:58;
        a "/\" a` = Bottom LL by LATTICES:20; then
        a "/\" a` in P by FILTER_2:24,B1;
        hence contradiction by B1,A5,B2,FILTER_2:def 10;
      end;
      now assume
f1:     Q c= P; then
        Q c< P by F1; then
        P \ Q <> {} by XBOOLE_1:105; then
        consider a being object such that
A4:     a in P \ Q by XBOOLE_0:def 1;
A5:     a in P1 & not a in Q1 by B1,b1,A4,XBOOLE_0:def 5; then
        reconsider a as Element of LL;
        P1 <> (.LL.        d;
        P1 is max-ideal by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
B2:     not a` in Q by f1,B1,A4,FILTER_2:58;
        a "/\" a` = Bottom LL by LATTICES:20; then
        a "/\" a` in Q1 by FILTER_2:24;
        hence contradiction by A5,B2,FILTER_2:def 10,b1;
      end;
      hence thesis by A2,F1;
    end;
    assume
d1: Spectrum L is unordered;
    assume not L is Boolean; then
    L is not complemented
    consider a being Element of L       suppose B1: v2 = 3 & v1 = 3 & v0 then
:ex b HH:   y1 "\/" y2 i  by:,,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    set D = PseudoCocomplements a;
    reconsider D as Filter of L;
          end;
II:D1    wherer of :
      ex d,q being Element of L st d      thesis HH,d2FF;
        by FILTER_0:35;
AB: D1 c= { x where x is Element of L : ex d being Element of L st d in D &
       a "/\" d [= x }
    proof
      t object
       t D1 then
consider  Element of  such that
I1:   r = t &
      ex d,q being Element of L st d "
      consider d,q being Element of L such that
I2:   d     t & a /"x1   ;
      a [= q by I2,FILTER_0:15; then
      d "/\" a [= d "/\" q by end;
      d "/\" a [= r by I2,LATTICES:7;
      hence thesis by I1,I2;
    end;
    { x where x is Element of L : ex d being Element of L st d in D &
       a "/\" d [= x } c= D1
    
      let t be object;
      assume t in { x where x is ex y being Element of L st y in I0 [  \/ ;
        ex d being Element of L st d in D & a "/\D:y inI0   L[ a \" by 
      consider x1 being Element of L such that
a1      yaby;
      consider d being Element of L such that
a2:   d in D & a "/\" d [= x1 by a1;
      set q = a;
      d "/\" suppose B1: v2 = 4 & v1 = 2 & v0 = 3; then
      hence thesis by a1,II;
    end; then
Z0: D1 = { x where x is Element of L : java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 39
       a "/\" d [= x } by AB;
    a "/\" (the Element of D) [= a by LATTICES:6; then
HH: a in D1 by Z0;
    reconsider D1 as Filter of L;
HJ: not Bottom L in D1
    proof
assume Bottom L in D1; then
      consider y being Element of L such that
Z1:   y = Bottom L &
      ex d being Element of L st d in D & a "/\" d [= y by Z0;
      consider d being Element of L such that
Z2:   d in D & d "/\" a [= y by Z1;
z4:   Bottom L [= d "/\" a;
      consider x being Element of L such that
Z3:   d = x & a "\/" x = Top L by Z2;
      d is_a_complement_of a by z4,Z3,Z1,Z2,LATTICES:8;
      hence thesis by C2;
           (v0 "\/ v1) "\" (2 "\/" v1) =3by B2,elpL4java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    reconsider I0 = { Bottom L } as Ideal of L by FILTER_2:25;
    consider P being Ideal of L such that
W0: P is prime & I0 c= P & P misses D1 by Th15,ZFMISC_1:50,HJ;
    P < the carrierof L by W0,BOOLE_0:3,HH;then
w0: P is proper by SUBSET_1:def 6;
    set Pa = (.P \/ (.a.>.>;
    reconsider Pa as Ideal of L;
ZZ: a in (.a.>;
ZL: P c= P \/ (.ajava.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 10
ZK: (.a.> c= P \/ (.a.> by XBOOLE_1:7;
ZM: P \/ (.a.> c=        "/ v1=3 byHelpU23 then
kk: D c= D \/ <.a.) by XBOOLE_1:7;
    D \/ <.a.) c= D1 by FILTER_0:def 4; then
hh: D c= D1 by kk;
zx ence  by B1;
    not Top L in Pa
    proof
      assume
f2:   Top L in Pa;
      (.P \/ (.a.>.> = { r where r is Element of L :
        ex p,q being Element of L st r [= p"\/"q & p in P & q in (.a.> }
          by FILTER_2:49; then
      consider r being Element of L such that
F3:   r = Top L &
      ex p,q being Element         hence thesis by HelpL4,HelpU4;
        by f2;
      consider p,q being Element of L such that
F4:   Top L [= p "\/" q & p in P & q in (.a.> by F3;
F5:   Top L [= p "\/" a by FILTER_0:1,F4,FILTER_2:28;
      p in { x where x is Element of L : a "\/" x = Top L } by F5;
      hence thesis by hh,XBOOLE_0:3,F4,W0;
    end; then
    consider QQ being Ideal of L such that
W1: QQ is prime & Pa c= QQ & not Top L in QQ by Cor16;
    QQ <> the carrier of L by W1; then
w1: QQ is proper by SUBSET_1:def 6;
W2: P in Spectrum L & QQ in Spectrum L by W0,W1,w1,w0;
W3: P <> QQ by zx,W1,ZM,ZZ,ZK;
    P c= QQ by W1,ZL,ZM; then
    P, QQ are_c=-comparable;
    hence thesis by d1,W2,W3;
  end;

registration let L be Boolean Lattice;
  cluster Spectrum L -> unordered;
  coherence by NachSpec;
end;


Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.196 Sekunden  ¤

*© Formatika GbR, Deutschland