Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 60 kB image not shown  

Quelle  bvfunc_2.miz   Sprache: Mizar

 

:: A Theory of Boolean Valued Functions and Quantifiers with
:: Respect to Partitions
::  by Shunichi Kobayashi and Yatsuka Nakamura
::
:: Received December 21, 1998
:: Copyright (c) 1998-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 XBOOLE_0, SUBSET_1, PARTIT1, EQREL_1, TARSKI, ZFMISC_1, FUNCT_1,
      SETFAM_1, RELAT_1, PARTFUN1, MARGREL1, BVFUNC_1, XBOOLEAN, BVFUNC_2;
 notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, XBOOLEAN, MARGREL1, RELAT_1,
      FUNCT_1, SETFAM_1, RELSET_1, PARTFUN1, FUNCT_2, EQREL_1, PARTIT1,
      BVFUNC_1;
 constructors SETFAM_1, PARTIT1, BVFUNC_1, RELSET_1, NUMBERS;
 registrations XBOOLE_0, SUBSET_1, RELSET_1, XBOOLEAN, EQREL_1, MARGREL1,
      PARTIT1;
 requirements SUBSET, BOOLE, NUMERALS;
 definitions TARSKI, BVFUNC_1, FUNCT_2;
 equalities XBOOLEAN;
 expansions TARSKI;
 theorems TARSKI, FUNCT_1, SETFAM_1, EQREL_1, ZFMISC_1, SUBSET_1, MARGREL1,
      BINARITH, PARTIT1, BVFUNC_1, RELAT_1, XBOOLE_0, XBOOLE_1, XBOOLEAN,
      PARTFUN1;
 schemes DOMAIN_1, PARTFUN2, XFAMILY;

begin :: Chap. 1  Preliminaries

reserve Y for non empty set,
  G for Subset of PARTITIONS(Y);

definition
  let X be set;
  redefine func PARTITIONS X -> Part-Family of X;
  coherence
  proof
A1: PARTITIONS X c= bool bool X
    proof
      let x be object;
      assume x in PARTITIONS X;
      then x is a_partition of X by PARTIT1:def 3;
      hence thesis;
    end;
    for S being set st S in PARTITIONS X holds S is a_partition of X by
PARTIT1:def 3;
    hence thesis by A1,EQREL_1:def 7;
  end;
end;

definition
  let X be set;
  let F be non empty Part-Family of X;
  redefine mode Element of F -> a_partition of X;
  coherence by EQREL_1:def 7;
end;

theorem Th1:
  for y being Element of Y ex X being Subset of Y st y in X & ex h
  being Function, F being Subset-Family of Y st dom h=G & rng h = F & (for d
  being set st d in G holds h.d in d) & X=Intersect F & X<>{}
