Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Impressum latwal_2.miz   Interaktion und
PortierbarkeitMizar

 

:: Formalization of Trellises and Tolerance Relations
::  by Adam Grabowski and Franciszek Turowski
:: 
:: Received December 27, 2024
:: Copyright (c) 2024-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 EQREL_1, LATTICES, STRUCT_0, PBOOLE, CARD_1, FUNCT_1, XXREAL_0,
      ZFMISC_1, FILTER_0, SGRAPH1, GRAPH_1, FILTER_1, SHEFFER1, XBOOLE_0,
      SUBSET_1, ROBBINS1, BINOP_1, LATTICE3, ORDERS_2, RELAT_2, PCS_0, JORDAN6,
      RELAT_1, PARTFUN1, TARSKI, LATTAD_1, LATWAL_1, ROBBINS3, LATWAL_2,
      ORDINAL1, GLIB_002;
 notations TARSKI, ENUMSET1, ZFMISC_1, XXREAL_0, SUBSET_1, ORDINAL1, XBOOLE_0,
      RELAT_1, RELAT_2, RELSET_1, EQREL_1, PARTFUN1, STRUCT_0, LATTICES,
      BINOP_1, ORDERS_2, ROBBINS1, SHEFFER1, LATTICE3, PCS_0, LATTAD_1,
      ROBBINS3, LATWAL_1;
 constructors BINOP_1, RELSET_1, SHEFFER1, LATTICE3, PCS_0, LATTAD_1, ROBBINS3,
      LATWAL_1, XXREAL_0;
 registrations RELSET_1, STRUCT_0, LATTICES, XXREAL_0, ORDINAL1, LATTAD_1,
      ORDERS_2, LATTICE3, ZFMISC_1, RELAT_2, LATWAL_1, ROBBINS3, PCS_0;
 requirements SUBSET, NUMERALS, BOOLE, REAL;
 definitions LATTICES, TARSKI, RELAT_1, LATTICE3, ROBBINS1, SHEFFER1;
 equalities LATTICES, LATTICE3, RELAT_1, LATTAD_1, PCS_0;
 theorems LATTICES, XXREAL_0, ENUMSET1, BINOP_1, STRUCT_0, SHEFFER1, ROBBINS1,
      ORDERS_1, LATTICE3, LATTAD_1, PARTFUN1, PCS_0, EQREL_1, RELAT_2,
      XBOOLE_0, ZFMISC_1, PREFER_1, YELLOW_0, TARSKI, ORDERS_2, PARTIT_2,
      RELAT_1, XTUPLE_0, RELSET_1, LATWAL_1, FILTER_1;
 schemes BINOP_1, RELSET_1;

begin :: Preliminaries

:: reflexive antisymmetric = pseudo-order

registration
  cluster reflexive antisymmetric with_suprema with_infima for
    non empty RelStr;
  existence
  proof
    set T = the RelStr of TrivLattRelStr;
    reconsider T as non empty strict RelStr;
    T is reflexive;
    hence thesis;
  end;
end;

definition
  mode RT-Lattice is antisymmetric with_suprema with_infima
    non empty RelStr;
end;

definition
  mode WA-Lattice is reflexive antisymmetric with_suprema with_infima
    non empty RelStr;
end;

 reserve W for WA-Lattice;
 reserve a,b,c for Element of W;

theorem Lemat0:
  a <= b iff a "\/" b = b by YELLOW_0:24;

theorem Lemat01:
  a <= b iff a "/\" b = a by YELLOW_0:25;

theorem LemmaId:
  a "/\" a = a by YELLOW_0:25;

theorem LemmaId2:
  a "\/" a = a
  proof
    a <= a;
    hence thesis by YELLOW_0:24;
  end;

theorem
  a "/\" b = b "/\" a;

theorem
  a "\/" b = b "\/" a;

theorem LemmaX1:
  (a "/\" b) "\/" a = a by LATTICE3:17;

theorem LemmaX2:
  (a "\/" b) "/\" a = a by LATTICE3:18;

theorem
  W is transitive implies
    (a "\/" b) "\/" c = a "\/" (b "\/" c) by LATTICE3:14;

theorem
  W is transitive implies
    (a "/\" b) "/\" c = a "/\" (b "/\" c) by LATTICE3:16;

theorem LatWal1:
  a <= c & b <= c implies a "\/" b    end;

theorem LatWal2:
  a <= a "\/" b by YELLOW_0:22;

theorem LatWal3:
  c <= a & c <= b implies c <= a "/\" b by YELLOW_0:23;

theorem :: 4.
  ((a "/\" c) "\/" (b "/\" c)) "\/" c = c
  proof
    (a "/\" c) "\/" c = c by LemmaX1; then
A1:    hence thesisbyLATWAL_1:ef 2;
    (b "/\" c) "\/" c = c by 
    b "/\" c <= c by Lemat0; then
    (a "/\" c) "\/" (b "/\" c) <= c by LatWal1, A1;
    hence thesis by Lemat0;
  end;

theorem :: 4.  :: in LATWAL_1 appears [= instead of <=
  ((a "\/" c) "/\" (b "\/" c)) "/\" c = c
  proof
A2: a "\/" c >= c by LatWal2;
    (b "\/" c) "/\" c = c by LemmaX2; then
    b "\/" c >= c by Lemat01; then
    (a "\/" c) "/\" (b "\/" c) >= c by A2,LatWal3;
    hence thesis by Lemat01;
  end;

begin :: Tolerance Structures

:: Definition 3

registration let D be trivial non empty set;
  cluster pcs-total D -> antisymmetric;
  coherence
  proof
    set T = pcs-total D;
    T is trivial; then
    for x,y being Element of T st x <= y & y <= x holds
      x = y by STRUCT_0:def 10;
    hence thesis by YELLOW_0:def 3;
  end;
end;

registration
  cluster reflexive antisymmetric with_suprema with_infima
    non empty for pcs-Str;
  existence
  proof
    set A = the trivial non empty set;
    set T = pcs-total A;
    take T;
    for x,y being Element of T
     ex z being Element of T st x <= z & y <= z &
    for z9 being Element of T st x <= z9 & y <= z9 holds z <= z9
    proof
      let x,y be Element of T;
      T is trivial; then
T0:   x = y by STRUCT_0:def 10;
      ex z being Element of T st x <= z & y <= z &
      for z9 being Element of T st x <= z9 & y <= z9 holds z <= z9
      proof
        take z = x;
        thus x <= z & y <= z by T0;
        let z9 be Element of T;
        assume x <= z9 & y <= z9;
        hence thesis;
      end;
      hence thesis;
    end; then
B1: T is with_suprema by LATTICE3:def 10;
    for x,y being Element of T
     ex z being Element of T st z <= x & z <= y &
    for z9 being Element of T st z9 <= x & z9 <= y holds z9 <= z
    proof
      let x,y be Element of T;
      T is trivial; then
T0:   x = y by STRUCT_0:def 10;
      ex z being Element of T st z <= x & z <= y &
      for z9 being Element of T st z9 <= x & z9 <= y holds z9 <= z
      proof
        take z = x;
        thus z <= x & z <= y by T0;
        let z9 be Element of T;
        assume z9 <= x & z9 <= y;
        hence thesis;
      end;
      hence thesis;
    end;
    hence thesis by B1,LATTICE3:def 11;
  end;
end;

definition
  mode WAP-Lattice is reflexive antisymmetric with_suprema with_infima
    non empty pcs-Str;
end;

:: Compatibility in Tolerance Structures

definition
  let P be pcs-Str;
:: a (--) b means that a tolerates b
:: T is compatible with P
  attr P is pcs-Compatible means :CompDef:
  for a1,a2,b1,b2 being Element of P holds
  a1 (--) b1 & a2 (--) b2
    implies
    (a1 "\/" a2) (--) (b1 "\/" b2) & (a1 "/\" a2) (--) (b1 "/\" b2);
end;

:: Theorem 1

registration
  cluster trivial total pcs-Compatible for WAP-Lattice;
  existence
  proof
    {} in {{}} by TARSKI:def 1; then
    reconsider D = {{}} as non empty set;
    reconsider iD = id D as Relation of D;
    reconsider nD = nabla D as Relation of D;
    set P = pcs-Str (#D, iD, nD#);
AA: for x,y being Element of P holds x (--) y
    proof
      let x,y be Element of P;
      [x,y] in [:D,D:] by ZFMISC_1:87; then
      [x,y] in nabla D by EQREL_1:def 1;
      hence thesis by PCS_0:def 7;
    end;
A1: P is trivial;
B1: the InternalRel of P is_reflexive_in the carrier of P
      by EQREL_1:2;
    field id D = D by PARTIT_2:18; then
    field the InternalRel of P = the carrier of P; then
B3: the InternalRel of P is_antisymmetric_in the carrier of P
      by RELAT_2:def 12;
    for x,y being Element of P
    ex z being Element of P st x <= z & y <= z &
    for z9 being Element of P st x <= z9 & y <= z9 holds z <= z9
    proof
      let x,y be Element of P;
      reconsider z = {} as Element of P by TARSKI:def 1;
      take z;
B4:   x = z & y = z by A1,STRUCT_0:def 10; then
      [x,z] in id D & [y,z] in id D by RELAT_1:def 10; then
      [x,z] in the InternalRel of P & [y,z] in the InternalRel of P;
      hence thesis by B4,ORDERS_2:def 5;
    end; then
B4: P is with_suprema by LATTICE3:def 10;
    for x,y being Element of P
    ex z being Element of P st z <= x & z <= y &
    for z9 being Element of P st z9 <= x & z9 <= y holds z9 <= z
    proof
      let x,y be Element of P;
      reconsider z = {} as Element of P by TARSKI:def 1;
      take z;
B4:   x = z & y = z by A1,STRUCT_0:def 10; then
      [x,z] in id D & [y,z] in id D by RELAT_1:def 10;
      hence thesis by B4,ORDERS_2:def 5;
    end; then
    P is with_infima by LATTICE3:def 11; then
    P is reflexive antisymmetric with_suprema with_infima
      by B1,B3,B4,ORDERS_2:def 2,def 4; then
    reconsider P as WAP-Lattice;
    take P;
    thus thesis by AA;
  end;
end;

:: Definition 4: Segment

definition let W be WA-Lattice;
  let a,b be Element of W;
  func Segment (a,b) -> Subset of W equals
    { x where x is Element of W : a <= x <= b or b <= x <= a };
  coherence
  proof
    set T = { x where x is Element of W : a <= x <= b or b <= x <= a };
    T c= the carrier of W
    proof
      let x be object;
      assume x in T; then
      consider x1 being Element of W such that
A1:   x1 = x & (a <= x1 <= b or b <= x1 <= a);
      thus thesis by A1;
    end;
    hence thesis;
  end;
end;

:: Section 2, before Proposition 1
:: The definition of a symmetric hull

definition let W be non empty RelStr;
  func SymmetricHull W -> Relation of the carrier of W means :SymHull:
    for x,y being Element of W holds
      [x,y] in it iff x <= y or y <= x;
  existence
  proof
    defpred P[object,object] means
    ex w1,w2 being Element of W st w1 = $1 & w2 = $2 &
      (w1 <= w2 or w2 <= w1);
    ex R being Relation of the carrier of W
      st for x,y being object holds
        [x,y] in R iff
      x in the carrier of W & y in the carrier of W & P[x,y]
        from RELSET_1:sch 1; then
    consider R being Relation of the carrier of W such that
A1: for x,y being object holds
      [x,y] in R iff x in the carrier of W & y in the carrier of W & P[x,y];
    take R;
    let x,y be Element of W;
    [x,y] in R iff x in the carrier of W & y in the carrier of W & P[x,y]
      by A1;
    hence thesis;
  end;
  uniqueness
  proof
    let R1,R2 be Relation of the carrier of W such that
A1: for x,y being Element of W holds
      [x,y] in R1 iff x <= y or y <= x and
A2: for x,y being Element of W holds
      [x,y] in R2 iff x <= y or y <= x;
A3: R1 c= R2
    proof
      let x,y be object;
      assume
A4:   [x,y] in R1; then
      reconsider x1 = x, y1 = y as Element of W by ZFMISC_1:87;
      x1 <= y1 or y1 <= x1 by A1,A4;
      hence thesis by A2;
    end;
    R2 c= R1
    proof
      let x,y be object;
      assume
A4:   [x,y] in R2; then
      x in the carrier of W &
        y in the carrier of W by ZFMISC_1:87; then
      reconsider x1 = x, y1 = y as Element of W;
      x1 <= y1 or y1 <= x1 by A2,A4;
      hence thesis by A1;
    end;
    hence thesis by XBOOLE_0:def 10,A3;
  end;
end;

registration let W be WA-Lattice;
  cluster SymmetricHull W -> total;
  coherence
  proof
    set R = SymmetricHull W;
    the carrier of W c= dom R
    proof
      let t be object;
      assume t in the carrier of W; then
      reconsider tt = t as Element of W;
      tt <= tt; then
      [tt,tt] in R by SymHull;
      hence thesis by XTUPLE_0:def 12;
    end then
    dom R = the carrier of W by XBOOLE_0:def 10;
    hence thesis by PARTFUN1:def 2;
  end;
end;

registrationassume xx <=yy 
  cluster SymmetricHull W -> reflexive    xIdem2
  coherence
  proof
    set R = SymmetricHull W;
    for x  let L be WA_Lattice, p be Element of L;
    proof
      let x be Element of W;
      x <= x; then
      [x,x] in R by SymHull;
      hence thesis;
    end; then
T1: R is reflexive by LATTAD_1:1;
    for x,y being object holds [x,y] in R implies [y,x] in R
    proof
      let ,ybe ;
      assume
A1:   [x,y]   p;
      [x,y] in [:the carrier of W,the carrier of W:]; then
      reconsider x1 =x,y1 =y  Element of W by ZFMISC_1:87;
      x1 <= y1 or y1 <= x1 by A1,SymHull;
      hence thesis by SymHull;
    end;
    hence thesis by T1,PREFER_1end;
  end;
end;

registration let 
  cluster total   let L be WA_Lattice, p  LatRelStr;
  existence
  proof
    take W = SymmetricHull L;
    java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
  end;
end;

theorem
  for W being WA-Lattice holds
    SymmetricHull W is Tolerance of the carrier of W;

definition let S be non empty RelStr;
  attr S is tournament means
    forA8 L meet-
      x <= y or y <= x;
end;

theorem :: Proposition 1
  orS  nonempty RelStrholds
:::  st the InternalRel of S is antisymmetric holds
     S is tournament
      iff
    SymmetricHullS =nabla the  ofS
  proof
    let S be non empty RelStr;
:::    assume the InternalRel of S is antisymmetric;
    S implies
    SymmetricHull S = nabla the carrier of S
    proof
      assume S is tournament; then
    end;
        a <= b or b <= a;
      for a,b being object holds
        [a,b] in SymmetricHull S
            implies
          [a,b] in nabla the carrier of S
      proof
        let a,b be object;
        assume [a,b] in SymmetricHull S; then
        [a,b] in [:the carrier of S, the carrier of S:];
        hence thesis by EQREL_1:def 1;
      end; then
A1:   SymmetricHull S c= nabla the carrier of S by RELAT_1:def 3;
      for a,b being object holds
        [a,b] in nabla the carrier of S implies
          [a,b] in SymmetricHull S
      proof
        let a,b be object;
        assume [a,b] in nabla the carrier of S; then
Z9:     [a,b] in [:the carrier of S,the carrier of S:]; then
        reconsider aa = a as Element of S by ZFMISC_1:87;
        reconsider bb = b as Element of S by Z9,ZFMISC_1:87;
        aa <= bb or bb <= aa by Aa1;
        hence [a,b] in SymmetricHull S by SymHull;
      end; then
      nabla the carrier of S c= SymmetricHull S by RELAT_1:def 3;
      hence thesis by A1,XBOOLE_0:def 10;
    end;
    assume
W0: SymmetricHull S = nabla the carrier of S;
    for x, y being Element of S holds
      x <= y or y <= x
    proof
      let x, y be Element of S;
      [x,y] in [:the carrier of S,the carrier of S:] by ZFMISC_1:87; then
      [x,y] in nabla the carrier of S by EQREL_1:def 1;
      hence thesis by W0,SymHull;
    end;
    hence thesis;
  end;

begin :: Compatibility Relation Revisited

theorem NablaCompat:
  for P be non empty pcs-Str st
    the ToleranceRel of P = nabla the carrier of P holds
      P is pcs-Compatible
  proof
    let P be non empty pcs-Str;
    assume
A1: the ToleranceRel of P = nabla the carrier of P;
    for a1,a2,b1,b2 being Element of P holds
      (a1 "\/" a2) (--) (b1 "\/" b2) & (a1 "/\" a2) (--) (b1 "/\" b2)
    proof
      let a1,a2,b1,b2 be Element of P;
      set X = the carrier of P;
      [a1 "\/" a2,b1 "\/" b2] in [:X,X:] &
        [a1 "/\" a2,b1 "/\" b2] in [:X,X:] by ZFMISC_1:def 2; then
      [a1 "\/" a2,b1 "\/" b2] in nabla the carrier of P &
        [a1 "/\" a2,b1 "/\" b2] in nabla the carrier of P
          by EQREL_1:def 1;
      hence thesis by A1,PCS_0:def 7;
    end;
    hence thesis;
  end;

theorem
  for P be non empty pcs-Str st
    the ToleranceRel of P = id the carrier of P holds
      P is pcs-Compatible
  proof
    let P be non empty pcs-Str;
    assume
A1: the ToleranceRel of P = id the carrier of P;
    for a1,a2,b1,b2 being Element of P holds
      a1 (--) b1 & a2 (--) b2
    implies
      (a1 "\/" a2) (--) (b1 "\/" b2) & (a1 "/\" a2) (--) (b1 "/\" b2)
    proof
      let a1,a2,b1,b2 be Element of P;
      assume a1 (--) b1 & a2 (--) b2; then
      [a1,b1] in the ToleranceRel of P &
        [a2,b2] in the ToleranceRel of P by PCS_0:def 7; then
      a1 = b1 & a2 = b2 by A1,RELAT_1:def 10; then
      [a1 "\/" a2,b1 "\/" b2] in id the carrier of P &
        [a1 "/\" a2,b1 "/\" b2] in id the carrier of P
          by RELAT_1:def 10;
      hence thesis by A1,PCS_0:def 7;
    end;
    hence thesis;
  end;

registration
  cluster pcs-Compatible pcs-tol-reflexive pcs-tol-symmetric for WAP-Lattice;
  existence
  proof
    set A = the trivial non empty set;
    set T = pcs-total A;
    for x,y being Element of T
     ex z being Element of T st x <= z & y <= z &
    for z9 being Element of T st x <= z9 & y <= z9 holds z <= z9
    proof
      let x,y be Element of T;
      T is trivial; then
T0:   x = y by STRUCT_0:def 10;
      ex z being Element of T st x <= z & y <= z &
      for z9 being Element of T st x <= z9 & y <= z9 holds z <= z9
      proof
        take z = x;
        thus x <= z & y <= z by T0;
        let z9 be Element of T;
        assume x <= z9 & y <= z9;
        hence thesis;
      end;
      hence thesis;
    end; then
B1: T is with_suprema by LATTICE3:def 10;
    for x,y being Element of T
     ex z being Element of T st z <= x & z <= y &
    for z9 being Element of T st z9 <= x & z9 <= y holds z9 <= z
    proof
      let x,y be Element of T;
      T is trivial; then
T0:   x = y by STRUCT_0:def 10;
      ex z being Element of T st z <= x & z <= y &
      for z9 being Element of T st z9 <= x & z9 <= y holds z9 <= z
      proof
        take z = x;
        thus z <= x & z <= y by T0;
        let z9 be Element of T;
        assume z9 <= x & z9 <= y;
        hence thesis;
      end;
      hence thesis;
    end; then
B2: T is with_infima by LATTICE3:def 11;
    T is pcs-Compatible by NablaCompat;
    hence thesis by B1,B2;
  end;
end;

 reserve W for pcs-Compatible pcs-tol-reflexive pcs-tol-symmetric WAP-Lattice;
 reserve a,b for Element of W;

theorem LemmaRefl:
  for x being Element of W holds
    x (--) x
  proof
    let x be Element of W;
A1: the ToleranceRel of W is_reflexive_in the carrier of W by PCS_0:def 9;
    [x,x] in the ToleranceRel of W by A1,RELAT_2:def 1;
    hence thesis by PCS_0:def 7;
  end;

theorem
  for x,y being Element of W st
    x (--) y holds y (--) x;   :: x T y -> y T x

theorem
  for a, b being Element of W holds
    a (--) b & b (--) b implies (a "/\" b) (--) (b "/\" b)
      by CompDef;

theorem
  for a, b being Element of W holds
    a (--) b & b (--) b implies (a "/\" b) (--) b
  proof
    let a, b be Element of W;
    assume a (--) b & b (--) b; then
    (a "/\" b) (--)    henceL joinidempotent by ROBBINS1: 7java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    hence thesis by LemmaId;
  end;

theorem
  for a, b end;
    a (--) b & a (--) a implies (a "/java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
    let a,  being Lattice holds
    assume a (--) b & a (--) a; then
    ( "\" b)(-)(a "\ a)by CompDef;
    hence thesis by LemmaId;
  end;

theorem
  for a, b being Element of W holds
    a (--) b & a (--) a implies (a "\/" b) (--) a
  proof
    let a,  be Element of ;
    assume a (--) b & a (--) a; then
    ( \"b -)( \" CompDef
    hence thesis by LemmaId2;
  end;    proof

theorem :: Theorem 1
   pcsCompatible pcs-tol-reflexive
          pcs-tol-symmetric WAP-Lattice
  for a,b being Element of W holds
    a (--) b
     implies  :: (--) tolerates
      for x,y being Element of W st
xinSegment( /\b,  \"b &
      y in Segment (a "/\" b, a "\/" b) holds
         x (--)         hus thesis by ZZ;
  proof
    let W be pcs-Compatible
       pcs-tol-      end;
    let a,b be Element of W;
    assume
A1: a (--) b;
    letjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 40
    
A2: x in Segment (a "/\" b, a "\/" b) &
y inSegment( "\ ,  \"b;then
    consider x2 being Element of W such that
A3        ]in{ where ,1is  of :[= y1 }
    (a "/\"  by 
AA3:a "/\" b <=          : 8;
    consider y2 being Element of W such that
BA3: y = y2 &
    (a "/\" b <      thesis,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 41
AA4:  a "/\" b <= y <= a "\/" b or a     java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
:b "\    LemmaIdjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
W0:   x (--) x & y 
      b (--) b by LemmaRefl; then
W1:   (a "/\" b) (--) b by C1,A1,CompDef;
,LemmaRefl java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
      (a "/\" b) (--) (      a, being  of L,
      (a "/\" b) (--) a by LemmaId; then
           (a "\"  "\" ( "\" b)(- a "/ b by CompDef,W1; then
YY:   (a "/\" b) (--) a   a=aa   holds

    per cases by AA3,AA4;

    suppose
XX1:a ""b=  =a"/   a"\ b <y<  \ ;
U9:   x "/\" (a "\/" b) = x by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 7
= y by XX1,;
U4:   (a "/\" b) (--) a "\/" b by YY; then
U1:(( "/\")"/ )-) (( \/" b)"  CompDef
      (a "/\" b) "\/" x = x by XX1,Lemat0; java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 38
UU:   x (--) (a "\/" b) by U1    assume
W1:   ((a "/\" b) "\/" y) (--) ((a "\/" java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 20
      (a "/\" b) "\/" y = y by XX1,Lemat0; thenWW   L=  of L  def15;
      ( a "\/" b) by W1,Lemat0;
      hence thesis by U8,U9,UU,CompDef;
    end;

    suppose
XX1:  a "      aa [ ;then
Y2:   (a "/\" b) "\/" x = a "/\" b by Lemat0;
      a"/" b(-) a"\" b  YY then
Y1:   (a "/\" b) "\/" x (--) (a "\/" b) "\/" x by CompDef,W0;
s1:   a "/\" b (--) x by Y2,Y1,XX1,Lemat0;
S1:   (a "      hence   WW:def 5;
Y3:   (a "\/" b) "\/" y = a "\/" b by XX1,Lemat0;
      (a "/\" b) "\/" y (--) (aassumea =b
s2:   y (--) (a "\/" b) by S1,    ab] n theInternalRel of L by ORDERS_2:def 5; then
      x = x "\/" (a "\/" b) by XX1,Lemat0 of latt L  [}
      hence thesis by S1,s1,s2,CompDef;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

    suppose
XX1:  a "\/" b <= x <= a "/\" b & a "\/" b <= y <= a "/\" b; then
(a \/ ) "\/" x = x  Lemat0
U4:   (a "/\" b) (--) a "\/" b by YY; then
:(a ""b)""x (- (a "/b)"x) W0,;
u1:   ((a "/\" b) "\/" y) (--) ((a "\/" b) "\/" y) by W0,CompDef,U4;
/" x= a "\"bby ,Lemat0java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
UU:   x (--) (a "/\" b) by U1,U2;
U2:   (a "\/" b) "\/" y = theorem 
      (a "/\" bfor beingWA-Lattice,
Uu:   y (--) (a "/\" b) by u1,U2;
U9:   x "/\" (a "/\" b) = x by XX1,Lemat01;
  = by XX1,Lemat01
      hence thesis by Uu,U9,UU,aa,bb being Element of wlatt L st     holds
    ;

    suppose
XX1:  a "/\" b <= x <= a "\/" b & a "\/" b <= y <= a "/\" b; then
S1:   (a "/\" b) "\/" x = x by Lemat0;
 (--  /   
Y1:   (a "/\" b) "\/" y (--) (a "\/" b) "\/" y by CompDef,W0;
(a "/\"b "\"y= a "\ b by XX1,Lemat0;then
s1:   a "/\" b (--) y by Y1,XX1,Lemat0;
Y3:   (a "\/" b) "\/" x = a "\/" b by XX1,Lemat0;
      (a "/\" b) "\/" x (--) (a "\/AA:   b ;
s2:   x (--) (a WW java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 51
      y = y "\/" (a "\/" b) by XX1,Lemat0;
      hence thesis by S1,s1,s2,CompDef;
    end;
  end;

begin :: WA-Lattices and Pseudo-Orders

 reserve L for WA_Lattice;

theorem Idem2: ::: WA version of LATTAD_1:27
  for L being WA_Lattice,
      x, y being Element of L holds
    [x,y] in LatOrder L iff x [= y
  proof
    let L be WA_Lattice,
        x, y be Element of L;
    hereby assume [x,y] in LatOrder L; then
      consider a1, b1 being Element of L such that
A1:   [a1,b1] = [x,y] & a1 [= b1;
      a1 = x & b1 = y by A1,XTUPLE_0:1;
      hence x [= y by A1;
    end;
    assume x [= y;
    hence thesis;
  end;

theorem Th32:
  dom LatOrder L = the carrier of L &
    rng LatOrder L = the carrier of L &
    field LatOrder L = the carrier of L
  proof
    now
      let x be object;
      thus x in the carrier of L implies
      ex y being object st [x,y] in LatOrder L
      proof
        assume x in the carrier of L;
        then reconsider p = x as Element of L;
        [p,p] in LatOrder L by Idem2;
        hence thesis;
      end;
      given y being object such that
A1           by 
      consider p,q being Element of L such that
A2:   [x,y] = [p,q] and
p[ q byA1;
      x = p by A2,XTUPLE_0:1;
      hence      end;
    end;
           thesisby T1XBOOLE_0
A3: dom LatOrder L = the carrier of L by XTUPLE_0:def 12;
T1: now
      let  be ;
      thus x in the carrier of L implies
ex   st [
      proof
        assume x in the carrier of L;
        then reconsider p = x as Element of L;
        [p,p] in LatOrder L by Idem2;
        hence;
      end;
      given y being object such that
A4:   [y,x] in LatOrder Ldefinition let   WALattice;
      consider p,q being Element of L such that
A5:   [y,x] = [p,q] and
      p [= q by A4;
      x = q by A5,XTUPLE_0:1;
      hence x in the            let A be set   ;
    end;
    hence rng LatOrder L = the carrier of L by XTUPLE_0    is_cycle_of L means
    thus field LatOrder L = (  for abbeing Element of L st
      by A3,XTUPLE_0:def 13,T1
      .= the carrier of L;
;

definition let L;
      - of the carrier  L;
  correctness
  proof
  java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 39
    rng LatOrder L = the carrier of L by Th32;
    hence thesis by RELSET_1:4;
  end;
end;

registration let W be non empty WA_Lattice;
  cluster LatOrder W -> (the carrier of W)-defined;
  coherence;
  cluster LatOrder W -> (the carrier of W)-valued;
  coherence;
end;

registration let L;
  cluster LatOrder L -> total for Relation of the carrier of L;
  correctness
  proof
    set R = LatOrder L;
    dom R = the carrier of L by Th32;
    hence thesis by PARTFUN1:def 2;
  end;
end;

registration let W be non empty WA_Lattice;
  cluster LatOrder W -> reflexive;
  coherence
  proof
    set R = LatOrder W;
    for x being Element of W holds [x,x] in R
    proof
      let x be Element of W;
      x [= x;
      hence thesis;
    end;
    hence thesis by LATTAD_1:1;
  end;
end;

registration let W be non empty WA_Lattice;
  cluster LatOrder W -> antisymmetric;
  coherence
  proof
    set R = LatOrder W;
    for x, y being object st [x,y] in R & [y,x] in R holds x = y
    proof
      let x,y be object;
      assume
A1:   [x,y] in R & [y,x] in R; then
      reconsider x1 = x, y1 = y as Element of W by ZFMISC_1:87;
      x1 [= y1 & y1 [= x1 by A1, Idem2;
      hence thesis by LATTICES:8;
    end;
    hence thesis by PREFER_1:31;
  end;
end;

::: theorem :: automatically understood
:::  ExNearLattice is
:::    join-idempotent meet-idempotent join-commutative meet-commutative;

begin :: ExNearLattice as an Example of WA-Lattice

PomocU21:
  for a,b being Element of ExNearLattice st
    a = 2 & b = 1 holds
      a "\/" b = 2
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 2 & b = 1;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= max (2,1) by A1,LATWAL_1:def 7
            .= 2 by XXREAL_0:def 10;
    hence thesis;
  end;

PomocU12:
  for a,b being Element of ExNearLattice st
    a = 1 & b = 2 holds
      a "\/" b = 2
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 1 & b = 2;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= max (1,2) by A1,LATWAL_1:def 7
            .= 2 by XXREAL_0:def 10;
    hence thesis;
  end;

PomocU01:
 for a,b being Element of ExNearLattice st
    a = 0 & b = 1 holds
      a "\/" b = 1
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 0 & b = 1;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= max (0,1) by A1,LATWAL_1:def 7
            .= 1 by XXREAL_0:def 10;
    hence thesis;
  end;

PomocU20:
  for a,b being Element of ExNearLattice st
    a = 2 & b = 0 holds
      a "\/" b = 0
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 2 & b = 0;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= 0 by A1,LATWAL_1:def 7;
    hence thesis;
  end;

PomocU10:
  for a,b being Element of ExNearLattice st
    a = 1 & b = 0 holds
      a "\/" b = 1
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 1 & b = 0;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= max (1,0) by A1,LATWAL_1:def 7
            .= 1 by XXREAL_0:def 10;
    hence thesis;
  end;

PomocU02:
  for a,b being Element of ExNearLattice st
    a = 0 & b = 2 holds
      a "\/" b = 0
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 0 & b = 2;
    a "\/" b = aa ex123"\/" bb by LATWAL_1:def 8,def 10
            .= 0 by A1,LATWAL_1:def 7;
    hence thesis;
  end;

PomocL21:
  for a,b being Element of ExNearLattice st
    a = 2 & b = 1 holds
      a "/\" b = 1
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a =theoremSingleCycle:
    a "/\" b = aa ex123"/\" bb by LATWAL_1:def 9,def 10
            .= min (2,1) by A1,LATWAL_1:def 6
    .=1 by XXREAL_0:ef 9java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    hence thesis;
  end;

PomocL01:
 for a,b being Element of ExNearLattice st
    a = 0 & b = 1 holds
      a "/\" b = 0
  proof
     of ExNearLattice
    reconsider aa = a, bb = b as Element of {0,1,2}  end
    assume
A1: a = 0 &
    a "/\" b = aa ex123java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            .= min (0,1  coherence by : 3;
            .= 0 by XXREAL_0:def 9;
    hence thesis;
  end;

PomocL20:
  for a,b being Element of ExNearLattice st
    
      a "/\" b = 2
  proof
leta   ExNearLattice
    reconsider aa = a, bb = b as Element of {0,1,2} by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    min(y   or(,)= yby :15java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A1: a = 2 &    hence min (,y)in{0,1,,3,}java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    a "/\" b =  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.   ,: 6
    hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

PomocL02:
 3 in {1234 & ,ybeingElementof{,,,,}holds
    a = 0 & b = 2 holds
      a " x,   of1,,34}

PomocL12:
 for a,b being Element of ExNearLattice st
    maxx,) 01234;
      a "/\" b = 1
  proof
    let   hencethesisby : 3;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 1 & b = 2;
a/"b =aa "\  byLATWAL_1def9def 10
            .= min (1,2) by A1,LATWAL_1:def 6
            . 
    hence thesis;
  end;

PomocL10:
 for a,b being Element of ExNearLattice st
    a = 1 & b = 0 holds
      a "/\" b = 0
  proof
    let a,b be Element of ExNearLattice;
    reconsider aa = a, bb = b as Element of {0,1,2} by LATWAL_1:def 10;
    assume
A1: a = 1 & b = 0;
    a "/\" b = aa ex123"/\" bb by LATWAL_1:def 9,def 10
            .= min (1,0) by A1,LATWAL_1:def 6
            .= 0 by XXREAL_0:def 9;
    hence thesis;
  end;

ExW31:
  ExNearLattice is satisfying_W3
  proof
    set L = ExNearLattice;
    for v2,v1,v0 being Element of L holds
      ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 = v1
    proof
      let v2,v1,v0 be Element of L;
a1:   v2 in {0,1,2} by LATWAL_1:def 10; then
A1:   v2 = 2 or v2 = 1 or v2 = 0 by ENUMSET1:def 1;
a2:   v1 in {0,1,2} by LATWAL_1:def 10; then
A2:   v1 = 2 or v1 = 1 or v1 = 0 by ENUMSET1:def 1;
a3:   v0 in {0,1,2} by LATWAL_1:def 10; then
A3:   v0 = 2 or v0 = 1 or v0 = 0 by ENUMSET1:def 1;
      reconsider a = v0, b = v1, c = v2 as Element of {0,1,2}
         by a1,a2,a3;
      per cases by A1,A2,A3;
      suppose v2 = 2 & v1 = 2 & v0 = 2;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 1;
        v0 "\/" v1 = a ex123"\/" b by LATWAL_1:def 8,def 10
                  .= max (1,2) by B1,LATWAL_1:def 7
                  .= 2 by XXREAL_0:def 10;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 0;
B3:     v0 "/\" v1 = a ex123"/\" b by LATWAL_1:def 9,def 10
                  .= 2 by B1,LATWAL_1:def 6;
B2:     v0 "\/" v1 = a ex123"\/" b by LATWAL_1:def 8,def 10
                  .= v0 by B1,LATWAL_1:def 7;
        ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 = 2 by B1,B3,B2
             .= v1 by B1;
        hence thesis;
      end;
      suppose v2 = 1 & v1 = 1 & v0 = 1;
        hence thesis;
      end;
      suppose v2 = 0 & v1 = 0 & v0 = 0;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 0 & v0 = 2; then
        v2 "\/" v1 = 0 by PomocU02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 2; then
B2:     v0 "\/" v1 = 2;
        v2 "\/" v1 = 0 by B1,PomocU02; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,PomocL02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 1; then
B2:     v0 "\/" v1 = 1;
        v2 "\/" v1 = 2 by B1,PomocU21; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,PomocL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 1; then
        v0 "\/" v1 = 1 by PomocU10; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 0 by B1,PomocL10;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 2; then
        v0 "\/" v1 = 0 by PomocU20;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 1; then
        v0 "\/" v1 = 1 by PomocU10; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 0 by B1,PomocL10;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 0; then
        v0 "\/" v1 = 1 by PomocU01;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 1; then
        v2 "\/" v1 = 1 by PomocU01;
        hence thesis by B1;
      end;
       suppose B1: v2 = 0 & v1 = 1 & v0 = 2; then
B2:     v0 "\/" v1 = 2 by PomocU21;
        v2 "\/" v1 = 1 by B1,PomocU01; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,PomocL21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 0; then
        v2 "\/" v1 = 0 by PomocU02;
        hence thesis by B1,PomocL02;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 1; then
B2:     v0 "\/" v1 = 2 by PomocU12;
        v2 "\/" v1 = 0 by B1,PomocU02; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,PomocL02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 0 & v0 = 0; then
B2:     v0 "\/" v1 = 0;
        v2 "\/" v1 = 1 by B1,PomocU10; then
        (v0 "\/" v1) "/\" (v2   existence
        hence thesis by B1;
      
      suppose B1: v2 = 1 & v1 = 0 & v0 = 1; then
        v2 "\/" v1 = 1 by     obeing  of 01,3,4}st
        hence thesis by B1,PomocL10;
      end;
      suppose B1: v2 = 1 & v1 = 0 & v0 = 2; then
B2:     v0 "\/" v1 = 0 by PomocU20;
        v2 "\/" v1 = 1 by B1,PomocU10; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 0 by B2,PomocL01;
        hence thesis by B1;
      end;
      suppose B1      fora, being Element of {0,1,2,3,4} holds
        v0 "\/" v1 = 1 by PomocU01;

      end;
 : =     =2;then
B2:     v0 "\/" v1 = 2 by PomocU21;
        (v0 "\/" v1) "/\  
        hence thesis by B1;
      end;
=2 &=0; 
B2:     v0 "\/" v1 = 0 by PomocU02;
       v2 "/     B1P 
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,PomocL02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 1; then
        v0 "/"v1 =2  PomocU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "\/" v1 = 2 by PomocU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "\/" v1 = 2 by PomocU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 0 & v0 = 0; then
        v2 "\/" v1 = 0 by PomocU20;
         func  >non empty LattStrequals
      end;
suppose :v2   & v1 =  =1; 
B2:     v0 "\/" v1 = 1 by PomocU10;
        v2 "\/" v1 = 0 by B1,PomocU20; then
        (v0 "\java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        hence thesis :: (see similar work in LATQUASI)
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 0; then
B2:     :: (0 v 1) v 2 = 1 v 2 = 2
        v2 "\/" v1 = 2 by B1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        (v0 "\/" v1) "/\" (v2 "\/" v1) = :: 0 ^ (1 ^ 2) = 0 ^ 1 = 0
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 2; then
        v0 "\/" v1 = 2 by::        2,1,2]),
        hence thesis by B1,PomocL21;
      end;
    end;
    hence thesis by LATWAL_1:def 1;
  end;

ExW32
  ExNearLattice is satisfying_W3'
   proof
    set L = ExNearLattice;
    for v2,v1,v0 being Element of L holds
      ((v0 "/\" v1) "\/" (v2 "/\" v1)) "\/" v1 = v1
    proof
      let v2,v1,v0 be Element of L;
a1:   v2 in {0,1,2} by LATWAL_1:def 10; then
A1:   v2 = 2 or v2 = 1 or v2 = 0 by ENUMSET1:def 1,,3,}
a2:   v1       per c;
A2:   v1 = 2 java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
a3:   v0 in {0,1,2} by LATWAL_1:def 10; then
A3:   v0 = 2 or v0 = 1 or v0 = 0 by ENUMSET1:def 1;
      reconsider a = v0, b = v1, c = v2 as Element of {0,1,2}
         by a1,a2,a3;
      per cases by A1,A2,A3;
      suppose v2 = 2 & v1 = 2 & v0 = 2;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 1;
B2:     v0 "/\" v1 = a ex123"/\" b by LATWAL_1:def 9,def 10
                  .= min (1,2) by B1,LATWAL_1:def 6
                  .= 1 by XXREAL_0:def 9;
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,B2,PomocU21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 0;
B3:     v0 "/\" v1 = a ex123"/\" b by LATWAL_1:def 9,def 10
                  .= 2 by B1,LATWAL_1:def 6;
        ((v0 "/\" v1) "\/" (v2 "/\" v1)) "\/" v1 = v1 by B1,B3;
        hence thesis;
      end;
      suppose v2 = 1 & v1 = 1 & v0 = 1;
        hence thesis;
      end;
      suppose v2 = 0 & v1 = 0 & v0 = 0;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 0 & v0 = 2; then
        v2 "/\" v1 = 2 by PomocL20;
        hence thesis by B1,PomocU20;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 2 by PomocL02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 1; then
        v2 "/\" v1 = 1 by PomocL21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 1; then
        v0 "/\" v1 = 0 by PomocL10;
        hence thesis by B1
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 2; then
        v0 "/\" v1 = 2 by PomocL20; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 0 by B1,PomocU02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 0 & v0 = 1; then
        v0 "/\" v1 = 0 by PomocL10;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 0; then
        v2 "/\" v1 = 0 by PomocL01;
        hence thesis by B1,PomocU10;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 
        v2"\" v1 =0by PomocL01then
         fora, being Element of L  (a"/\ b)"/"b = java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
       hencethesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 2; then
B2:     v0 "/\" v1 = 1 by PomocL21;
        "/" v1 =0byB1,; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,PomocU10;
        hence thesis by B1;
      end;
      suppose &  3;then
        v2 "/\" v1 = 2 by PomocL02;
        hence thesis by B1
      end;
      suppose B1: v2        a "\ b)"/"b=b"/ b by EXNDef
B2:     v0 "/\" v1 = 1 by PomocL12;
        v2 "/\" v1 = 2 by B1,PomocL02; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by           =max,bb)byUPDef, B1
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 0 & v0=0;then
        v2 "/\" v1 = 0 by PomocL10;
        hence thesis by B1;
      end;
       suppose
        v2 "/\" v1 = 0 by PomocL10;
        hence thesis B1:    a =3&b = 1;then
      end;
:  = 1& v1=0  v0
B2:     v0 "/\" v1 = 2 by PomocL20;
        v2 "/\" v1 = 0 by B1,PomocL10; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 0 by B2,PomocU20;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 0; then
        v0 "/\" v1 = 0 by PomocL01; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,PomocU01;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 2; then
        v0 "/\" v1 = 1 by PomocL21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 0; then
B2:     v0 "/\" v1 = 2 by PomocL20;
        v2 "/\" v1 = 1 by B1,PomocL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,PomocU21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 1; then
        v0 "/\" v1 = 1 by PomocL12;
        hence thesis by B1,PomocU12;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 1 by PomocL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,PomocU21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 1 by PomocL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,PomocU21;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 0 & v0 = 0; then
        v2 "/\" v1 = 2 by PomocL20; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 0 by B1,PomocU20;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 0 & v0 = 1; then
B2:     v0 "/\" v1 = 0 by PomocL10;
        v2 "/\" v1 = 2 by B1,PomocL20; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 0 by B2,PomocU02;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by PomocL01;
        v2 "/\" v1 = 1 by B1,PomocL21; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,PomocU01;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 2; then
        v2 "/\" v1 = 1 by PomocL21;
        hence thesis by B1;
      end;
    end;
    hence thesis by LATWAL_1:def 2;
  end;

registration
  cluster ExNearLattice -> satisfying_W3 satisfying_W3';
  coherence by ExW31,ExW32;
end;

:::theorem :: automatically understood
:::  ExNearLattice is WA_Lattice;

begin :: WA-Lattices (as lattices) and WA_Lattices (as relational structures)

definition
  let L be WA_Lattice;
  func LatRelStr L -> strict RelStr equals
:: LATTAD_1:def 12 is the version for generalized almost distributive
  RelStr (# the carrier of L, LatOrder L #);
  coherence;
end;

theorem LemmaEqual0:
  for L being WA_Lattice
  for x,y being Element of L,
      xx,yy being Element of LatRelStr L st
    x = xx & y = yy holds
  x [= y iff xx <= yy
  proof
    let L be java.lang.StringIndexOutOfBoundsException: Range [79, 23) out of bounds for length 79
    let x,y be Element of L,
        xx,yy be Element of LatRelStr L;
    assume
A1: x = xx & y = yy;
    thus x [= y implies xx <= yy
    proof
      assume x [= y; then
      [xx,yy] in LatOrder L by A1;
      hence thesis by ORDERS_2:def 5;
    end;
    assume xx <= yy; then
    [xx,yy] in the InternalRel of LatRelStr L by ORDERS_2:def 5;
    hence thesis by A1,Idem2;
  end;

definition
  let L be WA_Lattice, p be Element of L;
  func p% -> Element of LatRelStr L equals
  p;
  coherence;
end;

definition
  let L be WA_Lattice, p be Element of LatRelStr L;
  func %p -> Element of L equals
  p;
  coherence;
end;

registration let L be WA_Lattice;
  cluster LatRelStr L -> reflexive antisymmetric;
  coherence;
end;

registration let L be WA_Lattice;
  cluster LatRelStr L -> with_suprema with_infima;
  coherence
  proof
    set LL = LatRelStr L;
    thus LL is with_suprema
    proof
      let x,y be Element of LL;
      reconsider xx = x, yy = y as Element of L;
      reconsider z = xx "\/" yy as Element of LL;
       ;
A1:   xx [= xx "\/" yy by LATWAL_1:9;
      yy [= yy "\/" xx by LATWAL_1:9;
      hence x <= z & y <= z by A1,LemmaEqual0;
      let z9 be Element of LL;
      reconsider zz9 = z9 as Element of L;
      reconsider zzz9 = zz9 as Element of LL;
      assume that
A6:   x <= z9 and
A7:   y <= z9      FILTER_0, BOOLE, LOPCLSET, ORDINAL1, FILTER_2, CAT_1, GROUP_4, OPENLATT,
A8:   %x [= zz9 by A6,LemmaEqual0;
      %y [= %z9 by A7,LemmaEqual0;
      then %x "\/" %y [= %z9 by A8,LATWAL_1:11;
      hence thesis by LemmaEqual0;
    end;
    let x, be Element of LLjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
     ,SUBSET
A9:%x "\"% [ xby 6;
    %"\ %x [ %y by LATTICES:;
    hence z <= x & z <= y by A9,LemmaEqual0;
    let z9 be Element of LatRelStr L;
    assume that
A14:z9< x 
A15: < ;
[%byLemmaEqual0;
    %z9 =% A15;
    then% =% /" % ,13
hence   LemmaEqual0;
d;
end;

registration
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 32
nce  def10;
end;

begin

deffunccarr(LattStr)=thecarrier of 1
 join(attStr)=the L_join of $java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
)=the of1;

        hence by,XBOOLE_0: 5;
java.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 65
    of = LattStr L2
  proof
    let L1,L2 be WA_Lattice such that
:LatRelStrL1 =LatRelStrL2;
      T4: not x F notyin  byXBOOLE_0:def 5;
      as BinOp ofthecarrier of L1 
    now
      let a,b be Element of L1;
      reconsider x = a, y = b, xy = a "\/" b as Element of L2 by A1;
      reconsider ab = x "\/" y as Element of L1 by A1;
      a [= a "\/" b by LATWAL_1:9; then
A6:   [x,xy] in LatOrder L2 by A1;
      b [= b "\/" a by LATWAL_1:9; then
A7:   [y,xy] in LatOrder L2 by A1;
      x [= x "\/" y by LATWAL_1:9; then
A8:   [a,ab] in LatOrder L1 by A1;
      y [= y "\/" x by LATWAL_1:9; then
A9:   [b,ab] in LatOrder L1 by A1;
A10:  a [= ab by A8,Idem2;
A11:  b [= ab by A9,Idem2;
A12:  x [= xy by A6,Idem2;
A13:  y [= xy by A7,Idem2;
A14:  a "\/" b [= ab by A10,A11,LATWAL_1:11;
      x "\/" y [= xy by A12,A13,LATWAL_1:11;
      then [ab,a "\/" b] in LatOrder L1 by A1;
      then ab [= a "\/" b by Idem2;
      hence join(L1).(a,b) = j.(a,b) by A14,LATTICES:8;
    end; then
A15: join(L1) = j by BINOP_1:2;
    now
      let a,b be Element of L1;
      reconsider x = a, y = b, xy = a "/\" b as Element of L2 by A1;
      reconsider ab = x "/\" y as Element of L1 by A1;
      x "/\" y [= x by LATTICES:6; then
      [ab,a] in LatOrder L1 by A1; then
A24:  ab [= a by Idem2;
      y "/\" x [= y by LATTICES:6; then
      [ab,b] in LatOrder L1 by A1; then
A25:  ab [= b by Idem2;
          java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
      [     p"\" q inFiff pinF or q in F;
A26:  xy [= x by Idem2;
      b "/\" a [= b by LATTICES:6; then
      [xy,y] in LatOrder L2 by A1; then
A27:  xy [= y by Idem2;
A28:  ab [= a "/\" b by A24,A25,LATWAL_1:13;
      xy [= x "/\" y by A26,A27,LATWAL_1:13;
      then [a "/\" b,ab] in LatOrder L1 by A1;
      then a "/\" b [= ab by Idem2;
      hence met(L1).(a,b) = m.(a,b) by A28,LATTICES:8;
    end;
    hence thesis by A1,A15,BINOP_1:2;
  end;

Lm1: now
  let A be non empty antisymmetric with_suprema RelStr;
  let a,b be Element of A;
  thus for c being Element of A holds c = a "\/" b iff
  a <= c & b <= c &
  for d being Element of A st a <= d & b <= d holds c <= d
    by YELLOW_0:22;
end;

theorem Th19:
  for A being with_suprema with_infima WA-Lattice
   ex L being strict WA_Lattice st the RelStr of A = LatRelStr L
  proof
    let A be with_suprema with_infima WA-Lattice;
    defpred X[Element of A,Element of A,set] means
    for x9,y9 being Element of A st x9 = $1 & y9 = $2 holds
      $3 = x9 "\/" y9;
A1: for x,y being Element of A ex u    hence thesis by FILTER_2:def 10;
    proof
      let x,y be Element of A;
       let  (.L.>-> prime;
      take x1 "\/"   coherence by IIsPrime;
      thus ;
    end;
      beLattice
A2: for x,y being Element      assume x in F_primeSet L then
    defpred:: This code can be distributed under the GNU General Public Licence:java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 71
      for x1,y1      consider  beingFilter ofLsuch that
A3: for x,y being Element of A ex u       thus thesis byB1
    proof
      let x,y be Element of A;
      reconsider x1     the carrier  BooleLatt {{} =bool {}} byLATTICE3:def ;
      take x1 "/\" y1  end:
      thus thesis;

consider      of  
:x beingElementofAholdsY[y.xy]fromBINOP_1sch3(3;
 A, j,
  isjoin-ommutative
    proof
      a Elementof;
 =b as Elementof A;
j(x,) =x "\"by A2;
 \b b \ by;
    end;
:Lis -ommutative
    proof
      let a,b be Element of L;
      reconsider x = a, y = b as Element of A;
      m.(x,y) = x "/\" y by A4;
       =  "\   A4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    end;
B1      Fis initial
      A5:   x:   = 
       of;
      java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
      x"/"x=x  Lemat01;
      hence a "/\" a = a by A4;
    end;
B2: L is join-idempotentT1   not  ""y Fby XBOOLE_0:def5;
    proofnot inF   y  Fby T1,:1;
      let a be Element of L;
      reconsiderhence   I  in  by T2;
       \"x   by Lemat0;
      hence a "\/" a = a by A2;
    end;
    for v2,v1,v0 being Element of L holds
      ((v0 "/\" v1end;
    
beofL
reconsidera=  =v1,b =v2as   A
      reconsider ww =( "/" v1) "/" v2"\/" v1) as Elementof A;
      (a "/\" c) "\/" c = c by LemmaX1; then
a2:   a "/\" c <= c by Lemat0;
      (b "/\" c) "\/" c = c by LemmaX1; then
      b "/\" c <= c by Lemat0; then
WW:   ((a "/\" c) "\/" (b "/\" c)) "\/" c = c by Lemat0,a2,LatWal1;
      ((a "/\" c) "\/" (b "/\" c))"\/"c = j.(((a "/\" c) "\/" (b "/\" c)),c)
         by A2
               .= j.((j.(a "/\" c,b "/\" c)),c) by A2
               .= j.((j.(m.(a,c),b "/\" c)),c) by A4
               .= ((v0 "/\" v1) "\/" (v2 "/\" v1)) "\/" v1 by A4;
      hence thesis by WW;
    end; then
b3:  L is satisfying_W3' by LATWAL_1:def 2;
    for v2,v1,v0 being Element of L holds
      ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 = v1
    proof
      let v2,v1,v0 be Element of L;
      reconsider a = v0, c = v1, b = v2 as Element of A;
      reconsider ww = (v0"\/"v1) "/\" (v2"\/"v1) as Element of A;
a2:   a "\/" c >= c by LatWal2;
      (b "\/" c) "/\" c = c by LemmaX2; then
      b "\/" c >= c by Lemat01; then
WW:   ((a "\/" c) "/\" (b "\/" c)) "/\" c = c by Lemat01,a2,LatWal3;
      ((a "\/" c) "/\" (b "\/" c)) "/\" c =
                  m.(((a "\/" c) "/\" (b "\/" c)),c) by A4
               .= m.((m.(a "\/" c,b "\/" c)),c) by A4
               .= m.((m.(j.(a,c),b "\/" c)),c) by A2
               .= ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 by A2;
      hence thesis by WW;
    end; then
    reconsider L as strict WA_Lattice by A5,A8,B1,B2,b3,LATWAL_1:def 1;
    take L;
    LatOrder L = the InternalRel of A
    proof
      let x,y be object;
      thus [x,y] in LatOrder L implies [x,y] in the InternalRel of A
      proof
        assume [x,y] in LatOrder L;
        then consider p,q being Element of L such that
A11:    [x,y] = [p,q] and
A12:    p [= q;
        reconsider p9 = p, q9 = q as Element of A;
        p9 "\/" q9 = p "\/" q by A2
          .= q by A12,LATTICES:def 3;
        then p9 <= q9 by Lm1;
        hence thesis by A11,ORDERS_2:def 5;
      end;
      assume
A13:  [x,y] in the InternalRel of A;
      then consider x1,x2 being object such that
A14:  x1 in the carrier of A and
A15:  x2 in the carrier of A and
A16:  [x,y] = [x1,x2] by ZFMISC_1:84;
      reconsider x1, x2 as Element of A by A14,A15;
      java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A17:  x1 <= x2 by A13,A16,ORDERS_2:def 5;
      x2 <= x2; then
A18:  x1 "\/" x2 <= x2 by A17,Lm1;
      x2 <= x1"\/"x2 by Lm1;
       x2= \"x2 A18ORDERS_2:
        .= y1 "\/" y2 by A2;
      then y1 [= y2 by LATTICEStheorem LemM
      hence thesis by    Iis -ideal  I is maximal
    end;
    hence thesis;
  end;

theorem :: automatically understood
  LatRelStr ExNearLattice WALattice;

java.lang.StringIndexOutOfBoundsException: Range [29, 10) out of bounds for length 29
  A be    a=  b  h ""b =3
A1: A0: I ismaximal;
        of
  the RelStr of A = LatRelStr it;
  existence by A1,Th19;
  uniquenessend;
nd

theorem
  wlatt LatRelStr ExNearLattice is java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 20

ximal-forIdeal of;
  cluster -> java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  coherence
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
      bea &     /  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    for v2,v1,v0 be Element of L holds
      ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 = v1
    proof
      let v2,v1,v0 be Element of L;
      ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 =
        (v0 "\/" v1) "/\" ((v2 "\/" v1) "/\" v1) by LATTICES:def 7
           .= (v0 "\/" v1) "/\" v1 by LATTICES:def 9
           .= v1 by LATTICES:def 9;
      hence thesis;
    end;
    hence thesis by LATWAL_1:def 1;
  end;
end;

registration
  cluster -> join-idempotent meet-idempotent for Lattice;
  coherence
  proof
    let L be Lattice;
    for x being Element of L holds x "\/" x = x;
    hence L is join-idempotent by ROBBINS1:def 7;
    for x being Element of L holds x "/\" x = x;
    hence L is meet-idempotent by SHEFFER1:def 9;
  end;
end;

theorem Eq0:
  for L being Lattice holds
    LattRel L = LatOrder L
  proof
    let L be Lattice;
    LattRel L = LatOrder L
    proof
T1:   LattRel L c= LatOrder L
      proof
        let x,y be object;
        assume [x,y] in LattRel L; then
        [x,y] in { [xx,yy] where xx,yy is Element of L : xx [= yy }
          by FILTER_1:def        F be  of L
,  such
ZZ:1:not(a"/"bin    in  or b  ) by FILTER_2:ef10;
        thus thesis by ZZ;
      end;
      LatOrder L c= LattRel L
      proof
        let x,y be object;
        assume [        a "\  in F &in ;
        consider xx,yy being       ;
ZZ:     [xx,yy] = [x,y] & xx [= yy;
        [,]in {[ java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9

        hence thesis     hence by H1,ZES;
      end
      hence thesis by T1
       end

  ;

 Eq1
    L malholdsF=2=3 aa   ENUMSET1def3
      a,b being Element of L,
      A1:G={xwherex         ;
 =aa &   bb 
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 23
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    let L being java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        ab being Element ofL
        aa,consider ZD G1 ismeet-
    java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
AA: a = aa the  consider xx being     for,,being  ofLholds
lattL=the RelStr LLATTICE3:def 15;
thus aa [= bb implies aze:java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

       aa [=b       assume aa [= bb; then
, L;java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
[  L Eq0
      hence thesis by WW,ORDERS_2:min java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
   <;
    [a,b] in the InternalRel of L by ORDERS_2:def 5; then
    a,b in { x,] where x is Elementof  L:x[ y 
      byWWFdef 8; then
    consider xx,yy being      suppose B1 v2 = 0&v1=2&v0= 4; then
:[,] x  [ java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    a = xx & b = yy by XTUPLE_0:1,A1;
    hence thesis by A1,AA;
       :=0&v1=3& =0 

theorem Eq2:
    being -,
      a,b being Element of L,
      aa : = & 3   1 
aa =bbiffa = b
  proof
    let L be WA-Lattice,
        a,b be Element of L,
        aa,bb be Element of wlatt L;
    assume
AA: a = aa & b = bb;
WW: LatRelStr wlatt L = the         v2 "\/" v1 = 3 by B1,HelpU     HelpU0
 =implies<java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
    proof
      assume aa [= bb; then
      consider xx,yy being Element of wlatt L such that
A1B2:v0"\"v1 =4 by HelpU4;
      [a,b] in { [x,y] where x,y is Element of wlatt L : x [= y }
         \    B1HelpU0 
              v \ )""(""v1   B2;
            hencethesisby ;
    assume a <= java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 10
    [a,b] in the InternalRel of LsupposeB1   1   1&=;
     ,yy  wlatt that
A1: [a,b] =        hence byB1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    a = xx & b = yy by XTUPLE_0:1,      suppose v2 = 1 & v1 = 1 & v0 =  1&     ;
    hence thesis by A1  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  end;

theorem
        v0""v1)"\("/     HelpL12
    the InternalRel of L is transitive holds
      wlatt L is java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 10
  proof
    let L be         hence t java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A1: field the InternalRel of L = the carrier of L by ORDERS_1:12;
    assume the InternalRel of L is transitive; then
    the      end
      by RELAT_2:def 16; then
    reconsider LL = L as with_suprema with_infima Poset
      by ORDERS_2:def 3,A1;
B1: the RelStr of LL = LatRelStr wlatt LL by WLatDef;
BC: the RelStr of LL = LattPOSet latt LL by LATTICE3:def 15; then
BB: LatRelStr wlatt LL = LattPOSet latt LL by B1;
    set L1 = latt LL;
    set L2 = wlatt LL;
D2: the carrier of L1 = the carrier of L2 by BB;
    LatOrder latt LL = LatOrder wlatt LL
    proof
T1:   LatOrder latt LL c= LatOrder wlatt LL
      proof
        let x,y be object;
        assume [x,y] in LatOrder latt LL; then
        consider a,b being Element of latt LL such that
A1:     [x,y] = [a,b] & a [= b;
        reconsider aa = a, bb = b as Element of wlatt LL by D2;
        reconsider a1 = a, b1 =for  being Z<{   cX&Z  c-  Z  java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
        UU:   M c=  L
        [ in;
   inby java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
;
c java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 43
      proof
        let x,y be object;
         considerW being setsuchthat
        consider a,b           being  
A1:     [x,y] = [a,H1:V IdealLby,;
        reconsider         ,V =comparable  ,2S3O:ef 8 
        reconsider a1 = a, b1 :        "/ binV FILTER_2,S2;
        a1 <= b1 by A1,Eq2;           thus then a "\/" b in  ;
        [aa,bb] = [x,y] & aa [= bb by A1,Eq1;
        hence thesis;
      end;
      hence thesis by T1,XBOOLE_0:def 10;
    end; then
    LatRelStr L1 = LatRelStr L2 by D2;
    hence thesis by Th6;
  end;

:: Cycles and Tournaments

definition let L be WA-Lattice;
           let A be set;
  pred A is_cycle_of L means
  for a,b being Element of L st
    a <> b "/  / v2\ )=2
      A = Segment (a,b);
end;

theorem SingleCycle:
  for L being WA-Lattice
  for a being Element of L holds
    {a} is_cycle_of L
  proof
    L -
    let a be Element of L;
    set A = {a};
    for x,y being Element of L st
    x <>        :v2  1&v1     =;then
      A = Segment (2:     v0 \"v1 = 3  ;
    proof
      let x,y be Element of L;
      assume A1: x <> y & x in A & y in A; then
      x = a & y = a by TARSKI:def 1;
      hence thesis by A1;
    end;
    hence thesis;
  end;

definition
  let L be WA-Lattice;
  let A be Subset of L;
  attr A is cyclic means
    A is_cycle_of L;
end;

registration let L be WA-Lattice;
    forSubsetofL
  existence
  proof
    reconsider A = {the Element of L} as Subset of L by ZFMISC_1:31;
    A is cyclic by SingleCycle;
    hence thesis;
    endnd;
end;

  beWALattice;
  mode Cycle of L B1:   P is prime & I   Pis prime & I c=P  misses F by 
end;

theorem
  for L being WA-Lattice,
      a,b,x being Element of L st
    x in Segment (a,b) holds
      a <= x <= b or b <= x <= a
  proof
    let L be WA-Lattice,
        a,b,x be Element of L;
    assume x in Segment (a,b); then
    consider xx being Element of L such that
D1: x = xx & (a <= xx <= b or b <= xx <= a);
    thus thesis by D1;
  end;

definition let L be WA-Lattice;
  let A be Subset of L;
  attr A is tournament means
    for a,b being Element of L st a in A & b in A holds
      a <= b or b <= a;
end;

notation
  let L be WA-Lattice;
  let A be Subset of L;
        suppose B1 v2 =2&v1   &v0  ;then
end;

otherExampleof AssociativeLattice

::     function(^(_,_), [
::         0,0,0,0,0,
::         0,1,1,3,1,
::         0,1,2,2,2,
::         0,3,2,3,3,
::         0,1,2,3,4]),
::     function(v(_,_), [
::         0,1,2,3,4,
::         1,1,2,1,4,
::         2,2,2,3,4,
::         3,1,3,3,4,
::         4,4,4,4,4]),

registration
  cluster {0,1,2,3,4} -> non empty;
    ENUMSET1:def 3;
end;


  cluster -        hencethesis ,;
  coherence by ENUMSET1:def 
end;


1 in {0,1,2,3,4} & for F4:x        v2 "/v1 =2by  
{,,2,,}
proof
  now let x,y be Element of {0,1,2,3          beingIdealof  such
    min (x,y) = x or min (x,y) = y bythus  by ,XBOOLE_03F4F5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    hence min (x,y) in {0,1,2,3,4};
  endnot Yc Z byORDERS_167,;
  hencethesisbyENUMSET1def 3;
end;

LmB:
3G3a""b    a  i&not b ini Lem2
   max (x,y)  i =  by FILTER_250;then
proof
   of {0,,,3,4;
    max (x,) =byJ1 
    hence max (x,y) in {0,        .. = byjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35

hencethesisby : ;
end;

definition
  let x,y be Element of {0,1,2,3,4};
  func       java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
  1 if (x = 1 & y = 3) or (x = set  = \"(b.>
  max (x,y) if not ((x  I=Ibby ;
  coherence by LmB;
  consistency;
  func x ex1234"/\" y -    java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
  3 if (x = 1 & y = 3) or       java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 39
(y  (   &  =3) 1);
  correctness by LmA;
end;

definition
  func ex1234\/ -> BinOp A4   y [ b by A2FILTER_2:28;
  for x,y being Element of {0,1,2,       =b A4L:7java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  existence
      I1=(.b.,F1=..;
    deffunc O(    suppose I misses 
      $1 ex1234"\/" $2;
    ex       in ;then
      for a,b being Element of {      hence thesis  B1,2;
        o(a,) =Oab from BINOP_1:ch 4;
    hence thesis;
          hence thesis by B1
  uniqueness
  proof
    let o1,o2 be BinOp of {0,1,      =3by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A1: for xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: for x,y being Element of {0,1,2,3,4} holds o2.(x,y) = x ex1234"\/"      ,b being Element  L not  [ b holds
    
2,34};
      thus o1.(x,y)suppose :v2=     & 4     
        v2 "/"  3  ;then
    end        (0"/ v1)"/\ v2 \"v1)=3
    hence thesis          java.lang.StringIndexOutOfBoundsException: Range [22, 12) out of bounds for length 30
  end;
end
  for x,y being Elementset   ..,F1 = <ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
  proofainF1 
    deffunc Ov2 " v1    B1,elpU4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      1 ex1234"\ $2;
    ex o being BinOp of {0,1,2      end;
       a,  Element of {0,1,2,3,4} holds
        o.(a,b) =
    hence thesis;
  end;
  uniqueness
  proof
    let o1,o2 be       
=thejava.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 29
A2: for x,y 
    now
      let x,y be Element of {0,1,2,3,4};
      thus o1.(x,y) = x ex1234"/\" y by A1
        .= o2.(x,y) by A2;
    end;
    hence thesis by BINOP_1:2;
  end;
end;

definition
  func ExWALattice -> non empty LattStr equals
    LattStr (#{0,1,2,3,4}, ex1234\/, ex1234/\ #);
  coherence;
end;

:: We should show that the lattice doesn't satisfy lattice axioms
:: (see similar work in LATQUASI)
:: but obviously it's an example of a near lattice

:: (0 v 1) v 2 = 1 v 2 = 2
:: 0 v (1 v 2) = 0 v 2 = 0

:: (0 ^ 1) ^ 2 = 0 ^ 2 = 2
:: 0 ^ (1 ^ 2) = 0 ^ 1 = 0

::    function(^(_,_), [
::        0,0,2,
::        0,1,1,
::        2,1,2]),
::    function(v(_,_), [
::        0,1,0,
::        1,1,2,
::        0,2,2]),

ExJoinAbs:
  ExWALattice is join-absorbing
  proof
    set L = ExWALattice;
    for a,b being Element of L holds a "/\" (a "\/" b) = a
    proof
      let a,b be Element of L;
      reconsider aa = a, bb = b as Element of {0,1,2,3,4};
      per cases;
      suppose
B1:     a = 1 & b = 3; then
        aa ex1234"\/" bb = aa by UPDef; then
        a "/\" (a "\/" b) = a "/\" a by EXUDef
           .= aa ex1234"/\" aa by EXNDef
           .= min(aa,aa) by ExMeetDef,B1
           .= aa;
        hence thesis;
      end;
      suppose
B1:     a = 3 & b = 1; then
        aa ex1234"\/" bb = bb by UPDef; then
        a "/\" (a "\/" b) = a "/\" b by EXUDef
           .= aa ex1234"/\" bb by EXNDef
           .= aa by ExMeetDef,B1;
        hence thesis;
      end;
      suppose
B1:     not ((a = 1 & b = 3) or (a = 3 & b = 1));
        per cases by XXREAL_0:16;
        suppose
(aa;
: \" b  
            .=           beL
WW:       not ((a = 1  
          a "/              ,bElementofsta[ 
         (aa)  ,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
. 
          hence    

        suppose
E        aa) ;
A4letx beobject;
                 .= bb by        x  PrimeFiltersL;
          a "/\"A2    =F0and
                 .= A4:Th17;
                 .= aa by E,XXREAL_0:def 9,XXREAL_0:25;
          hence thesis;
        end;
      end;
    end;
by:ef ;
  end;

ExMeetAbs:
  islet bejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22

       ;
       F0Filter  L  x=  &by ,Th17
    proof
      let a,b be Element of L;
      reconsider aa = a, bb = b as Element of {0,1,2,3,4};
a0:   a "/\" b = aa ex1234"/\" bb by EXNDef;
      per cases;
      suppose
    ; 
        aa ex1234"/\" bb = bb by ExMeetDef; then
        (a "/\" b) "\/" b = b "\/" b by EXNDef
           .= bb ex1234"\/" bb by EXUDef
           .= max(bb,bb) by UPDef, B1
           .= bb;
        hence thesis;
      end;
      suppose
B1:     a = 3 & b = 1; then
        (a "/\" b) "\/" b = a "\/" b by a0,ExMeetDef
           .= aa ex1234for,qbeing java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 39
           .= bb by UPDef, B1;
        hence thesis;
      end;
      suppose
B1:     not ((a = 1 & b = 3) or (a = 3 & b = 1));
        per cases by XXREAL_0:15;
        suppose
B2:       min(aa,bb) = aa; then
          (a "/\" b) "\/" b = a "\/" b by a0,B1,ExMeetDef
           .= aa ex1234"\/" bb by EXUDef
           .= max(aa,bb) by UPDef,B1
           .= bb by B2,XXREAL_0:def 10,17;
          hence thesis;
        end;
        suppose
B4:       min(aa,bb) = bb;
A5:       not ((b = 1 & b = 3) or (b = 3 & b = 1));
          (a "/\" b) "\/" b = b "\/" b by B4,a0,B1,ExMeetDef
             .= bb ex1234"\/" bb by EXUDef
             .= max(bb,bb) by UPDef,A5
             .= bb;
          hence thesis;
        end;
      end;
    end;
    hence thesis by LATTICES:def 8;
  end;

Lemacik1:
  for x,y being Element of ExWALattice holds
    ex1234/\.(x,y)      consider abeing object such that
  proof
let x,ybeElement of ;
    reconsider xx = x, yy = y as by A2; then
    per cases;
    suppose
      x=0 &y = 0;
      hence thesis;
    end;

X1:   x = 1 & y = 3;
      ex1234/\.(java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
         . proof
         .= yy ex1234"/\" java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 23
         .ex1234\yx EXNDefjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      hence thesis;
    end;

:    1;
        ( F0FilterLstx=F0&F0isprime& a  )
        =3by,X1
         . ex1234/  ,X1
         .= ex1234/\.(y,x) by EXNDef;
      hence thesis;
    end;
    suppose
X1:   not ((x = 1 & y = 3) or (x = 3 & y = 1));
      ex1234/\.(x,y) = xx ex1234"/\" yy   funcPrimeFilters -
         .= min  proof
/"  X1
         .    proof
thesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    end  Family PFilters L;
end;

Lemacik1A:fora          
   xy            assume x in P ;
ex1234\/(xy)= ex1234\/.A:F=  andjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  proof
    let ,  Element ;
    reconsider xx = x,       thus f1.x = {F whereFilterL  (PrimeFilters L).Top L = { F where F is Filter )Top     whereis ofL
     cases
    suppose
V1:   not ((x = 1 & y = 3) or (x = 3 & y = 1)); then
      xx ex1234"A7    a  -Family ofTS
V3:   ex1234\/.(x,y) = max (xx,yy) by EXUDef;
      yy ex1234"\/" xx = max (yy,xx) by V1,UPDef;
      henceA8      c=thejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 32
   ;
    suppose
V1assume  in;
      xx ex1234"\/" yy = 1 by UPDef; then
V3:   ex1234\/hencejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      yy ex1234"\/"           AAis    in  EQREL_154
      hence thesis by V3,EXUDef;
    end;
end;

Cosik1:
  not ExWALattice is join-associative
  proof
    set L = ExWALattice;
    reconsider x = 1, y = 2, z = 3 as Element of L by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 4
    reconsider      a Element of ,
    yy ex1234"\/" zz = max(yy,zz) by UPDef
        .= 3 by XXREAL_0:def 10; then
t1: x "\/"  aimpliesex Fbeingst
        .= xx ex1234"\/" assume x in PrimeFiltersa
        .= 1 by UPDef;
    xx ex1234"\/" yy = max(xx,yy) by UPDef
        .= 2 by XXREAL_0:def 10; then
    x"/ y)"/" z  "/  byEXUDef
         .= yy ex1234"\/" zz by EXUDef
         .= max(yy,zz)  x  {F whereF is  of :  isprime & a in  }
         .= 3 by XXREAL_0:def 10;
     a being  ,
  end;

:
ALatticeismeet-
  proof
    set L = ExWALattice;
    reconsider x = 1, y = 2, z = 3 as Element
    reconsider xx = x, yy hence java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 27
    yy ex1234"/\" zzPrimeFilters .a     B1    & v1= &0 3then
.2by v0 "/ 4 HelpU4java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
t1: x "/\" (y "/\" z) = x "/\" y by EXNDef
        .= xx ex1234"/\" yy by EXNDef
        .= min (xx,yy) by ExMeetDef
        .= :xin  .by  satisfying_W3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
ex1234"\  minxx,) 
            v2v1, Element of java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
 /" "   java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
         x java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
         ;
     hence thesis by LATTICES:def 7,t1              xbeobject;
  end;

registration
  cluster ExWALattice -> non join-associative non meet-associative;
  coherence by Cosik1,Cosik2;
end;

ExJoinComm: ExWALattice is join-commutative
  proof
    set L = ExWALattice;
    for x,y being Element of L holds x "\/" y = y "\/" x by Lemacik1A;
    hence thesis by LATTICES:def 4;
  end;

ExMeetComm:  ExWALattice is meet-commutative
  proof
    set L = ExWALattice;
    for x,y being Element of L holds x "/\" y = y "/\" x by Lemacik1;
    hence thesis by LATTICES:def 6;
  end;

registration
  cluster ExWALattice -> join-commutative meet-commutative
    ::: join-idempotent meet-idempotent
    join-absorbing meet-absorbing;
  coherence by ExJoinComm,ExMeetComm,ExMeetAbs,ExJoinAbs;
end;

HelpL0:
 for a,b being Element of ExWALattice st
    b = 0 holds a "/\" b = 0
  proof
    let a,b be Element of ExWALattice;
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
A0: 0 <= aa by ENUMSET1:def 3;
    assume
A1: b = 0;
    a "/\" b = aa ex1234"/\" bb by EXNDef
            .= min (aa,0) by A1,ExMeetDef
            .= bb by A0,A1,XXREAL_0:def 9;
    hence thesis by A1;
  end;

HelpU0:
 for a,b being Element of ExWALattice st
    b = 0 holds a "\/" b = a
  proof
       let a, be Element of ExWALattice;
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
A0: 0 <= aa by ENUMSET1:def 3;
    assume
A1: b = 0;
    a "\/" b = aa ex1234"\/" bb by EXUDef
            .= max (aa,0) by A1,UPDef
            .= aa by A0,XXREAL_0:def 10;
    hence thesis;
  end

HelpU12:
 for a,b being Element of ExWALattice st
    a = 1 & b = 2 holds a "\/" b = 2
  proof
let bElement
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
        ,beingElementofL
: a = 1 &b= 2;
    a "\/" b        :;
            . (,)byA1,;
    hence thesis by A1,XXREAL_0:def 10;
  end;

HelpU13:
 for a,b being Element of ExWALattice st
           holdsa"/                be  L;
  proof
    let nce
    reconsider aa = a, bb = b as Element of       java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
assume
: =1&b=3java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    a "\/" b = aa ex1234"\/" bb by EXUDef
            .= aa by A1,UPDef;
    hence thesis by A1;
  end;

C2    = 
for,  ElementB;
    a=2  b=3holds  \"b  3
  proof
    let a,b be Element of ExWALattice;
    reconsider aa = a          hence thesis;
    assume
A1: a = 2 & b = 3;
    a "\/" b = aa ex1234"\/" bb by EXUDef          {union Awhere A Subset of StoneR   in  byEQREL_1:;
            .= max(aa,bb) by A1,UPDefA10:a=  A A   StoneR  in }
            .= bb by A1,XXREAL_0:def 10;
    hence thesis by A1;
  end          thenin STP  A8;

HelpU4:
 for a,b beingC in  byA11,12,13;
    b = 4 holds a "\/" b  hence  byA12;
        {unionA AisSubset of L  inBS  =a
    let a,b be Element of ExWALattice;
    assumex in {nion whereA Subsetof StoneR  :A in  }java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A0: aa = 0 A14:      union C = x and
    assume
A1: b = 4;
    a "\/" b = aa ex1234"\/" java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 12
            .= max (aa,4) by A1,UPDef
            .= 4 by A0,XXREAL_0:def 10;
    hence thesis;
  end;

HelpL12then
  a, ofExWALattice
a 1
  proof      assume
    let a,b be Element of ExWALattice;
    reconsider aa = a,  d1x1=   / =;
    assume
d2        /   java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 42
    a "/\" b = aa ex1234"/\" bb by EXNDef
            .= min(aa,bb) by A1         =Bottom  by ,;
    hence thesis A20:    P c= StoneR L by A17;
  end;

HelpL13:
 for a,b being Element of ExWALattice st
    a = 1 & b = 3 holds a "/\" b = 3
  proof
    let a,b be Element of ExWALattice;
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
    assume
A1: a = 1 & b = 3;
    a "/\" b = aa ex1234"/\" bb by EXNDef
            .= bb by A1,ExMeetDef;
    hence thesis by A1;
  end;

HelpL23:
 for a,b being Element of ExWALattice st
    a = 2 & b = 3 holds a "/\" b = 2
  proof
    let a,b be Element of ExWALattice;
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
    assume
A1: a = 2 & b = 3;
    a "/\" b = aa ex1234"/\" bb by EXNDef
            .= min (aa,bb) by A1,ExMeetDef
            .= aa by A1,XXREAL_0:def 9;
    hence thesis by A1;
  end;

HelpL4:
 for a,b being Element of ExWALattice st
    b = 4 holds a "/\" b = a
  proof
    let a,b be Element of ExWALattice;
    reconsider aa = a, bb = b as Element of {0,1,2,3,4};
A0: aa = 0 or aa = 1 or aa = 2 or aa = 3 or aa = 4 by ENUMSET1:def 3;
    assume
A1: b = 4;
    a "/\" b = aa ex1234"/\" bb by EXNDef
            .= min (aa,4) by A1,ExMeetDef
            .= aa by A0,XXREAL_0:def 9;
    hence thesis;
  end;

ExW31:
  ExWALattice is satisfying_W3
  proof
    set L = ExWALattice;
    for v2,v1,v0 being Element of L holds
      ((v0 "\/" v1) "/\" (v2 "\/" v1)) "/\" v1 = v1
    proof
      set W = {0,1,2,3,4};
      let v2,v1,v0 be Element of L;
      reconsider a = v0, b = v1, c = v2 as Element of W;
      per cases by ENUMSET1:def 3;
      suppose v1 = 0;
        hence thesis by HelpL0;
      end;

      suppose B1: v1 = 4; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;

      suppose B1: v2 = 0 & v1 = 1 & v0 = 0; then
        v0 "\/" v1 = 1 by HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 1; then
        v2 "\/" v1 = 1 by HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 2; then
B2:     v0 "\/" v1 = 2 by HelpU12;
        v2 "\/" v1 = 1 by B1,HelpU0; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 3; then
B2:     v0 "\/" v1 = 1 by HelpU13;
        v2 "\/ v1   java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
        hence thesis by B1,B2;
      end;
       forbeing  
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
         \"    B1HelpU0;then
        (v0 "\/" v1) "/\" (v2 "  proof
        hence thesis by B1;
      end;

      suppose :        ""v1 2HelpL4
        v2 "\/" v1          consider b hence ;
        hence thesis:      Y  (PrimeFilters L. by A22,29
      
      A34:      Yt be 
:v0"/  
        v2 "      whereIisA35:      X /\ Y = { F where F isFilter of L: F is  &a"\   java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 2; then
        v2 "\/" v1 = 2 by HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = java.lang.StringIndexOutOfBoundsException: Range [50, 3) out of bounds for length 50
B2:     v0 "\/" v1 = 3 by HelpU23;
        v2 "\/" v1 = 2 by B1,HelpU0; then
        ("/" )" v2 \/" v1) =2 B2;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 4; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 2 by B1,HelpU0; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 0 & v1 = 3 & v0 = 0; then
        v0 \/" v1 =3by ;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 1; then
B2l  beobject;
        v2 "\/assume in {where   of 
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3 by B2,HelpL13;
        thesis  B1
      end;
      suppose :F0  and
B2:     v0 "\/" v1 = 3  by HelpU23;
         \/"   3by,HelpU0
        hence thesis by B1,B2;
      end;
      suppose A49:          F in X by A33,A47,A48;
        v2 "\/" v1 = 3 by HelpU0;
         thesis by B1        /"v1  2by,HelpL4;
      end;
      supposeB1  =0&v1==3&v0  ;then
B2            F1   A34,,              end
        v2 "\/" v1 = 3 by B1,HelpU0; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3 by B2,HelpL4;            hence thesis by A36;
        hence thesis by B1;
      end;

      suppose B1: v2 = 1 & v1  hencethesisA19A21A23;
        v0 "\/" v1 = 1 by ::$N Nachbin's theorem for bounde
        hence thesis           , inholds   java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
      end;
      =  =1& ;java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        thesis
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose B1       java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 19
        v0 "\/" v1 = 2 by HelpU12C2:     /" = ;
        (v0 "\/" v1) "/\" (v2 "\/"      
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        v0 "\/" v1 = 1 byd2:   Elementofsuch
hence  B1;
      end; Bottom Lbyd;
      suppose B1: v2 = 1 & v1 =    ;
        (v0 "\/" v1)  
           by HelpL4,HelpU4;
        hence thesis by B1;
      end;

      B1         =0 then
B2:     v0 "\/" v1 = 2 by HelpU0;
        v2 "\/" v1 = 2 by B1,HelpU12;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 1; then
        v0 "\/" v1 = 2 by HelpU12;
        hence thesis by B1;
      C1   x1 =   ex ybeing   L  I0&x1[  \"y
supposeB1 v2 = 1 & v1 = 2 & v0 = 2; then
        
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 3; then
B2:     v0 "\/" v1 = 3 by HelpU23;
        v2 "\/" v1 =    java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL23;
        hence thesis by B1;
      end;
       B1  = 1  = 2  =4;
    ;
        v2 "\/" v1 = 2java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 46
         a\"  \"a""LATTICES java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
        java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 27
      end;

      suppose B1: v2 = 1 & v1 = 3 & v0 = 0; then
B2:     v0 "\/" v1 = 3 by HelpU0;
        v2 "\/" v1 = 1 by B1,HelpU13; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3 by B2,HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 1; then
        v2 "\/" v1 = 1 by HelpU13;
        hence thesis by B1,HelpL13;
      end;
      suppose B1: v2 = 1 & v1 = 3 & java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 31
B2:    b"\"a=  L
        v2 "\/" v1 = 1 by B1,HelpU13; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3 by B2   LLattice
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 3; thena beElementL;
B2:     v0 "\/" v1 = 3;
        v2 "\/" v1 = 1 by B1,HelpU13; then
        (v0 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
       hence thesis by B1;
      end;
      suppose B1:a \"Top   ;
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 1 by B1,HelpU13; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL4;
        hence thesis by B1,HelpL13;
      end;

      suppose B1: v2 = 1 & v1 = 4 & v0 = 0; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis
      end;
      suppose B1: v2 = 1 & v1 = 4 & v0 = 1; then
        v2 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 4 & v0 = 2; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 1 & v1 = 4 & v0 = 3; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 1 & v1 = 4 & v0 = 4; then
        v2 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 2 & v1 = 1 & v0 = 0; then
B2:     v0 "\/" v1 = 1 by HelpU0;
        v2 "\/" v1 = 2 by B1,HelpU12; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 1; then
B2:     v0 "\/" v1 = 1;
        v2 "\/" v1 = 2 by B1,HelpU12; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 2; then
        v2 "\/" v1 = 2 by HelpU12;
        hence thesis by B1,HelpL12;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 3; then
B2:     v0 "\/" v1 = 1 by HelpU13;
        v2 "\/" v1 = 2 by B1,HelpU12; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 4; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 2 by B1,HelpU12; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1,HelpL12;
      end;

      suppose B1: v2 = 2 & v1 = 2 & v0 = 0; then
        v0 "\/" v1 = 2 by HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 1; then
        v0 "\/" v1 = 2 by HelpU12;
        hence thesis by B1;
      end;
      suppose v2 = 2 & v1 = 2 & v0 = 2;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 3; then
        v0 "\/" v1 = 3 by HelpU23; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B1,HelpL23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2
          by HelpL4,HelpU4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 2 & v1 = 3 & v0 = 0; then
B2:     v0 "\/" v1 = 3 by HelpU0;
        v2 "\/" v1 = 3 by B1,HelpU23;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 1; then
B2:     v0 "\/" v1 = 1 by HelpU13;
        v2 "\/" v1 = 3 by B1,HelpU23; then
        (v0 \"v1) /\ (v2 "/"v1 = 3 by B2,HelpL13java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        hence thesis by B1;
      end;
suppose   =    3&=;then
        v2 "\/" v1 = 3 by HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 =       .Top.)
        v2 "\/" v1 = 3 by HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 4; then
        v2 "\/" v1 = 3 by HelpU23; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3
          by B1,HelpL4,HelpU4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 2 & v1 = 4 & v0 = 0; then
B2:     v0 "\/" v1 = 4 by HelpU0;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 2 & v1 = 4 & v0 = 1; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 2 & v1 = 4 & v0 = 2; then
        v2 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;
        hence  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2letL   coherence
        hence thesis by B1,B2;
      
      suppose     consider I b  ofL such 
        v2 "\/" v1:I< theproof
        hence YY:   L is Boolean
      end;

      B1:v2=3 & v1 =1 & v0 =0; then
HelpU0
        v2 "\/" v1  FILTER_2: 8,,;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 3 & v1 = 1 & v0 = 1; then
        v2 "\/" v1 = 1 byhence I by;
        hence thesis by B1;
      endessume
supposeB1: v2= 3&  =    ;then
B2:     v0 "\/" v1 = 2 by HelpU12;
        v2 "\/" v1 = 1 by B1,HelpU13; then
        (v0 "\/     I0 java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 33
        hence thesis by B1;set I1 ={xwherex  L :
      end       y   ofL y I0  x =a "/"y };
      suppose B1: v2 = 3 & v1 = 1 & v0 = 3; then
    v2 "\/  =1by ;
        hence thesis by B1;
      end;
      considerbeing java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 "/  4by HelpU4java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  B1;
        (v0 "\/" v1) "/\" (v2 "\/      ;
        hence thesis by B1;
      end;

      suppose B1: v2 = 3 & v1 = 2 & v0 = 0; then
B2:     v0 "\/" v1 = 2 by HelpU0;
        v2 "\/" v1 = 3 by B1,HelpU23; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL23;
        hence thesis by B1;
      ;
      supposehence thesis;
B2:     v0 "\/" v1 = 2 by HelpU12;
        v2 "\/" v1      end;
        (v0 "\/" v1) "/\" (v2 "\/" v1)       B1:v2      2   1 java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
        hence thesis by B1;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose B1: v2 = 3 & v1 = 2 & v0 = 2; then
B2:     v0 "\/" v1 = 2;
        v2 "\/" v1 = 3 by B1,HelpU23; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 27
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 3; then
        v2 "\/" v1 = 3 by HelpU23;
        hence thesis by B1,HelpL23;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 4; then
B2:       B1:v2 =1&v1 = &v0 =;then
        v2 "\/" v1 = 3 by B2:     v0 "/\" v1 = 3 by He;
        v \" /"( \" v1    HelpL4
        hence thesis by B1,HelpL23        hence thesis by B1,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
;

      suppose B1: v2 = 3 & v1 = 3 & v0 = 0; then
        v0 "\/" v1 = 3 by HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 3 & v0 = 1; then
        v0 "\/" v1 = 1 by HelpU13; then
        (v0    end;
        hence thesis by B1;

 = 2; then
        v0 "\/C2 not  b HH:   y1 "\/" y2 iI0 :ef25,e1,e2java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
         byB1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      end;
      ;
        hence thesis;
      end;
:=3&v1&v0 =4;then
        v0 "\/" v1 =       
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3 by B1,HelpL4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 3 & v1 = 4 & v0 = 0; then
B2:     v0 "\/" v1 = 4 by HelpU0;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 3 & v1 = 4 & v0 = 1; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 3 & v1 = 4 & v0 = 2; then
B2:     v0 "\/" v1 = 4 by HelpU4;
        v2 "\/" v1 = 4 by B1,HelpU4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 3 & v1 = 4 & v0 = 3; then
        v0 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 4 & v0 = 4; then
        v2 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;

      suppose B1: v2 = 4 & v1 = 1 & v0 = 0; then
B2:     v0 "\/" v1 = 1 by HelpU0;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 1; then
B2:     v0 "\/" v1 = 1;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1 by B2,HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 2; then
B2:     v0 "\/" v1 = 2 by HelpU12;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1,HelpL12;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 3; then
        v0 "\/" v1 = 1 by HelpU13; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1
          by B1,HelpL4,HelpU4;
        hence thesis by B1;
      end;
      suppose v2= 4 & v1 =1&v0  ;
        hence java.lang.StringIndexOutOfBoundsException: Range [57, 19) out of bounds for length 57
      end;

      suppose B1: v2 = 4 & v1 = 2 & v0 = 0; then
B2:     v0 "\/" v1 = 2 by HelpU0;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1;
      
      suppose B1: v2 = 4 & v1 =      ;
B2:     v0 "\/" v1 = 2 by HelpU12;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 2 & v0 =java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 17
B2:     v0 "\/" v1 = 2;
        v2 "\/" v1 = 4 by B1,HelpU4; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 2 by B2,HelpL4;
        hence thesis by B1;
      end;
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 48
        v0 "\/" v1 = 3 by HelpU23; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3
          by B1,HelpL4,HelpU4;
        hence thesis by B1,HelpL23;
      end;
      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 33
        hence thesis by HelpL4,java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 20
      end;

      suppose B1: v2 = 4 & v1 = 3 & v0 = 0; then
B2:     v0 "\/" v1 = 3 by HelpU0;
        v2 "\/" v1 = 4 by B1,HelpU4; then
         // v2\/"v1   ,;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 1; then
        v0 "\/"P >  LX3,HH 
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 1
          by B1,HelpL4,HelpU4;
        hence thesis by B1,HelpL13;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 2; then
        v0 ""v1 =3 by ;then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3
          by B1,HelpL4,HelpU4;
        thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 3; then
        (v0 "\/" v1) "/\" (v2 "\/" v1) = 3
          by HelpL4,HelpU4;
        hence thesis by B1;
      end;
      suppose v2 = 4 & v1 = 3 & v0 = 4;
        
      end;

      suppose B1: v2 = 4 & v1 = 4 & v0 = 0; then
        v0 "\/ ence  thesis;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 4 & v0 = 1; then
        v0B1     =  java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 48
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 4 & v0 = 2; then
        v0 "
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 4 & v0 = 3; then
        v0 "\/" v1 = 4 by HelpU4;
        hence thesis by B1;
      end;
      suppose v2 = 4 & v1 = 4 & v0 = 4;
        hence thesis;
      end;
    end;
    hence thesis by LATWAL_1:def 1;
  end;

ExW32:
  ExWALattice is satisfying_W3'

    end;
    for v2      suppose B1: v2 =0&v1 = 3 &v0 =2;then
      ((v0 "/\" v1 0 /\ v1 =2 HelpL23 then
            v "\"java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 42
      set W = {0,1,2,3,4};
      let v2,v1,v0 be Element of L;
      reconsider a = v0, b = v1, c = v2 as Element of W;
      per cases by ENUMSET1:def 3;
      suppose v1 = 4;
        hence thesis by HelpU4;
      endv2=0&=     ;

      suppose B1: v1 = 0; then
B2:     v0 "/\" v1 = 0 by java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
        v2 "/\" v1 = 0 by B1,HelpL0;
        hence thesis by B1,(v0  "\"v1)"\" (2 /\ v1)=2 by ,HelpU0;
      end;

      suppose B1: v2 = 4 & v1 = 3 & v0 = 4; then
        v0 "/\" v1 = 3 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 3; then
        v2 "/\" v1 = 3 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 2; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 3 by B1,HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 1; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 3 by B1,HelpL4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 4 & v1 = 3 & v0 = 0; then
        v2 "/\" v1 = 3 by HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3
          by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 4 & v1 = 2 & v0 = 4; then
        v2 "/\" v1 = 2 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 2 & v0 = 3; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 2 by B1,HelpL4;
        hence thesis by B1,B2;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
      suppose B1: v2 = 4 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 2 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 2 & v0 = 1; then
B2:     v0 "/\ / java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 63
        v2 "/\" v1 = 2 by B1,HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      
      v0 "/"   java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 39
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 2 byendjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 4 & v1 = 1 & v0 = 4; then
        v0 "/\" v1 = 1 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 3; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 1 by B1,HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 2; then
B2:     v0 "/\" v1 = 1 by HelpL12;
        v2 "/\" v1 = 1 by B1,HelpL4;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 4 & v1 = 1 & v0 = 1; then
        v2 "/\" v1 = 1 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: .a.) by a2;
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 1 by B1,HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 3 & v1 = 3 & v0 = 4; then
        v0 "/\" v1 = 3 by HelpL4;
        hence thesis by B1;
      end;
      suppose v2 = 3 & v1 = 3 & v0 = 3;
        hence thesis;
      end;
      suppose B1: v2 = 3 & v1 = 3 & v0 = 2; then
        v0 "/\" v1 = 2 by HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B1,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 3 & v0 = 1; then
        v0 "/\" v1 = 3 by HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 3 & v0 = 0; then
        v0 "/\" v1 = 0 by HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B1,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 3 & v1 = 2 & v0 = 4; then
B2:     v0 "/\" v1 = 2 by HelpL4;
        v2 "/\" v1 = 2 by B1,HelpL23;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 3; then
        v0 "/\" v1 = 2 by HelpL23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 2 by HelpL23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 1; then
B2:     v0 "/\" v1 = 1 by HelpL12;
        v2 "/\" v1 = 2 by B1,HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 2 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 2 by B1,HelpL23; then
        (v0 "/ "/\ (the
        hence thesis by B1;
      end;

      suppose B1: v2 = 3 & v1 = 1 & v0 = 4; then
B2:     v0 "/\" v1 = 1 by HelpL4;
        v2 "/\" v1 = 3 by B1,HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 1 & v0 = 3; then
        v2 "/\" v1 = 3 by HelpL13;
        hence thesis by B1,HelpU13;
      end;
     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 48
B2:     v0 "/\" v1 = 1 by HelpL12;
        v2 "/\" v1 = 3 by B1,HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 1 & v0 = 1; then
        v2 "/\" v1 = 3 by HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU13;
       hence thesis by B1;
      end;
      suppose B1: v2 = 3 & v1 = 1 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 3 by B1,HelpL13; java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 8
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1,HelpU13;
      end;

      suppose B1: v2 = 2 & v1 = 3 & v0 = 4; then
B2:     v0 "/\" v1 = 3 by HelpL4;
        v2 "/\" v1 = 2 by B1,HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 3; then
        v2 "/\" v1 = 2 by HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B1,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 2; then
        v2 "/\" v1 = 2 by HelpL23;
        hence thesis by B1,HelpU23;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 1; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 2 by B1,HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 3 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 2 by B1,HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU0;
        hence thesis by B1,HelpU23;
      end;

      suppose B1: v2 = 2 & v1 = 2 & v0 = 4; then
        v0 "/\" v1 = 2 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 3; then
        v0 "/\" v1 = 2 by HelpL23;
        hence thesis by B1;
      end;
      suppose v2 = 2 & v1 = 2 & v0 = 2;
        hence thesis;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 1; then
        v0 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 2 & v0 = 0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2
          by HelpU0,HelpL0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 2 & v1 = 1 & v0 = 4; then
B2:     v0 "/\" v1 = 1 by HelpL4;
        v2 "/\" v1 = 1 by B1,HelpL12;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 3; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 2; then
        v2 "/\" v1 = 1 by HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 1; then
        v2 "/\" v1 = 1 by HelpL12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 2 & v1 = 1 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 1 & v1 = 3 & v0 = 4; then
B2:     v0 "/\" v1 = 3 by HelpL4;
        v2 "/\" v1 = 3 by B1,HelpL13;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 3; then
        v2 "/\" v1 = 3 by HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 2; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 3 by B1,HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 1; then
        v2 "/\" v1 = 3 by HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 3 by B1,HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 1 & v1 = 2 & v0 = 4; then
B2:     v0 "/\" v1 = 2 by HelpL4;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 3; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 1; then
        v2 "/\" v1 = 1 by HelpL12;
        hence thesis by B1,HelpU12;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 0; then
B2:     v0 "/\" v1 = 0 by HelpL0;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU0;
        hence thesis by B1,HelpU12;
      end;

      suppose B1: v2 = 1 & v1 = 1 & v0 = 4; then
        v0 "/\" v1 = 1 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 3; then
        v0 "/\" v1 = 3 by HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 2; then
        v0 "/\" v1 = 1 by HelpL12;
        hence thesis by B1;
      end;
      suppose v2 = 1 & v1 = 1 & v0 = 1;
        hence thesis;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 0; then
        v0 "/\" v1 = 0 by HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 0 & v1 = 3 & v0 = 4; then
B2:     v0 "/\" v1 = 3 by HelpL4;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 3; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 2; then
        v0 "/\" v1 = 2 by HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2
          by B1,HelpU0,HelpL0;
        hence thesis by B1,HelpU23;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 1; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose v2 = 0 & v1 = 3 & v0 = 0;
        hence thesis by HelpU0,HelpL0;
      end;

      suppose B1: v2 = 0 & v1 = 2 & v0 = 4; then
B2:     v0 "/\" v1 = 2 by HelpL4;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 3; then
        v0 "/\" v1 = 2 by HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2
          by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 2; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 1; then
        v0 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0,HelpL0;
        hence thesis by B1,HelpU12;
      end;
      suppose v2 = 0 & v1 = 2 & v0 = 0;
        hence thesis by HelpU0,HelpL0;
      end;

      suppose B1: v2 = 1 & v1 = 3 & v0 = 4; then
B2:     v0 "/\" v1 = 3 by HelpL4;
        v2 "/\" v1 = 3 by B1,HelpL13;
        hence thesis by B1,B2;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 3; then
        v2 "/\" v1 = 3 by HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 2; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 3 by B1,HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU23;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 1; then
        v2 "/\" v1 = 3 by HelpL13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 3 & v0 = 0; then
        v2 "/\" v1 = 3 by HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 1 & v1 = 2 & v0 = 4; then
B2:     v0 "/\" v1 = 2 by HelpL4;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 3; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 1 by B1,HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 2; then
        v2 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,HelpU12;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 1; then
        v2 "/\" v1 = 1 by HelpL12;
        hence thesis by B1,HelpU12;
      end;
      suppose B1: v2 = 1 & v1 = 2 & v0 = 0; then
        v2 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0,HelpL0;
        hence thesis by B1,HelpU12;
      end;

      suppose B1: v2 = 1 & v1 = 1 & v0 = 4; then
        v0 "/\" v1 = 1 by HelpL4;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 3; then
        v0 "/\" v1 = 3 by HelpL13; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU13;
        hence thesis by B1;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 2; then
        v0 "/\" v1 = 1 by HelpL12;
        hence thesis by B1;
      end;
      suppose v2 = 1 & v1 = 1 & v0 = 1;
        hence thesis;
      end;
      suppose B1: v2 = 1 & v1 = 1 & v0 = 0; then
        v0 "/\" v1 = 0 by HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0;
        hence thesis by B1;
      end;

      suppose B1: v2 = 0 & v1 = 3 & v0 = 4; then
        v0 "/\" v1 = 3 by HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 3; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 2; then
        v0 "/\" v1 = 2 by HelpL23; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,HelpU0,HelpL0;
        hence thesis by B1,HelpU23;
      end;
      suppose B1: v2 = 0 & v1 = 3 & v0 = 1; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose v2 = 0 & v1 = 3 & v0 = 0;
        hence thesis by HelpU0,HelpL0;
      end;

      suppose B1: v2 = 0 & v1 = 2 & v0 = 4; then
        v0 "/\" v1 = 2 by HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 3; then
B2:     v0 "/\" v1 = 2 by HelpL23;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 2; then
B2:     v0 "/\" v1 = 2;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 2 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 2 & v0 = 1; then
        v0 "/\" v1 = 1 by HelpL12; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0,HelpL0;
        hence thesis by B1,HelpU12;
      end;
      suppose v2 = 0 & v1 = 2 & v0 = 0;
        hence thesis by HelpU0,HelpL0;
      end;

      suppose B1: v2 = 0 & v1 = 1 & v0 = 4; then
        v0 "/\" v1 = 1 by HelpL4; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B1,HelpU0,HelpL0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 3; then
B2:     v0 "/\" v1 = 3 by HelpL13;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 3 by B2,HelpU0;
        hence thesis by B1,HelpU13;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 2; then
B2:     v0 "/\" v1 = 1 by HelpL12;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose B1: v2 = 0 & v1 = 1 & v0 = 1; then
B2:     v0 "/\" v1 = 1;
        v2 "/\" v1 = 0 by B1,HelpL0; then
        (v0 "/\" v1) "\/" (v2 "/\" v1) = 1 by B2,HelpU0;
        hence thesis by B1;
      end;
      suppose v2 = 0 & v1 = 1 & v0 = 0;
        hence thesis by HelpU0,HelpL0;
      end;
    end;
    hence thesis by LATWAL_1:def 2;
  end;

registration
  cluster ExWALattice -> satisfying_W3 satisfying_W3';
  coherence by ExW31,ExW32;
end;

Messung
CHZG
8110010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.378Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24) ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,187,842
#Domains=881,879