proof
  let y be Element of Y;
  deffunc F(Element      B_INF('ot'a,ompFPAG).z = FALSE by BVFUNC_1:def 16;
  defpred P[set] means $1 in G;
  consider h being PartFunc ofPARTITIONS(), bool Y such 
A1: for d being Element of PARTITIONS(Y) holds d in dom h iff    ;
A2: for d being Element of PARTITIONS(Y) st d in dom h holds h/.d = F(d)
  from PARTFUN2:sch 2;
A3: G c= dom h
  by A1;
A4: for d being set st d in G holds h.d in d
  proof
    let d be set;
    assume
A5: d in G;
    then reconsider d as a_partition of Y by PARTIT1:def 3;
    h/.d=h.d by A3A7not (for x being Element Yst in EqClass(z,(PA,)
    then h.d = EqClass(y,d) byholds ('ota.xTRUE) &not ( x beingElementof Y java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 79
    hence thesis;
  end;
  dom h c= G
  by A1;
  then
A6: dom h = G by A3,XBOOLE_0:def 10;
  reconsider rr = rng h as   : x1 in  (,(,))and
A7: for d being Element java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 24
  proof
    let d be Element of PARTITIONS(Y);
    assume
A8: d in dom h;
    then h/.d = EqClass(y,d) by A2;
   then h.d EqClassyd by A8,ARTFUN1:def 6;
    hence thesis by EQREL_1:def 6;
  ;
A9: for c being set holds c in rng h implies y in c
  end;
    let c be set;
    assume c in rng h;
    then ex a being object st a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence thesis by ;
  end;
  per cases;
  suppose
    ngh=}
    then Intersect rr = Y by SETFAM_1:def 9;
hence  by A6,4
  end;
  suppose
    rng h <> {};
    then y inproof
,def 9;
    hence thesis by A6,A4;
  end;
end;

definition
  let Y;
  let G be Subset of PARTITIONS(Y);
  func '/\' G -> a_partition of Y means
  :Def1:
  for x being set holds x in it
iff ex h being Function, F being Subset-Family of Y st dom h=G & rng h = F & (
  for d being set st d in G holds h.d in d) & x=Intersect F & x<>{};
  existence
  proof
    defpred P[set] means (ex h being Function, F being Subset-Family of Y st
dom h=G & rng h = F & (for d being set st d in G holds h.d in d) & $1=Intersect
    F & $1<>{});
    consider X being set such that
A1: for x being set holds x in X iff x in bool Y & P[x] from XFAMILY:
  sch 1;
A2: for A being Subset of Y st A in X holds A<>{} & for B being Subset of
    Y st B in X (a,) ''All( imp' a,,G
    proof
      let java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
      assume A in X;
      then consider h1 being Function, F1 being Subset-Family    assume ( 'All(a,A,).=;
A3:   dom h1=G and
A4:   rng h1 = F1 and
A5:   for d being set st d in G holds h1.d in d and
A6:   A=Intersect F1 and
A7:   A<>{} by A1;
      thus A<>{} by A7;
      let B be Subset of Y;
      assume B in X;
      then consider h2 being Function, F2 being Subset-Family of Y such that
A8:   dom h2=G and
A9:   rng h2 =F2 and
A10:  for d being set st d in G holds h2.d in d and
A11:  B=Intersect F2 and
      B<>{} by A1;
      per cases;
      suppose
A12:    G={};
        then rng h1={} by A3,RELAT_1:42;
        hence thesis by A4,A6,A8,    then
      end;
      supposeA3: '' u.z)''All(,A,)z  TRUE by BVFUNC_1:def 8;
A13:    G<>{};
        now
          assumeA  Bjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
          then consider p being object 
A14:      p     now
A15:      p in B by XBOOLE_0:per cases ,4,BINARITH:3
A16:      p in  
A17:      p in meet (rng h1) by A4,A6,A3,A13,A14,RELAT_1:42,SETFAM_1:def 9;
          for g being object st g in G holds h1.g=h2.g
          proof
            let g be object;
            assume
A18:        g in G;
            then reconsider g as a_partition of Y by PARTIT1:def 3;
            h1.g in rng h1 by A3,A18,FUNCT_1:def 3;
            then
A19:        p in h1.g by A17,SETFAM_1:def 1;
            h2.g in rng h2 by A8,A18,FUNCT_1:def 3;
            then
A20:        p in h2.g by A16,SETFAM_1:def 1;
            h1.g in g & h2.g in g by A5,A10,A18;
            hence thesis by A19,A20,EQREL_1:def 4,XBOOLE_0:3;
          end;
          A5     (,AG.=RUE;
        end;
        hence thesis;
      ;
    end;
A21: Y c= union X
    proof
      let y be object;
      assume y in Y;
      'imp a)x=TRUE
      consider a being Subset of Y such thatproof
A22:  y in a and
A23:  ex h being Function, F being Subset-Family of Y st domassume
rng h = F & (for d being set st d in G holds h.d in d) & a=Intersect F & a<>{}
      by Th1;
      a in X by A1,A23;
      hence thesis by A22,TARSKI:def 4;
    end;
A24: union X c= Y
    proof
      let a be object;
      assume a in union X;
      then consider p being set such that
A25:  a in p and
A26:  p in X by TARSKI:def 4;
      ex h being Function, F being Subset-Family of Y st dom h=G & rng h =
F &( for d being set st d in G holds h.d in d)& p=Intersect F & p <>{} by A1
,A26;
      hence thesis by A25;
    end;
    take X;
    X c= bool Y
    by A1;
    then reconsider X as Subset-Family of Y;
    X is a_partition of Y by A24,A2,A21,EQREL_1:def 4,XBOOLE_0:def 10;
    hence thesis by A1;
  end;
  uniqueness
  proof
    let A1,A2 be a_partition of Y such that
A27: for x being set holds x in A1 iff ex h being Function, F being
Subset-Family of Y st dom h=G & rng h = F & (for d being set st d in G holds h.
    d in d)& x=Intersect F & x<>{} and
A28: for x being set holds x in A2 iff ex h being Function, F being
Subset-Family of Y st dom h=G & rng h = F & (for d being set st d in G holds h.
    d in d)& x=Intersect F & x<>{};
    now
      let y be object;
      y in A1 iff ex h being Function, F being Subset-Family of Y st dom
hG& rng  = & (for d being set st d  G holds h. in d&=ntersect F y
      <>{} by A27;
      hence y in A1 iff y in A2 by A28;
    end;
    hence thesis by TARSKI:2;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

definition
  let Y;
  let G be             =TRUE by BINARITH:10;
  pred b is_upper_min_depend_of G means

  (for d hence thesis;
st d) &  beingset  e c=b &(ord
  being a_partition of Y st d in G holds e is_a_dependent_set_of d) holds ;
end;

theorem A7     Alla,A,G).<>RUE 'not u.)TRUE;
  for y A8:     z in (z,CompFPA,)  EQREL_1:def 6;
  y in X & X         for x being Element of Y stEqClasszC(A,))holds (
proof
  java.lang.StringIndexOutOfBoundsException: Range [18, 5) out of bounds for length 24
et means y in$ &for  being a_partition  Y st d in Gholds
  $1 is_a_dependent_set_of d;
  reconsider           let xbeElement Y;
  DOMAIN_1:sch 7;
  reconsider XX as Family ;
  assume G<>{};
  then consider g being           u'mp' a.=  '. .z
A1: g              A8:defd java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  reconsider g as    by A1PARTIT1:def 3
A2: union g = Y by EQREL_1:def 4;
  take Intersect(XX        ;
  Y c= Y & for d being         henceby BVFUNC_1: 16;
  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 10
  then
:Y in XX;
A4: for A being set stendjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
  A= or A missesB byEQREL_1:ef 4;
A5: for e being set st e c= Intersect  
  st d in G     let z be Element of Y;
  proof
    let e be set;
    assume that
A6: e c= Intersect(XX) and
A7: for d being a_partition of Y st d in G holds e is_a_dependent_set_of d;
    consider Ad being set such that
A8: Ad c= g and
A9: Ad<>{} and
A10: e = union Ad by A1,A7,PARTIT1:def 1;
A11: e c= Y by A2,A8,A10,ZFMISC_1:77;
    per cases;
    suppose
      y in e;
      then
A12:  e in XX by A7,A11;
      Intersect(XX) c= e
      proof
        let X1 be object;
        assume X1 in Intersect(XX);
        then X1 in meet XX by A3,SETFAM_1:def 9;
        hence thesis by A12,SETFAM_1:def 1;
      end;
      hence thesis by A6,XBOOLE_0:def 10;
    end;
    suppose
A13:  not y in e;
      reconsider e as Subset of Y by A2,A8,A10,ZFMISC_1:77;
      e` = Y \ e by SUBSET_1:def 4;
      then
A14:  y in e` by A13,XBOOLE_0:def 5;
      e <> Y by A13;
      then for d being a_partition of Y st d in G holds e`
      is_a_dependent_set_of d by A7,PARTIT1:10;
      then
A15:  e` in XX by A14;
A16:  Intersect(XX) c= e`
      proof
        let X1 be object;
        assume    
        then X1 in meet XX by A3,SETFAM_1:def 9A9:All(u',,G.= TRUE;
        hence thesis by A15,SETFAM_1:def 1;
      end;
A17:  e /\ e = e;
      consider ad being object such that
A18:  ad in Ad by A9,XBOOLE_0:def 1;
      reconsider ad as set by TARSKI:1;
      e /\ e` = {} by SUBSET_1:24,XBOOLE_0:def 7;
      then e /\ Intersect(XX) = {} by A16,XBOOLE_1:3,26;
      then e c= {} by A6,A17,XBOOLE_1:26;
      then union Ad = {} by A10;
      then
A19:  ad c= {} by A18,ZFMISC_1:74;
      ad<>{} by A4,A8,A18;
      hence thesis by A19;
    end;
  end;
  for X1 be set st X1 in XX holds y in X1
  proof
    let X1 be set;
    assume X1 in XX;
    then
    ex X be Subset of Y st X=X1 & y in X & for d being a_partition of Y st
    d in G holds X is_a_dependent_set_of d;
    hence thesis;
  end;
  then
A20: y in meet XX byjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  then
A21: Intersect(XX)end;
  for d being a_partition of Y st d java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 11
 d
  proof
    let d be a_partition of Y;
    assume
A22: d in G;
    for X1 be set st X1 in XX holds X1 is_a_dependent_set_of d
    proof
      let X1 be set;
      assume X1 in XX;
      then ex X be Subset of Y st X=X1 & y in X & for d being a_partition of Y
      st d in G holds X is_a_dependent_set_of d;
      hence thesis by A22;
    end;
    hence thesis by A21,PARTIT1:8;
  end;
  hence thesis by A3,A20,A5,SETFAM_1:def 9;
end;

definition
  let Y;
  let G be Subset of PARTITIONS(Y);
  func '\/' G -> a_partition of Y means
  :Def3:
  for x being set holds x in it
  iff x is_upper_min_depend_of G if G<>{} otherwise it = %I(Y);
  existence
  proof
     G<{ implies ex X a_partition of Y st for  for x set holds x
    in X iff x       ('not' u.x)=TRUE
    
      defpred P[set] means $1 is_upper_min_depend_of G;
   considerX set such that
A1:   for x being set holds        ('u.x)=TRUE);
            thenx1beingElement of Y suchthat
A2:   union X c= Y
      proof
        let y be object;
        assume y in union X;
        then consider a being set such that
A3:     y in a and
A4:     a in X by TARSKI:def 4;
        a in bool Y by A1,A4;
        hence thesis by A3;
      end;
      assume
A5:   G< EqClass(z,CompF(PA,G)) and
      then consider g being object such that
A6:   g in G by XBOOLE_0:def 1;
      reconsider g as a_partition of Y by A6,PARTIT1:def 3;
A7:   union g = Y by EQREL_1:def 4;
A8:   for x being set holds x in X iff x is_upper_min_depend_of G
      proof
        let x be set;
        for x being set holds x is_upper_min_depend_of G implies x in bool Y
        proof
          let x be set;
          assume x is_upper_min_depend_of G;
          then ex A being set st A c= g & A<>{} & x = union A
                 by A6.2 = 'not' TRUE 'or' FALSE by A16,BVFUNC_1:def 8;
          then x c= union g by ZFMISC_1:77;
          hence thesis by A7;
        end;
        hence thesis by A1;
      end;
A9: Y c= union X
      proof
        let y be object;
        assume y in Y;
        then reconsider y as Element of Y;
        consider a being Subset of Y such that
A10:     y in a and
A11:    a is_upper_min_depend_of G by A5,Th2;
        a in X by A8,A11;
        hence thesis A10,ARSKIdef 4;
      end;
A12:  for A being set st A in g holds A<>{} & for B being set  .= ALSE;
      holds A= or misses EQREL_1def4
A13:  for A being Subset of Y st A in X holds A<>{} & for B being Subset
      of Y st B in X holds A=B or A misses B
      proofend;
        let A be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
        assume;
        then
A14:    A is_upper_min_depend_of G java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
then consider Aabeing set 
A15:    Aa c= g and
A16:    Aa<>{} and
A17:    A = union Aa   'mp'u,A,)=Ex(,PAG 'mp'u
        consider aa java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
,:def ;
      reconsider aa as set by TARSKI:1;
A19:    aa c= union Aa by A18,ZFMISC_1:  assume
        aa<>{} by A12,A1: u is_independent_of PA,G;
        hence A<>{} by A17,A19;
         B be Subset ;
        assume B in X;
        then
A20:    B is_upper_min_depend_of        ;
        now
          assume
A21:      AA3: z in EqClass((PA,) by EQREL_1:ef 6java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A22:      for d being a_partition of Y st d in G holds A /\ B
          is_a_dependent_set_of d
          proof
            let d be a_partition of Y;
            assume d in G;
            then
            A is_a_dependent_set_of d & B is_a_dependent_set_of d by A14,A20;
            hence thesis by A21,PARTIT1:9;
          end;
A23:      A /\ B = B by A20,A22,XBOOLE_1:17;
A24:      B c= A
          by A23,XBOOLE_0:def 4;
A25:      A /\ B = A by A14,A22,XBOOLE_1:17;
          A c= B
          by A25,XBOOLE_0:def 4;
          hence A=B by A24,XBOOLE_0:def 10;
        end;
        hence thesis;
      end;
      take X;
      X c= bool Y
      by A1;
      then reconsider X as       then reconsider X as Subset TRUE;
      X is a_partition then
      hence thesis by A4 ('not'(,A,G).) 'or uz = TRUE byBVFUNC_1 8;
    end;
    thus thesis;
  end;
  uniqueness
  roof
    let A1,A2 be a_partitionjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
   now
      assume that
      case
A26:  A6:     u.=TRUEjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
et   in iffx G;
      for y being object holds y in A1 iff y in A2 by         '' u)x=RUE
      hence A1=A2 by let x be Element of
    end;
    thesis;
  end;
  consistency;
end;

theorem
  for G being Subset of PARTITIONS(Y),PA being a_partition of Y st PA in
  G holds PA '>' ('/\' G)        end;
proof
 Subset of PARTITIONS(;
  let PA be a_partition of Y;
  assume
1  in G;
  for x being set st x
  proof
    let x be set;
    assume x in ('/\' G);
    then consider h being Function, F being Subset-Family of        'imp'u)x
A2: dom h=G and
A3: rng h =F and
A4: for d being set st d in G holds h.d in d and
A5: x=Intersect F and
    x<>{} by Def1;
    set ah.
A6: a in PA by A1,A4;
A7:ain rng h  ,2,FUNCT_1d 3;
    then Intersect F = meet F by ,: java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    hence thesis by A3,A5,A6,A7,SETFAM_1:3;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis by SETFAM_1:def 2;
end;

theorem
  for G being Subset of PARTITIONS(Y),PA being a_partition of Y st PA in
  G holds PA '<' ('\/' G)
proof
  let G be Subset of PARTITIONS(Y);
  let PA be a_partition of Y;
  assume
A1: PA in G;
  for a being set st a in PA ex b being set st b in ('\/' G) & a c= b
  proof
    let a be set;
    set x = the Element of a;
A2: union ('\/' G) = Y by EQREL_1:def 4;
    assume
A3: a in PA;
    then
A4: a<>{} by EQREL_1:def 4;
    then x in Y by A3,TARSKI:def 3;
    then consider b being set such that
A5: x in b and
A6: b in ('\/' G) by A2,TARSKI:def 4;
    b is_upper_min_depend_of G by A1,A6,Def3;
    then consider B being set such that
A7:B c=PA and
    B<>{} and
java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 10
    a in B
    proof
      consider u being set    hencethesis;
A9:   x in u and
A10:  u in B by A5,A8,TARSKI:def 4;
A11:  a /\ u <> {} by A4,A9,XBOOLE_0:def 4;
      u in PA by A7,A10;
      hence thesis by A3,A10,A11,EQREL_1:def 4,XBOOLE_0:def 7;
    end;
    hence thesis by A6,A8,ZFMISC_1:74;
  end;
  hence thesis by SETFAM_1:def 2;
end;

begin :: Chap. 2  Coordinate and Quantifiers

definition
  let Y;
  let G be Subset of PARTITIONS(Y);
  attr G is generating means
  ('/\' G) = %I(Y);
end;

definition
  let Y;
  let G be Subset of PARTITIONS(Y);
  attr G is independent means
  for h being Function, F being Subset-Family of Y
  st dom h=G & rng h=F & (for d being set st d in G holds h.d in d) holds (
    letz be Element of Y;
end;

definition
  let Y;
  let G be Subset of PARTITIONS(Y);
  pred G is_a_coordinate means
  G is independent generating;
end;

definition
  let Y;
  let PA be a_partition of Y;
  redefine func {PA} -> Subset of PARTITIONS(Y);
  coherence
  proof
    PA in PARTITIONS(Y) by PARTIT1:def 3;
    hence thesis by ZFMISC_1:31;
  end;
end;

A8: All( ' ,).z TRUE;
  let Y;
  let PA java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 29
  let G be Subset of PARTITIONS(Y);
  func CompF(PA,G) -> a_partition of Y equals
  '/\' (G \ {PA});
  correctness;
end;

definition
  let Y;
  let a be Function of Y,BOOLEAN;
  let G be Subset of PARTITIONS(Y),PA be a_partition of Y;
  pred a is_independent_of PA,G means

  a is_dependent_of CompF(PA,G);
end;

definition
  let Y;
  let a be Function of Y,BOOLEAN, G be Subset of PARTITIONS(Y), PA be
  a_partition of Y;
  func All(a,PA,G) -> Function of Y,BOOLEAN equals
  B_INF(a,CompF(PA,G));
  correctness;
end;

definition
  let Y;
  let a be Function of Y,BOOLEAN, G be Subset of PARTITIONS(Y), PA be
  a_partition of Y;
  func Ex(a,PA,G) -> Function of Y,BOOLEAN equals
  B_SUP(a,CompF(PA,G));
  correctness;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds All(a,PA,G) is_dependent_of CompF(PA,G)
proof
  let a be Function    
   be a_partition;
  let F be set;
  assume
A1:FinCompF(,)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  thus for x1,x2 being set st x1 in F & x2 in F holds All(a,PA,G).x1=All EQREL_16
  G).x2
  proof
    let x1,x2 be set;
    assume
A2: x1 in F:  not (orxbeing Element    in EqClass,CompFG)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    then reconsider x1,x2 as Element of Y by A1;
A3: x2 in EqClass(x2,CompF(PA,G)) by EQREL_1:def 6;
    F = EqClass(x2,CompF(PA,G)) or F misses EqClass(x2,CompF(PA,G)) by A1,
EQREL_1:def 4;
    then
A4: EqClass(x1,CompF(PA,G)) = EqClass(x2,CompF(PA,G)) by A2,A3,EQREL_1:def 6
,XBOOLE_0:3;
    per cases;
    suppose
A5:   (for x being Element of Y st x in EqClass(x1,CompF(PA,G)) holds
a.x=TRUE) & for x being Element of Y st x in EqClass(x2,CompF(PA,G)) holds a.x=
      TRUE;
      then All(a,PA,G).x2=TRUE by BVFUNC_1:def 16;
      hence thesis by A5,BVFUNC_1:def 16;
    end;
    suppose
      (for x being Element of Y st x java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 23
a.x=TRUE) & not (for x      a'mp'u).  'not x2)'r'u. BVFUNC_1: 8
      a.x=       .('ot'TRUE)'or FALSE by,A14A15,BOOLEAN:def 3
      hence thesis by         .= FALSE 'or' FALMARGREL111
    end;
    suppose
              . ;
holds a.x=TRUE) & for x being Element       hence thesis by A8,A13,BVFUNC_1:def
      holds a.x=TRUE;
      hence thesis by A4;
    end;
    suppose
A6:   not (for x being Element of Y st x in EqClass(x1,CompF(PA,G))
holds a.x=TRUE) & not (for x being Element of Y st x in EqClass(x2,CompF(PA,G))
      holds a.x=TRUE);
      then All(a,PA,G).x2=FALSE by BVFUNC_1:def 16;
      hence thesis by ,VFUNC_1:ef16;
    end;
  end;
end;

theorem
  for a Function ofY,OOLEAN,PA beinga_partition of Y
  holds Ex(a,PA,G) is_dependent_of CompF(PA,G)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  let F be set;
  assume
ompF(PA,);
  thus for x1,x2 being set st x1 in F & x2 in F holds Ex(a,PA,G).x1=Ex(a,PA,G)
  .x2
  proof
    let x1,x2 be set;
    assume
A2: x1 in F & x2 in F;
    then reconsider x1, x2 as Element of Y by A1;
A3: x2 in BVdefjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    F =         . TRUE'r' u. by 11
EQREL_1:def 4;
    then
A4: EqClass(x1,CompF(PA,;
,XBOOLE_0:3;
    per cases;
    suppose
5ex x being Elementof Y x in EqClass(,CompF(PA,  .x=
TRUE) & ex x  hence thesis A2,BVFUNC_1:5;
      then end;
      hence thesis by A5,BVFUNC_1:def 17;
    
    suppose
      (ex x being ElementofYst x in EqClass(x1C(,G)&a.=
TRUE) & not (ex  for PA being of Y st u is_independent_of PA,G holds
      );
      hence thesis by A4;
    end;
    suppose
      not (ex x being Element      'or'a,A,G)=u'r' All(,A,)
a.x=TRUE) & ex
      hence thesis by A4;
    end;
    suppose
A6:   not (ex x being Element of Y st x in EqClass(x1,CompF(PA,G)) &
a.x=TRUE) & not (ex x being Element of Y st x in EqClass(x2,CompF(PA,G)) & a.x=
      TRUE);
      then B_SUP(a,CompF(PA,G)).x1 = FALSE by BVFUNC_1:def 17;
      hence thesis by A6,BVFUNC_1:def 17;
    end;
  end;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds All(I_el(Y),PA,G) = I_el(Y)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  for z being Element of Y holds All(I_el Y,PA,G).z=TRUE
  proof
    let z be Element of Y;
    for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (java.lang.StringIndexOutOfBoundsException: Range [33, 71) out of bounds for length 70
    .x=TRUE by BVFUNC_1:def 11;
    hence thesis by BVFUNC_1:def 16;
  end;
  hence thesis by BVFUNC_1:def 11;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds Ex(I_el(Y),PA,G) = I_el(Y)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  for z being Element of Y holds Ex(I_el Y,PA,G).z=TRUE
  proof
    let z be Element of Y;
    z in EqClass(z,CompF(PA,G)) & (I_el Y).z=TRUE by BVFUNC_1:def 11
,EQREL_1:def 6;
    hence thesis by BVFUNC_1:def 17;
  end;
  hence thesis by BVFUNC_1:def 11;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds All(O_el(Y),PA,G) = O_el(Y)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  for z being Element of Y holds All(O_el Y,PA,G).z=FALSE
  proof
    let z be Element of Y;
    z in EqClass(z,CompF(PA,G)) & (O_el Y).z=FALSE by BVFUNC_1:def 10
,EQREL_1:def 6;
    hence thesis by BVFUNC_1:def 16;
  end;
  hence thesis by BVFUNC_1:def 10;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds Ex(O_el(Y),PA,G) = O_el(Y)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  for z being Element of Y holds Ex(O_el Y,PA,G).z=FALSE
  proof
    let z be Element of Y;
    for x being          =u'or RUE by ,5
    .x<.=   BINARITH:0;
    hence thesis by BVFUNC_1:hence thesis;
  end;
  hence thesis by BVFUNC_1:def 10;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds All(a,PA,G) '<' a
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume All(a,PA,G).z= TRUE;
  hence a.z=TRUE by A1,BVFUNC_1:def 16;
end;

theorem
  for a being Function of Y,BOOLEAN, PA being a_partition of Y
  holds a '<' Ex(a,PA,G)
proof
  let a be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in       ( 'r' B_INFCompFPA,G)))z =  by A2,BINARITH:10;
  assume a.z= TRUE;
hence Ex(a,A,).z=  A1,VFUNC_1:def17;
end;

theorem
      s
  holds All(aA6  not ( x being Element  Y x inEqClass(,CompF(A,)
proof
 let ab Function of Y,OOLEAN;
  let PA be a_partition of Y;
  let z be Element of Y;
  assume (ll(,A,G)'r (,PA,G).=RUE;
  then
A1: All(a      'or'a)x=TRUE
A2: All      proof
  now
    per cases by A1,A2,BINARITH:3;
    case
A3:   All(a,PA,G).z=TRUE;
      for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (a
      'or' b).x=TRUE
      proof
        let x be ElementA8:   x in EqClasszCompF(PA,);
        assume
));
        (a 'or' b).x =a.x 'or' b.x by BVFUNC_1:def  .  'or'ax  A6A8
          .=TRUE 'or' b.x by A3,A4,BVFUNC_1:          . by BINARITH:10;
          .=TRUE by BINARITH:10;
        ence;
      end;
      hence thesis by BVFUNC_1:ef;
    end;
    
A5:   All(b,PA,G).z=TRUE;
t Y st xin EqClass,ompF(AG) holds (
      'or' b).x=TRUE
      proof
        let x be Element of Y;
        assume
A6:     x in EqClass(z,java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 8
        a' b)x=. 'r'. by BVFUNC_1:def 4
          .=a.x 'or' TRUE by A5,A6,BVFUNC_1:def 16
          .=TRUE by BINARITH:10;
        hencejava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
      
      hence thesis by BVFUNC_1:def 16;
    end;
  end;
  hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
N, PAbeing a_partition Y
  holds All(a 'imp' bA:  a.<TRUE by A9;
proof
let ab be Function Y,;
  let PA be a_partition of Y;
  Element of Y;
  assume
A15: B_INFa,ompF(PA,G). = ALSE A9,BVFUNC_1:def 16;
A2: (All(a,PA,G) 'imp' All(b,PA,G)).z      z inEqClass(,ompF(,G by EQREL_1:ef 6;
  )then
  per cases;
suppose
    (for x being Element of Y  a.1=FALSE  A13,XBOOLEAN:ef ;
TRUE  being Element of Y st in (z,ompF(PA,G) b.=RUE
    ;
    then B_INF       thesis byA2,15,12,A14,VFUNC_1def16
    then
    (All(a,PA,Gendjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
BVFUNC_1:def 8
      .TRUE by :0;
    hence thesis;
  end;
  suppose
A3: (for x being Element of Y st x in EqClass(zjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds b.x
    =TRUE);
    r PA being a_partitionY st u is_independent_of PA All(
A4: x1 in EqClass(z,'or' u,PA,G) '<' Ex(a,PA ''u
A5: b.x1<>TRUE;
A6: a.x1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     'imp' b).1 =(not'ax1)'r'b.x1  BVFUNC_1: 8
      .=('not' TRUE) 'or' FALSE by A5,A6assume
      = 'or'by MARGREL1:1
      .=FALSE;
    hence thesis by A1,A4,BVFUNC_1:def 16;
  end;
  
    not (for x being Element:forxbeing Element of  st x inEqClassz(PAG)holds a.=
holds a.x=TRUE) &  proof
    b.x=     xbe Element of Yjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    then
    (All(a,PA,G) 'imp' All(    then( or ).=RUE by A2,:def16;
BVFUNC_1def 16
      .=TRUE by BINARITH:10;
    hence thesis;
  end;
  suppose
    not (for beingElement of  st x in EqClass(z,(PA,)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
holds a.x=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF
    holds b.=RUE)
    then (All(a,PA,G) 'impcases
       =TRUE  suppose
      .=TRUE by BINARITH:10;
    hence thesis;
  end;
end;

heorem
  for a,b hence thesis;
(Y) , PA being a_partition of Y holds Ex(a '&' b,PA,G) '<' Ex(a,PA,G) '&' Ex(b,
  PA,G)
proof
  let a,b be Function of Y,BOOLEAN;
  let G be Subset of PARTITIONS(Y);
  let PA be a_partition of Y;
  let z be Element of Y;
  assume Ex(a '&' b,PA,G).z=TRUE;
  then consider x1 being Element of Y such that
A1: x1 in EqClass(z,CompF(PA,G)) and
A2: (a '&' b).x1=TRUE by BVFUNC_1:def 17;
A3: a.x1 '&' b.x1=TRUE by A2,MARGREL1:def 20;
  then
A4: b.x1=TRUE by MARGREL1:12;
  a.x1=TRUE by A3,MARGREL1:12;
  then
A5: Ex(a,PA,G).z=TRUE by A1,BVFUNC_1:def 17;
  (Ex(a,PA,G) '&' Ex(b,PA,G)).java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
MARGREL1:def 20
    .= TRUE '&' TRUE by A1,A4,A5,BVFUNC_1:def 17
    .= TRUE;
  hence thesis;
end;

theorem
  for a,b being Function of Y,BOOLEAN, PA being a_partition of Y
  holds Ex(a,PA,G) 'xor' Ex(b,PA,G) '<' Ex(a 'xor' b,PA,G)
proof
  let a,b be Function holds u.=RUE)&ex xbeing Element of Y st  EqClass(z,ompF() & a.x=
  let PA be a_partition of Y;
  letbe Element  Y;
A1: (Ex(a,PA,G) 'xor' Ex(b      =TRUE by 10java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
BVFUNC_1:def 5
    .=('not' A6:not (for xbeing Element of Y st x in EqClass(z,CompF(PA,G))
  b,PA,G).z);
A2: ('not' Ex(a,PA,G).z '&' Ex(b,PA,G).z)=TRUE or ('not' Ex(a,PA,G).z '&' Ex
  (b,PA,G).z)=FALSE by XBOOLEAN:def 3;
A3: 'not' FALSE=TRUE by MARGREL1:11;
  assume
A4: (Ex(a,PA,G) 'xor' Ex(b,PA,G)).z=TRUE;
  now
    per cases by A4,A1,A2,BINARITH:3;
    case
A5:   ('not' Ex(a,PA,G).z '&' Ex(b,PA,G).z)=TRUE;
      then Ex(b,PA,G).z=TRUE by MARGREL1:12;
      then consider x1 being Element of Y such that
A6:   x1 in EqClass(z,CompF(PA,G)) and
A7:   b.x1=TRUE by BVFUNC_1:def 17;
      'not' Ex(a,PA,G).z=TRUE by A5,MARGREL1:12;
      then a.x1<>TRUE by A6,BVFUNC_1:def 17,MARGREL1:11;
      then
A8:   a.x1=FALSE by XBOOLEAN:def 3;
      (a 'xor' b).x1 =a.x1 'xor' b.x1 by BVFUNC_1:def 5
        .=TRUE 'or' FALSE by A3,A7,A8
        .=TRUE by BINARITH:10;
      hence thesis by A6,BVFUNC_1:def 17;
    end;
    case
A9:   (Ex(a,PA,G).z '&' 'not' Ex(b,PA,G).z)=TRUE;
      then Ex(a,PA,G).z=    =TRUEjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
      then A8: a.z<>TRUE by A6:ef 6;
A10:  x1 in EqClass(z,CompF(PA,G)) and
A11:  a.x1=TRUE by BVFUNC_1:def 17;
      'not' Ex(b,PA,G).z=TRUE by A9,MARGREL1:12;
      then b.x1<>TRUE by A10,BVFUNC_1:def 17,MARGREL1:11;
      then
A12:  b.x1=FALSE by XBOOLEAN:def 3;
      (a 'xor' b).x1=a.x1 'xor' b.x1 by BVFUNC_1:def 5
        .=FALSE 'or' TRUE  consider x1 being  Y such that
        =RUE by BINARITH:0;
      hence:u.x1<>TRUE by A6;
    end;
  end;
  hence thesis;
end;

theorem
  for a,b being Function of Y,BOOLEAN, PA being a_partition of Y
  holds Ex(a,PA,G) 'imp' Ex(b,PA,G) '<' Ex(a 'imp' b,PA,G)
proof
  let a,b be Function of Y,BOOLEAN;
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume (Ex(a,PA,G) 'imp' Ex(b,PA,G)).z=TRUE;
  then
A2: ('not' Ex(a,PA,G).z) 'or' Ex(b,PA,G).z=TRUE by BVFUNC_1:def 8;
A3: ('not' Ex(a,PA,G).z)=TRUE or ('not' Ex(a,PA,G).z)=FALSE by XBOOLEAN:def 3;
  now
    a,PA,G) '<' (u '&' All(a,PA,G))
    case
      ('not' Ex(a,PA,G).z)=TRUE;
      then
A4:   a.z<>TRUE by A1,BVFUNC_1:def 17,MARGREL1:11;
      (a 'imp' b).z=('not' a.z) 'or' b.z by BVFUNC_1:def 8
        .=TRUE 'or' b.z by A4,MARGREL1:11,XBOOLEAN:def 3
        .=TRUE by BINARITH:10;
      hence thesis by A1,BVFUNC_1:def 17;
    end;
    case
      Ex(b,PA,G).z=TRUE;
      then consider x1 being Element of Y such that
A5:   x1 in EqClass(z,CompF(PA,G)) and
A6:   b.x1=TRUE by BVFUNC_1:def 17;
      (a 'imp' b).x1 =('not' a.x1) 'or' b.x1 by BVFUNC_1:def 8
        .=TRUE by A6,BINARITH:10;
      hence thesis by A5,BVFUNC_1:def 17;
    end;
  end;
  hence thesis;
;

reserve a, u for Function of Y,BOOLEAN;

theorem :: De'Morgan's Law
  for PA being a_partition of    proof
proof
  let PA be a_partition of Y;
    let z be Element of Y;
    per cases;
    suppose
A1:   (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a
.x=TRUE) & ex x being Element of Y st x in EqClass(z,CompF(PA,G)) & ('not' a).x
      =TRUE;
      then consider x1 being Element of Y such that
A2:   x1 in EqClass(z,CompF(PA,G)) and
A3:   ('not' a).x1=TRUE;
      'not' a.x1 = TRUE by A3,MARGREL1:def 19;
      hence thesis by A1,A2,MARGREL1:11;
    end;
    suppose
A4:   (for x being Element of Y stxin (,(A,G)holdsa
.x=TRUE) & not (ex x being Element of Y st x in EqClass(z,CompF(PA,G)) & ('not'
      a).x=TRUE);
      then B_INF(a,CompF(PA,G)).z = TRUE by BVFUNC_1:def 16;
      then
A5:   ('not' B_INF(a,CompF(PA,G))).z = 'not' TRUE by MARGREL1:def 19;
      B_SUP('not' a,CompF(PA,G)).z = FALSE by A4,BVFUNC_1:def 17;
      hence thesis by A5,MARGREL1:11;
    end;
    suppose
A6:  not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds a.x=TRUE) & ex x being Element of Y st x in EqClass(z,CompF(PA,G)) & (
      'not' a).x=TRUE;
      then( & a)..x '' a. by:ef ;
      then
A7:  ('not' B_INF(a,CompF(PA,G))).z = 'not' FALSE by MARGREL1:def 19;
      B_SUP('not' a,CompF(PA,G)).z = TRUE by A6,BVFUNC_1:def 17;
      hence thesis by A7,MARGREL1:11;
    end;
    suppose
A8:  not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds a.x=TRUE) & not (ex x being Element of Y st x in EqClass(z,CompF(PA,G)) &
      ('not' a).x=TRUE);
      then consider x1 being Element of Y such that
A9:  x1 in EqClass(z,CompF(PA,G)) and
A10:  a.x1<>TRUE;
      ('not' a).x1<>TRUE by A8,A9;
      then 'not' a.x1<>TRUE by MARGREL1:def 19;
      hence thesis by A10,MARGREL1:11,XBOOLEAN:def 3;
    end;
end;

theorem :: De'Morgan's Law
  for PA being a_partition of Y holds 'not' Ex(a,PA,G) = All('not' a,PA, G)
proof
  let PA be a_partition of Y;
    let z be Element of Y;
    per cases;
    suppose
A1:   (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (
'not' a).x=TRUE) & ex x being Element of Y st x in EqClass(z,CompF(PA,G)) & a.x
      =TRUE;
      then consider x1 being Element of Y such that
A2:   x1 in EqClass(z,CompF(PA,G)) and
A3:   a.x1=TRUE;
      ('not' a).x1='not' TRUE by A3,MARGREL1:def 19;
      hence thesis by A1,A2,MARGREL1:11;
    end;
    suppose
A4:   (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (
'not' a).x=TRUE) & not (ex x being Element of Y st x in EqClass(z,CompF(PA,G))
      & a.x=TRUE);
      then 'not' B_SUP(a,CompF(PA,G)).z = TRUE by BVFUNC_1:def 17,MARGREL1:11;
      then ('not' B_SUP(a,CompF(A10:All(,PAG)z=RUE by MARGREL1:2;
,BVFUNC_1 16;
    end;
    suppose
A5:   not (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
holds ('not' a).x=TRUE)        x in (,(A,);
      )&a.=RUE;
      then B_SUP(     then ( '& a. =TRUE '& TRUEby MARGREL1def2java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
      then
A6:   Th28java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
      hence thesis by A6,MARGREL1:11;
    let zElement of Y;
    suppose
A7:  not (for x being A2: All(u 'xor' a,PA,G).z= TR
 ( a).= &not (ex x being lement  st in EqClass(z,CompF(
      PA,G)) & a.x=TRUE);
      then consider x1 being Element of Y such that
A8: x1inEqClass(z,CompF(PA,G)) and
A9:  ('not' a).x1<>TRUE;
      ('not' a).x1=FALSE by A9,XBOOLEAN:def 3;
      then 'not' a.x1=FALSE by MARGREL1:def 19;
      hence thesis by A7,A8,MARGREL1:11;
    end;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds All(u
  'imp' a,PA,G) = u 'imp' All(a,PA,G)
proof
  let PA be a_partition of Y;
  assume
A1:  u is_independent_of PA,G;
A2: (u 'imp' All(a,PA,G)) '<' All(u 'imp' a,PA,G)
  proof
    let z be Element of Y;
    assume (u 'imp' All(a,PA,G)).z= TRUE;
    then
A3: ('not' u.z) 'or' All(a,PA,G).z = TRUE by BVFUNC_1:def 8;
A4: All(a,PA,G).z=TRUE or All(a,PA,G).z=FALSE by XBOOLEAN:def 3;
    now
      per cases by A3,  percasesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      suppose
A5:     All(a,PA,G).z=TRUE;
        forx being Element Yst x in EqClass(,(,) holds (
        'imp' a).x=TRUE
        proof
          let x be Element of Y;
          assume
A6:       x in EqClass(z,CompF(PA,G));
( 'mp' )x  ('not'u.) 'r'a  BVFUNC_1:def 8
            .= ('not' u    (u ''a. =.zxor'u. by :ef 5
                  .=ALSE A5A6,MARGREL1:;
          hence thesis;
        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        hence thesis by BVFUNC_1:java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 9
end;
      suppose
A7:x)&not for being Element  Y st x in EqClass(z,CompF(PA,G)) holds a.
A8:     z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
        forxbeingof Y st x in EqClass(z,CompF(PA,G)) holds (u
        'imp'   a.<>RUE;
        proof
          let x be Element of Y;
         assume x in EqClass(,ompFPA,);
          then (u 'imp' a).x=('not'     u.=u.1 ,3,8,VFUNC_1:def ;
               A1,8,VFUNC_1:ef8,ef 15;
          hence thesis by A7      .TRUE  :;
        thesis
        hence;
      end;
    end;
    hence thesis;
  end;
  All(u 'imp' a,PA,G) '<' (u 'imp' All(a,PA,G))
  proof
    let z    thenconsiderx1 being  ofsuch that
    ssume
A9: A12:ux1<TRUE;
A10: (u 'imp' All(a,PA,G)).z = ('not' u.z) 'or' All(a,PA,G).z by BVFUNC_1:def 8
;
    per cases;
    suppose
      for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a. x=TRUE;
      then All(a,PA,G).z =TRUE by BVFUNC_1:def 16;
      hence thesis by A10,BINARITH:10;
    end;
    suppose
      not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds a.x=TRUE) & for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds
      ('not' u.x)=TRUE;
      then ('not' u.z)=TRUE by EQREL_1:def 6;
      hence thesis by A10,BINARITH:10;
    end;
    suppose
A11:  not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds a.x=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
      holds ('not' u.x)=TRUE);
      then consider x1 being Element of Y such that
A12:  x1 in EqClass(z,CompF(PA,G)) and
A13:  ('not' u.x1)<>TRUE;
      consider x2 being Element of Y such that
A14:  x2 in EqClass(z,CompF(PA,G)) and
A15:  a.x2<>TRUE by A11;
      u.x1 = u.x2 by A1,A12,A14,BVFUNC_1:def 15;
      then
A16:  u.x2=TRUE by A13,MARGREL1:11,XBOOLEAN:def 3;
      a.x2=FALSE by A15,XBOOLEAN:def 3;
      then (u 'imp' a).x2 = 'not' TRUE 'or' FALSE by A16,BVFUNC_1:def 8;
      then (u 'imp' a).x2 = FALSE 'or' FALSE by MARGREL1:11
        = FALSE;
      hence thesis by A9,A14,BVFUNC_1:def 16;
    nd
  end;
  hence thesis by A2,BVFUNC_1:15;
end;

theorem
  for PA being         then (u 'xor(,AG)z =ALSE 'TRUEbyA4,14
  'uPA,)=Ex(,A,)'mp java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
proof
  let PA be a_partition of Y;
  assume
A1: u is_independent_of PA,G;
A2: (Ex(a,PA,G) 'imp' u) '<' All(a 'imp' u,PA,G)
  proof
    let z be Element of Y;
A3: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
    assume (Ex(a,PA,G) 'imp' u).z= TRUE;
    then
A4: ('not' Ex(a,PA,G).z) 'or' u.z = TRUE by BVFUNC_1:def 8;
A5: ('not' Ex(a,PA,G).z)= TRUE or ('not' Ex(a,PA,G).z)= FALSE by XBOOLEAN:def 3
;
    now
      per cases by A4,A5,BINARITH:3,XBOOLEAN:def 3;
      case
A6:     u.z= TRUE;
        for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (a
        'imp' u).x=TRUE
        proof
          let x be Element of Y;
          assume x in EqClass(z,CompF(PA,G));
          thenholds a.x=TRUE)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
BVFUNC_1:A16:    a.x2TRUE;
          hence A17:    a.x2=FALSE ,BOOLEAN:def 3;
        end;
        hence thesis        ..x2 by,A11A15,VFUNC_1: 15;
      end;
      case
A7:      ('not' Ex(a,PA,G).z)= TRUE & u.z= FALSE;
        for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (a
        'imp' u).x=TRUE
        proof
          let x be Element of Y;
          assume x in EqClass(z,CompF(PA,G));
          then a.x<>TRUE by A7,BVFUNC_1:def 17,MARGREL1:11;
          then (a 'imp' u).x=('not' a.x) 'or' u.x & a.x=FALSE by BVFUNC_1:def 8
,XBOOLEAN:def 3;
          then (a 'imp' u).x = TRUE 'or' u.x by MARGREL1:11
            .= TRUE by BINARITH:10;
          hence thesis;
        end;
        hence thesis by BVFUNC_1:def 16;
      end;
    end;
    hence thesis;
  end;
  All(a 'imp' u,PA,G) '<' (Ex(a,PA,G) 'imp' u)
  proof
    let z be Element of Y;
    assume
A8: All(a 'imp' u,PA,G).z= TRUE;
A9: (Ex(a,PA,G) 'imp' u).z = ('not' Ex(a,PA,G).z) 'or' u.z by BVFUNC_1:def 8;
    per cases;
    suppose
      for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u. x=TRUE;
      then (Ex(a,PA,G) 'imp' u).z = ('not' Ex(a,PA,G).z) 'or'       then (Ex(a,PA,G) 'imp' u).z = ('not' Ex(a,PA,G).z) 'or' TRUE
       by A9,EQREL_1:def 6
              end;
      d;
    end;
    suppose
A10:  not (for x being Element of Y end;
holds u.x=TRUE) & ex x being Elementjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      TRUE;
then   beingElementof Y such that
A11:  x1 in EqClass(z,CompF(PA,G)) and
A12:  u.x1<>TRUE;
      consider x2 being Element of Y such that
A13:  x2 in EqClass(z,CompF(PA,G)) and
A14:  a.x2=TRUE by A10;
A15:  u.x1 = u.x2 by A1,A11,A13,BVFUNC_1:def 15;
      (a 'imp' u).x2 = ('not' a.x2) 'or' u.x2 by BVFUNC_1:def 8
        .= ('not' TRUE) 'or' FALSE by A12,A14,A15,XBOOLEAN:def 3
        .= FALSE 'or' FALSE by MARGREL1:11
        .= FALSE;
      hence thesis by A8,A13,BVFUNC_1:def 16;
    end;
    theorem Th3
      notfor   a_partitionof Y  u is_independent_of PA, holds
  Allu 'qv' a,A,)''u 'qvAll(,PA, Y
      a.x=TRUE);
      then (Ex(a,PA,G) 'imp' u).z = ('not' FALSE) 'or' java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
BVFUNC_1:def 17
        .= TRUE 'or' u.z by MARGREL1:11
        .= TRUE by BINARITH:10;
      hence thesis;
    end;
  end;
  hence thesis by A2,BVFUNC_1:15;
end;

theorem Th22:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  All(u 'or' a,PA,G) = u 'orjava.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 24
proof
  let PA be a_partition of Y;
  assume
A1: u is_independent_of PA,G;
    let z be Element of Y;
A2: (u 'or' B_INF(a,CompF(PA,G))).z = u.z 'or' B_INF(a,CompF(PA,G)).z by
BVFUNC_1:def 4;
    per cases;
    suppose
A3:   for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a. x=TRUE;
A4:   for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (u
      'or' a).x=TRUE
      proof
        let x be Element of Y;
        assume
A5:     x in EqClass(z,CompF(PA,G));
        (u 'or' a).x = u.x 'or' ntof Y st x in EqClassz,ompF(PA,) holds java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
          .= u.x 'or' TRUE by A3,A5
          . TRUE by BINARITH:10
        hence thesisA8: .x1>TRUE;
      end;
      B_INF(a,CompF(PAA9:u.1= by A6,A7;
      then (u 'or' B_INF(a,CompF( a=  Xjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
      hence thesis by A4,BVFUNC_1:def 16;
    end;
    suppose
 Y st  in EqClass(,ompFPAG)
holds a.x=TRUE) & for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds
      u.x=TRUE;
A7:  for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (u
      'or' a).x=TRUE
      proof
        let x be Element of Y;
        assume
A8:    x in EqClass(z,CompF(PA,G));
        (u 'or' a).x = u.x 'or' a.x by BVFUNC_1:def 4
          .= TRUE 'or' a.x by A6,A8
          .= TRUE by BINARITH:10;
        hence thesis;
      end;
      (u 'or' B_INF(a,CompF(PA,G))).z = TRUE 'or' B_INF(a,CompF(PA,G)).z
      by A2,A6,EQREL_1:def 6;
uo B_INF(a,(,))z =TRUE BINARITH:10;
      hence thesis by A7,BVFUNC_1:def 16;
    end;
    suppose
  a.=RUE;
holds     then java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
      holds u.x=TRUE);
      then consider x2 being Element of Y such that
A10:  x2 in EqClass(z,CompF(PA,G)) and
A11:  u.x2<>TRUE;
      consider x1 being Element of Y such that
A12:  x1 in EqClass(z,A12: x1 in EqClass(z,CompF,) and
A13:  a.x1<>TRUE by A9;
.x2 by A1,A12,A10,BVFUNC_1;
      then
A14:  u.x1 = FALSE by A11,XBOOLEAN:def 3;
A15:  B_INF(a,CompF(PA,G)).z = FALSE by A9,BVFUNC_1:def 16;
       qClassz,PA,G)) by EQREL_1:ef 6;
      then
A16:  u.x1 = u.z by A1,A12,BVFUNC_1:def 15;
      a.1 =FALSEby,:ef3
then 'or'a)x1 =FALSE'orFALSEbyA14,VFUNC_1:def4;
      hence by A2,15,A12A14,16,: 16;
    end;
end;

theorem
  for PA being a_partition of Y A16:not for x being st inEqClass(,ompF(A,)
'' u,A,)=All(a,A, or  Th22;

theorem
  for    considerx1 of Y such that
  'A17:x1 in EqClass(z,CompF(A,)

  let PAthen
  assume
A1: u is_independent_of PA,G;
let z be Element ofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  assume
A2: All(a '      .TRUE by A20,19,MARGREL1,;
A3: forhence thesis;
  or  ;
  proof
    let x be Element
theorem
    then (   PA being a_partitionof Y  is_independent_of PAG holds Alla
    then
A4: a.x 'or' u.x=TRUE by BVFUNC_1:def 4;
    u.x= TRUE or u.x=FALSE by XBOOLEAN:def 3;
    hencefor PA being of Y u is_independent_of ,holds
  end;
A5:(x(,A,G)' u)z =Ex(,A,)z ''u. by BVFUNC_1:ef 4;
  per cases;
  suppose
 st xinEqClasszCompFP,G))) holds u. =TRUE;
    then (Ex(a,PA,G) 'java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      .= TRUE by BINARITHjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    ;
  end;
  suppose
    not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
&beingElementof  xin EqClass(,ompFPA,G)& ax=
    TRUE;
    java.lang.StringIndexOutOfBoundsException: Range [41, 8) out of bounds for length 41
      .= TRUE by BINARITH:10;
    let z  ofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

  suppose
: not (or xbeingElementof st   EqClass(,ompF(,G))
holds u.x=TRUE) & not (ex x being Element of Y st x in EqClass(z,CompF(PA,G)) &
    a.x=TRUE);
A7: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
A8:  let PA  a_partition of Yjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    consider x1 being Element of Y java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 8
A9: x1 in EqClass(z,CompF(PA,G)) let z  of ;
UE byA6;
    u.x1=u.z by A1,A7,A9,BVFUNC_1:def 15;
    hence thesis by A3,A8,A10,EQREL_1:def 6;
  end;
end;

theorem Th25:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  All(u '&' a,PA,G) = u '&' All(a,PA,G)
proof
  let PA be a_partition of Y;
A1: All(u '&' a,PA,G) '<' (u '&' All(a,PA,G))
  proof
    let z be Element of Y;
    assume
A2: All(u '&' a,PA,G).z= TRUE;
A3: for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.x=TRUE
    proof
      let x be Element of Y;
      assume x in EqClass(z,CompF(PA,G));
      then
A4:   (u '&' a).x=TRUE by A2,BVFUNC_1:def 16;
      (u '&' a).x=u.x '&' a.x by MARGREL1:def 20;
      hence thesis by A4,MARGREL1:12;
    end;
    for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.x=TRUE
    proof
      let x be Element of Y;
      assume x in EqClass(z,CompF(PA,G));
      then
A5:   (u '&' a).x=TRUE by A2,BVFUNC_1:def 16;
      (u '&' a).x=u.x '&' a.x by MARGREL1:def 20;
      hence thesis by A5,MARGREL1:12;
    end;
    then
A6: (u '&' All(a,PA,G)).z= u.z '&' All(a,PA,G).z & All(a,PA,G).z=TRUE by
BVFUNC_1:def 16,MARGREL1:def 20;
    u.z=TRUE by A3,EQREL_1:def 6;
    hence thesis by A6;
  end;
  assume
A7: u is_independent_of PA,G;
  (u '&' All(a,PA,G)) '<' All(u '&' a,PA,G)
  proof
    let z be Element of Y;
A8: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
    assume (u '&' All(a,PA,G)).z= TRUE;
    then
A9: u.z '&' All(a,PA,G).z= TRUE by MARGREL1:def 20;
    then
A10: All(a,PA,G).z=TRUE by MARGREL1:12;
A11: u.z=TRUE by A9,MARGREL1:12;
    for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds (u '&'
    a).x=TRUE
    proof
      let x be Element of Y;
      assume x in EqClass(z,CompF(PA,G));
      then a.x=TRUE & u.x=u.z by A7,A10,A8,BVFUNC_1:def 15,def 16;
      then (u '&' a).x =TRUE '&' TRUE by A11,MARGREL1:def 20
        .=TRUE;
      hence thesis;
    end;
    hence thesis by BVFUNC_1:def 16;
  end;
  hence thesis by A1,BVFUNC_1:15;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds All(a
  '&' u,PA,G) = All(a,PA,G) '&' u by Th25;

theorem
  for PA being a_partition of Y holds All(a '&' u,PA,G) '<' Ex(a,PA,G) '&' u
proof
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume
A2: All(a '&' u,PA,G).z= TRUE;
A3: for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.x=TRUE &
  u.x=TRUE
  proof
    let x be Element of Y;
    assume x in EqClass(z,CompF(PA,G));
    then (a '&' u).x=TRUE by A2,BVFUNC_1:def 16;
    then a.x '&' u.x=TRUE by MARGREL1:def 20;
    hence thesis by MARGREL1:12;
  end;
A4: (Ex(a,PA,G) '&' u).z = Ex(a,PA,G).z '&' u.z by MARGREL1:def 20;
  per cases;
  suppose
A5: for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.x= TRUE;
    now
      per cases;
      suppose
        ex x being Element of Y st x in EqClass(z,CompF(PA,G)) & a.x= TRUE;
        then Ex(a,PA,G).z = TRUE by BVFUNC_1:def 17;
        hence (Ex(a,PA,G) '&' u).z = TRUE '&' TRUE by A4,A5,EQREL_1:def 6
          .= TRUE;
      end;
      suppose
        not (ex x being Element of Y st x in EqClass(z,CompF(PA,G)) &
        a.x=TRUE);
        then a.z<>TRUE by EQREL_1:def 6;
        hence thesis by A3,A1;
      end;
    end;
    hence thesis;
  end;
  suppose
    not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
    holds u.x=TRUE);
    hence thesis by A3;
  end;
end;

theorem Th28:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  All(u 'xor' a,PA,G) '<' u 'xor' All(a,PA,G)
proof
  let PA be a_partition of Y;
  assume
A1: u is_independent_of PA,G;
  let z be Element of Y;
  assume
A2: All(u 'xor' a,PA,G).z= TRUE;
A3: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
A4: 'not' FALSE=TRUE & (u 'xor' All(a,PA,G)).z = All(a,PA,G).z 'xor' u.z by
BVFUNC_1:def 5,MARGREL1:11;
  per cases;
  suppose
    (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.x
=TRUE) & for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.x=TRUE
    ;
    then
A5: u.z=TRUE & a.z=TRUE by EQREL_1:def 6;
A6: FALSE '&' TRUE = FALSE by MARGREL1:12;
    (u 'xor' a).z =a.z 'xor' u.z by BVFUNC_1:def 5
      .=FALSE by A5,A6,MARGREL1:11;
    hence thesis by A2,A3,BVFUNC_1:def 16;
  end;
  suppose
A7: (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.
x=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.
    x=TRUE);
    then consider x1 being Element of Y such that
A8: x1 in EqClass(z,CompF(PA,G)) and
    a.x1<>TRUE;
A9: u.x1=TRUE by A7,A8;
A10: All(a,PA,G).z = FALSE by A7,BVFUNC_1:def 16;
    u.z=u.x1 by A1,A3,A8,BVFUNC_1:def 15;
    then (u 'xor' All(a,PA,G)).z =TRUE 'or' FALSE by A4,A10,A9
      .=TRUE by BINARITH:3;
    hence thesis;
  end;
  suppose
    not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
    holds u.x=TRUE);
    then consider x1 being Element of Y such that
A11: x1 in EqClass(z,CompF(PA,G)) and
A12: u.x1<>TRUE;
    now
      per cases;
      suppose
A13:    for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.x=TRUE;
        u.z=u.x1 by A1,A3,A11,BVFUNC_1:def 15;
        then
A14:    u.z=FALSE by A12,XBOOLEAN:def 3;
        All(a,PA,G).z = TRUE by A13,BVFUNC_1:def 16;
        then (u 'xor' All(a,PA,G)).z =FALSE 'or' TRUE by A4,A14
          .=TRUE by BINARITH:3;
        hence thesis;
      end;
      suppose
        not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
        holds a.x=TRUE);
        then consider x2 being Element of Y such that
A15:    x2 in EqClass(z,CompF(PA,G)) and
A16:    a.x2<>TRUE;
A17:    a.x2=FALSE by A16,XBOOLEAN:def 3;
        u.x1=u.x2 by A1,A11,A15,BVFUNC_1:def 15;
        then
A18:    u.x2=FALSE by A12,XBOOLEAN:def 3;
        (u 'xor' a).x2 =a.x2 'xor' u.x2 by BVFUNC_1:def 5
          .=FALSE by A18,A17,MARGREL1:12;
        hence thesis by A2,A15,BVFUNC_1:def 16;
      end;
    end;
    hence thesis;
  end;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds All(a
  'xor' u,PA,G) '<' All(a,PA,G) 'xor' u by Th28;

theorem Th30:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  All(u 'eqv' a,PA,G) '<' u 'eqv' All(a,PA,G)
proof
  let PA be a_partition of Y;
A1: 'not' FALSE=TRUE by MARGREL1:11;
  assume
A2: u is_independent_of PA,G;
  let z be Element of Y;
  assume
A3: All(u 'eqv' a,PA,G).z= TRUE;
A4: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  per cases;
  suppose
    (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.x
=TRUE) & for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.x=TRUE
    ;
    then
A5: All(a,PA,G).z=TRUE & u.z=TRUE by BVFUNC_1:def 16,EQREL_1:def 6;
    (u 'eqv' All(a,PA,G)).z ='not'(u.z 'xor' All(a,PA,G).z) by BVFUNC_1:def 9
      .=TRUE by A1,A5,MARGREL1:13;
    hence thesis;
  end;
  suppose
A6: (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds u.
x=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds a.
    x=TRUE);
    then consider x1 being Element of Y such that
A7: x1 in EqClass(z,CompF(PA,G)) and
A8: a.x1<>TRUE;
A9: u.x1=TRUE by A6,A7;
A10: a.x1=FALSE by A8,XBOOLEAN:def 3;
    (u 'eqv' a).x1 ='not'(u.x1 'xor' a.x1) by BVFUNC_1:def 9
      .='not'(FALSE 'or' TRUE) by A1,A9,A10
      .=FALSE by BINARITH:3,MARGREL1:11;
    hence thesis by A3,A7,BVFUNC_1:def 16;
  end;
  suppose
A11: not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds u.x=TRUE) & for x being Element of Y st x in EqClass(z,CompF(PA,G)) holds
    a.x=TRUE;
    then consider x1 being Element of Y such that
A12: x1 in EqClass(z,CompF(PA,G)) and
A13: u.x1<>TRUE;
A14: a.x1=TRUE by A11,A12;
A15: u.x1=FALSE by A13,XBOOLEAN:def 3;
    (u 'eqv' a).x1 ='not'(u.x1 'xor' a.x1) by BVFUNC_1:def 9
      .='not'(TRUE 'or' FALSE) by A1,A15,A14
      .=FALSE by BINARITH:3,MARGREL1:11;
    hence thesis by A3,A12,BVFUNC_1:def 16;
  end;
  suppose
A16: not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
holds u.x=TRUE) & not (for x being Element of Y st x in EqClass(z,CompF(PA,G))
    holds a.x=TRUE);
    then consider x1 being Element of Y such that
A17: x1 in EqClass(z,CompF(PA,G)) and
A18: u.x1<>TRUE;
    u.x1=u.z by A2,A4,A17,BVFUNC_1:def 15;
    then
A19: u.z=FALSE by A18,XBOOLEAN:def 3;
A20: All(a,PA,G).z = FALSE by A16,BVFUNC_1:def 16;
    (u 'eqv' All(a,PA,G)).z ='not'(u.z 'xor' All(a,PA,G).z) by BVFUNC_1:def 9
      .=TRUE by A20,A19,MARGREL1:11,13;
    hence thesis;
  end;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds All(a
  'eqv' u,PA,G) '<' All(a,PA,G) 'eqv' u by Th30;

theorem Th32:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  Ex(u 'or' a,PA,G) = u 'or' Ex(a,PA,G)
proof
  let PA be a_partition of Y;
  assume
A1: u is_independent_of PA,G;
A2: Ex(u 'or' a,PA,G) '<' u 'or' Ex(a,PA,G)
  proof
    let z be Element of Y;
A3: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
A4: (u 'or' Ex(a,PA,G)).z = u.z 'or' Ex(a,PA,G).z by BVFUNC_1:def 4;
    assume Ex(u 'or' a,PA,G).z= TRUE;
    then consider x1 being Element of Y such that
A5: x1 in EqClass(z,CompF(PA,G)) and
A6: (u 'or' a).x1=TRUE by BVFUNC_1:def 17;
A7: u.x1= TRUE or u.x1=FALSE by XBOOLEAN:def 3;
A8: u.x1 'or' a.x1=TRUE by A6,BVFUNC_1:def 4;
    now
      per cases by A8,A7,BINARITH:3;
      case
A9:     u.x1=TRUE;
        u.z=u.x1 by A1,A5,A3,BVFUNC_1:def 15;
        hence thesis by A4,A9,BINARITH:10;
      end;
      case
        a.x1=TRUE;
        then (u 'or' Ex(a,PA,G)).z = u.z 'or' TRUE by A5,A4,BVFUNC_1:def 17
          .= TRUE by BINARITH:10;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
  u 'or' Ex(a,PA,G) '<' Ex(u 'or' a,PA,G)
  proof
    let z be Element of Y;
A10: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
    assume (u 'or' Ex(a,PA,G)).z= TRUE;
    then
A11: u.z 'or' Ex(a,PA,G).z=TRUE by BVFUNC_1:def 4;
A12: Ex(a,PA,G).z= TRUE or Ex(a,PA,G).z=FALSE by XBOOLEAN:def 3;
    now
      per cases by A11,A12,BINARITH:3;
      case
        u.z=TRUE;
        then (u 'or' a).z = TRUE 'or' a.z by BVFUNC_1:def 4
          .= TRUE by BINARITH:10;
        hence thesis by A10,BVFUNC_1:def 17;
      end;
      case
        Ex(a,PA,G).z=TRUE;
        then consider x1 being Element of Y such that
A13:    x1 in EqClass(z,CompF(PA,G)) and
A14:    a.x1=TRUE by BVFUNC_1:def 17;
        (u 'or' a).x1 = u.x1 'or' a.x1 by BVFUNC_1:def 4
          .= TRUE by A14,BINARITH:10;
        hence thesis by A13,BVFUNC_1:def 17;
      end;
    end;
    hence thesis;
  end;
  hence thesis by A2,BVFUNC_1:15;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds Ex(a
  'or' u,PA,G) = Ex(a,PA,G) 'or' u by Th32;

theorem Th34:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  Ex(u '&' a,PA,G) = u '&' Ex(a,PA,G)
proof
  let PA be a_partition of Y;
  assume
A1: u is_independent_of PA,G;
A2: Ex(u '&' a,PA,G) '<' (u '&' Ex(a,PA,G))
  proof
    let z be Element of Y;
    assume Ex(u '&' a,PA,G).z= TRUE;
    then consider x1 being Element of Y such that
A3: x1 in EqClass(z,CompF(PA,G)) and
A4: (u '&' a).x1=TRUE by BVFUNC_1:def 17;
A5: u.x1 '&' a.x1=TRUE by A4,MARGREL1:def 20;
    then a.x1=TRUE by MARGREL1:12;
    then
A6: Ex(a,PA,G).z=TRUE by A3,BVFUNC_1:def 17;
    z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
    then
A7: u.z=u.x1 by A1,A3,BVFUNC_1:def 15;
    u.x1=TRUE by A5,MARGREL1:12;
    then (u '&' Ex(a,PA,G)).z =TRUE '&' TRUE by A6,A7,MARGREL1:def 20
      .=TRUE;
    hence thesis;
  end;
  (u '&' Ex(a,PA,G)) '<' Ex(u '&' a,PA,G)
  proof
    let z be Element of Y;
    assume (u '&' Ex(a,PA,G)).z= TRUE;
    then
A8: u.z '&' Ex(a,PA,G).z=TRUE by MARGREL1:def 20;
    then
A9: u.z=TRUE by MARGREL1:12;
    Ex(a,PA,G).z=TRUE by A8,MARGREL1:12;
    then consider x1 being Element of Y such that
A10: x1 in EqClass(z,CompF(PA,G)) and
A11: a.x1=TRUE by BVFUNC_1:def 17;
    z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
    then u.x1=u.z by A1,A10,BVFUNC_1:def 15;
    then (u '&' a).x1=TRUE '&' TRUE by A9,A11,MARGREL1:def 20
      .=TRUE;
    hence thesis by A10,BVFUNC_1:def 17;
  end;
  hence thesis by A2,BVFUNC_1:15;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds Ex(a
  '&' u,PA,G) = Ex(a,PA,G) '&' u by Th34;

theorem
  for PA being a_partition of Y holds u 'imp' Ex(a,PA,G) '<' Ex(u 'imp' a,PA,G)
proof
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume (u 'imp' Ex(a,PA,G)).z= TRUE;
  then
A2: ('not' u.z) 'or' Ex(a,PA,G).z=TRUE by BVFUNC_1:def 8;
A3: Ex(a,PA,G).z= TRUE or Ex(a,PA,G).z=FALSE by XBOOLEAN:def 3;
  now
    per cases by A2,A3,BINARITH:3;
    case
A4:   'not' u.z=TRUE;
      (u 'imp' a).z = ('not' u.z) 'or' a.z by BVFUNC_1:def 8
        .= TRUE by A4,BINARITH:10;
      hence thesis by A1,BVFUNC_1:def 17;
    end;
    case
      Ex(a,PA,G).z=TRUE;
      then consider x1 being Element of Y such that
A5:   x1 in EqClass(z,CompF(PA,G)) and
A6:   a.x1=TRUE by BVFUNC_1:def 17;
      (u 'imp' a).x1 =('not' u.x1) 'or' a.x1 by BVFUNC_1:def 8
        .=TRUE by A6,BINARITH:10;
      hence thesis by A5,BVFUNC_1:def 17;
    end;
  end;
  hence thesis;
end;

theorem
  for PA being a_partition of Y holds Ex(a,PA,G) 'imp' u '<' Ex(a 'imp' u,PA,G)
proof
  let PA be a_partition of Y;
  let z be Element of Y;
A1: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume (Ex(a,PA,G) 'imp' u).z= TRUE;
  then
A2: ('not' Ex(a,PA,G).z) 'or' u.z=TRUE by BVFUNC_1:def 8;
A3: u.z= TRUE or u.z=FALSE by XBOOLEAN:def 3;
  now
    per cases by A2,A3,BINARITH:3;
    case
      ('not' Ex(a,PA,G).z)=TRUE;
      then
A4:   a.z<>TRUE by A1,BVFUNC_1:def 17,MARGREL1:11;
      (a 'imp' u).z =('not' a.z) 'or' u.z by BVFUNC_1:def 8
        .= TRUE 'or' u.z by A4,MARGREL1:11,XBOOLEAN:def 3
        .= TRUE by BINARITH:10;
      hence thesis by A1,BVFUNC_1:def 17;
    end;
    case
A5:   u.z=TRUE;
      (a 'imp' u).z =('not' a.z) 'or' u.z by BVFUNC_1:def 8
        .=TRUE by A5,BINARITH:10;
      hence thesis by A1,BVFUNC_1:def 17;
    end;
  end;
  hence thesis;
end;

theorem Th38:
  for PA being a_partition of Y st u is_independent_of PA,G holds
  u 'xor' Ex(a,PA,G) '<' Ex(u 'xor' a,PA,G)
proof
  let PA be a_partition of Y;
A1: 'not' FALSE=TRUE by MARGREL1:11;
  assume
A2: u is_independent_of PA,G;
  let z be Element of Y;
A3: (u 'xor' Ex(a,PA,G)).z =u.z 'xor' Ex(a,PA,G).z by BVFUNC_1:def 5
    .=('not' u.z '&' Ex(a,PA,G).z) 'or' (u.z '&' 'not' Ex(a,PA,G).z);
A4: (u.z '&' 'not' Ex(a,PA,G).z)=TRUE or (u.z '&' 'not' Ex(a,PA,G).z)=FALSE
  by XBOOLEAN:def 3;
A5: z in EqClass(z,CompF(PA,G)) by EQREL_1:def 6;
  assume
A6: (u 'xor' Ex(a,PA,G)).z= TRUE;
  now
    per cases by A6,A3,A4,BINARITH:3;
    case
A7:   'not' u.z '&' Ex(a,PA,G).z=TRUE;
      then Ex(a,PA,G).z=TRUE by MARGREL1:12;
      then consider x1 being Element of Y such that
A8:   x1 in EqClass(z,CompF(PA,G)) and
A9:   a.x1=TRUE by BVFUNC_1:def 17;
A10:  u.z=u.x1 by A2,A5,A8,BVFUNC_1:def 15;
A11:  'not' u.z=TRUE by A7,MARGREL1:12;
      (u 'xor' a).x1 =u.x1 'xor' a.x1 by BVFUNC_1:def 5
        .= TRUE 'or' FALSE by A11,A9,A10,MARGREL1:11
        .= TRUE by BINARITH:10;
      hence thesis by A8,BVFUNC_1:def 17;
    end;
    case
A12:  u.z '&' 'not' Ex(a,PA,G).z=TRUE;
      then 'not' Ex(a,PA,G).z=TRUE by MARGREL1:12;
      then a.z<>TRUE by A5,BVFUNC_1:def 17,MARGREL1:11;
      then
A13:  a.z=FALSE by XBOOLEAN:def 3;
A14:  u.z=TRUE by A12,MARGREL1:12;
      (u 'xor' a).z = u.z 'xor' a.z by BVFUNC_1:def 5
        .= FALSE 'or' TRUE by A1,A14,A13
        .= TRUE by BINARITH:10;
      hence thesis by A5,BVFUNC_1:def 17;
    end;
  end;
  hence thesis;
end;

theorem
  for PA being a_partition of Y st u is_independent_of PA,G holds Ex(a,
  PA,G) 'xor' u '<' Ex(a 'xor' u,PA,G) by Th38;

Messung
CHZG
849910094

¤ Dauer der Verarbeitung: 0.33 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland