Eine aufbereitete Darstellung der Quelle

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


SSL fomodel4.miz   Interaktion und
PortierbarkeitMizar

 

:: Sequent calculus, derivability, provability. Goedel's completeness theorem
::  by Marco B. Caminati
::
:: Received December 29, 2010
:: Copyright (c) 2010-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 TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, NUMBERS, NAT_1, RELAT_1,
      RELAT_2, FINSEQ_1, FUNCT_1, ARYTM_3, XCMPLX_0, CARD_1, ARYTM_1, FUNCT_2,
      XXREAL_0,          =x0a,=X]Xc=x0]as  of by,Th37java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
      PARTFUN1, MARGREL1,java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 7
      , , ,FOMODEL1, FOMODEL2,FOMODEL3,
      FOMODEL4;
 notations COHSP_1, TARSKI, MARGREL1, XBOOLE_0, ZFMISC_1, SETFAM_1, SUBSET_1,
      DOMAIN_1, RELAT_1, RELSET_1, FUNCT_1, PARTFUN1, FUNCT_2, MCART_1, NAT_1,
      CARD_1, ORDINAL1, NUMBERSA34      <X byA1;
      FINSEQ_1, LANG1, FINSEQ_2, EQREL_1, INT_2, FINSET_1, FUNCT_4, FUNCOP_1,
      CARD_3, ORDERS_4, LEXBFS, XTUPLE_0, XFAMILY, FOMODEL0, FOMODEL1,
                then
 constructors NAT_1, CARD_1, ZFMISC_1, NUMBERS, INT_1, FINSEQ_1, 
      MONOID_0, XXREAL_0, FUNCT_7, FINSEQ_2, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 5
      MCART_1, MARGREL1, FINSET_1, PARTFUN1, FINSEQOP, MATRIX_1, FUNCT_3,
      RFUNCT_3, SETFAM_1let W1,A36      (b= byA2A18,1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      ORDERS_4,LEXBFS,MATROID0, ,XTUPLE_0,FOMODEL0, ,
      FOMODEL2, FOMODEL3, XFAMILY;
 registrations ORDINAL1,  A37      Xc<.a+Xc  A18;
      FUNCT_2, FINSEQ_2, SUBSET_1, RELSET_1, PARTFUN1, EQREL_1, CARD_1,
      XBOOLE_0, XXREAL_0, ZFMISC_1, MARGREL1, FINSET_1, RAMSEY_1, YELLOW12,
      FUNCOP_1, CARD_3,   dim W1 + dim W2 - dim V = dim(,)dist,)w(a) byA33,A34,Def10
      XTUPLE_0;
 requirements ARITHM, BOOLE, NUMERALS, REAL, SUBSET;
 definitions FOMODEL2;
 equalities RELAT_1, XBOOLEAN, FUNCOP_1, FOMODEL0, java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 46
      FOMODEL3;
 expansions RELAT_1, FOMODEL2, FOMODEL3;
 theorems TARSKI, XBOOLE_0, FUNCT_1, FINSEQ_1, RELAT_1, XBOOLE_1, ZFMISC_1,
       hencethesisby A1,XREAL_1:;
      PARTFUN1, RELSET_2, LANG1, FINSEQ_2, FUNCT_4, SUPINF_2;
LAT_2   WAYBEL12 ,ORDERS_4 java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 7
, FOMODEL2, FOMODEL3;
 schemes NAT_1, FUNCT_2, RELSET_1, FRAENKEL, ALTCAT_2;

begin ::#General framework for sequent calculus

reserve k,m,n for Nat    A38:      a<>A & b<>A=;
 U,U1,U2 for non empty set,
 A,B,X,Y,Z, x,x1,x2,y \)byRUSUB_1:30;
 S for Language, s, s1, s2 for Element of S,
f,g for Function, w for string of S, tt,tt1,tt2    W1=dimW1+    Th15
psi,psi1,psi2,phi,phi1,phi2 for wff string of S, u,u1,u2 for Element of U,
  A18hence
S,
r for relational Element of
l, l1, l2 for
m1, n1 for non    :: Fixed-dimensionalsubspacefamily

::#####################################################################
::#Definitions and auxiliary lemmas
definition
let S be Language;
uncS- set equals
{[premises,conclusion] where s n<  Vholdsex being strict   V st          (,c+istc)w()A38A,;
conclusion is wff string of S: premises is finite};
coherencejava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
;

registration
let S be Language        ;
cluster S-sequents  let  beElementof NAT
coherence
proof
set AF=consider I beingSubsetofV  consider I being finite Subset of V such that
conclusion=the wff string of S;
[premises,conclusion] in S-sequents; hence thesis;
end
end;

registration          <A&b<>& < ;
let  n =dim Vjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
cluster S-sequents -> Relation-like;
coherence
proof
thenconsider  beingfinite ofsuchthat
now
let z be object;
n Ssequents; then consider being Subset of FF,
ch that A1 =x]  is finitejava.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
thus z   reconsider   of  by XBOOLE_1:;
end; then S-sequents is Subset of [:bool FFA43:dist(,)w.Xa,c)by Def10;
hence thesis;
end;
end;

definition ::#def2 6
let S be Language;
let x be object;
attr x  S-sequent means    linearly-independentby R: ;
:Def2: x in S-sequents;
end;

definition ::#def3 6
let ,;
attr X is S-sequents-like means
:Def3 thendim  =by ,Th9,:5;
end;

registration
  hence thesis           dist,)<,)(,)by A43A44,;
cluster -> S-sequents-like for Subset of S-sequents;
coherence;
cluster -> S-sequent-like for Element of S-sequents;
coherence;
end;

registration
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cluster S-sequent-like for Element of S-sequents;
existenceproof take the Element of S-sequents; thus thesis; end;
cluster S-sequents-like for Subset of S-sequents;
existence proof take the Subset of S-sequents; thus thesis; end;
end;

registration
letS
cluster S-sequent-like for object;
existence proof take the Element of S-    d
clusterSsequents-like forset;
existence proof take the Subset of S-sequents    hence b :;
end;

definition
let S be Language;
ode of  isElement of (ool(-sequents),bool S-sequents));
end;

definition
let S be Language;
modeuleSetofS  Subset of Funcs(ool(sequents)  java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 75
end;

reserve D,D1,D2,D3 for RuleSet of S, R java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 5
Seqts Subset of S-sequents,
seqt,seqt1,seqt2 for Element of S-sequents,
SQ,SQ1,SQ2 for    let ,    ;

registration
let S, Sq;
cluster {q} -> S-sequents-like;
coherence
by ZFMISC_1    assume
end;

registration
let S,SQ1,SQ2;
cluster SQ1\/SQ2 -> S-sequents-like;
coherence
proof
set Q=S-sequents; reconsider X=SQ1, Y=java.lang.StringIndexOutOfBoundsException: Range [19, 41) out of bounds for length 19
X\/Y c= Q; hence thesis;
end;
end;

registration
let S; let x,y be S-sequent-like objecthereby
cluster {x,y} -> S-sequents-like;:: for set;
coherence
 proof
   {x,y} = {x} \/ {y} by ENUMSET1:1;
  henceis;
 end;
end;

registration
let S,phi;
let Phi1,Phi2 be finite Subset of(AllFormulasOf S        hence a=;
cluster [Phi1 \/ Phi2, phi] -> S-sequent-like;
coherence;
end;

registration
let S;
cluster {} /\ S -> S-sequents-like;
coherence
by XBOOLE_1      end;
end;

registration
let S;
cluster {} null S -> S-sequents-like;
coherence
proof {} nullS ={}\S hence thesis; end;
end;

registration
let S,Y; let X be S-sequents-like set;
cluster X/\Y -> S-sequents-like;
coherence
proof
set Q=S-sequents;
X c= Q by Def3      suppose
hence thesis;
end;
end;

registration
let S; let premises be finite Subset of (AllFormulasOf S);
let        henceex WbeingstrictSubspace V  W=  &dim W        hence ex W being strict Subspace of V st W = x & dim W = 
cluster [premises,phi] -> S-sequent-like;
coherence;
end;

      given  beingstrict Subspaceof such that
let S; let phi1,phi2 be wff string of S;
cluster [phi1}phi2]- -equent-like;
coherence
proof
setA2   W = x and
reconsider phi11=phi1
exW strict  of VstW=1  dim =n;
[Phi,phi2] is S-sequent-like; hence thesis;
end;
let phi3 be string  S;
cluster [{phi1,    for X1,X2 being set st (for x being object holds x in X1 iff P[x]) &
coherence
proof
set AF=AllFormulasOf reconsider phi11=,=phi2 as
Element of AF by FOMODEL2:16(for being object holds x in X2 iff P[x]) holds X1 = X2 from XBOOLE_0:sch 3;
 ; [hiphi2 is -quent-
& Phi={phi11, phi22}; hence thesis;
end;
end;

registration
let S, phi1, phi2; let Phi end;
cluster [Phi\/{phi1}, phi2] ->          
coherence
proof
set AF=java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 7
reconsiderphi11=phi1 as Element of AF by FOMODEL2:16;
reconsider Phi2=Phi\/{phi11} as finite Subset of AF;          reconsider      :1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
[Phi2,phi2] is S-sequent-like; hence thesis;
end;
end;

definition
let S,X,D;
redefine func D           not xx in; then
coherence;
end;

definition
let S,x;
attr x is S-premises-like means :Def4:
x c=         <X A1;
end;

registration
let S;
cluster S-premises-like -> finite for set;
coherence;
end;

registration java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
S;
cluster {phi} -> S-premises-like;
coherence
by FOMODEL2:16,ZFMISC_1:31;
end;

registration
let S; let e be empty set;
cluster e null  - S-premises-like;
coherence
proof
set FF=AllFormulasOf S; e /\ FF=e; hence thesis;
nd;
end;

registration
let(,tjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
cluster S-premises-like for Subset of X;
existence
proof
{}/\X={}; then reconsider e={} null S as Subset of X; take e; thus thesis  coherence;
end;
end;

registration
let S;
cluster S-premises-like for set;
existence proof take the S-premises-like Subset of S; thus thesis  letV  finitedimensional RealUnitarySpace;
end;

registration
let S; let X be S-premises-like set;
cluster -> S-premises-like for Subset of X;
coherence
proof
set FF=let W be Subspace V;
by Def4; let Y be Subset of X; Y is   nbeNATjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
hence thesis by  XBOOLE_1:  assume x in  Subspaces_of java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;

reserve ,HH S-premiseslike java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43

definition
let S, H2, H1;
redefine func H1 null H2 -> Subset A2  W1 =n ;
coherence by Def4;
end;

ation
let S,H,x;
cluster H null x -> S-premises-like;
coherence;
end;

registration
let S, H1, H2;
 H1/ - S-W1in Subspaces_ofV ,Def3;
coherence
proof
set FF=AllFormulasOf S; (H1 null H1) \/ (H2 null H2) c= FF;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
end;
end;

registration
end
cluster [H,phi] -> S-sequent-like;
coherence
proof
set FF=AllFormulasOf S; reconsider
[HH,phi] is S-sequent-like; hence thesis;
end;
end;

definition
let S,D;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for Seqs being Element of   let V be non empty RLSStructS beSubset  V;
t.eqs=union( D :{eqs)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  attr S 
proof
set:java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
reconsider RR=nion  of bool Q  FOMODEL0:19java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
deffunc G(Element of bool Q)=union  S&y  S holds(1 a *  +  y inS
Function   Q bool Q such that A1:forx being    java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
 triangle& Mis trianglesymmetricReflexive  implies WellSpace(a,X)
by FUNCT_2:8; take ff; thus thesis by A1;
end;
uniqueness
proof
set Q=S-sequents, F=Funcsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
reconsider IT11=IT1, IT22=IT2 as Function of bool Q, bool Q;
deffunc G(set)=union ((union D).:{$1});
assume : SeqsbeingElementof bool Q holdsIT1.Seqs= GSeqs);
assumeletM beMetrStruct, be Point ofM,;
now
let x be Element of bool Q; thus IT11.x=G(x) by A2 .= IT22.x by A3;
end;
 thesis by FUNCT_2:3;
end;
end;

Lm1: dom (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
( , java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 71
dom iter(neStep ,)bool S-equents  dom OneStep )\
rng (OneStep D) = bool (S-sequents) & Seqts in dom R & SQ in dom (iter(R,m))
proof
set O=OneStep D,  set W=ellSpace(a,X);
A1: dom O=bool Q by FUNCT_2:def 1; hence
rng O c=   let v be V V
iter(O,m) is Function of bool Q, bool Q   x, being  of V,a being java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
dom iter(O,m)=ool  by FUNCT_2:def 1; thus
dom O \/ rng O = bool Q  proof
dom R=bool Q by FUNCT_2:def 1; hence Seqts in dom R;
iter(R,m) is Function of bool Q, bool Q by FUNCT_7:83; then
dom (iter (R,m))=bool Q & SQ c= Q by FUNCT_2:def    let x,being VECTOR of V;
hence SQ in dom (iter(A1 M  Reflexive;
end;

definition
let S,D,m;
func (m,D)-derivables -> Rule of S equals iter(OneStep D,m);
coherence
proof
set Q=S-sequents, O=OneStep D, IT=iter(O,m);
IT is Function of bool Q, bool Q by FUNCT_7:83; hence java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 39
end;
end;

definition
let S be Language;
let D be     then (1-a)*x y=(R:def 6
let Seqs1 be object, Seqs2 be set;
attr  consider beset, ePointofM  that
Seqs2 D) [*]).: {Seqs1});
end;

definition
let m,S,A2   A=yb]and
attr seqt
seqt in (m,D)-derivables.Seqts;
end;

  cluster  Affine  Subset of V;
let S,D;
func D-iterators -> Subset-Family of [:bool (S-sequents), bool (S-sequents):]
equals the set of all iter(OneStep D,mm);
coherence
proof
set O=OneStep D, Qjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
now
let     a  issymmetric;
assume x in IT; then consider mm such that
A1: x=iter(O,mm); x is   cluster empty Affine for Subset reconsider  assymmetric MetrStructjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
hence x in bool java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

end;
end;

definition
let S,R;
attr R is isotone means :Def10:
Seqts1 c= Seqts2 implies R.Seqts1 c= R.Seqts2;
end;

Lm2: id (bool (S-sequents)) is Rule of S &
(= (bool (S-sequents) java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 47
byFUNCT_28

registration
let S;
cluster isotone for Rule of S;
A4: y1  X&> or =  =a  ;
proof
set Q=S-sequents; reconsider I=id(bool Q) as Rule of  let V be RealUnitarySpace, WbeSubspace of V;
 is ;
end;
end;

definition
let S,D;
attr D is isotone   func Up(W) -> non empV 
Seqts1 c=   the carrier of W;
end;

registration
let S; let M be isotone Rule of S;
 -> isotone for RuleSet of S;

proof
now
let Seqts1end;
reconsider F=f as isotone Rule of S       
take g=f; java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
F.Seqts1 c= java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 7
end;
hence thesis  forV     ofV holds Up() is
end;
end;


let S;
clusterjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
existence
proof take D={the isotone Rule of S}; thus thesis; end;
end;

reserve M,K,K1,K2 for isotone java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 25

definition
let S be Language;
let D be RuleSet of S;
let Seqts be set;
sD- Seqtsis{,)-;
end;

registration
let S,D;
cluster D-derivable -> ({},D)-derivable for set;
coherence;
cluster ({},D)-derivable -> D-derivable for set;
coherence;
end;

registration
let S,D;A7:y1<y2java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
cluster (Seqts,D          .,: in()and
coherence;
end;

definition
let S,D,X; let phi be object;
attr phi is (X,D)-provable means  ::#Def12 6.=dist(b+(java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
{[X,phi]}  yin by A2;
st (seqt`1 c= X & seqt`2 = phi & {seqt} is D-derivable);
end;

definition
let S,D,X,x;
redefine attr x is (X,D)-provable means
exng object st seqt`1 c= X & seqt`2 = x & {seqt} is ,Ab A3A5ADef10java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
compatibility
proof
defpred P[] means ex seqt being object st
(seqt`1 c= X      1-a*x    Wby A3,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
thus x is (X,D)-provable implies P[]
proof
A1: xA8 > n;
per cases; suppose
  0Vin W by :7java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
 reconsider seqt=[X,x] as set by TARSKI:1;
 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
thus seqt`1 c= X & seqt`2 = x;
thus {seqt} is D-derivable by A2;
end;
suppose not {[X,x]} is D-derivable            .w(, for  RealLinearSpace,Abeing  Subset  V 0.  A
 hence thesis by  A1;
end;

assume P[ end;
end;
end;

definition ::#def64 6
  et ,D,;
  attr X is D-inconsistent means
  ex phi1,phi2 st phi1 is (X,D)-provable &
    <*TheNorSymbOf S*>^phi1^phi2 is (X let A be Affine  of V;
end;

Lm3:
  X c= Y & x is (X,: 0.V in A

registration
      eforx  VECTORof ,abeing   x  A holds   x  A
  let Phi1, Phi2 be set;
  cluster (Phi1\Phi2,D)-provable -> (Phi1,D)-provable for set;
  coherence by Lm3;
end;

registration
  let S,D; let Phi1, Phi2 be set;
  cluster (Phi1\Phi2,D)    then w is symmetric;
  coherence by XBOOLE_1:7, Lm3;
end;

   hence thesis;
  let S,D; let Phi1,Phi2 be set;
    a being Real xinS & y in Sholdsx+ y in S& A9  s triangle symmetric Reflexive;
  coherence by Lm3;
end;

registration
  let S,D; let X be set,    
  cluster (xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  Lm3;
end;

Lm4: for X being Subset of Y st X    0 inin Aholds Ais Subspace- &    of Lin()

definition
let S,D;let  be RealLinearSpace
func (Phi,D)-termEq -> set equals
{[1 t2] t1, istermal stringofS
<* TheEqSymbOf S *> ^ t1 ^ t2 is (Phi,D)-provable};
coherence;
end;

definition
let S, y1  &b1> or X&  aby ;
attr Phi is D-expanded means :Def17:
::#Deductively closed (cfr. Hedman)
x is A2forx  Element  consider   setb2     suchthat
end;

definition
let S,D,X;
redefine attr X is A11  =[y2b2 
x is X,D-provable implies x in Xjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
compatibility
proof
defpred P[] means for x       consider y3 be set,b Pointjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
thus X is D-expanded implies P[]
proof
ssume A1:X D-;
hereby
x; assume  is (,)provable; then
{}c=X A1;hence  inX ZFMISC_1;
end;
end;
assume
A2: P[];
 thus for x  *((-/)      now
end;
end;

definition
let S,x;
attr x is S-        per ;
end;

registration
let S;
cluster S-sequent-like -> S-null for set;
coherence;
;

::#Type Tuning

definition
let S,;letPhibe ;
 func Phi,)-ermEq->Relation  )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
coherence
proof
now
let x be object;
assume   (Phi,java.lang.StringIndexOutOfBoundsException: Range [18, 3) out of bounds for length 47
then consider t1,t2 being termal string of S such that A1:
x=[1A15      dist(,b2)=w(A,B)by A10
t1b = t1 as  of(java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 68
reconsider of (AllTermsOf S) by FOMODEL1:def 32;
x=[t1b,t2b] by A1;
hence x in :AllTermsOf S, AllTermsOfS:;
end;
hence thesis by     a being Real, v beingof  st vin A a*v  Aby ;
end;
end;

 then A is linearly-closed by RLSUB_1:def A17:      distb2,dista,b3)w(B,)by A11,12,ef10;
    hence thesisby A6,LVECT_2:29;
let x be empty set;
let phi be wff string of S;
redefine func    ] >  -;
coherence
proof
reconsider premises=x as finite Subset of ((AllSymbolsOf S)*) by XBOOLE_1:2;
premises c= AllFormulasOf S by XBOOLE_1:2;
then [premises ,phi] in S-sequents;
 ;
A7 the   (A) c=A;
end;

registration
let S;
  distb1a)dist(,2)w.ABDef10
existence
 proof
     RLVECT_3:15,STRUCT_0:def 5;
  thus thesis;
 end;
end;

registration
let S;
cluster S-sequent-like - S-nullforset;
A20:     dist(,2+(2,)=.A,) hence  byA7;
end;

registration
let S;
cluster
end;

registration
let     let a be Real;
cluster     
coherence
proof
set Q=S-sequents;
reconsider f=(m,D)-derivables as Function of bool Q, bool Q;
per cases;
suppose not X in bool Q; then not X in dom f;
then.X{  FUNCT_1def2;thenf.X =Q XBOOLE_1:2;
hence thesis;
end;
suppose X in bool Q; then reconsider XX=X as Element of bool Q;
f.XX is java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;
end;

registration
let S,D,m,X;
cluster (m,X,D     thesis;
coherence
proof
set O=OneStep D, All=union ((O[*]).:{X}), Q=S-sequents;
A1: (m,D)-derivables  end;
let x be object; assume x is (m,X,D)-derivable; then
x in (m,D)-derivables.X;
hence thesis by A1;
end;
end;

::######################################################################
::########################Lemmas

Lm5: X c= S-sequents implies (OneStep D).X = union( union
 of :(S-equents,Ssequents:: in java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
proof
set Q=S-sequents,F={R.:{X} where R is Subset of [:bool Q,bool Q:  
O=OneStep D; assume X c= Q;
then reconsider Seqts=X as Element of bool Q;
    let AB beElement ;
O.Seqts = union ((union DD) .: {Seqts}) by Def5 .=
union (union F) by RELSET_2:34; hence thesis;
end;

Lm6    consider y1  ,1be Pointof M that
proof
set IT=OneStep({R}); A1:
dom R= bool (S-sequents) by FUNCT_2:def 1 .= dom IT by FUNCT_2:def 
now
let x be object;assume A2: x in dom R; thus
R.x = union ({R.x}) .=37 y1in & b1<a  y1 =X& b1 =abyTh37;
union ((union {R}).:{x}) .= IT.x by Def5, java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 18
endA38:B[,2]and
hence thesis by A1,FUNCT_1:2;
end;

Lm7: x in R.X implies x isjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
proof
set Q=S-sequents, D={R}, O=OneStep(D), f=iter(O,1); assume
java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 52
reconsider Seqts=X as Element of bool Q;
iter(O,1)=O by FUNCT_7:70 .= R by Lm6; then
x   yin   A2;
end;

Lm8: for y being object holds
{y} is (Seqts
proof let y be object;
set    Vbenon A41:   y1=;
assume {y} is (X,D)-derivable; then
  (O[].{}   ZFMISC_1:31;then consider
& in(O[:X;
rng O c= dom O by Lm1; then O[*]=union I by FOMODEL0:17; then
(O[*]).:{X} = union {R.:{X} where R is hence A=B by A35,A40,A36,A38,A41,METRIC_1
by RELSET_2:  proof
A2: Y in Z &      = {v  u where  isElement :u M};
by A1, TARSKI:def 4;
consider f being Subset of [:bool Q, bool Q:] such that
A3: Z=f.:{X     P        <2;
A4: f=iter(O,mm) by A3; take mm;
java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 60
A5: dom iter(O,mm) = bool Q by FUNCT_2:def 1;
      Im((,)X A1 A2,  ;then
y in Y & Y in {(iter(O,mm)).X} by A5, FUNCT_1:59;
then y in (mm,D)-derivables.Seqts by TARSKI:def 1;
hencey is (mSeqts,D)-derivable;
end;

Lm9:
X c= S-sequents implies (m,D)-derivables.X c= union (((OneStep D)[*]).:{X})
proof
set O=OneStep D, RH=union ((    ;
A1:Xin domiter(,) Lm1;
reconsider f=union {iter(O,m)} as Function;
A2: iter(O,m).X = union {iter(O,m).X} .=
union (Im((,m),X)) by FUNCT_1:59 A1 . union  henceA;
Element of NAT by ORDINAL1:def 12;
iter(O,mm)=;
union      x be object;
f.:{X} c= (union (D-iterators)).:{X}      x ;
A3: (m,D)-derivables.X   then wis discerning;
 ObyLm1;
hence thesis by A3, FOMODEL0:17;
end;

Lm10:union ((OneStep D)[*]):{X})=
union the set of all (mmend;
proof
set F=the set of all (mm,D)-derivables.X where mm is Element of NAT;
set
;
suppose A1: not X in bool Q; then {X} misses bool Q by ZFMISC_1:50; then
{X} /\java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then (O[*]).:{X} = (O[*]).:{} by RELAT_1:112.= {}; then
reconsider E=(O[*]).:{X} as empty set;end
now
let x be object; assume x in F; then consider mm such that
A2: x=(mm,D)-java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 14
then x={} by FUNCT_1:def 2, A2; hence x in {{}} by TARSKI:def 1;
end;
then LHjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
thenLHc={}; then union E = {} & LH ={};
hence thesis;
end;
suppose A3:Xinbool Q;thenreconsider= Elementof boolQjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
for Y st Y in F holds Y c= RH
proof
A4  + c v +W;
A4: Y=(mm,D)-derivables.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

end;
then A5: LH c= RH A6:u in W;
now
let y be object;
  yy= as  by TARSKI:1;
assume y in RH; then {y} c= RH by ZFMISC_1:31;
then  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A6: yy is  hence thesis by A4;
set Y=(mm,D)-derivables.Seqts; y in Y & Y in F   S9 is Cauchy
hence y in LH by TARSKI:def 4;
end;
then RH c= LH; hence thesis by A5, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 7
end;
end;

Lm11: (m,D)-derivables.X c= union (((OneStep D)[*]).:{ funcM +N-      assumer0
proof
set F=the set of all (    then consider p be Nat  {  v where , ofVu in M &
set LH=union F, Q=S-sequents, O=OneStep D, RH=union((O[*]).:{X});
reconsider mm=m as Element java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 10
(mm,D)-derivables.X in F; then (mm,D)-derivables.X c= union F
by ZFMISC_1:74; hence thesis by Lm10;
     ;

Lm12:
 for x being object holds
x    deffunc (Elementof V     ,mbeNat  that
proof let x be object;
set Q=S-sequents, O=OneStep D, RH=    {F(u,v) where u,v is Element of[u,v]}  Subset  V
assume x is (m,X,D)-derivable; then
A1    :ch 9;
(m,D)-derivables.X c= RH by Lm11;
hence thesis by thesis;
end;

Lm13: Seqts1 c= Seqts2 & D1 c= D2 & (D2 is isotone or D1 is isotone)
implies (OneStep D1).Seqts1 c= (OneStep D2).Seqts2
proof
set Q=S-sequents, U1=union D1, U2=union
F1={R.:{Seqts1} where R is Subset of [:bool Q, bool Q:]:R in D1},
F2={R.:{Seqts2  letVbe non addLoopStr M,N beSubset of V;
X1=Seqts1, X2=java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
 .X1=union(union F1) &A12 .n= &S.=;
A2: X1 c= X2 & D1 c= D2 & (D2 is isotone or java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 15
now
let z be object; assume z in union java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 25
A3: z in x & x in union F1 by TARSKI:def 4;
consider X such that
A4  inX&XinF1 TARSKI:ef 4,A3
consider R being Subset of [: bool  [,S.=  
.:X1}&R  D1 by A4
reconsider RR=R as Rule of S by A5;
 in &X1  
A6: X={RR.X1} by FUNCT_1:59;
now
per cases;
suppose D2 is isotone; hence ex g st
g      hence thesisby ,9,10;
end;
suppose not D2 is isotone; thenA1:     end;
A7& RR. c .X2by A5,A2
thus  suppose
end;
end;
then consider g such that
A8: g in D2 & RR.X1 c= g.X2:Sn>  S.=;
reconsider Rg=g as Rule of S by A8; A9: X2 in dom Rg by Lm1;
A10: x c      then
{Rg.X2} in F2 by FUNCT_1:59, A9;
then union {{g.X2}} c= union F2 by ZFMISC_1:31,A15:[,Sm=9m by A7,
{g.X2}   then N + M c   A1    setby;
on{.X2 c= = unionunion F2 by ZFMISC_1:77; then
g.X2 c=union union ;then
x c= union union F2 by A10, XBOOLE_1:1; hence
z in union union F2 by A3;nd
end;
hence thesis by
end;

:c & D1c D2 &(D2 is orD1is isotone
implies (m,D1)-derivables.Seqts1 c= (m,D2)-derivables.Seqts2        hen ,.).,+(,.)byA15Def10;
proof
set O1=  Element of V holds {v} + M = v + M
 hence thesisby ,A9A10,16;
defpred P[Nat] means ($1,D1)-derivables.X1 c= ($java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A2: P[0]
proof
A3 iter(,0) endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.= id(bool Q).X1 by Lm1 .= X1;
iter(O2,0).X2=(id field O2).java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 11
.= id(bool Q).X2 by Lm1 .= X2;
hence thesis by A3, A1;
end;
A4: for n st P[n] holds P[n+1]
proof
let n; A5      then
X11=(n,D1)-derivables.X1, X22=(n,D2)-derivables.X2 as Subset of Q;
assume
A6: P[n];
A7:+,D1)derivables.=O1*(O1,).by FUNCT_7:71 =
O1.X11 by A5, FUNCT_1:13;
(n+1,D2)-derivables.X2 = (O2*iter(O2,n)).X2 by FUNCT_7:71 .=
O2.X22 by A5, FUNCT_1:13;
hence thesis by A7, A6A20  dist(.,.)0  1;
end;
for k being Nat holds P[k] from NAT_1:sch 2(A2,A4); hence thesis;
end;

Lm15: SQ1 c= SQ2           xx =x0  set byTARSKI:;
implies (m,D1)-derivables.SQ1 c= (m,D2)-derivables.SQ2
proof
reconsider Seqts1=SQ1, Seqts2=SQ2 as   not xx inxx;
assume SQ1 c= SQ2 & D1 c= D2 & (D2 is isotone or D1 is isotone);
then (m,D1)-derivables.Seqts1 c= (m,D2A21:  X<x0 by A1;
hence thesis;
end;

Lm16: D1 c= D2 & (D2 is isotone or D1 is isotone) implies
(m,D1)-derivables.X c= (m,D2)-derivables.X
proof
set Q=S-sequents, f1=(m,D1)-derivables, f2=(m,D2)-derivables;
       (9.,.)=distSn,.)dist(.n,S.  A18AA21,Def10
per cases;
suppose X in bool Q;
then reconsider Seqts1=X as Element of bool Q;
f1.Seqts1 c= f2.Seqts1 by Lm14, A1; hence f1.X c= f2.X;
end;
suppose not X in bool Q; then not X in dom f1 & not X in dom f2;
then f1  etvbeElement of ;
end;
end;    uppose

Lm17: D1 c= D2   proof
union (((OneStep D1)[*]).:{X}) c= union (((OneStep D2)[*]).:{X})

set F1=the set of all (mm,D1)-derivables.X where mm is Element of NAT;
 java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
neStep,= =-, LH= ((1[].{},
RH=union ((O2[*]).:{X});
A1: LH=union F1 & RH=union F2 by Lm10;
A1: exubeing         Sn=9.nby ,22,;
now
  x in F1 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 23
A3: x=(mm,D1)-derivables: M v  ;
A4: x c= (mm,D2 forxbeing x in v + M holds     end;
(mm,D2)-derivables.X in F2; then
(mmendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence x c= union F2 by A4, XBOOLE_1:    assume x in {v} + M;
end;
hence thesis by A1, ZFMISC_1:76;
end;

Lm18: D1 c= D2 & (D2 is  then consider Lbeing   Wsuch 
implies Y is (X,D2)-derivable
proof
setO1Or0exbe Nat  m atst 
RH=union ((O2[*]).:{X}); assume
(D2 is    isotone)  Y is(X,1-derivablejava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
   &Y     Lm17;
hence thesis by  XBOOLE_1:1;
end;

Lm19: (D1 c= D2 & (D1 is isotone or D2 is isotone) &
x is (X,D1)-provable) implies x is (X,D2)-provable
    hthesis A3
assume
1  c= D2 & D1 is  L1in  &L2>  =X&L2= a by Th37;
assume x is (X,D1)-provable;
A2  take ;
{seqt} is ({},D2)-derivable by A2, A1, Lm18;
hence thesis by A2;
end;

Lm20: Y c= R.Seqts implies Y is (Seqts,{R})-derivable
proof
set D={R}, RR=(OneStep D)[*], Q=S scalar-associativescalar-nital  
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 53
A1: {R  Affine
(OneStep D) c= RR by LANG1:18; then A2: R c= RR by Lm6;
{.Seqts}c=RR.Seqts}by ,A2 RELAT_1124 
union {R.Seqts} c= union (RR.:{Seqts}) by ZFMISC_1:77; then
A3: R.Seqts c= union (RR.:{Seqts});
assume Y c= R.Seqts;
hence thesis by  A3, XBOOLE_1java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 55
end;

Lm21: (  let v bVECTORofV
SQ2 c= iter(OneStep D1,m).SQ1  v +M=v +M  Th33
Z c= iter (OneStep (D1\/D2),m+n).SQ1
proof
reconsider mm=m, nn=n as Element of NAT by ORDINAL1:def 12;

O3=OneStep (D3), X=SQ1, Y=SQ2; assume
A1: D1 is isotone & D3 is isotone; assume
A2: Y c= iter(O1,m).X & Z c= iter(O2,n).Y;
A3: D3 c= D3 & D1 c= D3 & D2 c= D3   \N is Affine
(m,proof
A4: Y c= (m    let m=&L1
A5: X in dom iter(O3,  let M,N be Affine Su of V;
,D2)derivables. =(,)derivables.Y  java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 64
A6: Z c=  in M/ N & y inM/\N
+D\/2-. =
iter(,nn*O3mm). F:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
.= (n,D1\/D2)-derivables.(iter(O3,m).X) by FUNCT_1:13, A5; then
(n,D1\/D2)-derivables.Y c= (m+n,D1\/D2)-derivables.X by A4, A1, Lm15;
hence thesis by A6, XBOOLE_1:1;
end;

Lm22:
for y,z being object holds
(D1 is isotone & D1\/D2 is isotone &
y is (m,X,D1)-derivable & z is (n,{y},D2)-derivable) implies
z is (m+n,X,D1\/D2)-derivable
proof let y,z be object;
set Q=S-sequents, D3=D1\/D2, O1=OneStep D1, O2=OneStep D2, O3=OneStep D3;
assume
A1: D1 is isotone & D3 is isotone; assume
A2: y is (m,X,D1)-derivable & z is (n,{y},D2)-derivable; then
A3: y in (m,D1)-derivables.X & z in (n,D2)-derivables.{y};
X in bool Q
proof
assume not X in bool Q; then not X in dom (m,D1)-derivables; then
A4: (m,D1)-derivables.X = {} by FUNCT_1:def 2;
thus contradiction by A4, A2;
end; then reconsider SQ=X as Subset of Q;
 y is S-sequent-like by  A2;
 then reconsider yy=y as Element of Q;
{yy} c= iter(O1,m).SQ & {z} c= iter(O2,n).{yy} by ZFMISC_1:31, A3; then
z in (m+n,D3)-derivables.X by Lm21, A1, ZFMISC_1:31;
hence thesis;
end;

Lm23: [t1,t2] in (X,D)-termEq iff <*TheEqSymbOf S*>^t1^t2 is (X,D)-provable
proof
set E=TheEqSymbOf S, R=(X,D)-termEq;
thus [t1,t2] in R implies <*E*>^t1^t2 is (X,D)-provable
proof
assume [t1,t2] in R; then consider t11,t22 being termal string
of S such that A1: [t11,t22]=[t1,t2] & <*E*>^t11^t22 is (X,D)-provable;
t11=t1 & t22=t2 & <*E*>^t11^t22 is (X,D)-provable by A1, XTUPLE_0:1;
hence thesis;
end;
assume <*E*>^t1^t2 is (X,D)-provable; hence thesis;
end;

Lm24: Sq`2 is wff string of S
proof
set Q=S-sequents; reconsider seqt=Sq as Element of Q by Def2;
seqt in Q; then consider premises being Subset of (AllFormulasOf S),
conclusion being wff string of S such that
A1: seqt=[premises,conclusion] & premises is finite;
thus Sq`2 is wff string of S by A1;
end;

Lm25: x is (X,D)-provable implies x is wff string of S
proof
set Q=S-sequents;
assume x is (X,D)-provable; then consider y being object such that
A1: y`1 c= X & y`2=x & {y} is D-derivable;
reconsider E={} as Subset of Q by XBOOLE_1:2;
{y} is ({},D)-derivable by A1; then consider mm such that
A2: y is (mm,E,D)-derivable by Lm8;
reconsider yy=y as Element of Q by Def2, A2;
yy`2 is wff string of S by Lm24; hence thesis by A1;
end;

Lm26: AllFormulasOf S is D-expanded
proof
set AF=AllFormulasOf S;
now
let x; assume x is (AF,D)-provable; then reconsider
xx=x as wff string of S by Lm25; consider m such that
A1: xx is m-wff by FOMODEL2:def 25;
xx in AF by A1; hence {x} c= AF by ZFMISC_1:31;
end;
hence thesis;
end;

registration
let S,D;
cluster D-expanded for Subset of AllFormulasOf S;
existence
proof
set AF=AllFormulasOf S; reconsider AFF=AF as Subset of AF
by XBOOLE_0:def 10; take AFF; thus thesis by Lm26;
end;
end;

registration
let S,D;
cluster D-expanded for set;
existence
proof
set AF=AllFormulasOf S; take the D-expanded Subset of AF; thus thesis;
end;
end;

registration
let S,D,X;
cluster (X,D)-derivable -> S-sequents-like for set;
coherence
proof
set Q=S-sequents, O=OneStep D, F=the set of all (mm,D)-derivables.X;
let IT be set;assume IT is (X,D)-derivable; then IT c= union ((O[*]).:{X});
then
A1: IT c= union F by Lm10;
now
let x be object;
 reconsider xx=x as set by TARSKI:1;
assume x in IT; then consider Y such that
A2: x in Y & Y in F by A1, TARSKI:def 4; consider mm such that
A3: Y=(mm,D)-derivables.X by A2;
xx is (mm,X,D)-derivable by  A2, A3;
hence x in Q by Def2;
end;
then IT c= Q by TARSKI:def 3; hence thesis;
end;
end;

definition ::#def18 6
let S,D,X,x;
redefine attr x is (X,D)-provable means
ex H being set, m st H c= X & [H,x] is (m,{},D)-derivable;
compatibility
proof
set FF=AllFormulasOf S, Q=S-sequents; defpred P[] means
ex H being set, m st (H c= X & [H,x] is (m,{},D)-derivable);
{} /\ S is S-sequents-like; then reconsider e={} as Element of bool Q;
thus x is (X,D)-provable implies P[]
proof
assume x is (X,D)-provable; then consider seqt being object such that
A1: (seqt`1 c= X & seqt`2 = x & {seqt} is D-derivable);
A2: seqt`1 c= X & seqt`2 = x & {seqt} is ({},D)-derivable by A1; then
{seqt} c= Q & seqt in {seqt} by TARSKI:def 1, Def3;
then seqt in Q; then consider
premises being Subset of FF, conclusion being wff string of S such that
A3: seqt=[premises, conclusion] & premises is finite;
consider mm such that
A4: seqt is (mm,e,D)-derivable by A2, Lm8; take H=seqt`1, m=mm;
thus thesis by A1, A4, A3;
end;
assume P[]; then consider H being set, m such that
A5: H c= X & [H,x] is (m,{},D)-derivable;
now
take seqt=[H,x];
seqt`1 c= X & seqt`2=x  & {seqt} is ({},D)-derivable by A5, Lm12;
hence seqt`1 c= X & seqt`2=x & {seqt} is D-derivable;
end;
hence thesis;
end;
end;

theorem
{y} is (SQ,D)-derivable implies ex mm st y is (mm,SQ,D)-derivable
proof
set Q=S-sequents; reconsider Seqts=SQ as Element of bool Q
by Def3; {y} is (Seqts,D)-derivable implies ex mm st
y is (mm,Seqts,D)-derivable by Lm8; hence thesis;
end;

theorem Th2: D1 c= D2 & (D2 is isotone or D1 is isotone) & x is
(m,X,D1)-derivable implies x is (m,X,D2)-derivable
proof
set f1=(m,D1)-derivables, f2=(m,D2)-derivables;
assume D1 c= D2 & (D2 is isotone or D1 is isotone); then
A1: f1.X c= f2.X by Lm16; assume x is (m,X,D1)-derivable; then
x in f1.X;
hence thesis by  A1;
end;

begin ::#An example of complete set of inference rules
::############################################################################
::# Encoding of modified Gentzen rules
definition
let Seqts be set; let S be Language; let seqt be S-null set;

pred seqt Rule0 Seqts means  seqt`2 in seqt`1;
::# assumption rule; could be weakened to seqt`1={seqt`2}, since the
::# stronger form overlaps with Rule1

pred seqt Rule1 Seqts means  ex y being set st y in Seqts &
y`1 c= seqt`1 & seqt`2 = y`2;

pred seqt Rule2 Seqts means  seqt`1 is empty &
ex t being termal string of S st seqt`2 = <* TheEqSymbOf S *> ^ t ^ t;

pred seqt Rule3a Seqts means
ex t1,t2,t3 being termal string of S st
(seqt=[{<*TheEqSymbOf S*>^t1^t2,<*TheEqSymbOf S*>^t2^t3},
<*TheEqSymbOf S*>^t1^t3]);

pred seqt Rule3b Seqts means
ex t1,t2 being termal string of S st seqt`1 = {<*TheEqSymbOf S*>^t1^t2} &
seqt`2 = <*TheEqSymbOf S*>^t2^t1;

pred seqt Rule3d Seqts means
ex s being low-compounding Element of S,
T,U being (|.ar s.|)-element Element of (AllTermsOf S)* st
(s is operational & seqt`1=
{<*TheEqSymbOf S*>^(TT.j)^(UU.j) where j is Element of Seg |.ar s.|,
TT,UU is Function of Seg |.ar s.|, (AllSymbolsOf S)*\{{}} : TT=T & UU=U}
& seqt`2=<*TheEqSymbOf S*>^(s-compound(T))^(s-compound(U)));

pred seqt Rule3e Seqts means
ex s being relational Element of S,
T,U being (|.ar s.|)-element Element of (AllTermsOf S)* st
(seqt`1={s-compound(T)} \/
{<*TheEqSymbOf S*>^(TT.j)^(UU.j) where j is Element of Seg |.ar s.|,
TT,UU is Function of Seg |.ar s.|, (AllSymbolsOf S)*\{{}} : TT=T & UU=U}
& seqt`2=s-compound(U));

pred seqt Rule4 Seqts means
ex l being literal Element of S, phi being wff string of S, t being
termal string of S st seqt`1={(l,t) SubstIn phi} & seqt`2=<*l*>^phi;

pred seqt Rule5 Seqts means  ex v1,v2 being
literal Element of S, x,p st
seqt`1=x \/ {<*v1*>^p} & v2 is (x\/{p}\/{seqt`2})-absent &
[x\/{(v1 SubstWith v2).p},seqt`2] in Seqts;

pred seqt Rule6 Seqts means
ex y1,y2 being set,phi1, phi2 being wff string of S st y1 in Seqts &
y2 in Seqts & y1`1 = y2`1 & y2`1=seqt`1 &
y1`2= <*TheNorSymbOf S*> ^ phi1 ^ phi1 &
y2`2=  <*TheNorSymbOf S*> ^ phi2 ^ phi2 &
seqt`2 = <*TheNorSymbOf S*> ^ phi1 ^ phi2;

pred seqt Rule7 Seqts means
ex y being set, phi1, phi2 being wff string of S st y in Seqts &
y`1 = seqt`1 & y`2 =<* TheNorSymbOf S*> ^ phi1 ^ phi2 &
seqt`2 = <* TheNorSymbOf S*> ^ phi2 ^ phi1;

pred seqt Rule8 Seqts means
ex y1,y2 being set, phi,phi1,phi2 being wff string of S st y1 in Seqts &
y2 in Seqts & y1`1=y2`1 & y1`2=phi1 &
y2`2 = <* TheNorSymbOf S *> ^ phi1 ^ phi2 &
{phi}\/seqt`1=y1`1 & seqt`2= <* TheNorSymbOf S *> ^ phi ^ phi;

pred seqt Rule9 Seqts means
ex y being set, phi being wff string of S st
y in Seqts & seqt`2=phi & y`1=seqt`1 & y`2=xnot (xnot phi);
end;

definition
let S be Language;
func P#0(S) -> Relation of bool (S-sequents), S-sequents means :Def34:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule0 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule0 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A1:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A1;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule0 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A2: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A3: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A2,A3);
end;

func P#1(S) -> Relation of bool (S-sequents), S-sequents means :Def35:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule1 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule1 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A4:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A4;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule1 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A5: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A6: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A5,A6);
end;

func P#2(S) -> Relation of bool (S-sequents), S-sequents means :Def36:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule2 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule2 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A7:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A7;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule2 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A8: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A9: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A8,A9);
end;

func P#3a(S) -> Relation of bool (S-sequents), S-sequents means :Def37:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule3a Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule3a $1;
consider R being Relation of bool (S-sequents), S-sequents such that A10:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A10;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule3a $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A11: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A12: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A11,A12);


func P#3b(S) -> Relation of bool (S-sequents), S-sequents means :Def38:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule3b Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 12
consider R being Relation of bool (S-sequents), S-sequents such that A13:
for x for x being r>0ex st for  st m> holdsdist(.X)<r;
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A13;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule3b $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (let IT2 be Relation of bool (S
assume A14: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A15: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
hesis  :sch 4A14,)java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
end;

func P#3d(S) -> Relation of bool (S-sequents), S-sequents means :Def39:
for Seqts being Element of bool (S-sequents), seqt being
Element of (A2 r> 0and
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule3d $1;
 R   of  Ssequents) sequentssuch thatA16:
for x being Element of bool (S-sequents), y being Element of S-sequents
holds [x,y] in R iff P[x,y] from RELSET_1:sch 2;
take ;
thus thesis by A16;
end;
uniqueness
proof
A4: fornmbe Nat  n>p&m= holdsdist(S.,.)rby ,java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A17: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,yA5: p9 = p and
assume A18: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A17,A18);
end;

func P#3e(S) -> Relation of bool (S-sequents), S-sequents means :Def40:
S-sequents),seqt eing
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule3e Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule3e $1;
onsider R  Relation  bool S-,S- suchthat A19:
for x being Element of bool
holds [x,y] in R iff P[x,y] from RELSET_1:    ya)distaz>r by ,A10:;
take R;
thus thesis by A19;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule3e $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A20: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];        then
assume A21: for x being Element of bool (S-sequents),
 beingElement  sequents xy    [,y];
thus thesis from RELSET_1:sch 4(A20,A21);
end;

func P#() >Relation   Ssequents), -equentsmeans::
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule4 Seqts        ence thesis by A4,A13;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule4 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A22:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
 end;
end;
uniqueness
proof
defpred hence thesis;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents),   end;
assume A23: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A24: for x being Element of bool (S-sequentstheorem  Th41:
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A23,A24);
end;

func P#5(S) -> Relation of bool (S-sequents), S-sequents means :Def42:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule5 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule5 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A25:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A25;
end;
uniqueness
proof
defpredP, Element  S-]means2Rule5 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A26: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y]   be Point of M  M is   (, java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
assume A27: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis RELSET_1:sch 4(26,27;
end;

func P#6(S) -> Relation of bool (S-sequents), S-sequents means :Def43:
for   Elemento  Ssequents) seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule6 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule6 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A28:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A28;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule6 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A29: for x being Element of bool (S-sequents),
y being ElementA2 S9 Cauchyjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
 A30:for x  Element ofbool (-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A29,A30);
end;

func P#7(S) -> Relation of bool (S-sequents), S-sequents means :Def44:
for Seqts being Element of bool (S-ex y being object st y in the carrier of M[x,]
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule7 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule7 $1;
consider R let x be object
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y]     assume x in NAT;
take R;
thus thesis by A31;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule7 $1;
let IT1 be Relation of bool    consider  be set,2be  of  such that
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A32: for x being Element of bool (S-sequents),
y of -sequents holds x,]in  iff[x,y]
assume A33: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A32,A33);
end;

func P#8(S) -> Relation of bool (S-sequents), S-sequents means :Def45:
for Seqts being Element of bool (  end;
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule8 Seqts;

proof
defpred P[set, Element of S-sequents] means $2 Rule8 $1;
consider R beingA5 for being    in NAT holds P[x,S.x] from FUNCT_2:sch 1(A3);
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A34;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule8 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A35: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A36: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A35,A36);
end;

func P#9(S) -> Relation of bool (S-sequents), S-sequents means :Def46:
for Seqts being Element of bool (S-sequents), seqt being
Element of (S-sequents) holds [ Seqts, seqt ] in it iff seqt Rule9 Seqts;
existence
proof
defpred P[set, Element of S-sequents] means $2 Rule9 $1;
consider R being Relation of bool (S-sequents), S-sequents such that A37:
for x being Element of bool (S-sequents), y being Element of S-sequents holds
[x,y] in R iff P[x,y] from RELSET_1:sch 2;
take R;
thus thesis by A37;
end;
uniqueness
proof
defpred P[set, Element of S-sequents] means $2 Rule9 $1;
let IT1 be Relation of bool (S-sequents), S-sequents;
let IT2 be Relation of bool (S-sequents), S-sequents;
assume A38: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT1 iff P[x,y];
assume A39: for x being Element of bool (S-sequents),
y being Element of S-sequents holds [x,y] in IT2 iff P[x,y];
thus thesis from RELSET_1:sch 4(A38,A39);
end;
end;

definition
let S;
let R be Relation of bool (S-sequents), S-sequents;
func FuncRule(R) -> Rule of S     consider p be  such that
for inseqs being set st inseqs in bool (S-sequents) holds it.inseqs =
{ x where x is Element of S-sequents : [inseqs, x] in R};
existence
proof
deffunc A(object) = { x where x is Element of S-sequents : [$1,x] in R};
A1: for inseqs being set holds A(inseqs) in (bool (S-sequents))
proof
let inseqs be set;
now
let x be object;
assume x in A(inseqs); then
consider seq being Element of S-sequents such that A2:
seq=x & [inseqs,seq] in R;
thus x in S-sequents by A2;
end;
then A(inseqs) c= S-sequents by TARSKI:def 3;
hence thesis;
end;
A3: for inseqs being object st inseqs in bool (S-sequents) holds
A(inseqs) in (bool (S-sequents)) by A1;
consider f being Function of bool (S-sequents),bool (S-sequents)
such that A4: for x being object st x in bool (S-sequents) holds
f.x = A(x) from FUNCT_2:sch 2(A3);
take f;
thus thesis by A4, FUNCT_2:8;
end;
uniqueness
proof
set Q=S-sequents; let IT1,IT2 be Rule of S;
deffunc F(object)={ x where x is Element of S-sequents : [$1, x] in R};
assume
A5: for inseqs being set st inseqs in bool (S-sequents) holds
IT1.inseqs = F(inseqs); assume
A6: for inseqs being set st inseqs in bool (S-sequents) holds
IT2.inseqs = F(inseqs);
for A7: p<= and
proof
let x be object; assume A7: x in bool Q;
hence IT1.x=F(x) by A5 .= IT2.x by A6, A7;
end;
hence thesis by FUNCT_2:12;
end;
end;

Lm27: for R being Relation of bool (S-sequents), S-sequents holds
[Seqts, seqt] in R implies seqt in (FuncRule(R)).Seqts
proof
let R be Relation of bool (S-sequents), S-sequents;
A1: (FuncRule(R)).Seqts =
{ x where x is Element of S-sequents : [Seqts, x] in R} by Def47;
assume [Seqts, seqt] in R; hence thesis by A1;
end;

theorem Th3: for R being Relation of bool (S-sequents), S-sequents
st [SQ, Sq] in R holds Sq in (FuncRule(R)).SQ
proof
set Q=S-sequents; reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
let R be Relation of bool Q, Q; [Seqts,seqt] in R implies
seqt in (FuncRule(R)).Seqts by Lm27; hence thesis;
end;

Lm28: for R being Relation of bool (S-sequents), S-sequents holds
[SQ, Sq] in R implies Sq is (1,SQ,{FuncRule(R)})-derivable
proof
set Q=S-sequents; let R be Relation of bool Q,Q;
set F=FuncRule(R), O=OneStep {F};
reconsider Seqts=SQ as Subset of Q by Def3;
reconsider seqt=Sq as Element of Q by Def2;
A1: F=O by Lm6 .= (1,{F})-derivables by FUNCT_7:70; assume
[SQ, Sq] in R; then seqt in (1,{F})-derivables.Seqts by A1, Lm27;
hence thesis;
end;

Lm29: for R being Relation of bool (S-sequents), S-sequents holds
(y in (FuncRule R).SQ iff (y in S-sequents & [SQ,y] in R))
proof
set Q=S-sequents; let R be Relation of bool Q, Q;
reconsider F=FuncRule R as Function of bool Q, bool Q;
reconsider Seqts=SQ as Element of (bool Q) by Def3;
set G={ x where x is Element of S-sequents : [Seqts, x] in R};
A1: A11: .=yS.] byA5,9
A2: F.Seqts c= Q;
thus y in (FuncRule R).SQ implies     ;
proof
assume
A3: y java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
consider x being Element of Q such that
:y & [Seqtsx]in  by A3; thus  A4;
end; assume
A5: y in Q & [SQ,y] in R; then reconsider seqt=y as Element of Q;
seqt in F.Seqts by Lm27,A5 hence thesis;
end;

Lm30: for R being Relation of bool (S-sequents), S-sequents holds
(y in (FuncRule R).X iff (y in S-sequents & [X,y] in R))
proof
set Q=S-sequents; let R be Relation of bool Q, Q;
reconsider F=FuncRule R as Function of bool Q, bool Q;
per cases;
suppose A1: not X in bool Q;
not X in dom F by A1;
hence thesis by ,ZFMISC_1:7,FUNCT_1:def java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
end;
Xin  ;then reconsiderSeqts=  Elementof  Q;
set SQ=Seqts;
(y in (FuncRule R).SQ iff (y in S-sequents & [SQ,y] in R)) by Lm29;
hence thesis;
end;
end;

definition
let S;
func R#0(S) -> Rule of S equals ,A14,XXREAL_0:2
coherence;
func R#1(S) -> Rule of S equals FuncRule(P#1(S));
coherence;
func R#2(S) -> Rule of S equals FuncRule(P#2(S));
coherence;
func R#3a(S) -> Rule of S equals FuncRule(P#3a(S));
coherence;
func R#3b(S) -> Rule of S equals FuncRule(P#3b(S));
coherence;
func R#3d(S) -> Rule of S equals FuncRule(P#3d(S));
coherence;
func R#3e(S) -> Rule of S equals FuncRule(P#3e(S));
coherence;
func R#4(S) -> Rule of S equals FuncRule(P#4(S));
coherence;
unc R#5()->Rule of  equals FuncRuleP#5S)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
coherence;
func R#6(S) -> Rule of S equals FuncRule(P#6(S));
coherence;
func R#7(S) -> Rule of S equals FuncRule(P#7(S));
coherence;
func R#8(S) -> Rule of S equals FuncRule(P#8(S));
coherence;
func R#9(S) -> Rule of S equals FuncRule(P#9(S));
oherence;
end;

registration
let S; let t be termal string of S;
cluster {[{},<*TheEqSymbOf S*>^t^t]} -> {R#2(S)}-derivable for set;
coherence
proof
set E=TheEqSymbOf S, SS=AllSymbolsOf S, T=S-termsOfMaxDepth,
C=S-multiCat; reconsider phi=<*E*>^t^t as wff string of S;
reconsider Seqts={} as Element of bool (S-sequents) by XBOOLE_1:2;
reconsider seqt=[{},phi] as Element of S-sequents;
seqt Rule2 {}; then [Seqts,seqt] in P#2(S) by Def36;
then seqt in (R#2(S)).Seqts by Lm27; then
{seqt} is ({},{R#2(S)})-derivable by Lm20, ZFMISC_1:31; hence thesis;
end;
end;

registration
let S;
cluster R1S)- isotone for Rule ofS
coherence
proof
set R=R#1(S), Q=S-sequents;
now
let Seqts, Seqts2; set X=Seqts, Y=Seqts2; assume
 X c=Y;
now
let x be object; assume
A2: x in R.X;
reconsider seqt=x as Element of Q by A2;
[X,A20:  nin  &m in NATby :def12;
seqt Rule1 X by Def35; then consider
y being set such that
A3: y in Seqts & y`1 c= seqt`1 & seqt`2 = y`2;
seqt Rule1 YA21:.=xS.m] ,A20;
hence x in R.Y by Th3;
end;
hence R.X c= R.Y;
end;
hence thesis;
nd;
end;

registration
let S;
cluster R#2(S) -> isotone for Rule of S;
coherence
proof
now
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume X c= Y;
::# note this assumption remains unused here
set R=R#2(S), Q=S-sequents;
now
let x be object; assume
A1: x in java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  in  &[,]inP#2(S) by Lm30;
reconsider seqt=x as Element of Q by A1;
seqt Rule2 X by Def36, A2;
then seqt`1 is empty &
ex t being termal string of S st seqt`2 = <* java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 12
then seqt Rule2 Y; then [Y,seqt] in P#2(S) by Def36;
hence x in R.Y by Lm27;
end;
hence R    consider such 
end;
hence thesis;
end;
end;

Lm31: {R#2(S)} c= D implies (X,D)-termEq is total
proof
assume
A1:{R#2(S)} c= D;
set AT=AllTermsOf S, E=TheEqSymbOf S, Phi=X,     ake ;
now
let x be object; assume x in AT; then reconsider t=x as termal string of S;
set phi=<*E*>^t^t, seqt=[{},phi];
{seqt} is ({},D) m> n;
then phi is ({}\(Phi\{}),D)-provable; then
phi is (Phi\/{},D)-provable;
then [t,t] in (Phi,D)-termEq;
hence x in dom R by XTUPLE_0:def 12;
end;
then AT c= dom R by TARSKI:def 3;
hence R is total by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9
;

registration
let S;
cluster #bS >isotone for Rule of S;
coherence
proof
now
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume X c= Y;
::#note this assumption remains unused here
set R=R#3b(S), Q=S-sequents;
now
let object assume
A1: x in R.X;
reconsider seqt=x as Element of Q by A1;
[,]in #3bS by ,Lm30;then
seqt Rule3b X by Def38;
then
ex t1,t2 being termal string of S st seqt`1 = {<*java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 29
seqt`2 = <*TheEqSymbOf S*>^t2^t1;
then seqt Rule3b Y; then [Y,seqt] in P#3b(S) by Def38;
 Lm27
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
end;

Lm32:
{R#3b(S)      consider xsuch that
proof
set AT=AllTermsOf S, E=TheEqSymbOf S, java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 29
Phi=X, R=(X,D)-termEq;
assume A1: {R#3b(S)} c= D;
assume A2: Phi is D-expanded;
A3: field R c= AT\/AT by RELSET_1:8;
now
let x,y be object; assume x in field R & y in field R; then
reconsider tt1=x, tt2=y as Element of AT by A3;
reconsider t1=tt1, t2=tt2 as termal string of S;
reconsider phi1=<*E*>^t1^t2 as wff string of S;
reconsider phi2=<*E*>^t2^t1 as wff string of S;
reconsider seqt=[{phi1},phi2] as Element of S-sequents by Def2;
reconsider Seqts={} as Element of bool Q by XBOOLE_1:2;
A5: seqt Rule3b {};
[Seqts,seqt] in P#3b(S) by A5, Def38; then
seqt in (R#3b(S)).Seqts by Lm27;
then {seqt} is ({},{R#3b(S)})-derivable by Lm20, ZFMISC_1:31;
then {seqt} is ({},D)-derivable by A1, Lm18; then
A6: phi2 is ({phi1},D)-provable;
assume [x,y] in (Phi,D)-termEq; then consider
t11,t22 be termal string of S such that
A7: [x,y]=[t11,t22] & <*      then ex pm be Pointof   S9. = [,pm by ,,XREAL_0:2
t1=t11 & t2=t22 by XTUPLE_0:1, A7; then
{phi1} c= Phi by A2, A7;
hence [y,x] in (Phi,D)-termEq by A6;
end;
hence thesis by RELAT_2:def 3, def 11;
end;

registration
let S; let phi be wff string of S, Phi be finite Subset of AllFormulasOf S;
cluster [Phi \/ {phi}, phi] -> (1,{},{R#0(S)})-derivable for object;
coherence
proof
set Q=S-sequents;
reconsider Sq=[Phi \/ {phi}, phi] as Element of Q by Def2;
reconsider E={} as Subset of Q by XBOOLE_1:2;
A1: phi in {phi} & {phi} c= Phi\/{phi} by TARSKI:def 1, XBOOLE_1:7;
Sq     end;
end;
end;

registration
let S; let phi1,phi2 be wff string of S;
cluster [{phi1,phi2},phi1] -> (1,{},{R#0(S)})-derivable for object;
coherence
proof
set AF=AllFormulasOf S;
reconsider phi11=phi1, phi22=phi2 as Element of AF by FOMODEL2:16;
reconsider Phi={phi22} as finite Subset of AF;
[Phi \/ {phi1}, phi1] is (1,{},{R#0(S)})-derivable;
hence thesis

end;

registration
let S,phi;
cluster [{phi},phi] -> (1,{},{R#0(S)})-derivable for object;
coherence
proof
set AF=AllFormulasOf S;
Phi=}as finite 2;
[Phi\/{phi},phi] is (1,{},{R#0(S)})-derivable; hence thesis;
end;
end;

registration
let S; let phi be wff string of S;
cluster {[{phi}, phi]} -> ({},{R#0(S)})-derivable for set;
A36:  S9.=,] and
end;

registration
let S; set E=TheEqSymbOf S;
cluster R#0(S) -> isotone for Rule of S;
coherence
proof
now
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume X c= Y;
::# note this assumption remains unused here
set R=R#0(S), Q=S-sequents;
now
let x be object; assume
A1: x in R.X;
reconsider seqt=x as Element of Q by A1;
[X,seqt] in P#0(S) by A1, Lm30; then
seqt Rule0 X by Def34; then
seqt`2 in seqt`1; then seqt Rule0 Y;
then [Y,seqt] in P#0(S) by Def34;
hence x in R.Y by Lm27;
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
cluster R#3a(S) -> isotone for Rule of S;
coherence
proof
now
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume
X c= Y;
set R=R#3a(S), Q=S-sequents;
now
let x be object; assume
A2: x in R.X;
reconsider seqt=x as Element of Q by A2;
[X,seqt] in P#3a(S) by A2, Lm30; then
seqt Rule3a X by Def37; then
consider t1,t2,t3 being termal string of S such that
A3: seqt=[{<*TheEqSymbOf S*>^t1^t2, <*E*>^t2^t3}, <*E*>^t1^t3]; seqt Rule3a Y
by  A3; then
[Y,seqt] in P#3a(S) by Def37; hence x in R.Y by Lm27;
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
cluster R#3d(S) -> isotone for Rule of S;
coherence
proof
now
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume
X c= Y;
set R=R#3d(S), Q=S-sequents;
now
let x be object; assume
A4: x in R.X;
reconsider seqt=x as Element of Q by A4;
[X,seqt] in P#3d(S) by A4, Lm30; then
seqt Rule3d X by Def39; then
ex s being low-compounding Element of S,
T,U being (|.ar s.|)-element Element of (AllTermsOf S)* st
(s is operational & seqt`1=
{<*TheEqSymbOf S*>^(TT.j)^(UU.j) where j is Element    besymmetric triangleReflexive  empty MetrStructstM
TT,UU is Function of Seg |.ar s.|, (AllSymbolsOf S)*\{{}} : TT=T & UU=U}
TheEqSymbOf S*^s-)^scompound(U))
then seqt Rule3d Y;
then [Y,seqt] in P#3d(S) by Def39;
hence x in R.Y by Lm27;
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
cluster R#3e(S) - SetSequence of(a,)stS closed  S is non-scending&meet  is
coherence
proof
ow
let Seqts1, Seqts2; set X=Seqts1, Y=Seqts2; assume X c= Y;
set R=#eS,Q=-equents;
now
let x be object; assume
A5: x in R.X;
reconsider seqt=x as Element of Q by A5;
[X,seqt] in P#3e(S) by A5, Lm30; then
seqtRule3eXDef40 
ex s being relational Element of S,
T,U being (|.ar s.|)-element Element of (AllTermsOf S)* st
(seqt`1={s-compound(T)} \/
{<*TheEqSymbOf S*>^(TT.j)^(UU.j) where j is Element of Seg |.  beinfinite set;
TT,UU is Function of Seg |.ar s.|, (AllSymbolsOf S)*\{{}} : TT=T & UU=U}
& seqt`2=s-compound(U));
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 19
then [Y,seqt] in P#3e(S) by Def40;
hence x in R.Y by Lm27;
end;
hence R.X c= R.Y;
end;
hence thesis;
;
let K1,K2;
cluster K1\/K2 -> isotone for RuleSet of S;
coherence
proof
set D=K1\/K2;
A6: K1 c= D & K2 c= D by XBOOLE_1:7;
for Seqts1,Seqts2,f st
Seqts1 c= Seqts2 & f in D ex g st g in D & f.Seqts1 c= g.Seqts2
proof
let Seqts1, Seqts2, f; set X=Seqts1, Y=Seqts2; assume
A7: X c= Y & f in D;
per cases;
fin;then   such that
A8: g in K1 & f.X c= g.Y by A7, Def11; take g;
thus  proof
end;
suppose not f in K1l x be ;
consider g such that
A9: g in K2 & f.X c= g.Y by A7, Def11; take g;
thus x ;
end;
 then x indomf : 1;
hence thesis;
end;
end;

registration
let S;
cluster R#6(S) -> isotone for Rule of S;
coherence
proof
set R=R#6(S), Q=S-sequents;
now
letnd;
A1: X c= Y;
now
let x be object; assume
A2: x in R.X;
reconsider seqt=x as Element of Q by A2;
[X,seqt] in P#6(S) by A2, Lm30; then

consider y1,y2 being set,phi1, phi2 being wff string of S such that
A3: y1 in Seqts & y2 in Seqts & y1`1 = y2`1 & y2`1=seqt`1 &
y1`2= <* TheNorSymbOf S *> ^ phi1 ^ phi1 &
`=*  *>  ^phi2&
seqt`2 = <* TheNorSymbOf S *> ^ phi1 ^ phi2;
seqt Rule6 Y by  A3, A1;
then [Y,seqt] in P#6(S) by Def43;
hence x in R.Y by Th3;
end;
hence R.X c= R.Y;
endlet beobjectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    in NATjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
end;

registration
et;
cluster R#8(S) -> isotone for Rule of S;
coherence
proof
set R=R#8(S), Q=S-sequents;
now
let Seqts, Seqts2; set X=Seqts, Y=Seqts2; assume
A1: X c= Y;
now
let x be object; assume
A2: x in R.X;
 Element  by A2;
[X,seqt] in P#8(S) by A2, Lm30; then
seqt Rule8 X by Def45; then
consider y1,y2 being set, phi, phi1, phi2 being wff string of S such that
A3: in Seqts &y2 inSeqts  y1`1=21&y1`=phi1 java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
y2`2 = <*TheNorSymbOf S*>^phi1^phi2 & {phi}\/seqt`1=y1`1 &
seqt`2= <*TheNorSymbOf S*>^phi^phi; seqt Rule8 Y by  A3, A1;
then [Y,seqt] in P#8(S) by Def45;
hence x in R.A14: S.  S.2
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
end;

registration
let S;
cluster R#7(S) -> isotone for Rule of S;
coherence
proof
set R=R#7(S), Q=S-sequents;
now
let Seqts, Seqts2;  by TARSKIdef1
A1: X c= Y;
now
let x be object; assume
A2: x in R.X;
reconsider seqt=x as Element of Q by A2;
[X,seqt] in P#7(S) by A2, Lm30; then
seqt Rule7 X by Def44; then consider
y being set, phi1, phi2 being wff string of S such that
A3: y in Seqts & y`1 = seqt`1 & y`2 =<* TheNorSymbOf S*> ^ phi1 ^ phi2 &
seqt`2     x1 = x2 by A3,12A13,FUNCT_2:;
seqt Rule7 Y by  A3, A1; then [Y,seqt] in P#7(S) by Def44;
hence x  end
end;
hence R.X c= R.Y;
;
hence thesis;
end;
end;

registration
let S,t1,t2,t3;
cluster
[{<*TheEqSymbOf S*>^t1^t2, <*TheEqSymbOf S*>^t2^t3}, <*TheEqSymbOf S*>^t1^t3]
 -> (1,{},{R#3a(S)})-derivable for object;
coherence
proof
set E=TheEqSymbOf S, phi1=<*E*>^t1  hen
reconsider seqt=[{phi1, phi2}, phi3] as Element of S-sequents by Def2;
{ S S- 
reconsider Seqts={} as empty Subset of S-sequents;
A20 rng S c java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
[Seqts, seqt] in P#3a(S) by Def37; then seqt in (R#3a(S)).Seqts by Lm27;
hence thesis by Lm7;
end;
end;

registration
let ,H1  phi;
cluster [H1\/H2, phi] -> (1,{[H1,phi]},{R#1(S)})-derivable for object;  and
coherence
proof
set y=[H1,phi], SQ={y}, H=H1\/H2, Sq=[H,phi], Q=S-sequents;
   by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
H1 null H2 c= H & {y}\SQ={} & y`1\+\H1={} & Sq`1\+\H={} &
Sq`2 \+\ phi = {} & y`2 \+\ phi={};
  then H1 c= H & y in SQ & y`1 = H1 & Sq`1=H & Sq`2=phi & y`2=phi
     by FOMODEL0:29;
then seqt Rule1 Seqts; then [Seqts,seqt] in P#1(S) by Def35;
then Sq in (R#1(S)).SQ by Th3; hence thesis by Lm7;
end;
end;

registration
let S,H,phi;
cluster [H\/{phi}, phi] -> (1,{},{R#0(S)})-derivable for object;
coherence
proof
set H1=H\/{phi}, Sq=[H1,phi], SQ={} null S, Q=S-sequents;
reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
Sq`2\+\phi={} & Sq`1\+\H1={} & ({phi} null H)\H1 java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
Sq`2=phi & Sq`1=H1 & phi in H1 by FOMODEL0:29; then
seqt Rule0 Seqts; then [Seqts,seqt] in P#0(S) by Def34;
then Sq in (R#0(S)).SQ by Th3; hence thesis by Lm7;
end;
end;

registration
let S, H, phi1, phi2;
cluster [H, <    assume in  ;
{[H,<*TheNorSymbOf S*>^phi1^phi2]},{R#7(S)})-derivable for object;
coherence
proof
set N=TheNorSymbOf S    hence S. non;
Sq=[H,psi2], y=[H,psi1], SQ={y}, Q=S-sequents;
reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
{y}\SQ={} & y`1\+\H={} & Sq`1\+\H={} & y`2\+\psi1={} & Sq`2\+\psi2={}; then
y in SQ & y`1=H & Sq`1=H & y`2=  then S is non-empty by FUNCT_1:def
then seqt Rule7 Seqts; then [Seqts,seqt] in P#7(S) by Def44;
 Sq in(R7())SQby ; hence thesis by Lm7;
end;
end;

registration
let S,Sq;
cluster Sq`1 -> S-premises-like for set;
coherence
proof
set FF=AllFormulasOf A25 F islocally_finite &Sis -to-one implies meet R ={}and
premises being Subset of FF, conclusion being wff string of S such that
A1: Sq=[premises, conclusion] & premises is finite;
thus by ;
end;
end;

registration
let S,phi1,phi2,l1,H;
let l2 be (H\/{phi1}\/{phi2})-absent literal Element of S;
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 45
(1,{[H\/{(l1,l2)-SymbolSubstIn phi1}, phi2]},{R#5(S)})-derivable for object;
coherence
proof
reconsider phi11=(l1,l2)-SymbolSubstIn phi1 as wff string of S;
set H1=H\/{phi11}, Sq1=[H1,phi2],H2=H\/{<*l1*>^phi1}, Sq2=[H2,phi2],
R=R#5(S), Q=S-sequents, x=H, SS=AllSymbolsOf S, SQ={Sq1}, s=l1 SubstWith l2;
reconsider p=phi1 as SS-valued FinSequence; reconsider seqt=Sq2 as
Element of Q by Def2A29: yin rngsand
by Def3;
x\/{s.p}=H1 by FOMODEL0:def 22;
then [x\/{s.p},seqt`2] in Seqts by TARSKI:def 1;
then seqt Rule5 Seqts; then [Seqts,seqt] in P#5(S)
by Def42; then seqt in (R#5(S)).Seqts by Th3; hence thesis by Lm7;
end;
end;

registration
let m1 , ,  phi;
cluster [(H1\/H2) null m1, phi] -> (m1,{[H1,phi]},
{R#1(S)})-derivable for object;
coherence
proof
set H=H1\/H2, sq1=[H1,phi], sq=[H, phi], R=R#1(S); consider m such that
A1: m1=m+1 by NAT_1:6; defpred P[Nat] means
sq is ($1+1,{sq1},{R})-derivable;
A2: [H\/H,phi] is (1,{sq},{R})-derivable;
A3: P[0];
A4: for n st P[n] holds P[n+1]
proof
let n; assume P[n]; then
sq is (n+1+1,{sq1},{R}\/{R})-derivable by Lm22, A2;
hence thesis;
end;
for n holds P[n] from NAT_1:sch 2(A3,A4); hence thesis by A1;
end
end;

registration
et
cluster non empty for isotone RuleSet of S;
existence proof take {R#0(S)}; thus thesis; end;
end;

registration
let S;
cluster R#5(S) -> isotone for Rule of S;
coherence
proof
set R=R#5(S), Q=S-sequents;
now
let Seqts, Seqts2; set X=Seqts, Y=Seqts2; assume
A1: X c= Y;
now
let x be object; assume
A2: x in R.X;
reconsiderreconsider Cl union Si and
[X,seqt] in P#5(S) by A2, Lm30; then
seqt Rule5 X by Def42; then consider
1v2 being literal Element of S, z such that
A3: seqt`1=z \/ {<*v1*>^p} & v2 is (z\/{p}\/{seqt`2})-absent &
[z\/{(v1 SubstWith v2).p},seqt`2] in X;
seqt Rule5 Y by  A1, A3; then
[Y,seqt] in P#5(S) by Def42; hence x in R.Y by Th3;
end;
hence R.X c= R.Y;
end;
hence thesisjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
end;
end;

registration
let S,l,t,phi;
cluster [{(l,t) SubstIn phi}, <*l*>^phi] -> (1,{},{R#4(S)})-derivable
object
coherence

setQS-java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 40
reconsider Sq=[{psi},<*l*>^phi] as S-sequent-like object;
reconsider SQ={} null S as S-sequents-like set;
reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
seqt Rule4 Seqts; then [Seqts,seqt] in P#4(S) by Def41;
then Sq in (R#4(S)).SQ by Th3; hence thesis by Lm7;
end;
end;

registration
let t .in by d 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
cluster [H null (phi1^phi2),xnot phi] -> (1,
[\/phi}phi1,[\/phi},<TheNorSymbOfS>phi1^phi2],
{R#8(S)})-derivable for object;
coherence
proof
set N=TheNorSymbOf S, H1=H\/{phi}, psi=<*N*>^phi1^phi2, y1=[H1,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 17
y2=[H1,psi], SQ={y1,y2}, Sq=[H, xnot phi
reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ consider j2 be Element that
{y1}\SQ={} & {y2}\SQ={} & y1`1\+\H1={} & y2`1\+\H1={}  &
`2\`\\}&`1+H{java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 68
theny1inSQ  y2 in SQ &`=  1H1 & y12=hi1  y2`=psi java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
Sq`1=H & Sq`2=xnot phi by FOMODEL0:29; then seqt Rule8 Seqts;
then [Seqts,seqt] in P#8(S)      s. in  by A44,FUNCT_1:ef3;
hence thesis by Lm7;
end;
end;

registration
letA50:  y rngs A46,,A49,TARSKI:ef1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
cluster R#4(S) -> isotone for Rule of S;
coherence
proof
setRR4(), =sequentsjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
now
let Seqts, Seqts2; set X=Seqts, Y=Seqts2; assume
X c= Y;
now
let x be object; assume
A1: x in R.X;
reconsider seqt=x as Element of Q by A1;
[X,seqt] in P#4(S) by A1, Lm30; then
seqt Rule4 reconsider R9  non-  SetSequenceof  by ;
l being literal Element of S, phi being wff string  takeR9java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
termalstring of S such that
A2: seqt`1={(l,t) SubstIn phi} & seqt`2=<*l*>^phi;
seqt Rule4 Y by A2; then [Y,seqt] in P#4(S) by Def41;
hence x in R.Y by Th3;
end;
hence R.X c= R.Y;
end;
hence;
end;
end;

begin ::# Henkin's theorem

Lm33:
{R#3a(S)} c= D & X is D-expanded implies (X,
proof
, E=heEqSymbOf S, Q=S-sequents, AF=AllFormulasOf S,
E3=R#3a(S), R=(X,D)-termEq, G3={E3}; assume
A1: G3 c= D; then reconsider DD=D as non empty RuleSet of S;
reconsider GG3=G3 as non empty Subset of DD by A1;
assume
  is -;
A3: field R c= AT\/AT by RELSET_1:8;
now
let x,y,z be object; assume x in field R & y in field R & z in field R; then
reconsider tt1=x, tt2=y, tt3=z as Element of AT by A3;
reconsider t1=tt1, t2=tt2, t3=tt3 as termal string of S;
set phi1=<*E*>  0inSegm 2& 1in  2by NAT_1:44;
assume [x,y] in R & [y,z] in R; then
A4: phi1 is (X,D)-provable & phi2 is (X,D)-provable by Lm23;
reconsider XX=X as non empty set by A2, A4;
reconsider phi11=phi1, phi22=phi2 as Element of XX by A4, A2;
reconsider Phi={phi11,phi22} as non empty Subset of XX;
[{<*E*>^t1^t2,<*E*>^t2^t3},<*E*>^t1^t3] is (1,{},{R#3a(S)})-derivable; then
[Phi,phi3] is (1,{},G3)-derivable & GG3 c= D; then
[Phi,phi3] is (1,{},DD)-derivable by Th2; then phi3 is (X,DD)-provable;
hence [x,z] in (X,D)-termEq;
end;
hence thesis by RELAT_2:def 8, def 16;
end;

Lm34: {R#3a(S)} c= D & {R#2(S),R#3b(S)} c= D & X is D-expanded implies
(X,D)-termEq is Equivalence_Relation of (AllTermsOf S)
proof
A1: {R#2(S)} c= {R#2(S),R#3b(S)} & {R#3b(S)} c= {R#2(S),R#3b(S)} by ZFMISC_1:7;
assume
A2: {R#3a(S)} c= D;
assume
A3: {R#2(S),R#3b(S)} c= D;
assume
A4: X is D-expanded;
thus thesis by Lm31, Lm33, A2, A4, Lm32, A3, A1, XBOOLE_1:1;
end;

definition
let S; let m be non zero Nat;
let T,U be m-element (Element of ((AllTermsOf S)*));
func PairWiseEq (T,U) -> set equals
{<*TheEqSymbOf S*>^(TT.j)^(UU.j) where j is Element of Seg m,
TT,UU is Function of Seg m, (AllSymbolsOf S)*\{{}} : TT=T & UU=U};
coherence;
end;

definition
let S; let m be non zero Nat, T1,T2 be m-element Element of ((AllTermsOf S)*);
redefine func PairWiseEq (T1,T2) -> Subset of AllFormulasOf S;
coherence
proof
set P=PairWiseEq (T1,T2), SS=AllSymbolsOf S, E=TheEqSymbOf S,
AT=AllTermsOf S, AF=AllFormulasOf S;
now
let x be object; assume x in P; then consider
j being Element of Seg m, T11,T22 being Function of Seg m,SS*\{{}}
such that A1: x=<*E*>^T11.j^T22.j & T11=T1 & T22=T2;
m-tuples_on AT = Funcs(Seg m, AT) by FOMODEL0:11; then
T1 is Element of Funcs(Seg m,AT) & T2 is Element of Funcs(Seg m,AT)
by FOMODEL0:16; then reconsider T111=T1, T222=T2 as Function of Seg m, AT;
T111.j is Element of AT & T222.j is Element of AT; then
reconsider t1=T111.j, t2=T222.j as  string of S; reconsider
w=<*E*>^t1^t2 as 0-wff string of S; w in AF; hence x in AF by A1;
end;
hence thesis by TARSKI:def 3;
end;
end;

registration
let S; let m be non zero Nat;
let T,U be m-element (Element of ((AllTermsOf S)*));
cluster PairWiseEq(T,U) -> finite;
coherence
proof
set AT=AllTermsOf S, E=TheEqSymbOf S, SS=AllSymbolsOf S;
T in m-tuples_on AT & U in m-tuples_on AT by FOMODEL0:16; then
T is Element of Funcs (Seg m, AT) & U is Element of Funcs (Seg m,AT)
by FOMODEL0:11; then reconsider TT=T, UU=U as Function of Seg m, AT;
deffunc F(Element of Seg m)=<*E*>^(TT.$1)^(UU.$1);
set IT={F(j) where j is Element of Seg m:j in Seg m};
A1: Seg m is finite; IT is finite from FRAENKEL:sch 21(A1); then
reconsider ITT=IT as finite set;
now
let x be object; assume x in PairWiseEq (T,U); then consider
j be Element of Seg m, TTT,UUU be Function of Seg m, SS*\{{}}
such that A2: x=<*E*>^TTT.j^UUU.j & TTT=T & UUU=U;
thus x in IT by A2;
end;
then reconsider Y=PairWiseEq(T,U) as Subset of ITT by TARSKI:def 3;
Y is finite; hence thesis;
end;
end;

Lm35: for s being low-compounding Element of S,
T,U being |.ar s.|-element Element of (AllTermsOf S)* st s is termal
holds
{[PairWiseEq(T,U), <*TheEqSymbOf S*>^(s-compound(T))^(s-compound(U))]}
is ({},{R#3d(S)})-derivable
proof
let s be low-compounding Element of S; set m=|.ar s.|,
AT=AllTermsOf S, E=TheEqSymbOf S;
let T,U be m-element Element of AT*;
assume s is termal; then reconsider ss=s as termal Element of S;
reconsider t1=ss-compound(T), t2=ss-compound(U) as termal string of S;
reconsider conclusion=<*E*>^t1^t2 as wff string of S; reconsider
seqt=[PairWiseEq(T,U),conclusion] as Element of S-sequents by Def2;
reconsider Seqts={} as Subset of S-sequents by XBOOLE_1:2;
seqt Rule3d Seqts; then
[Seqts,seqt] in P#3d(S) by Def39; then seqt in (R#3d(S)).Seqts by Lm27;
hence thesis by Lm20, ZFMISC_1:31;
end;

Lm36: for s being relational Element of S,
T1,T2 being |.ar s.|-element Element of (AllTermsOf S)* holds
{[PairWiseEq(T1,T2)\/{s-compound(T1)},s-compound(T2)]}
is ({},{R#3e(S)})-derivable
proof
let s be relational Element of S; set m=|.ar s.|,
AT=AllTermsOf S, E=TheEqSymbOf S, AF=AllFormulasOf S;
let T1,T2 be m-element Element of AT*; reconsider
w1=s-compound(T1), conclusion=s-compound(T2) as 0-wff string of S;
w1 in AF; then reconsider w11=w1 as Element of AF;
reconsider premises=PairWiseEq(T1,T2)\/{w11} as Subset of AF; reconsider
seqt=[premises,conclusion] as Element of S-sequents by Def2;
reconsider Seqts={} as Subset of S-sequents by XBOOLE_1:2;
seqt Rule3e Seqts; then
[Seqts,seqt] in P#3e(S) by Def40; then seqt in (R#3e(S)).Seqts by Lm27;
hence thesis by Lm20, ZFMISC_1:31;
end;

registration
let S; let s be relational Element of S;
let T1,T2 be |.ar s.|-element Element of (AllTermsOf S)*;
cluster {[PairWiseEq(T1,T2)\/{s-compound(T1)},s-compound(T2)]} ->
({},{R#3e(S)})-derivable;
coherence by Lm36;
end;

Lm37: for s being low-compounding Element of S holds
(X is D-expanded & [x1,x2] in |.ar s.|-placesOf (X,D)-termEq)
implies ex T,U being |.ar s.|-element Element of (AllTermsOf S)* st
(T=x1 & U=x2 & PairWiseEq(T,U) c= X )
proof
let s be low-compounding Element of S;
set n=|.ar s.|, AT=AllTermsOf S, E=TheEqSymbOf S, Phi=X,
f=S-cons, SS=AllSymbolsOf S, R=(Phi,D)-termEq, SS=AllSymbolsOf S;
assume A1: Phi is D-expanded;
assume [x1,x2] in n-placesOf R; then
consider p,q being Element of n-tuples_on AT such that A2:
[x1,x2]=[p,q] & for i being set st i in Seg n holds [p.i,q.i] in R;
A3: p=x1 & q=x2 by A2,XTUPLE_0:1;
reconsider T1=x1, T2=x2 as Element of n-tuples_on AT by A2,XTUPLE_0:1;
reconsider T11=T1, T22=T2 as n-element Element of AT* by FINSEQ_1:def 11;
take T=T11, U=T22; thus T=x1 & U=x2; set Z=PairWiseEq(T,U);
T1 is Element of Funcs(Seg n, AT) & T2 is Element of Funcs(Seg n, AT) by
FOMODEL0:11; then reconsider T111=T1, T222=T2 as Function of Seg n, AT;
now
let z be object; assume z in Z; then
consider j be Element of Seg n, TT,UU be Function of Seg n, SS*\{{}}
such that A4: z=<*E*>^(TT.j)^(UU.j) & TT=T11 & UU=T22;
reconsider t11=T111.j, t22=T222.j as Element of AT;
reconsider t1=t11, t2=t22 as termal string of S;
[T111.j,T222.j] in R by A2, A3; then
<*E*>^t1^t2 is (Phi,D)-provable by Lm23; then
{<*E*>^t1^t2} c= Phi by A1;
hence z in Phi by A4, ZFMISC_1:31;
end;
hence Z c= Phi by TARSKI:def 3;
end;

Lm38: for s being low-compounding Element of S holds {R#3d(S)} c= D &
X is D-expanded & s is termal implies X-freeInterpreter(s) is
((X,D)-termEq)-respecting
proof
let s be low-compounding Element of S;
set n=|.ar s.|, AT=AllTermsOf S, E=TheEqSymbOf S, Phi=X,
R=(Phi,D)-termEq, I=X-freeInterpreter(s); assume
A1: {R#3d(S)} c= D; assume
A2: Phi is D-expanded; assume s is termal; then reconsider ss=s as
termal Element of S;
A3: not ss is relational;
now
let x1,x2; assume [x1,x2] in n-placesOf R;
then consider T1,T2 being n-element Element of AT* such that
A4: T1=x1 & T2=x2 & PairWiseEq(T1,T2) c= X by Lm37,A2;
set Z=PairWiseEq(T1,T2); reconsider
t1 = ss-compound(T1), t2 = ss-compound(T2) as termal string of S;
reconsider ZZ=Z as Subset of Phi by A4;
{[Z,<*E*>^t1^t2]} is ({},{R#3d(S)})-derivable by Lm35; then
A5: {[Z,<*E*>^t1^t2]} is ({},D)-derivable by A1, Lm18;
A6: <*E*>^t1^t2 is (ZZ,D)-provable by A5;
I.T1=t1 & I.T2=t2 by FOMODEL3:6; hence [I.x1,I.x2] in R by A6,A4;
end;
then I is (n-placesOf R,R)-respecting; hence
I is R-respecting by FOMODEL3:def 10, A3;
end;

Lm39: {R#3e(S)} c= D &
X is D-expanded & [x1,x2] in |.ar r.|-placesOf ((X,D)-termEq) &
r-compound.x1 in X implies r-compound.x2 in X
proof
set s=r, n=|.ar s.|, AT=AllTermsOf S, E=TheEqSymbOf S, Phi=X,
f=s-compound, R=(Phi,D)-termEq;
assume A1: {R#3e(S)} c= D;
assume A2: Phi is D-expanded;
assume [x1,x2] in n-placesOf R;
then consider T1,T2 being n-element Element of AT* such that
A3: T1=x1 & T2=x2 & PairWiseEq(T1,T2) c= X by Lm37,A2;
set Z=PairWiseEq(T1,T2);
reconsider w1=s-compound(T1), w2=s-compound(T2) as 0-wff string of S;
A4: f.x1=w1 & f.x2=w2 by A3, FOMODEL3:def 2;
assume f.x1 in X;
then reconsider X1={w1} as Subset of X by ZFMISC_1:31, A4;
reconsider ZZ=Z as Subset of Phi by A3;
reconsider ZZZ=ZZ \/ X1 as Subset of X;
{[Z\/{s-compound(T1)},s-compound(T2)]} is ({},{R#3e(S)})-derivable;
then {[ZZZ,w2]} is ({},D)-derivable by Lm18, A1; then
:: :: Copyright (c) 2004-2026 Association of Mizara, Bialystok, Poland).
{w2} :: detailed in file COPYINGING.CC-BY-SA:: licenses, or see http://www.gnu.org/licenses/gpl.html and
nd

:{#(S)}\D=R2S)}& {#3b)}\D=R#b()  D/\R3(S)}{#3e() &
X is D-expanded & [x1,x2] UA,MEMBERED,NEWTON,SIN_COS, VALUED_0,
(  XCMPLX_1,SIN_COS, SIN_COS4, SQUARE_1,NEWTON,ABSVALUE, SIN_COS2,
proof
sets, n=.ar s|, AT=AllTermsOf S,ETheEqSymbOf S,Phi,
fs-compound R=X,D)termEq;assume
java.lang.StringIndexOutOfBoundsException: Range [45, 2) out of bounds for length 51
D/{R#3e)}{R#e() & X isD-expanded &
[x1,2 innplacesOf R
reconsiderRrRassymmetric total Relation  AT by Lm31,Lm32;
thus f.x1 in X implies f.x2 in X by A1, Lm39; reconsider RR =
n-placesOf Rr as symmetric total Relation of n-uples_on AT; [x2,x1] in RR
by EQREL_1:6, A1; hence f.x2 in X implies f.x1 in X by A1, Lm39;
end;

S)}\D=R#()  {3(S)/D{R#3b()}  D/\R#3e)}{#eS)}&
Xis-expanded implies X-freeInterpreter(r is (X,D)termEq)-especting
proof
assume A1:  cos(3+cos()sin))by :75
/{#e()}=R3()}  X is D-expanded;
ATAllTermsOf S, R=(X,D)-termEq,
I=-freeInterpreter(r), AF=tomicFormulasOf S, ch=chi(X,AF),
SS=AllSymbolsOf S;
g-,m=|arr|;

 x1 A2 x,] inm- Rjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
consider, melement Element  * such :
=  x  (T1T) c=Xby ,A1;
reconsiderw1=r-ompoundT1,w2=r-()as 0-ff stringofS
1in AF&w2 in AF; w,w22=w2as   AF;
A4:gx1=11&gx2w22by , FOMODEL3:def 2
A3:sin(3)<0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
[h.w1,ch.w2]inid BOOLEAN &I.T1chw1&I.=ch.w2
by)*()cos)*sin(x3) by SIN_COS:5
end;
thenI (-placesOf R id BOOLEAN)respecting;
hence thesis by FOMODEL3:def 10;
end;

Lm42:{#3aS}c D &{#2()R#3bS}c D &Xis Dexpanded implies
-freeInterpreter(l)is ((,)termEq)-respecting
proof
etAT=AllTermsOf S,I=XfreeInterpreter(l);
ssume{#3() =   {#2S,#bS)}c D &XisD-expanded;
reconsiderR(,D- asEquivalence_Relation   Lm34;
I by FOMODEL3:8
hence thesis;
;
=(x)^2s()cos(x)
 R() c  java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
\#S}{#d)  R2S)}/\D{R2S}&{#bS}\=R3()}&
D/\{R#3e(S)}={R#3e(S)} & X is Dx=1-*(sinx))2
-freeInterpreter()is((,D)-termEq)respecting
proof
set s=a, AT=AllTermsOf S, I=X-freeInterpreter(s), AF=AtomicFormulasOf S,
ch=chi(X,AF), SS=AllSymbolsOf S, n=|.ar s.|, f=s-compound, R=(X,D)-termEq;
} = D&D/\{#d()={R#3d(S}&{R#2()/\=R#2S)
& {R#3
S2{#(S),S3{R#bS)}as Subset ofD
:S2/S3 =D
per cases;
suppose not s is relational    .((os))2(cos(x)^2(sin(x))^2(cos()^)*(os))2by :120
per cases;
ss literal; then reconsider l=ss as literal Element of S;
R#(S)R3() c= D byA2 then
 hence thesis;
;
suppose ss suppose ss is java.lang.StringIndexOutOfBoundsException: Range [14, 17) out of bounds for length 15
econsidersss= as -ompounding Element of;
X
end;
end;
end;
X-freeInterpreter(r) is R-respecting
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;

definition
let m,S,D;
attr D is m-ranked means:Def62java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
0S    R#() inD&R(S)in D &R3b)in  ififm=,
#(   &R#2()in D  R#a()in &R#b()in java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 #d)in D&R#3e(S)in Dif m=1,
D&R1S)in   #2S) in D  #a()in D &R#3b()in D
 #3() in   #3e()in   #4()in D    #()in D &
#()inD& R#()in D ifm otherwise D=}java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4


S;
1ranked- 0ranked for of ;
coherence
proof
  beRuleSetof S;  is 1-ranked 
nD R#2S    #3aS) inD #3bS)in  by Def62;
   java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
;
cluster    =1(in)/os()+tan()^2/x)2by :java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
coherence
proof
java.lang.StringIndexOutOfBoundsException: Range [29, 3) out of bounds for length 49
#  D&R(S)inD  R#a(S)inD & R#3b()inD
& t:
end;
end

efinition
 Sjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
Srules > ofS java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
{R#0(S byNEWTON:
{R#5(S), R#6(S), R    =2*inx*-*sin()|(+)+(1sinx-(()^*()  NEWTON6
coherence;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration
let S;
clusterSrules- -rankedforRuleSet  ;
coherence
 .2*cos()()cosx)-*x-2x*(xjava.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
set A={R#0(S), R#1(S), R#2(S), R#3a(S), R#3.=*(cos(x)|(2+1)-cos()sin2x*sin()by :6
B={R#5(S),R#6(S),R#7(S), R#8(S)}, C=A\/B;
R#0(S) in A & R#1(S) in A & R#2(S) in A & R#3a(S) in A & R#3b(S) in A
& R#3d(S) in A & R#3e(S) in A & R#4(S) in A & R#5(S) in B & R#6(S) in B &
R#7(S) in B & R#8(S) in B by ENUMSET1:def 6, def 2; then
R#0(S) in C & R#1(S) in C & R#    =2(x)^()x*sinx)sin()
& R#3d(S) in    .2(os(x)^-()-2*os()(-(x()bySIN_COS4java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
R#7 .2(()|3cos(x)-(2*cos()2(cos()|(1*()  NEWTON6
 thesisbyDef62
end;
nd

registration
let S;
-forofS
prooftakeSrules;thusthesis;endjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47


registration
let S;
uster ranked for RuleSet of S;
existence proof take the2ranked RuleSet of S; thus thesis; end;
end;

registration
lettheorem
cluster 0-ranked (1+cos(*x)/=(+(*cos()^2-))/2by 
existenceproof takethe 1-ranked RuleSet of S;thus thesis; end;
endproof

Lm44:
 is 1-anked  X  -expandedimplies
er() is (X)-ermEq)-respecting
proof

A1    =-*cos2x)(-*2sin(x)*osx)2)8by
A2: {R#0(S)} c= D.(sin((x*cos()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
R#djava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 71
A3: D/\{R#3d S}={R#3d     =s()|^(11*sin()*in(x)
& D/\{.=(in))^31) by NEWTON:6;
t
end;


et S; let D be-ranked RuleSet f S let X  D- set; let ;
cluster -freeInterpreter(a)->
-respecting for Interpreter of a, AllTermsOf S;
coherence by Lm44;
end;

  is 0ranked & X is D-expanded implies
-termEq is Equivalence_Relation of (llTermsOf S)
proof
assume D is 0-ranked;then
R#0 SA1: sqrt(1-cos()/2)sqrt(1-os(*x2))/)
{R#0(S)} c= D     =.sin(/).|by COMPLEX1:72;
by ZFMISC_1 hencethesisby ,:1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A1: {R#3a S} c= D & {R#2 S, R#3b    hence thesis;
assume X is D-expanded; hence thesis by A1, Lm34;
end;

registration
let S; let D be 0-ranked RuleSet of S; let X be D-expanded set;
cluster ((X,D)-termEq) ->
total symmetric transitive for Relation of (AllTermsOf S);
coherence by Lm45;
end;

registration
let S;
cluster 1-ranked for 0-ranked RuleSet of S;
existence
proof
set D = the 1-ranked RuleSet of S;
reconsider DD=D as 0-ranked RuleSet of S; take DD; thus thesis;
end;
end;

 (+()/)sqrt(+2(/))2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
Y is (X,D1.=.cos(x/2. by COMPLEX1:2;

Lm46:
 for x,, being object
holds (D1\/D2 is isotone & D1\/D2\/D3 is isotone &
x is (m,SQ1,D1)- sin(x/2<0implies tan(x/)=(-cos()/sin(x)
 is(n{x,}D3)derivable)
implies z is (m+n,SQ1\/SQ2,D1\/D2\/D3)-derivable
proof let x,,zbe object;
set Q=java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
O=OneStep thesis
 Def3 set Z=\Y assume
A1:  then
m,SQ1D1-erivable &y is (m,,D2-derivable; then
A3: x in (m,D1)-derivables.X & y in (m,D2)-derivables.Y;
sq1=,=yasS--like;
X null Y c= Z & Y null X c= Z & D1 null D2 c= D & D2 null D1 c= D; then
(m,D1)-derivables.X c= (m,D)-derivables.Z
& (m,D2)-derivables.Y java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A4: {sq1,sq2}  then
z is (,x,y,D3)derivable; then z in (n,D3)-derivables.{x,y}; then {z} c=
iter(3n.xy by ZFMISC_1:;
then z in (m+n,D\/D3)-derivables.Z by A4, A1, Lm21,     =(cos(x/))(sin(x/) by A1,CMPLX_1:91;
  x)=1()(1-cosx) cotx2) -((+osx)(
end;

registration
let S,H phi1,phi2;
cluster Hnull phi2,not ] - (2,
[H,*TheNorSymbOf S*^phi1^phi2],{R(S)\/{#()}\{R#8())derivable;
coherence
roof
set java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[,] [\{hi1,psi2,Sq2[/p}phi1]=}nullS
goal=[H null (phi1^phi2), xnot phi1];
goal is (1+1, =secx2)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
hence thesis;
end
end;

registration
S,,,phi2java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
cluster [H null phi1, xnot phi2] ->
(3,{[H,<*TheNorSymbOf Spercases;
-derivable for object;
coherence
proof
set N=TheNorSymbOf S,    hence thesis;
D2=D1, D3= {Rjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SQ1={[H,<*N*>^phi1^phi2]}, SQ2=SQ1;
A1:D1/D2is isotone &D1/D2\D3  isotone &
{Sq1,Sq1}={Sq1}\/{Sq1} by  assume that
alis(+, SQ1\SQ2,D1/D2\D3-derivable by A1,Lm46;
hence thesis;
;
end;

 Dis  &R#(    R#  java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
\phi  D)java.lang.StringIndexOutOfBoundsException: Range [64, 37) out of bounds for length 64
proof
SG1R1S,=R8S),E1={G1},={8;ssume
:Dis &G1in   in D; then
reconsider F1=E1, F8=E8 as Subset of D by    =qrt(x)/tan(x/)^)by :91
 given phi1, phi2 such java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 12
A2: phi1 is ((2<;
set nphi1=<*N*>^phi1^phi2; consider H1 being set, m1 beingABSVALUE:def 1;
A3: H1 c= XX & [H1,phi1] is (java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
considerH2setm2being  that
A4: H2 c= XX &/inhx;
reconsider seqt1=[H1,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
` +H1 }&seqt2`1\\H2=}  
H11=H1, H22=H2 as S-.=1*2/((exp_R.(x)-exp_Rx))/*2)byXCMPLX_191
nsider=\phi, H222=H22\{phi}as
S-cothx=oshx/( :4
H11\H111=H11/\.(exp_R()exp_R()2/xbySIN_COS2def3
pH1=    =(exp_R.x)exp_R.-))2*)(exp_R.x-exp_R.-x))22  :1
reconsiderH=11\/22  Spremises-ike Subset  ;
econsiderH{} S--    byXBOOLE_1java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
reconsider java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
h/phi  Spremiseslike ;
reconsider.-()(.exp_R-)*(exp_Rx+(x)(
set.(xp_Rx-.-)(xp_R.x+(-)*((xp_R(x)exp_R(-x))(xp_R
[(\/\Phi)null(+1,phi1 
m2,[ ],)derivable 
H11/H22/phi},phi1]  m1++1){,\E1-derivable by A3 Lm22, A1;
{phi,phi1]is(m1m21{}D null F1)derivable
by XBOOLE_1:;then [\hp/{phi} phi1] is
(m1+m2+1,{},D)-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 7
A5: [h\/({phi} null hp), A1: (cosh.x)^2<>0 by SQUARE_1
[(H22\/(H11\/{phi})) null (m1+1), nphi1] is
(m1+1,{[H22, nphi1]},E1)-derivable; then
[H22\/(    =(12(cosh.(x))^2)+(sinh.x/cosh.()^by :17
then [\{},nphi1]is(+m2+,}, null F1)-derivable by XBOOLE_1:;
then [h\/hp\/{phi}, nphi1] is (m1+    .(1+(sinh.x)^2/(osh.x)2by :62
A6:  .=coshx^/cosh.))2;
by XBOOLE_1:
(1,{[h\/{phi},phi1], [h\/{phi}, nphi1]}java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
[,xnot phi]is
(M+1,e\/e,D\/D\/{R#8(S)})-derivable .)^2)/(sinh(x))2by :14
hxnot phi is (M+1,{}Dnull F8)derivable;
hence thesis;
end;

:( is -inconsistent& D is isotone&R1()in &R#8()in D)
implies xnot phi is (X,D)-.=cosh.(-x)/sinh.(-x) by SIN_COS2 2
proof
set N=TheNorSymbOf S, Y=X\/{phi}, r1=R#1(S), r8=R#8(S)    =- (/( :ef 4
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
:isD- &Dis &  D    ;
XX is()> and
hence thesis by A1, Lm47, Lm4 .x2)> A2Sd 2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end;

Lm49: D is isotone & R#1(S)  .((osh.1*cosh.  (sinhx1)*(sinh.x2)/(sinh.x1)*(sinh.2) (
X\/{(l1,l2)-SymbolSubstIn phi} is D:,5
(\{}-absentimplies \{*l1*^hi} is c/.) )((inhx1 (oshx2

set E= S = ,SSA ,QS,
2-SymbolSubstIn, E1=#1S,E2=R2S,E5=R#5()
  = Element rng/ ;llin y : ;then
c.)()(inh)/((.x2) by,6java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
cosh/.  :def4
nsideryes=**>t^  0 string of;
A1: rng yes=rng(<*E*>^t)\/ rng t by FINSEQ_1:31c(1/.1)by SIN_COS2def4
.tbyFINSEQ_131
.= rng <*E.=((coshx1))/sinh(1)*(coshx2)/sinh.x2) 1)/(cosh(2/(2
.=    =(coshx1)/sinh(1)*((2)(inhx2)+1/ coshx)sinh(2
.= {E} \/ {l} by FINSEQ_1:38;
= as Elementofrngphi by XBOOLE_0def4java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A2: {lll} theorem
reconsider no=cothx1-x2))
A3: rng noathat
=rng <N* \ yes\  FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
.rng<N*>\ (ng yes /rng es  
={}\ yesby :38. EN /java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
assume
: isotone&#()inD&R#8()in D  #2(S)inD&R() in D java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 by Lm48;
then A1:sinhx1)< 
A5: H3 c .<0byA2,:def2;
reconsider seqt1=[H3,no] as Element of   def2
1\\ H3{;thenreconsider
H33=H3 as SSIN_COS221
reconsider H1  (*.x2) XCMPLX_1:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    .=-((sx)sinh(*coshx2)s()) -((sinh./.x2)*cosh
{phi    =(*cosh./s.x2)-(.x2/(*.x1)/(inh()))
, Phi=}as SubsetofX/p}
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 50
=} =phi}asSubsetof*{};
assume
  is(X\/{phi})-absent;then
SIN_COS2:ef2
SymbolsOfSymbolsOf ((SSjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
 l2  phi& l2 {,NbyTARSKIdef  :; then
not l2 in rng no by java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 14
not x1)*sinhx)by 62
econsiderlnl2 as no-(Element of S) by : java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
econsiderlN=  {phi}\/})absentliteral ElementofSbyA7
    =coshx2)((2) (.)/sinh(1*sinh.)(inh.x2))
reconsider lx=lN as (H11\/({phi}\/{no})XCMPLX_174
H11=coshx2)(sinh.x2)) (x1/sinh(1 SIN_COS2def2
lx=(x2()+(oshx1/(x1) by SIN_COS2: 4
reconsider l22=l2 as (H1\end;
siderF2{} }asSubsetof ZFMISC_1: A4java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
A8: D\/(F1\/F5)=D & thesis
H1\/{<*l1: (.)^21(inh.)2
B3: H33 null (\{psi} =  H1 \/H2by XBOOLE_1:23;
B2:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  1{H1\/{si} ],R(S)})derivable
[H1\/H2\/{psi}, .2sinh.xcosh.(x  cosh.2x)*.)bySIN_COS223
[H1\/({psi} null H2),no] is (1,{[H33, no]},{R#1(S)}).2sinh.*1(x^)(*coshx^-)*(sinh.x)by 
by XBOOLE_1:4, B3; then
[H1\/{<*l1*>^phi=*coshxcosh.x*cosh.x)-3*cosh.x
by B2, Lm22; then.=4*(coshx|(+)*osh.x)-*cosh.by :java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
[H1e;
A9sinhx<0impliescoth2x=1(()^)(*()java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
set seqt2=[{},yesA1 x> by:def 2java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
seqt2`1 \+\ {}={} & seqt2`2 \+ )byA2,XCMPLX_155
yesis(}{#2S}-;then  is
X/<l1*>phi,)provableby, Lm19; hencethesisby;


registration
let S,  .(cosh./.)2+^)(*.*x(sinhx*.x) byA1,
cluster [.=(cx)sinh.)2+/2(.()sinh.x)by :ef4
-> (1,
{[{xnot phi1,xnot phi2}, xnot phi1], .((coth())2)(*coshx)/sinh() SIN_COS2def 2;
) ;
coherence
proof
set Q=S-sinh.x= SIN_COS2def java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
sq=[prem,<*N*>^phi1^phi2],   cosh(x/2)=sqrt((cosh(x)+1)/2
reconsider seqt=sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of. (*c.x)^   1/) by SIN_COS2:23
{sq2}\Seqts={} & sq1`1 \+\ prem = {endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
&proof
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
q2inSeqts &1prem  `1=rem  `1prem  `2xnot 
& sq2`2=xnot phi2 & sq`2=<*N*>^phi1^phi2 by FOMODEL0:29; then
Rule6;then[seqt  #6S Def43
then seqt in (R#6(S)).Seqts by Lm27; hence     .=(2*sinh.(x/2)*sinh.(x/2))/(2*sinh.(x/2)(/)) by :3

end;

registration
 ,phi2;
cluster [{phi1,phi2},phi2] -> (1,{}  sinh()/cosh(x)+1)=(sinh.(2*x))(cosh(2*x/2)+)by SIN_COS2:def2
coherence proof [.(2*inh.(/)c.x2)(cosh(*x/)+)by SIN_COS223
end;

theorem  .sinh.x2/.x/)by ,CMPLX_19java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45

theorem Th6: phi in X implies phi java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 5
proof
assume phi in X; then reconsider Xphi={phi} as Subset of X by ZFMISC_1:31;
 ({}{0S))derivable then
phi is (Xphi,{R#0(S)})-provable; hence thesis;
end;

theorem
D1/  isotone &D1\D2\D3  isotone &
  x is (m,SQ1,hence java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  z is  /2>java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  ((1(x)c.*x)+)(2(/))  : 4

 D1isotone &\D2is &
y mXD1)   isny,) 
 s mn,,\/D2)-derivableby Lm22;

theorem
  x is (m,X,D)-derivable implies {x} is (X,D)-derivable by Lm12;

theorem
  (D1 c= D2 & (D1 is isotone or D2 is isotone) &
    x is (X,D1)-provable) implies x is (X,D2)-provable by Lm19;

theorem
  X c= Y & x is (X,D)-provable implies x is (Y,D)-provable;

theorem
  x is (X,D)-provable implies x is wff string of S by Lm25;

 reserve D,E,F for (RuleSet of S), D1 for 1-ranked 0-ranked RuleSet of S;

registration
let S, D1; let X be D1-expanded set;
cluster (S,X)-freeInterpreter -> ((X,D1)-termEq)-respecting
for (S,AllTermsOf S)-interpreter-like Function;
coherence
proof
set TT=AllTermsOf S, E=(X,D1)-termEq, I=(S,X)-freeInterpreter;
now
let o be own Element of S; I.o=X-freeInterpreter(o) by FOMODEL3:def 4;
hence I.o is E-respecting;
end;
hence thesis;
end;
end;

definition
let S; let D be 0-ranked RuleSet of S; let X be D-expanded set;
func D Henkin X -> Function equals
(S,X)-freeInterpreter quotient ((X,D)-termEq);
coherence;
end;

registration
let S; let D be 0-ranked RuleSet of S; let X be D-expanded set;
cluster D Henkin X -> (OwnSymbolsOf S)-defined;
coherence;
end;

registration
let S, D1; let X be D1-expanded set;
cluster D1 Henkin X -> (S,Class (X,D1)-termEq)-interpreter-like for Function;
coherence;
end;

definition
let S, D1; let X be D1-expanded set;
redefine func D1 Henkin X ->
Element of (Class (X,D1)-termEq)-InterpretersOf S;
coherence
proof
set TT=AllTermsOf S, R=(X,D1)-termEq, I=(S,X)-freeInterpreter;
I quotient R is Element of (Class R)-InterpretersOf S; hence thesis;
end;
end;

registration
let S, phi1, phi2;
cluster <*TheNorSymbOf S*>^phi1^phi2 ->
({xnot phi1, xnot phi2},{R#0(S)}\/{R#6(S)})-provable for set;
coherence
proof
set N=TheNorSymbOf S, phi=<*N*>^phi1^phi2, x1=xnot phi1, x2=xnot phi2,
prem={x1,x2}, sq=[prem,phi], sq1=[prem,x1], sq2=[prem, x2];
{} /\ S is S-sequents-like; then reconsider SQe={} as S-sequents-like set;
sq is (1+1,SQe\/SQe,{R#0(S)}\/{R#0(S)}\/{R#6(S)})-derivable by Lm46; then
{sq} is ({},{R#0(S)}\/{R#6(S)})-derivable by Lm12;
hence thesis;
end;
end;

registration
let S;
cluster -> non empty for 0-ranked RuleSet of S;
coherence by Def62;
end;

Lm50: for X being D1-expanded set, phi being 0wff string of S holds
((D1 Henkin X)-AtomicEval phi = 1 iff phi in X)
proof
let X be D1-expanded set, phi be 0wff string of S;
R#0(S) in D1 by Def62; then
A1: {R#0(S)} c= D1 by ZFMISC_1:31;
set TT=AllTermsOf S, E=TheEqSymbOf S, p=SubTerms phi, F=S-firstChar, s=F.phi,
n=|.ar s.|, R=(X,D1)-termEq, U=Class R, AF=AtomicFormulasOf S,
d=U-deltaInterpreter, i=(S,X)-freeInterpreter;
A2: |.ar E.|-2=0;
reconsider I=D1 Henkin X as Element of U-InterpretersOf S;
set UV=I-TermEval, V=I-AtomicEval phi, uv=i-TermEval, v=i-AtomicEval phi,
f=I===.s, G=I.s, g=i.s, O=OwnSymbolsOf S, FF=AllFormulasOf S,
C=S-multiCat, SS=AllSymbolsOf S;
reconsider pp=p as Element of n-tuples_on TT by FOMODEL0:16;
pp is Element of Funcs(Seg n, TT) by FOMODEL0:11; then
reconsider fp=pp as Function of Seg n, TT;
A3: 2-tuples_on (SS*\{{}}) = the set of all <*tt1,tt2*> where tt1,tt2 is
Element of SS*\{{}} by FINSEQ_2:99;
p in TT*; then reconsider Pp=p as Element of (SS*\{{}})*;
A4: phi = <*s*>^(C.p) by FOMODEL1:def 38;
A5: UV=(R-class)*uv by FOMODEL3:3;
A6: uv=id TT by FOMODEL3:4;
n-tuples_on TT c= TT* & TT* c= (SS*\{{}})* by FINSEQ_2:142; then
n-tuples_on TT c= (SS*\{{}})* by XBOOLE_1:1; then reconsider nc =
(s-compound|(n-tuples_on TT)) as Function of n-tuples_on TT, SS*\{{}}
by FUNCT_2:32;
per cases;
suppose A7: s=E;
reconsider p1=p as (0+1+1)-element Element of TT* by A7,  A2;
Pp in 2-tuples_on (SS*\{{}}) by  A2, A7, FOMODEL0:16; then
consider tt11, tt22 being Element of SS*\{{}} such that
A8: Pp=<*tt11, tt22*> by A3;
A9: C.<*tt11, tt22*>=tt11^tt22 by FOMODEL0:15;
reconsider p2=p as (1+1+0)-element Element of TT* by A7, A2;
{p1.(0+1)}\TT={} & {p2.(1+1)}\TT={}; then
reconsider tt1=p.1, tt2=p.2 as Element of TT by ZFMISC_1:60;
reconsider t1=tt1, t2=tt2 as termal string of S;
A10: (R-class).tt1=EqClass(R,tt1) & (R-class).tt2=EqClass(R,tt2)
by FOMODEL3:def 13;
((R-class)*uv).tt1\+\(R-class).(uv.tt1)={} &
((R-class)*uv).tt2\+\(R-class).(uv.tt2)={}; then
((R-class)*uv).tt1 = (R-class).(uv.tt1) &
((R-class)*uv).tt2 = (R-class).(uv.tt2) by FOMODEL0:29; then
A12: V=1 iff EqClass(R,tt1) = EqClass(R,tt2)
by A10, FOMODEL2:15, A5, A7, A6; then
A13: V=1 iff [tt1, tt2] in R by EQREL_1:35;
A14: <*E*>^t1^t2 = phi by A4,  A8 ,A9, A7, FINSEQ_1:32;
thus (D1 Henkin X)-AtomicEval phi=1 implies phi in X
proof
assume (D1 Henkin X)-AtomicEval phi=1; then
[tt1, tt2] in R by A12, EQREL_1:35; then
consider t11, t22 being termal string of S such that
A15: [tt1, tt2]=[t11,t22] & <*E*>^t11^t22 is (X,D1)-provable;
t11=tt1 & t22=tt2 by A15, XTUPLE_0:1; then
<*E*>^(t11^t22) =
phi by A4, A8 , FOMODEL0:15, A7; then
phi is (X,D1)-provable by A15, FINSEQ_1:32;
then {phi} c= X by Def17;
hence thesis by ZFMISC_1:31;
end;
assume phi in X;
then reconsider Xphi={phi} as Subset of X by ZFMISC_1:31;
{[{phi},phi]} is
({},D1)-derivable by Lm18, A1; then phi is (Xphi,D1)-provable;
hence thesis by A13, A14;
end;
suppose
A16: not s=E; then reconsider o=s as Element of O by FOMODEL1:15; set gg=i.o;
s<>E & V=v & v=gg.(uv*p) by FOMODEL3:5, FOMODEL2:14, A16; then V=
gg.((id TT)*fp) by FOMODEL3:4 .= gg.(fp) by FUNCT_2:17 .=
(X-freeInterpreter o).p by FOMODEL3:def 4 .=
(chi(X,AF)*(o-compound|(n-tuples_on TT))).pp by FOMODEL3:def 3 .=
chi(X,AF).(nc.pp) by FUNCT_2:15 .=
chi(X,AF).((o-compound).pp) by FUNCT_1:49 .=
chi(X,AF).(o-compound Pp) by FOMODEL3:def 2 .=
chi(X,AF).phi by FOMODEL1:def 38; then
V=1 iff phi in (chi(X,AF))"{1} by FOMODEL0:25; then
V=1 iff (phi in X/\AF) by FOMODEL0:24; then
phi in AF & (V=1 iff (phi in X & phi in AF)) by XBOOLE_0:def 4;
hence thesis;
end;
end;

definition
let S,X;
attr X is S-witnessed means
for l1, phi1 st <*l1*>^phi1 in X ex l2 st (
(l1,l2)-SymbolSubstIn phi1 in X & not l2 in rng phi1);
end;

notation
let S,D,X;
antonym X is D-consistent for X is D-inconsistent;
end;

theorem for X being Subset of Y st X is D-inconsistent
holds Y is D-inconsistent;

definition
let S,D; let X be functional set; let phi be Element of ExFormulasOf S;
func (D,phi) AddAsWitnessTo X -> set equals :Def66:
X\/{
(S-firstChar.phi, the Element of (
LettersOf S \ SymbolsOf (((AllSymbolsOf S)*\{{}})/\(X\/{head phi}))
))-SymbolSubstIn (head phi)
} if X\/{phi} is D-consistent &
LettersOf S \ SymbolsOf (((AllSymbolsOf S)*\{{}})/\(X\/{head phi}))<>{}
otherwise X;
consistency;
coherence;
end;

registration
let S,D; let X be functional set;  let phi be Element of ExFormulasOf S;
cluster X \ ((D,phi) AddAsWitnessTo X) -> empty for set;
coherence
proof
set F=S-firstChar, L=LettersOf S, Y=(D,phi) AddAsWitnessTo X, s1=F.phi,
phi1=head phi, SS=AllSymbolsOf S, strings=SS*\{{}}, no=
SymbolsOf (strings/\(X\/{phi1})), s2=the Element of L\no,
Z={(s1,s2)-SymbolSubstIn phi1};
defpred P[] means X\/{phi} is D-consistent & L\no <> {};
(P[] implies (X null Z c= X\/Z & Y=X\/Z)) &
((not P[]) implies Y=X null Z) by Def66; hence thesis;
end;
end;

registration
let S,D; let X be functional set;  let phi be Element of ExFormulasOf S;
cluster ((D,phi) AddAsWitnessTo X)\X -> trivial for set;
coherence
proof
set F=S-firstChar,L=LettersOf S,SS=AllSymbolsOf S,strings=SS*\{{}},
s1=F.phi, Y=(D,phi) AddAsWitnessTo X, phi1=head phi, no=SymbolsOf
(strings/\(X\/{phi1})),s2=the Element of L\no, Z={(s1,s2)-SymbolSubstIn phi1};
defpred P[] means X\/{phi} is D-consistent & L\no <> {};
(P[] implies Y=X\/Z) & ((not P[]) implies Y=X) by Def66; then
(P[] implies Y\X=Z\X) & ((not P[]) implies Y\X={}) by XBOOLE_1:40;
hence thesis;
end;
end;

definition
let S,D; let X be functional set;  let phi be Element of ExFormulasOf S;
redefine func (D,phi) AddAsWitnessTo X -> Subset of (X\/AllFormulasOf S);
coherence
proof
set F=S-firstChar, IT=(D,phi) AddAsWitnessTo X, L=LettersOf S, l1=F.phi,
phi1=head phi, SS=AllSymbolsOf S, strings=SS*\{{}}, FF=AllFormulasOf S,
no=SymbolsOf (strings/\(X\/{phi1})), s2=the Element of (L\no);
defpred P[] means X\/{phi} is D-consistent & L\no<>{};
per cases;
suppose
A1: P[]; then reconsider Y=L\no as non empty set;
s2 in Y & Y c= L; then
reconsider l2=s2 as literal Element of SS;
reconsider psi=(l1,l2)-SymbolSubstIn phi1 as wff string of S;
reconsider psii=psi as Element of FF by FOMODEL2:16;
IT=X\/{psii} by A1, Def66; hence thesis by XBOOLE_1:9;
end;
suppose not P[]; then IT=X null FF by Def66; hence thesis; end;
end;
end;

definition
let S,D;
attr D is Correct means  for phi, X st
phi is (X,D)-provable holds for U for I being Element of U-InterpretersOf S
st X is I-satisfied holds I-TruthEval phi=1;
end;

Lm51: X is D-consistent iff
(for Y being finite Subset of X holds Y is D-consistent)
proof
set N=TheNorSymbOf S;
thus X is D-consistent implies for Y being finite Subset of X holds Y is D
-consistent;
assume A1: for Y being finite Subset of X holds Y is D-consistent;
 given phi1, phi2 such that
A2: phi1 is (X,D)-provable & <*N*>^phi1^phi2 is (X,D)-provable;
reconsider phi=<*N*>^phi1^phi2 as non exal non 0wff wff string of S;
consider H1 being set, m1 being Nat such that
A3: H1 c= X & [H1,phi1] is (m1,{},D)-derivable by  A2;
consider H2 being set, m2 being Nat such that
A4: H2 c= X & [H2,phi] is (m2,{},D)-derivable by  A2;
reconsider seqt1=[H1,phi1], seqt2=[H2,phi] as S-sequent-like object by A3, A4;
seqt1`1 \+\ H1={} & seqt2`1\+\H2={}; then reconsider
H11=H1, H22=H2 as S-premises-like Subset of X by A3, A4;
A5: phi1 is (H1 null H2,D)-provable by A3;
phi is (H2 null H1,D)-provable by A4; then
H11\/H22 is D-inconsistent by A5; hence contradiction by A1;
end;

Lm52: (R#0(S) in D & X is S-covering & X is D-consistent)
implies (X is S-mincover & X is D-expanded)
proof
set G0=R#0(S), E0={G0}; assume that A1: G0 in D and
A2: X is S-covering & X is D-consistent;
A3: E0 c= D by A1, ZFMISC_1:31;
A4: for phi holds (phi in X implies not xnot phi in X) &
((not phi in X) implies xnot phi in X)
proof
let phi;
hereby
assume phi in X; then phi is (X,{R#0(S)})-provable by Th6;
then phi is (X,D)-provable by A3, Lm19; then not xnot phi is (X,D)-provable
by A2; then not xnot phi is (X,{R#0(S)})-provable by A3, Lm19;
hence not xnot phi in X by Th6;
end; assume not phi in X; hence xnot phi in X by A2;
end; then
 for phi holds (phi in X iff not xnot phi in X); hence
 X is S-mincover;
now
let x; assume A5: x is (X,D)-provable; then reconsider
phi=x as wff string of S by Lm25; not xnot phi is (X,D)-provable
by A5, A2; then not xnot phi is (X,E0)-provable by A3, Lm19; then
not xnot phi in X by Th6; hence x in X by A4;
end; hence thesis;
end;

Lm53: for I being Element of U-InterpretersOf S st
D is Correct & X is I-satisfied holds X is D-consistent
proof
set N=TheNorSymbOf S; let I being Element of U-InterpretersOf S; assume
A1: D is Correct & X is I-satisfied;
now
given phi1, phi2 such that
A2: phi1 is (X,D)-provable & <*N*>^phi1^phi2 is (X,D)-provable; set
nphi1=<*N*>^phi1^phi2; I-TruthEval phi1=1 & I-TruthEval nphi1=1
by A2, A1; hence contradiction by FOMODEL2:19;
end; hence thesis;
end;

registration
let S, t1, t2;
cluster SubTerms (<*TheEqSymbOf S*>^t1^t2) \+\ <*t1, t2*> -> empty for set;
coherence
proof
set E=TheEqSymbOf S; reconsider phi0=<*E*>^t1^t2 as 0wff string of S;
set C=S-multiCat, F=S-firstChar, ST=SubTerms phi0, SS=AllSymbolsOf S,
TT=AllTermsOf S;
reconsider tt3=t1, tt4=t2 as Element of TT by FOMODEL1:def 32;
A1: 2-tuples_on TT=the set of all <*tt1, tt2*> by FINSEQ_2:99;
A2: phi0=<*E*>^(t1^t2) & (<*E*>^(t1^t2)).1 \+\ E={} by FINSEQ_1:32; then
A3: E = phi0.1 by FOMODEL0:29 .= F.phi0 by FOMODEL0:6; then
<*E*>^(C.ST) = <*E*>^(t1^t2) by FOMODEL1:def 38, A2; then
A4: C.ST=t1^t2 by FOMODEL0:41; |.ar E.|-2+2=0+2; then
ST in 2-tuples_on TT by FOMODEL0:16, A3;
then consider tt1, tt2 such that
A5: ST=<*tt1, tt2*> by A1;
tt1 is Element of SS* & tt2 is Element of SS* & tt3 is Element of SS* &
tt4 is Element of SS* by TARSKI:def 3; then reconsider
tt11=tt1, tt22=tt2, tt33=tt3, tt44=tt4 as SS-valued FinSequence;
C.<*tt11, tt22*> \+\ tt11^tt22 = {}; then
tt11^tt22 = tt33^tt44 by FOMODEL0:29, A5, A4; then
tt11=tt33 & tt22=tt44 by FOMODEL0:def 19;
hence thesis by FOMODEL0:29, A5;
end;
end;

Lm54: for I being (S,U)-interpreter-like Function holds
(I-AtomicEval (<*TheEqSymbOf S*>^t1^t2)=1 iff I-TermEval.t1=I-TermEval.t2)
proof
set E=TheEqSymbOf S, phi0=<*E*>^t1^t2, ST=SubTerms phi0, F=S-firstChar;
phi0=<*E*>^(t1^t2) & (<*E*>^(t1^t2)).1 \+\ E={} by FINSEQ_1:32; then
A1: E=phi0.1 by FOMODEL0:29 .= F.phi0 by FOMODEL0:6;
ST\+\<*t1, t2*>={}; then ST=<*t1, t2*> by FOMODEL0:29; then
ST.1=t1 & ST.2=t2; hence thesis by A1, FOMODEL2:15;
end;

definition
let S; let R be Rule of S;
attr R is Correct means :Def68:
X is S-correct implies R.X is S-correct;
end;

Lm55: R#0(S) is Correct
proof
now
set f=R#0(S), R=P#0(S), Q=S-sequents; let X; assume X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let phi; set s=[x,phi];
assume
A2: [x, phi] in f.X; then
A3: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider XX=X as Subset of Q;
reconsider seqt=s as Element of Q by A2, Lm30;
seqt Rule0 XX by A3, Def34;
hence I-TruthEval phi=1 by FOMODEL2:def 42;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#0(S) -> Correct for Rule of S;
coherence by Lm55;
end;

registration
let S;
cluster Correct for Rule of S;
existence proof take R#0(S); thus thesis; end;
end;

Lm56: R#1(S) is Correct
proof
now
set f=R#1(S), R=P#1(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A4: s in f.X; then
A5: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A4, Lm30;
seqt Rule1 Seqts by A5, Def35; then consider y such that
A6: y in Seqts & y`1 c= seqt`1 & seqt`2 = y`2;
reconsider H=y`1 as Subset of x by A6; [H, psi] in Seqts
by A6, MCART_1:21; hence I-TruthEval psi=1 by FOMODEL2:def 44;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#1(S) -> Correct for Rule of S;
coherence by Lm56;
end;

Lm57: R#2(S) is Correct
proof
now
set f=R#2(S), R=P#2(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule2 Seqts by A4, Def36; then consider t such that
A5: seqt`2 = <* TheEqSymbOf S *> ^ t ^ t;
TE.t=TE.t; then I-AtomicEval (<*E*>^t^t) = 1 by Lm54;
hence I-TruthEval psi=1 by A5;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#2(S) -> Correct for Rule of S;
coherence by Lm57;
end;

Lm58: R#3a(S) is Correct
proof
now
set f=R#3a(S), R=P#3a(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat; let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule3a Seqts by A4, Def37; then consider
t1,t2,t3 being termal string of S such that
A5: seqt=[{<*E*>^t1^t2, <*E*>^t2^t3}, <*E*>^t1^t3];
reconsider phi1=<*E*>^t1^t2, phi2=<*E*>^t2^t3, phi=<*E*>^t1^t3 as
0wff string of S;
A6: {phi1, phi2} \+\ seqt`1 = {} & phi \+\ seqt`2={} by A5; then
{phi1, phi2} is I-satisfied & phi=psi & {phi1} \ {phi1, phi2} ={} &
{phi2} \ {phi1, phi2} ={} by FOMODEL0:29;
then I-TruthEval phi1=1 & I-TruthEval phi2=1 by ZFMISC_1:60;
then I-TermEval.t1=I-TermEval.t2 & I-TermEval.t2=I-TermEval.t3 by Lm54;
then I-TruthEval phi=1 by Lm54;
hence I-TruthEval psi=1 by A6, FOMODEL0:29;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#3a(S) -> Correct for Rule of S;
coherence by Lm58;
end;

Lm59: R#3b(S) is Correct
proof
now
set f=R#3b(S), R=P#3b(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule3b Seqts by A4, Def38; then consider
t1,t2 being termal string of S such that
A5: seqt`1 = {<*TheEqSymbOf S*>^t1^t2} & seqt`2 = <*TheEqSymbOf S*>^t2^t1; set
phi1=<*E*>^t1^t2, phi2=<*E*>^t2^t1;
{phi1} is I-satisfied by A5; then
1 = I-AtomicEval phi1 by FOMODEL2:27;
then TE.t1=TE.t2 by Lm54; then I-AtomicEval phi2=1
& phi2=psi by A5, Lm54; hence I-TruthEval psi=1;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#3b(S) -> Correct for Rule of S;
coherence by Lm59;
end;

Lm60: R#3d(S) is Correct
proof
now
set f=R#3d(S), R=P#3d(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule3d Seqts by A4, Def39; then consider
r being low-compounding Element of S,
T1, T2 being (|.ar r.|)-element Element of TT* such that
A5: r is operational &
seqt`1 = {<*E*>^(TT1.j)^(TT2.j) where j is Element of Seg (|.ar r.|),
TT1,TT2 is Function of Seg (|.ar r.|), SS*\{{}} : TT1=T1 & TT2=T2}
& seqt`2=<*E*>^(r-compound T1)^(r-compound T2);
reconsider t1=r-compound T1, t2=r-compound T2 as termal string of S by A5;
t1.1 \+\ r={} & t2.1 \+\ r={}; then t1.1=r & t2.1=r by FOMODEL0:29; then
A6: F.t1=r & F.t2=r by FOMODEL0:6; then SubTerms t1=T1 & SubTerms t2=T2
by FOMODEL1:def 37; then
A7: TE.t1=I.r.(TE*T1) & TE.t2=I.r.(TE*T2) by FOMODEL2:21, A6;
reconsider Fam={<*E*>^(TT1.j)^(TT2.j) where j is Element of Seg (|.ar r.|),
TT1,TT2 is Function of Seg (|.ar r.|), SS*\{{}} : TT1=T1 & TT2=T2} null {}
as Subset of x by A5;
now
set p=TE*T1, q=TE*T2; len p=|.ar r.| by CARD_1:def 7; hence
len q= len p by CARD_1:def 7; let k; assume
A8: 1<=k & k<=len p; then
A9: 1<=k & k<=|.ar r.| by CARD_1:def 7;
then reconsider kk=k as Element of Seg (|.ar r.|) by FINSEQ_1:1;
k-k <= |.ar r.| - k by A9, XREAL_1:9; then
reconsider h=|.ar r.| - k as Nat; reconsider k1=k as non zero Nat
by A8;
dom (T1 null 0)=Seg (|.ar r.|+0) & rng T1 c= SS*\{{}} &
dom (T2 null 0)=Seg (|.ar r.|+0) & rng T2 c= SS*\{{}}
by PARTFUN1:def 2, RELAT_1:def 19; then
T1 is Element of Funcs (Seg |.ar r.|, SS*\{{}}) &
T2 is Element of Funcs (Seg |.ar r.|, SS*\{{}}) by FUNCT_2:def 2; then
reconsider TT1=T1, TT2=T2 as Function of Seg |.ar r.|, SS*\{{}};
T1 is (k1+h)-element & T2 is (k1+h)-element; then
{T1.k1}\TT={} & {T2.k1}\TT={}; then T1.k in TT & T2.k in TT by ZFMISC_1:60;
then reconsider t1=T1.k, t2=T2.k as termal string of S;
reconsider z=<*E*>^t1^t2 as 0wff string of S;
TE.(TT1.kk) \+\ (TE*TT1).kk={} & TE.(TT2.kk)\+\(TE*TT2).kk={}; then
A10: TE.(TT1.kk) = (TE*TT1).kk & TE.(TT2.kk) = (TE*TT2).kk by FOMODEL0:29;
set ST=<*t1, t2*>;
<*E*>^TT1.kk^TT2.kk in Fam; then I-TruthEval z=1 by FOMODEL2:def 42;
hence p.k=q.k by A10, Lm54;
end; then
TE.t1=TE.t2 by A7, FINSEQ_1:14; then I-AtomicEval (<*E*>^t1^t2)=1 &
psi=<*E*>^t1^t2 by Lm54, A5; hence I-TruthEval psi=1;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#3d(S) -> Correct for Rule of S;
coherence by Lm60;
end;

Lm61: R#3e(S) is Correct
proof
now
set f=R#3e(S), R=P#3e(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
C=S-multiCat;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi; set s=[x,psi], TE=I-TermEval,
d=U-deltaInterpreter;
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule3e Seqts by A4, Def40; then consider
r being relational Element of S,
T1, T2 being (|.ar r.|)-element Element of TT* such that
A5: (seqt`1={r-compound(T1)} \/
{<*E*>^(TT1.j)^(TT2.j) where j is Element of Seg (|.ar r.|),
TT1,TT2 is Function of Seg (|.ar r.|), SS*\{{}} : TT1=T1 & TT2=T2}
& seqt`2=r-compound(T2));
reconsider psi0=psi as 0wff string of S by A5;
reconsider phi1=r-compound(T1) as 0wff string of S;
reconsider rr=F.psi0 as relational Element of S;
reconsider Fam=
{<*E*>^(TT1.j)^(TT2.j) where j is Element of Seg (|.ar r.|),
TT1,TT2 is Function of Seg (|.ar r.|), SS*\{{}} : TT1=T1 & TT2=T2} null
{phi1} as Subset of x by A5;
(<*r*>^C.T1).1\+\r={} & (<*r*>^C.T2).1\+\r={}; then (<*r*>^C.T1).1=r &
(<*r*>^C.T2).1=r & psi0=<*r*>^(C.T2) by A5, FOMODEL0:29; then
A6: F.phi1=r & rr=r & psi0=<*r*>^C.T2 by FOMODEL0:6; then
A7: T1=SubTerms phi1 & T2=SubTerms psi0 by FOMODEL1:def 38; reconsider
y={phi1} null Fam as Subset of x by A5;
A8: {phi1}=y;
A9: now
set p=TE*T1, q=TE*T2; len p=|.ar r.| by CARD_1:def 7; hence
len q= len p by CARD_1:def 7; let k; assume
A10: 1<=k & k<=len p; then
A11: 1<=k & k<=|.ar r.| by CARD_1:def 7;
then reconsider kk=k as Element of Seg (|.ar r.|) by FINSEQ_1:1;
k-k <= |.ar r.| - k by A11, XREAL_1:9; then
reconsider h=|.ar r.| - k as Nat; reconsider k1=k as non zero Nat
by A10;
dom (T1 null 0)=Seg (|.ar r.|+0) & rng T1 c= SS*\{{}} &
dom (T2 null 0)=Seg (|.ar r.|+0) & rng T2 c= SS*\{{}}
by PARTFUN1:def 2, RELAT_1:def 19; then
T1 is Element of Funcs (Seg |.ar r.|, SS*\{{}}) &
T2 is Element of Funcs (Seg |.ar r.|, SS*\{{}}) by FUNCT_2:def 2; then
reconsider TT1=T1, TT2=T2 as Function of Seg |.ar r.|, SS*\{{}};
T1 is (k1+h)-element & T2 is (k1+h)-element; then
{T1.k1}\TT={} & {T2.k1}\TT={}; then T1.k in TT & T2.k in TT by ZFMISC_1:60;
then reconsider t1=T1.k, t2=T2.k as termal string of S;
reconsider z=<*E*>^t1^t2 as 0wff string of S;
TE.(TT1.kk) \+\ (TE*TT1).kk={} & TE.(TT2.kk)\+\(TE*TT2).kk={}; then
A12: TE.(TT1.kk) = (TE*TT1).kk & TE.(TT2.kk) = (TE*TT2).kk by FOMODEL0:29;
set ST=<*t1, t2*>; <*E*>^TT1.kk^TT2.kk in Fam; then
I-TruthEval z=1 by FOMODEL2:def 42; hence p.k=q.k by A12, Lm54;
end;
per cases;
suppose rr=E; I-AtomicEval psi0 = I-AtomicEval phi1
by A6, A9, A7, FINSEQ_1:14; hence I-TruthEval psi=1 by A8, FOMODEL2:27;
end;
suppose  rr<>E; I-AtomicEval psi0 =
I-AtomicEval phi1 by A6, A9, A7, FINSEQ_1:14;
hence I-TruthEval psi=1 by A8, FOMODEL2:27;
end;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#3e(S) -> Correct for Rule of S;
coherence by Lm61;
end;

Lm62: R#4(S) is Correct
proof
now
set f=R#4(S), R=P#4(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi;
set s=[x,psi];
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule4 Seqts by A4, Def41; then consider
l being literal Element of S, phi being wff string of S,
t being termal string of S such that
A5: seqt`1={(l,t) SubstIn phi} & seqt`2=<*l*>^phi;
reconsider tt=t as Element of TT by FOMODEL1:def 32;
reconsider phii=(l,tt) SubstIn phi as wff string of S;
reconsider u=I-TermEval.tt as Element of U;
reconsider I1=(l,u) ReassignIn I as Element of II;
A6: x={phii} & psi=<*l*>^phi by A5; then
1 = I-TruthEval phii by FOMODEL2:27 .= I1-TruthEval phi by FOMODEL3:10; hence
I-TruthEval psi=1 by A6, FOMODEL2:19;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#4(S) -> Correct for Rule of S;
coherence by Lm62;
end;

Lm63: R#5(S) is Correct
proof
now
set f=R#5(S), R=P#5(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S,
FF=AllFormulasOf S, TT=AllTermsOf S, SS=AllSymbolsOf S, F=S-firstChar,
O=OwnSymbolsOf S; let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi;
set s=[x,psi];
assume
A4: s in f.X; then
A5: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A4, Lm30;
seqt Rule5 Seqts by A5, Def42; then consider v1,v2 being
literal Element of S, y,p such that
A6: seqt`1=y \/ {<*v1*>^p} & v2 is (y\/{p}\/{seqt`2})-absent &
[y\/{(v1 SubstWith v2).p},seqt`2] in Seqts;
{<*v1*>^p} null y c= FF by A6, Def4; then
<*v1*>^p in FF by ZFMISC_1:31;
then reconsider phi1=<*v1*>^p as wff string of S;
v1 \+\ phi1.1={}; then
A7: v1= phi1.1 by FOMODEL0:29 .= F.phi1 by FOMODEL0:6; then
reconsider phi1 as non 0wff exal wff string of S by FOMODEL2:def 32;
reconsider phi=head phi1 as wff string of S;
{psi} null (y\/{phi})={psi}; then
reconsider Psi={psi} as non empty Subset of y\/{phi}\/{psi};
{phi} null (y\/{psi}) is Subset of y\/{phi}\/{psi}  by XBOOLE_1:4;
then reconsider Phi={phi} as non empty Subset of y\/{phi}\/{psi};
y \/ ({phi}\/{psi}) = y\/{phi}\/{psi} by XBOOLE_1:4; then
y null ({phi}\/{psi}) c= y\/{phi}\/{psi}; then reconsider
yyy=y as Subset of (y\/{phi}\/{psi});
A8: phi1 = <*v1*>^phi^(tail phi1) by A7, FOMODEL2:23 .= <*v1*>^phi; then
A9: phi=p by FOMODEL0:41; then
A10: v2 is (Psi null (y\/{phi}\/{psi}))-absent &
v2 is (Phi null (y\/{phi}\/{psi}))-absent &
v2 is (yyy null (y\/{phi}\/{psi}))-absent by A6;
reconsider phi2=(v1, v2)-SymbolSubstIn phi as wff string of S;
reconsider yy=y null {phi1}, z={phi1} null y as I-satisfied Subset of x
by A6;
z={phi1}; then I-TruthEval phi1=1 by FOMODEL2:27; then consider u such that
A11: 1 = (v1,u) ReassignIn I-TruthEval phi by FOMODEL2:19, A8;
set f2=v2.-->({}.-->u); reconsider
I1 =(v1,u) ReassignIn I, I2=(v2,u) ReassignIn I as Element of II;
not v2 in rng phi by A10, FOMODEL2:28; then
I2-TruthEval phi2 = 1 by A11, FOMODEL3:9; then reconsider
z2={phi2} as I2-satisfied set by FOMODEL2:27;
{v2} misses rng psi by ZFMISC_1:50, A10, FOMODEL2:28; then
A12: dom f2 misses rng psi;
I2|(rng psi)=I|(rng psi) +* f2|(rng psi) by FUNCT_4:71 .=
I|(rng psi) null {} by A12, RELAT_1:66; then
A13: I|(rng psi/\O) = I2|(rng psi)|O by RELAT_1:71.= I2|(rng psi/\O)
by RELAT_1:71; v2 is yyy-absent & yy is I-satisfied by A9, A6;
then reconsider
yyyy=yyy as I2-satisfied Subset of x by FOMODEL3:14; reconsider
zz = yyyy\/z2 as I2-satisfied set; [zz,psi] in Seqts
by A6, A9, FOMODEL0:def 22; hence 1 =
I2-TruthEval psi by FOMODEL2:def 44 .= I-TruthEval psi by A13, FOMODEL3:13;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#5(S) -> Correct for Rule of S;
coherence by Lm63;
end;

Lm64: R#6(S) is Correct
proof
now
set f=R#6(S), R=P#6(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi;
set s=[x,psi];
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule6 Seqts by A4, Def43; then consider y1,y2 being set,
phi1, phi2 being wff string of S such that
A5: y1 in Seqts & y2 in Seqts & y1`1 = y2`1 & y2`1=seqt`1 &
y1`2= <*TheNorSymbOf S*> ^ phi1 ^ phi1 &
y2`2=  <*TheNorSymbOf S*> ^ phi2 ^ phi2 &
seqt`2 = <*TheNorSymbOf S*> ^ phi1 ^ phi2;
[x,<*N*>^phi1^phi1] in Seqts & [x,<*N*>^phi2^phi2] in Seqts & psi =
<*N*>^phi1^phi2 by A5, MCART_1:21; then I-TruthEval
(<*N*>^phi1^phi1)=1 & I-TruthEval (<*N*>^phi2^phi2)=1 by FOMODEL2:def 44;
then I-TruthEval phi1=0 & I-TruthEval phi2=0 by FOMODEL2:19;
hence I-TruthEval psi=1 by A5, FOMODEL2:19;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#6(S) -> Correct for Rule of S;
coherence by Lm64;
end;

Lm65: R#7(S) is Correct
proof
now
set f=R#7(S), R=P#7(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi;
set s=[x,psi];
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule7 Seqts by A4, Def44; then consider y being set,
phi1, phi2 being wff string of S such that
A5: y in Seqts & y`1 = seqt`1 & y`2 =<* TheNorSymbOf S*> ^ phi1 ^ phi2 &
seqt`2 = <* TheNorSymbOf S*> ^ phi2 ^ phi1;
 psi=<*N*>^phi2^phi1 & [x,<*N*>^phi1^phi2] in Seqts by A5, MCART_1:21;
then I-TruthEval (<*N*>^phi1^phi2)=1 by FOMODEL2:def 44; then
I-TruthEval phi1=0 & I-TruthEval phi2=0 by FOMODEL2:19; hence
I-TruthEval psi=1 by A5, FOMODEL2:19;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#7(S) -> Correct for Rule of S;
coherence by Lm65;
end;

Lm66: R#8(S) is Correct
proof
now
set f=R#8(S), R=P#8(S), Q=S-sequents, E=TheEqSymbOf S, N=TheNorSymbOf S;
let X; assume
A1: X is S-correct;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let x be I-satisfied set; let psi;
set s=[x,psi];
assume
A3: s in f.X; then
A4: s in Q & [X, s] in R by Lm30; then X in dom R by XTUPLE_0:def 12;
then reconsider Seqts=X as S-correct Subset of Q by A1;
reconsider seqt=s as Element of Q by A3, Lm30;
seqt Rule8 Seqts by A4, Def45; then consider y1,y2 being set,
phi,phi1,phi2 being wff string of S such that
A5: y1 in Seqts & y2 in Seqts & y1`1=y2`1 & y1`2=phi1 &
y2`2 = <* TheNorSymbOf S *> ^ phi1 ^ phi2 &
{phi}\/seqt`1=y1`1 & seqt`2= <* TheNorSymbOf S *> ^ phi ^ phi;
reconsider Seqts as non empty Subset of Q by A5;
reconsider seqt1=y1, seqt2=y2 as Element of Seqts by A5;
reconsider H=seqt1`1 as S-premises-like set;
A6: {phi}\/x=H & psi=<*N*>^phi^phi by A5;
now
assume I-TruthEval phi=1; then reconsider H1={phi} as I-satisfied set
by FOMODEL2:27; H1\/x is I-satisfied; then reconsider H2=H as
I-satisfied set by A5;
[H2,phi1] in Seqts & [H2,<*N*>^phi1^phi2] in Seqts
by A5, MCART_1:21; then I-TruthEval phi1=1 &
I-TruthEval (<*N*>^phi1^phi2) = 1 by FOMODEL2:def 44;
hence contradiction by FOMODEL2:19;
end; then I-TruthEval phi=0 by FOMODEL0:39; hence
I-TruthEval psi=1 by A6, FOMODEL2:19;
end; hence f.X is S-correct;
end; hence thesis;
end;

registration
let S;
cluster R#8(S) -> Correct for Rule of S;
coherence by Lm66;
end;

theorem Th14:
(for R being Rule of S st R in D holds R is Correct) implies D is Correct
proof
set Q=S-sequents, O=OneStep D; {} null S is S-correct; then
reconsider e={} null Q as S-correct Subset of Q;
reconsider RO=rng O as Subset of bool Q by RELAT_1:def 19;
assume
A1: for R being Rule of S st R in D holds R is Correct;
defpred P[Nat] means for X being S-correct Subset of Q holds
($1,D)-derivables.X is S-correct;
A2: P[0]
proof
set f=(0,D)-derivables;
A3: f = id field O by FUNCT_7:68 .= id (bool Q\/RO) by FUNCT_2:def 1 .=
id(bool Q); let X be S-correct Subset of Q; thus thesis by A3;
end;
A4: for n st P[n] holds P[n+1]
proof
let n; assume
A5: P[n]; let X be S-correct Subset of Q;
set DM=(n+1,D)-derivables, Dm=(n,D)-derivables;
A6: dom Dm=bool Q by FUNCT_2:def 1;
reconsider oldSeqs=Dm.X as S-correct Subset of Q by A5;
A7: DM=O*Dm by FUNCT_7:71;
now
let U; set II=U-InterpretersOf S; let I be Element of II;
let H be I-satisfied set; let phi;
assume
A8: [H,phi] in DM.X;
set Fam={R.:{oldSeqs} where R is Subset of [:bool Q, bool Q:]: R in D};
DM.X=O.oldSeqs by A6, A7, FUNCT_1:13 .=
union union Fam by Lm5; then consider x such that
A9: [H,phi] in x & x in union Fam by A8, TARSKI:def 4; consider y such that
A10: x in y & y in Fam by A9, TARSKI:def 4; consider R being Subset of
[:bool Q, bool Q:] such that
A11: y=R.:{oldSeqs} & R in D by A10; reconsider RR=R as Correct Rule of S
by A1, A11; reconsider newSeqs=RR.oldSeqs as S-correct Subset of Q
by Def68;
dom RR=bool Q by FUNCT_2:def 1; then
y=Im(R,oldSeqs) &
Im(RR,oldSeqs)= {RR.oldSeqs} by FUNCT_1:59, A11; then
[H,phi] in newSeqs by A9, TARSKI:def 1, A10;
hence I-TruthEval phi = 1 by FOMODEL2:def 44;
end; hence thesis;
end;
A12: for n holds P[n] from NAT_1:sch 2(A2, A4);
now
let phi; let X; assume phi is (X,D)-provable; then
consider H being set, m such that
A13: H c= X & [H,phi] is (m,{},D)-derivable;
reconsider HH=H as Subset of X by A13;
reconsider seqt=[H,phi] as Element of Q by Def2, A13;
reconsider okSeqs=(m,D)-derivables.e as S-correct Subset of Q by A12;
hereby
let U; set II=U-InterpretersOf S; let I be Element of II; assume
X is I-satisfied; then reconsider XX=X as I-satisfied set;
reconsider HHH=HH as I-satisfied Subset of XX;
[HHH,phi] in okSeqs by A13;
hence I-TruthEval phi=1 by FOMODEL2:def 44;
end;
end; hence D is Correct;
end;

registration
let S; let R be Correct Rule of S;
cluster {R} -> Correct for RuleSet of S;
coherence
proof
set D={R};
for P being Rule of S st P in D holds P is Correct by TARSKI:def 1;
hence thesis by Th14;
end;
end;

registration
let S;
cluster S-rules -> Correct for RuleSet of S;
coherence
proof
set A={R#0(S), R#1(S), R#2(S), R#3a(S), R#3b(S), R#3d(S), R#3e(S), R#4(S)},
B={R#5(S), R#6(S), R#7(S), R#8(S)}, IT=S-rules;
now
let P be Rule of S; assume P in IT; then P in A or P in B by XBOOLE_0:def 3;
hence P is Correct by ENUMSET1:def 6, def 2;
end; hence thesis by Th14;
end;
end;

registration
let S;
cluster R#9(S) -> isotone for Rule of S;
coherence
proof
set R=R#9(S), Q=S-sequents;
now
let Seqts, Seqts2; set X=Seqts, Y=Seqts2; assume
A1: X c= Y;
now
let x be object; assume
A2: x in R.X; then
A3: x in Q & [X,x] in P#9(S) by Lm30;
reconsider seqt=x as Element of Q by A2; seqt Rule9 X by A3, Def46;
then consider y being set, phi being wff string of S such that
A4: y in Seqts & seqt`2=phi & y`1=seqt`1 & y`2=xnot (xnot phi);
seqt Rule9 Y by A4, A1; then [Y,seqt] in P#9(S) by Def46;
hence x in R.Y by Th3;
end;
hence R.X c= R.Y;
end;
hence thesis;
end;
end;

registration
let S,H,phi;
cluster [H,phi] null 1 -> (1,{[H,xnot(xnot phi)]},{R#9(S)})-derivable for set;
coherence
proof
set N=TheNorSymbOf S, nphi=xnot phi, phii=xnot nphi,
y=[H,phii], SQ={y}, Sq=[H,phi], Q=S-sequents;
reconsider seqt=Sq as Element of Q by Def2;
reconsider Seqts=SQ as Element of bool Q by Def3;
y`1=seqt`1 & seqt`2=phi & y`2=phii & y in Seqts by TARSKI:def 1;
then seqt Rule9 Seqts; then [Seqts,seqt] in P#9(S) by Def46;
then Sq in (R#9(S)).SQ by Th3; hence thesis by Lm7;
end;
end;

registration
let X, S;
cluster X-implied for 0-wff string of S;
existence
proof
set E=TheEqSymbOf S, t=the termal string of S, phi=<*E*>^t^t; take phi;
now
let U; set II=U-InterpretersOf S; let I be Element of II; assume
X is I-satisfied; set TE=I-TermEval; TE.t=TE.t;
hence I-TruthEval phi=1 by Lm54;
end; hence thesis;
end;
end;

registration
let X, S;
cluster X-implied for wff string of S;
existence proof take the X-implied 0-wff string of S; thus thesis; end;
end;

registration
let S, X; let phi be X-implied wff string of S;
cluster xnot xnot phi -> X-implied for wff string of S;
coherence
proof
now
let U; set II=U-InterpretersOf S; let I be Element of II;
set v=I-TruthEval phi, phi1=xnot phi, phi2=xnot phi1,
v1=I-TruthEval phi1, v2=I-TruthEval phi2;
'not' v \+\ v1={} & 'not' v1 \+\ v2={}; then
A1: v1='not' v & v2='not' v1 by FOMODEL0:29; assume X is I-satisfied;
hence v2=1 by A1, FOMODEL2:def 45;
end; hence thesis;
end;
end;

definition
let X, S, phi;
attr phi is X-provable means
phi is (X,{R#9(S)}\/S-rules)-provable;
end;

registration
let S; let r1, r2 be isotone Rule of S;
cluster {r1,r2} -> isotone for RuleSet of S;
coherence proof {r1,r2}={r1}\/{r2}; hence thesis; end;
end;

registration
let S; let r1, r2, r3 ,r4 be isotone Rule of S;
cluster {r1,r2,r3,r4} -> isotone for RuleSet of S;
coherence
proof {r1,r2,r3,r4}={r1,r2}\/{r3,r4} by ENUMSET1:5; hence thesis; end;
end;

registration
let S;
cluster S-rules -> isotone for RuleSet of S;
coherence
proof
set A={R#0(S), R#1(S), R#2(S), R#3a(S), R#3b(S), R#3d(S), R#3e(S), R#4(S)},
B={R#5(S),R#6(S),R#7(S),R#8(S)}, IT=S-rules; A={R#0(S), R#1(S),
R#2(S), R#3a(S)}
\/{R#3b(S), R#3d(S), R#3e(S), R#4(S)} by ENUMSET1:25; then reconsider AA=A as
isotone RuleSet of S; AA\/B is isotone; hence thesis;
end;
end;

registration
let S;
cluster Correct for isotone RuleSet of S;
existence proof take S-rules; thus thesis; end;
end;

registration
let S;
cluster 2-ranked for Correct isotone RuleSet of S;
existence proof take S-rules; thus thesis; end;
end;

theorem for X being D1-expanded set, phi being 0wff string of S holds
((D1 Henkin X)-AtomicEval phi = 1 iff phi in X) by Lm50;

theorem Th16: for X being D1-expanded set st  ::# Henkin's theorem
R#1(S) in D1 & R#4(S) in D1 & R#6(S) in D1 & R#7(S) in D1 &
R#8(S) in D1 & X is S-mincover & X is S-witnessed
holds (D1 Henkin X)-TruthEval psi = 1 iff psi in X
proof
let X be D1-expanded set; set TT=AllTermsOf S, E=TheEqSymbOf S,
F=S-firstChar, N=TheNorSymbOf S, R=(X,D1)-termEq, U=Class R, L=LettersOf S,
AF=AtomicFormulasOf S, d=U-deltaInterpreter, i=(S,X)-freeInterpreter,
II=U-InterpretersOf S, D=D1, ii=TT-InterpretersOf S, G0=R#0(S), G1=R#1(S),
G2=R#2(S), G4=R#4(S), G6=R#6(S), G7=R#7(S), G8=R#8(S), E0={G0}, E1={G1},
E2={G2}, E4={G4}, E6={G6}, E7={G7}, E8={G8}; reconsider
E0, E1, E2, E4, E6, E7, E8 as RuleSet of S; assume
G1 in D & G4 in D & G6 in D & G7 in D & G8 in D; then
G0 in D & G1 in D & G2 in D & G4 in D & G6 in D & G7 in D & G8 in D by
Def62; then
reconsider F0=E0, F1=E1, F2=E2, F4=E4, F6=E6, F7=E7, F8=E8 as Subset of D
by ZFMISC_1:31;
A1: (F0\/(F0\/F1\/F8)) c= D & F0\/F6 c= D & F0 c= D &
F0\/(F0\/F1\/F8\/F7) c= D;
reconsider I=D1 Henkin X as Element of II;
set UV=I-TermEval, uv=i-TermEval, O=OwnSymbolsOf S, FF=AllFormulasOf S,
C=S-multiCat, SS=AllSymbolsOf S; assume
A2: X is S-mincover & X is S-witnessed;
defpred P[Nat] means for phi st phi is $1-wff holds
(I-TruthEval phi=1 iff phi in X);
A3: P[0]
proof
let phi; assume phi is 0-wff; then reconsider phi0=phi as 0wff string of S;
I-AtomicEval phi0=1 iff phi0 in X by Lm50; hence thesis;
end;
A4: for n st P[n] holds P[n+1]
proof
let n; set Vn=(I,n)-TruthEval; assume
A5: P[n]; let phi; set s=F.phi, V=I-TruthEval phi; assume
A6: phi is (n+1)-wff;
per cases;
suppose phi is non 0wff & phi is exal; then
reconsider phii=phi as non 0wff exal (n+1)-wff string of S by A6;
reconsider phi1=head phii as n-wff string of S;
reconsider l=F.phii as literal Element of S;
A7: phii=<*l*>^phi1^(tail phii) by FOMODEL2:23 .= <*l*>^phi1;
hereby
assume V=1;
then consider u being Element of U such that
A8: ((l,u) ReassignIn I)-TruthEval phi1=1 by A7, FOMODEL2:19;
consider x being object such that
A9: x in TT & u=Class (R,x) by EQREL_1:def 3;
reconsider tt=x as Element of TT by A9;
reconsider psi1=(l,tt) SubstIn phi1 as n-wff string of S; id TT.tt=tt & ((R
-class)*(i-TermEval)).tt \+\
(R-class).(i-TermEval.tt)={}; then
A10: i-TermEval.tt=tt & ((R-class)*(i-TermEval)).tt=(R-class).(i-TermEval.tt)
by FOMODEL0:29, FOMODEL3:4; I-TermEval.tt = ((R-class)*(i-TermEval)).tt
by FOMODEL3:3 .= u by A10, FOMODEL3:def 13, A9; then
1 = I-TruthEval psi1 by A8, FOMODEL3:10; then
A11: psi1 in X by A5;
[{(l,tt) SubstIn phi1},<*l*>^phi1] is
(1,{},{R#4(S)})-derivable; then <*l*>^phi1 is (X,E4)-provable &
F4 c= D & E4 is isotone by A11, ZFMISC_1:31; then
phii is (X,D)-provable by A7, Lm19; hence phi in X by Def18;
end;
assume phi in X; then consider l2 such that
A12: (l,l2)-SymbolSubstIn phi1 in X & not l2 in rng phi1 by A2, A7;
reconsider psi1=(l,l2)-SymbolSubstIn phi1 as n-wff string of S;
consider u being Element of U such that
A13: u=I.l2.{} & (l2,u) ReassignIn I=I by FOMODEL2:26;
reconsider I2=(l2,u) ReassignIn I, I1=(l,u) ReassignIn I as Element of II;
I2-TruthEval psi1=1 by A12, A5, A13; then
I1-TruthEval phi1=1 by A12, FOMODEL3:9; hence thesis by A7, FOMODEL2:19;
end;
suppose phi is non 0wff & phi is non exal; then
reconsider phii=phi as non 0wff non exal (n+1)-wff string of S by A6;
set phi1=head phii, phi2=tail phii; F.phii\+\N={}; then
s = N by FOMODEL0:29; then
A14: phi=<*N*>^phi1^phi2 by FOMODEL2:23;
V=1 iff (I-TruthEval phi1=0 & I-TruthEval phi2=0) by A14, FOMODEL2:19;
then V=1 iff ((not I-TruthEval phi1=1) & (not I-TruthEval phi2=1)) by
FOMODEL0:39; then
A15: V=1 iff ((not phi1 in X) & (not phi2 in X)) by A5;
A16: now
assume xnot phi1 in X & xnot phi2 in X; then xnot phi1 is
(X,{R#0(S)})-provable & xnot phi2 is (X,{R#0(S)})-provable by Th6; then
xnot phi1 is (X,D1)-provable & xnot phi2 is (X,D1)-provable by A1, Lm19;
then xnot phi1 in X & xnot phi2 in X by Def18; then
reconsider Y={xnot phi1, xnot phi2} as Subset of X by ZFMISC_1:32;
phi is (X null Y,D1)-provable by Lm19, A1, A14;
hence phi in X by Def18;
end;
now
reconsider H={phi} as S-premises-like set; assume phi in X; then
E7: H c= X by ZFMISC_1:31;
A17: [{phi},phi] is (1, {}, E0)-derivable;
A18: [H null phi2,xnot phi1] is (2,{[{phi},phi]},E0\/E1\/E8)-derivable by A14;
A19: [H null phi1, xnot phi2] is (3,{[H,phi]},E0\/E1\/E8\/E7)-derivable by A14;
[H,xnot phi1] is (1+2,{},E0\/(E0\/E1\/E8))-derivable by A18, Lm22; then
[H,xnot phi1] is (3,{},D)-derivable by A1, Th2; then
xnot phi1 is (X,D)-provable by E7;
hence xnot phi1 in X by Def18;
[H,xnot phi2] is (1+3, {}, E0\/(E0\/E1\/E8\/E7))-derivable
by A17, A19, Lm22; then
[H,xnot phi2] is (4, {}, D)-derivable by A1, Th2; then
xnot phi2 is (X,D)-provable by E7;
hence xnot phi2 in X by Def18;
end;
hence thesis by A15, A2, A16;
end;
suppose phi is 0wff; hence thesis by A3; end;
end;
A21: for n holds P[n] from NAT_1:sch 2(A3, A4); psi is (Depth psi)-wff
by FOMODEL2:def 31;
hence thesis by A21;
end;

definition
let S,D,X;
attr X is D-inconsistentStrong means
phi is (X,D)-provable;
end;

notation
let S,D,X;
antonym X is D-consistentWeak for X is D-inconsistentStrong;
end;

begin ::# constructions for countable languages-witness adjoining

definition
let X be functional set; let S,D;
let num be sequence of  ExFormulasOf S;
set SS=AllSymbolsOf S, EF=ExFormulasOf S, FF=AllFormulasOf S,
Y=X\/FF, DD=bool Y;
func (D,num) AddWitnessesTo X -> sequence of  bool (X\/AllFormulasOf S)
means :Def71:
it.0=X & for mm holds it.(mm+1)=(D, num.mm) AddAsWitnessTo (it.mm);
existence
proof
reconsider Z=X null FF as Element of DD;
deffunc F(Nat, Element of DD)= (Y typed/\ ((D,num.$1) AddAsWitnessTo $2));
consider f being sequence of  DD such that
A1: f.0=Z & for n holds f.(n+1)=F(n,f.n qua Element of DD)
from NAT_1:sch 12; take f;
now
let n; reconsider nn=n as Element of NAT by ORDINAL1:def 12;
A2: ((D,num.nn) AddAsWitnessTo f.nn) c= FF\/(f.nn) & FF\/(f.nn) c= FF\/Y
by XBOOLE_1:9; FF\/Y=FF\/FF\/X by XBOOLE_1:4 .= Y; then reconsider A=
(D,num.nn) AddAsWitnessTo f.nn as Subset of Y by XBOOLE_1:1, A2; f.(n+1)
= A null Y by A1; hence f.(n+1)=(D,num.n) AddAsWitnessTo f.n;
end; hence thesis by A1;
end;
uniqueness
proof
deffunc F(Nat, Element of DD) = (D,num.$1) AddAsWitnessTo $2;
let IT1, IT2 be sequence of  DD; assume that
A3: IT1.0=X and
A4: for mm holds IT1.(mm+1)=F(mm,IT1.mm qua Element of DD) and
A5: IT2.0=X and
A6: for mm holds IT2.(mm+1)=F(mm,IT2.mm qua Element of DD);
A7: for m holds IT1.(m+1)=F(m,IT1.m qua Element of DD)
proof
let m; reconsider mm=m as Element of NAT by ORDINAL1:def 12;
IT1.(mm+1)=F(mm,IT1.mm qua Element of DD) by A4; hence thesis;
end;
A8: for m holds IT2.(m+1)=F(m,IT2.m qua Element of DD)
proof
let m; reconsider mm=m as Element of NAT by ORDINAL1:def 12;
IT2.(mm+1)=F(mm,IT2.mm qua Element of DD) by A6; hence thesis;
end;
A9: dom IT1=NAT by FUNCT_2:def 1;
A10: dom IT2=NAT by FUNCT_2:def 1;
thus IT1=IT2 from NAT_1:sch 15(A9,A3,A7,A10,A5,A8);
end;
end;

notation
let X be functional set; let S,D;
let num be sequence of  ExFormulasOf S;
synonym (D,num) addw X for (D,num) AddWitnessesTo X;
end;

theorem Th17: for X being functional set,
num being sequence of  ExFormulasOf S st
D is isotone & R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D &
LettersOf S\SymbolsOf (X/\((AllSymbolsOf S)*\{{}})) is infinite &
X is D-consistent
holds
((D,num) addw X).k c= ((D,num) addw X).(k+m) &
LettersOf S\SymbolsOf (((D,num) addw X).m/\((AllSymbolsOf S)*\{{}}))
is infinite & ((D,num) addw X).m is D-consistent
proof
let X be functional set; set L=LettersOf S,F=S-firstChar,FF=
AllFormulasOf S,SS=AllSymbolsOf S,strings=SS*\{{}},EF=ExFormulasOf S;
let num be sequence of  EF; set f=(D,num) addw X; assume
A1: D is isotone & R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D;
assume
A2: L\SymbolsOf (X/\strings) is infinite & X is D-consistent;
defpred P[Nat] means f.k c= f.(k+$1) &
L\SymbolsOf (f.$1 /\ strings) is infinite & f.$1 is D-consistent;
A3: P[0] by A2, Def71;
A4: for m st P[m] holds P[m+1]
proof
let m; reconsider mk=k+m, MM=m+1, mm=m as Element of NAT by ORDINAL1:def 12;
reconsider phii=num.mm as Element of EF;
reconsider phi=num.mm as exal wff string of S by TARSKI:def 3;
reconsider phi1=head phi as wff string of S;
reconsider l1=F.phi as literal Element of S;
A5: phi=<*l1*>^phi1^(tail phi) by FOMODEL2:23 .= <*l1*>^phi1;
reconsider fmk=(D, num.mk) AddAsWitnessTo (f.mk) as Subset of (f.mk\/FF);
reconsider fmm=(D, num.mm) AddAsWitnessTo (f.mm) as Subset of (f.mm\/FF);
 f.mk \ fmk = {}; then
 f.mk c= fmk by XBOOLE_1:37; then
A6: f.mk c= f.(mk+1) & f.MM=fmm by Def71; assume
A7: P[m];
hence f.k c= f.(k+(m+1)) by A6, XBOOLE_1:1; (f.mm)\fmm={}; then
reconsider fm=f.mm as functional Subset of fmm by XBOOLE_1:37;
reconsider sm=fm/\strings as Subset of (fmm/\strings) by XBOOLE_1:26;
reconsider t=fmm\(f.mm) as trivial set;
reconsider i=L\SymbolsOf sm as infinite set by A7;
reconsider T=t/\strings as functional finite FinSequence-membered set;
fmm=fm \/ t by XBOOLE_1:45; then
SymbolsOf (fmm/\strings)=
SymbolsOf (sm\/T) by XBOOLE_1:23 .=
SymbolsOf sm \/ SymbolsOf T by FOMODEL0:47; then
L\SymbolsOf (fmm/\strings)=i\SymbolsOf T by XBOOLE_1:41;
hence L\SymbolsOf (f.(m+1)/\strings) is infinite by Def71;
reconsider LF=L\SymbolsOf(strings/\(fm\/{head phii})) as Subset of L;
per cases;
suppose
A8: fm \/ {phii} is D-consistent & LF<>{}; then
reconsider LF as non empty Subset of L; set ll2=the Element of LF;
reconsider l2=ll2 as literal Element of S
by TARSKI:def 3; not ll2 in SymbolsOf(strings/\(fm\/{head phii}))
by XBOOLE_0:def 5; then fm\/{<*l1*>^phi1} is D-consistent
& l2 is (fm\/{phi1})-absent by A8, A5; then
A9: fm\/{(l1,l2)-SymbolSubstIn phi1} is D-consistent by Lm49, A1;
thus thesis by A8, Def66, A9, A6;
end;
suppose not (fm \/ {phii} is D-consistent & LF<>{});
hence thesis by A7, A6, Def66;
end;
end;
for n holds P[n] from NAT_1:sch 2(A3, A4); hence thesis;
end;

Lm67: for X being functional set, num being sequence of  ExFormulasOf S
st D is isotone & R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D &
LettersOf S\SymbolsOf (X/\((AllSymbolsOf S)*\{{}})) is infinite &
X is D-consistent holds rng ((D,num) addw X) is c=directed
proof
let X be functional set; set L=LettersOf S,F=S-firstChar,FF=
AllFormulasOf S,SS=AllSymbolsOf S,strings=SS*\{{}},EF=ExFormulasOf S;
let num be sequence of  EF; set f=(D,num) addw X;
reconsider Y=rng f as non empty set;
A1: dom f=NAT by FUNCT_2:def 1; assume
A2: D is isotone & R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D &
L\SymbolsOf (X/\strings) is infinite & X is D-consistent;
for a,b being set st a in Y & b in Y ex c being set st a \/ b c= c & c in Y
proof
let a, b be set; assume a in Y; then consider x being object such that
A3: x in dom f & a=f.x by FUNCT_1:def 3;
assume b in Y; then consider y being object such that
A4: y in dom f & b=f.y by FUNCT_1:def 3; reconsider mm=x, nn=y as
Element of NAT by A3, A4; reconsider N=mm+nn as Element of NAT
by ORDINAL1:def 12;
reconsider c = f.N as Element of rng f by A1, FUNCT_1:def 3; take c;
f.mm c= f.(mm+nn) & f.nn c= f.(nn+mm) by Th17, A2; hence
a \/ b c= c by A3, A4, XBOOLE_1:8; thus c in Y;
end; hence thesis by COHSP_1:6;
end;

definition
let X be functional set; let S,D;
let num be sequence of  ExFormulasOf S;
func X WithWitnessesFrom (D,num) -> Subset of (X\/AllFormulasOf S)
equals union rng (D,num) AddWitnessesTo X;
coherence
proof
set FF=AllFormulasOf S, Y=X\/FF, f=(D,num) AddWitnessesTo X;
reconsider F=rng f as Subset of bool Y by RELAT_1:def 19;
union F\Y={}; hence thesis;
end;
end;

notation
let X be functional set; let S,D;
let num be sequence of  ExFormulasOf S;
synonym X addw (D,num) for X WithWitnessesFrom (D,num);
end;

registration
let X be functional set; let S,D;
let num be sequence of  ExFormulasOf S;
cluster X\ (X addw (D,num)) -> empty for set;
coherence
proof
set XX=X addw (D,num), f= (D,num) addw X, Y=rng f; reconsider ff=f as
sequence of  Y by FUNCT_2:6; ff.0=X by Def71; then
X c= XX by ZFMISC_1:74; hence thesis;
end;
end;

Lm68: for X being functional set, num being sequence of  ExFormulasOf S
st D is isotone & R#1(S) in D & R#2(S) in D & R#5(S) in D & R#8(S) in D &
LettersOf S\SymbolsOf (X/\((AllSymbolsOf S)*\{{}})) is infinite &
X is D-consistent holds X addw (D,num) is D-consistent
proof
let X be functional set; set EF=ExFormulasOf S,G1=R#1(S),G2=R#2(S),G5=R#5(S),
FF=AllFormulasOf S, SS=AllSymbolsOf S, L=LettersOf S, strings=SS*\{{}},
G8=R#8(S); let num be sequence of  EF; set f=(D,num) addw X; assume
A1: D is isotone & G1 in D & G2 in D & G5 in D & G8 in D &
L\SymbolsOf (X/\strings) is infinite & X is D-consistent;
set XX=X addw (D,num);
now
let Y be finite Subset of XX; consider y such that
A2: y in rng f & Y c= y by A1, Lm67, FOMODEL0:65;
consider x being object such that
A3: x in dom f & y=f.x by A2, FUNCT_1:def 3; reconsider mm=x as
Element of NAT by A3; f.mm is D-consistent & Y c= f.mm
by A3, A2, A1, Th17; hence Y is D-consistent;
end; hence thesis by Lm51;
end;

theorem Th18: for X being functional set,
num being sequence of  ExFormulasOf S st D is isotone &
R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D &
LettersOf S\SymbolsOf (X/\((AllSymbolsOf S)*\{{}})) is infinite &
X addw (D,num) c= Z & Z is D-consistent & rng num = ExFormulasOf S
holds Z is S-witnessed
proof
let X be functional set;set L=LettersOf S,F=S-firstChar,EF=ExFormulasOf S;
let num be sequence of  EF; set f=(D,num) addw X, Y=X addw (D,num),
SS=AllSymbolsOf S; X\Y ={}; then
A1: X c= Y by XBOOLE_1:37; assume
A2: D is isotone & R#1(S) in D & R#8(S) in D & R#2(S) in D & R#5(S) in D &
LettersOf S\SymbolsOf (X/\((AllSymbolsOf S)*\{{}})) is infinite; assume
A3: Y c= Z & Z is D-consistent; then X c= Z & Z is D-consistent
by A1, XBOOLE_1:1; then
A4: X is D-consistent; assume
A5: rng num = EF; set strings=SS*\{{}};
for l1, phi1 st <*l1*>^phi1 in Z ex l2 st (
(l1,l2)-SymbolSubstIn phi1 in Z & not l2 in rng phi1)
proof
let l1, phi1; set phi=<*l1*>^phi1;
phi=<*l1*>^phi1^{} & not phi is 0wff; then
A6: l1=F.phi & phi1=head phi by FOMODEL2:23;
phi in EF; then
reconsider phii=phi as Element of EF; consider x being object such that
A7: x in dom num & num.x=phii by A5, FUNCT_1:def 3;
reconsider mm=x as Element of NAT by A7;
::#this works because of redefine func dom in relset_1
reconsider MM=mm+1 as Element of NAT by ORDINAL1:def 12;
reconsider Xm=f.mm as functional set;
set no=SymbolsOf (strings/\(f.mm\/{phi1})); reconsider T=strings/\{phi1}
as FinSequence-membered finite Subset of {phi1};
reconsider t=SymbolsOf T as finite set;
reconsider i=L\SymbolsOf (f.mm/\strings) as infinite Subset of L
by Th17, A2, A4;
A8: no= SymbolsOf ((strings/\f.mm)\/(strings/\{phi1})) by XBOOLE_1:23 .=
SymbolsOf (strings/\f.mm) \/ SymbolsOf T by FOMODEL0:47; then
L\no=i\t by XBOOLE_1:41;
then reconsider yes=L\no as non empty Subset of L;
set ll2=the Element of yes;
reconsider l2=ll2 as literal Element of S by TARSKI:def 3;
set psi1=(l1,l2)-SymbolSubstIn phi1;
dom f=NAT by FUNCT_2:def 1; then
A9: f.mm in rng f & f.MM in rng f by FUNCT_1:def 3; then
f.mm c= Y by ZFMISC_1:74; then
A10: f.mm c= Z by A3, XBOOLE_1:1;
assume phi in Z; then {phi} c= Z by ZFMISC_1:31; then
f.mm \/ {phi} c= Z by A10, XBOOLE_1:8;
then f.mm \/ {phi} is D-consistent by A3; then
f.mm \/ {(l1,l2)-SymbolSubstIn phi1}  =
(D,phii) AddAsWitnessTo f.mm by Def66, A6 .=
f.(mm+1) by Def71, A7; then {psi1} null (f.mm) c= f.MM; then
psi1 in f.MM by ZFMISC_1:31; then
A11: psi1 in Y by TARSKI:def 4, A9; take l2;
thus (l1,l2)-SymbolSubstIn phi1 in Z by A3, A11;
not l2 in no by XBOOLE_0:def 5; then
not l2 in SymbolsOf {phi1} by A8, XBOOLE_0:def 3;
hence thesis by FOMODEL0:45;
end; hence Z is S-witnessed;
end;

begin
::# constructions for countable languages
::# Consistently maximizing a set of formulas (Lindenbaum's lemma)
::# of a countable language

definition
let X,S,D; let phi be Element of AllFormulasOf S;
func (D,phi) AddFormulaTo X equals :Def73: X\/{phi}
if not xnot phi is (X,D)-provable otherwise X \/ {xnot phi};
consistency;
coherence;
end;

definition
let X,S,D; let phi be Element of AllFormulasOf S;
redefine func (D,phi) AddFormulaTo X -> Subset of (X\/AllFormulasOf S);
coherence
proof
set F=S-firstChar, IT=(D,phi) AddFormulaTo X, FF=AllFormulasOf S;
reconsider Y=X\/FF as non empty set;
reconsider XX=X null FF as Subset of Y; reconsider
FFF=FF null X as non empty Subset of Y;
xnot phi is Element of FFF & phi is Element of FFF by FOMODEL2:16; then
reconsider phii=phi, psii=xnot phi as Element of Y;
reconsider Phi={phii}, Psi={psii} as Subset of Y;
defpred P[] means xnot phi is (X,D)-provable;
((not P[]) implies IT=XX\/Phi) & (P[] implies IT=XX\/Psi) by Def73;
hence thesis;
end;
end;

registration
let X,S,D; let phi be Element of AllFormulasOf S;
cluster X \ ((D,phi) AddFormulaTo X) -> empty for set;
coherence
proof
set Y=(D,phi) AddFormulaTo X, psi=xnot phi; defpred P[] means
 xnot phi is (X,D)-provable;
(not P[] implies Y=X\/{phi}) & (P[] implies Y=X\/{psi}) by Def73; then
X null {phi} c= Y or X null {psi} c= Y; hence thesis;
end;
end;

definition
let X,S,D; let num be sequence of  AllFormulasOf S;
set SS=AllSymbolsOf S, FF=AllFormulasOf S, Y=X\/FF, DD=bool Y;
func (D,num) AddFormulasTo X -> sequence of  bool (X\/AllFormulasOf S)
means :Def74:
it.0=X & for m holds it.(m+1)=(D,num.m) AddFormulaTo (it.m);
existence
proof
reconsider Z=X null FF as Element of DD;
deffunc F(Nat, Element of DD)= Y typed/\((D,num.$1) AddFormulaTo $2);
consider f being sequence of  DD such that
A1: f.0=Z & for n holds f.(n+1)=F(n,f.n qua Element of DD)
from NAT_1:sch 12; take f;
now
let n; reconsider nn=n as Element of NAT by ORDINAL1:def 12;
A2: (D,num.nn) AddFormulaTo f.nn c= FF\/(f.nn) & FF\/(f.nn) c= FF\/Y
by XBOOLE_1:9; FF\/Y=FF\/FF\/X by XBOOLE_1:4 .= Y; then reconsider A=
(D,num.nn) AddFormulaTo f.nn as Subset of Y by XBOOLE_1:1, A2; f.(n+1)
= A null Y by A1; hence f.(n+1)=(D,num.n) AddFormulaTo f.n;
end; hence thesis by A1;
end;
uniqueness
proof
deffunc F(:: http://creativecommons.org/licenses/by-sa/3.0/.
let IT1,IT2 be sequence of  DD; assume that
A3: IT1.0=X and
A4: for m holds IT1.(m+1)=F(m,      PARTFUN1 INT_2,NAT_1, BINOP_1, BINOP_2, REALSET1, ZFMISC_1,INT_3,
  INT_1,
A6: for m      GROUP_2, GR_CY_1, NT_3 UNIROOTS,PROB_2, BINOM;
java.lang.StringIndexOutOfBoundsException: Range [15, 2) out of bounds for length 61
A8: for m holds IT2.(m+1)=F(m,IT2.m qua Element of DD) by A6;
A9: dom IT1=NAT by FUNCT_2:def 1;
A10: dom IT2=NAT by FUNCT_2:def 1;
thus  definitions GROUP_1,ALGSTR_0, TARSKI,VECTSP_1,RLVECT_1;
end;
end;

definition
letXS; let num be sequence of  AllFormulasOf S;
onOf > ofX/ )
equals union rng  mode Subfield of K- Field means   carrier of it c=the carrier of K
coherence
proof
 FFAllFormulasOf S Y=\FF f=Dnum) AddFormulasTo X;
reconsider F=rng f as Subset of bool Y by RELAT_1:def 19;
union F \ Y = {}; henceendaddF S =the of)| the carrierofST)

end;

registration
let X,S,D; let num be sequence of  AllFormulasOf S;
cluster X\((D,num) CompletionOf X) -> empty for set;
coherence
proof
set f=(D,num) AddFormulasTo X, XX=(D,num) CompletionOf X; reconsider
ff=f as sequence of  rng f by FUNCT_2:6; ff.0 in rng f; then
f.0 c= XX by ZFMISC_1:74; then X c= XX by Def74;
hence thesis;
end;
end;

Lm69: for num being sequence of  AllFormulasOf S st
rng num=AllFormulasOf S holds (D,num) CompletionOf X is S-covering
proof
set FF=AllFormulasOf S; let num be sequence of  FF; set
XX=(D,num) CompletionOf X, f=(D,num) AddFormulasTo X; assume
A1: rng num=FF; reconsider
ff=f as sequence of  rng f by FUNCT_2:6;

letA3  multF ofST=the  K |the carrierof  and
java.lang.StringIndexOutOfBoundsException: Range [23, 8) out of bounds for length 33
A2: x in dom num &   ax=(the multF of )(a,] by A3,UNCT_1:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
= asElement NATbyA2;reconsiderMM=m+1 asElementof
NAT set =the addF ofKjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.(+1=D,ummm)AddFormulaTo f.mbyDef74;then
f.mm1=f.mm \/{phi or f.mm1=f.mm \/{xnot phi}by A2,Def73; then
A3: {phi}         :x+(y  z)= x1  (1+ z1)by A8;
. is Element of rng f; then f.(mm+1) c= XX by ZFMISC_1:74;
hence phi in XX or xnot phi in XX by ZFMISC_1:31, A3, XBOOLE_1:1;
end;
end;

definition
let S;
func S-diagFormula -> Function equals
the set of all [tt,<*TheEqSymbOf S*>^tt^tt];
coherence
proof
set E=TheEqSymbOf S, TT=AllTermsOf S; deffunc F(Element of TT)=<*E*>^$1^$1;
defpred P[set] means not contradiction; set IT =
{[tt,F(tt)] where tt is Element of TT: P[tt]}; IT is Function
from ALTCAT_2:sch 1; hence thesis;
end;
end;

ais Function of
 ,AtomicFormulasOf S&S-diagFormulais one-oone
proof
set FF=AllFormulasOf S, AF         *(* x)=MK.ab*x  ;then
AtomicTermsOf ,fSdiagFormula =TheEqSymbOf ,TT= S,
SS=AllSymbolsOf S; deffunc F(Element of TT)=<*E*>^$1^$1;
defpred P         ( *b *x=a*(b * x)by ,GROUP_1:def3java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
{[tt,F(tt)] where tt is Element of TT: P[tt]};
:=;
  {  []  ALTCAT_2sch A);
:{t:P]} c  from: java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
now
let x be objectthena*x+) =AK(*,*)by ;
[   hencethesis by A1,2A3A4A5,A6,Def1;
;then
:TT c dom f  TARSKI:def 3;then
A5:dom f=TT by A3 A2,XBOOLE_0:def 10;
A6    non degenerated
proof
 reconsider=asElement of TT by FOMODEL1:def ;[tt,<E>tt^t in
fMULT=multFofKjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
hence thesis by FUNCT_1:def 2;
end; hence f.t=<*E*>^t^t;
now
let x be object; assume x in TT; then reconsider tt=x as Element of TT;
f.tt=<*E*>^tt^tt by A6; then reconsider phi0=f.tt as
0wff string of S; phi0 in AF; hence f.x in AF;
end;
hence f is Function of TT, AF by A4, A3, A2, XBOOLE_0:def 10, FUNCT_2:3;
now
let x1, x2 be object; assume x1 in dom f & x2 in dom f; then
reconsider tt1=x1, tt2=x2 as Element of TT by A3, A2;
tt1 is Element of SS*\{{}} & tt2 is Element of SS*\{{}}; then
reconsider tt11=tt1, tt22=tt2 as non empty SS-valued FinSequence;
assume f.x1=f.x2; then
f.tt1=
<*E*>^tt2^tt2 by A6; then <*E*>^tt1^tt1=<*E*>^tt2^tt2
byA6. **^tt2^t2) byFINSEQ_1:;  <E*>(t1^t1) =
<*E*>^(tt2^tt2) by FINSEQ_1:32; then    then :(   )||  =MULT | C1byA2FUNCT_151
TT& inTTby FOMODEL0:1;
hence x1=x2 by FOMODEL0:def 19;
ncef  onetoo byFUNCT_1def java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
end;

definition thesisby ;
let   =SK2 iffthe  ofSK1     SK2
 funcS-iagFormula ->  of AllTermsOf S  Sjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
coherencebyLm70java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
end(K1 =SK2 iff forxholds x inSK1 iff x in SK2)

registration
let S;
cluster
coherence 
end;

   &R1S)in &R#(S)in   phi is(,D-rovable
-consistent implies X\p} is -onsistent
proof
    let be strict finite Field, SK1 be strictSubfield of Kjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
 phi is (,D)provable & X is D-consistent; then
not xnot phi end;
end;

Lm72: for num being sequence of  AllFormulasOfset  =the carriero K;
D is isotone & R#1(S) inproof
(((D,num) AddFormulasTo            Segmp)byNAT_144
((D, num) AddFormulasTo       :now nbe of NAT  thatA6 0< &n<n1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

set             thenA12  in Segm(   in Segm(p)by ,NAT_1
setf=,num  X assume
A1: D is isotone & java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 14
 Xis D-onsistent;
k+$)&f$1 D-consistent
 [0 by A2, Def74java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A4: for n st P[         A3
proof
let n end;
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 9
A6: fkn\fkn1 proof
f.(k+(n+1)) 
A6, XBOOLE_1:37;
encef.c (+(n+1)by :,A5
 =um. as Element ofFF reconsider
phi=phii asendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
ofS reconsiderpsii as of FFby 16;
set fn=f.n
defpred P[] means xnot phii is (fn,D)-provable;
: f(n+)fN Def74;
per cases;
suppose
A8: not P[]; then fn\/{phii} is D-consistent by A1, Lm47;
hence thesis by A7, A8, Def73;
end;
suppose
A9: P[]; then fn\/{xnot phii} is D-consistent by Lm71, A1, A5;
hence thesis by A7, A9, Def73;

end;
for n holds. .()by Th11java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

Lm73: for num being sequence java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 13
D     *b ((i mod p  jmod p)mod byINT_3def 10
 (Dnum)AddFormulasTo X directed
proof
java.lang.StringIndexOutOfBoundsException: Range [43, 3) out of bounds for length 51
set f=(DA3 *=1by A1,h18
  a< 0(GFp);
A2: dom f=NAT by FUNCT_2:ef 1;
for a,b beingproof
proof
let a, b be set; assume ajava.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 7
A3: x in 
assume b  Y then consider y being object such that
A4: y  a =n1 mod p impliesa^n =n1^n mod p
lement  NAT by A3,A4 reconsider N=mm+nn as Element of NAT
by ORDINAL1:def 12;
reconsider c =A4:P0]by A3,EWTON4java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
mmc=f(mm+nn)&fnn  f(+mm) Lm72 ;
a \/ b c= c by A3, A4, XBOOLE_1:8; thus c in Y;
nd;hence thesis by COHSP_16java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
end;

    sequenceofAllFormulasOf
D is isotone & R#1(S) in D    then not  divides n1|n byNAT_3:5;
(D,num
proof
; letnumbjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
sequence of  FF; set XX=(D,num) CompletionOfnon  doubleLoopStr ,be   F
SS=AllSymbolsOf S, strings=SS*\{{} .x -y+(*-y VECTSP_111
A1: D is isotone & G1 in D &       .=(x*x -x*y + y*x) + -y*yd 
now
let . (x +0.*y)yyby :5
:yin rng f & Y =yby A1 ,FOMODEL06;
onsiderx  object suchthat
A3:indom f & =f.xbyA2,FUNCT_1:def 3 reconsider mm= as
A3;.mm - & c .
by A3, A2, A1, Lm72; hence Y is D-      hence x*x = y*y by A1,RLVECT_1
;java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 38
end;

 

 x=(GF()*x x

Lm75: for X being     2*Ix - (2*Ix div p)= 
& LettersOf S \SymbolsOf (X/     =p * Ix iv )by:; 
& X is D2-consistent &     then Ix = 0 by A7,NAT_D
I java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
proof
let  be functional set;set =ExFormulasOf S,FF= Sjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
set G0=R#0(S), G2=A6: (a") |^ n = (n2) p by A4,Th23java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
G1=R#1(S), G4=R#4(S), G5=R#5(S), G6=R#6(S), G7=R#7(S), G8=R#8(S),
L=LettersOf S,
SS=AllSymbolsOf S, strings=SS*\{{}}, no=SymbolsOf (X/\strings), D=D2,
AF=AtomicFormulasOf S, TT=AllTermsOf S, d=S-diagFormula;
 D2 is 1-ranked RuleSet of S;
 then D2 is 0-ranked RuleSet of S;
 =  -ranked0-ranked
RuleSet of S; Th30:
assume FF is countable; then reconsider FFC=FF as countable set;
AF \ FF={}; then reconsider AFF=AF as Subset of FFC by XBOOLE_1:37;
dom d = TT & rng d c= AFA1:a ElementMultGroupGF()
 CARD_110;t reconsider
TTT=      assumea< 0.GFp;then
considernumaa being sequence fstrings such that
A1: FFC=rng numaa by SUPINF_2:def 8;
reconsider numa=numaa as sequence of  FF by A1,FUNCT_2:6;
EF EFC=EF as Subset of FFC by XBOOLE_1:;
consider numee being sequence       java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 32
A2: EFC=rng numee by SUPINF_2
attra is not_quadratic_residue
:L isinfinite  is 
A4:G0 in D1 & G1 in D & G2 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
inD  G8 in D by Def62;
set X1=X addw (D1,nume), X2=(D1,numa) CompletionOf X1;
:X2 is S-overing by Lm69,A;assume
A6:hencethesisbyA2;
A7: X2 is D-consistent by Lm74, A6, A4; then
A8:X2is-mincover &X2isDexpanded by A4, Lm52, A5;reconsider X22=
X2 as D1-expanded set by A4, Lm52,  consistency;
Equivalence_RelationtheoremTh32:
by FUNCT_2:def 1, def 3; thenadratic_residue;
then reconsider U = Class P as non  then <0 &n a quadratic_residue;
UreconsiderI=HenkinX22 Elementof-InterpretersOfSjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
take I;
A9: X\X1={  end;
A10: X c= X1 & X1 c= X22iffLege_p(a)=1
A11: X22  a =0 iff Lege_pa)=0
hereby
let phitheoremTh36java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hence I      A2:Lege_p()=1by Th33;

end;

Lm76: for X being functional set          a1^)* (b1^  a1b1 | 2by :9;
finite & AllFormulasOf S is countable & X is D2-consistentthenab quadratic_residueby A6java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 U  empty countable set, I being Element of U-InterpretersOf S
        :< java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
proof
let X be functional set, D2 be 2-ranked RuleSet of S;
set SS=AllSymbolsOf S,L=LettersOf S, strings=SS*\{{}}, FF=AllFormulasOf S,
no=SymbolsOf (X/\strings); assume X is finite; then reconsider XS =
X/\strings as finite FinSequence-membered set; SymbolsOf XS is finite; then
A1: L\no is infinite; assume FF is countable & X is D2-consistent & D2 is
isotone; hence thesis by A1, Lm75;
end;

theorem Th19: for S being countable Language, D being RuleSet of S st
D is 2-ranked & D is isotone & D is Correct & Z is D-consistent &
Z c= AllFormulasOf S ex U being non empty countable set,
I being Element of U-InterpretersOf S st Z is I-satisfied
proof ::#Satisfiability theorem
let S be          consider xa being Element of GF(p) such that
set FF1=AllFormulasOf S1; assume
A1: D           A16:xa^< 0.F()byA12,15Th11;
& Z is D-consistent & Z c= FF1; then reconsider X=Z as             =0GF);then
set S2=S1 addLettersNotIn X, O1=OwnSymbolsOf S1, O2=OwnSymbolsOf S2,
FF2=AllFormulasOf S2, SS1=AllSymbolsOf S1,           (xa"*xab) |^2 = (xa") |^2* (a*b) byBINOM9
strings2=SS2*\{{}}, L2=LettersOf S2;
reconsider = as ranked CorrectRuleSet of S1 by A1; O1\O2 ={}; then
reconsider O11=O1 as java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 15
reconsider D2=S2-rules as 2-ranked Correct isotone java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 36
reconsider sub1=X/\strings2 as     suppose A18: not a is quadratic_residue;
reconsider sub2=SymbolsOf sub1 as java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
reconsider inf=L2\SymbolsOf X as Subset of L2\sub2 by XBOOLE_1:34;
A2:L2sub2 null inf is infinite;
now
let  be  Subsetreconsider YY=Y as functional set;
reconsider YYY=YY as functional Subset of FF1 by XBOOLE_1:1;
is  &FF1 countable &YY is - &D1 is 
by A1; then consider U being non empty countable set given  being Element of GF(p) such that
A3 ex  being Element of U-InterpretersOf java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 68
Lm76;set II1=-InterpretersOf S1,II2=U-InterpretersOf S2,
I02= (S2,)-nterpreter-like Function;
consider I1 being Element of II1 such that
A4:                contradiction by A27,A24,h11
reconsider  =(I02 +* I1)|O2 as Elementof  by FOMODEL2:2;
I2|O1 = (I02 +* I1)|(O11 null O2) by RELAT_1:71
; then
,FOMODEL3:17;hence Y is D2-onsistent by Lm53java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
end;
 set I2 being Element of -nterpretersOf S2 such that
A5: X is I2-satisfiedexx being Element of GF()stx|^ = a*
set II1=U-InterpretersOf S1, II2=U-InterpretersOf S2;
take U; reconsider I1=I2|O1 as Element of II1 by FOMODEL2:2;
take I1; I1|O1=I2|O1 null O1;
henceholdsex be Natsta=g^ by Th30;
end;

consider nb  Natsuchthat
st Z c= AllFormulasOf S & xnot phi is Z-implied holds
xnot phi is (Z,S-rules)-xnot phi is (Z,S-rules)-provable

letlet hence byA18A;
let phi be wff string of S; assume
Z c= FFnb 2< java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
set                  contradictionbyA31;
reconsider Phi={phi} as non empty Subset of FF by FOMODEL2:16, ZFMISC_1:31;
reconsider Y=X\/Phi as non empty Subset of FF;
reconsider XX=X null Phi as Subset of Y; reconsider Phii=Phi null X
as non empty Subset of Y; assume
A1: psi is Z-implied; assume not psi is (Z,D)-provable; then
D is isotone & R#1(S) in D & R#8(S) in D & not psi is (Z,D)-provable
by Def62; then consider U being non empty countable set,
I being Element of U-InterpretersOf S such that
A2: Y is I-satisfied by Th19, Lm47;
I-TruthEval psi \+\ 'not' (I-TruthEval phi)={}; then
A3: I-TruthEval psi='not' (I-TruthEval phi)         A42: nb mod 2 = 1 by NAT_D:12;
 Y\ -satisfiedA2   in by TARSKI:1
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 8
not(TruthEvalpsi)byA3,A2
hence contradiction        |^  0(()* 0.((p) byA7,Lm2
end;

reserve*=|2 byjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25

theorem ::#Goedel's completeness theorem
(X c          {  b2 =}=+Lege_pa
              assume x  {  b^2  a;
reconsider S=C as Language; reconsider DD={R#9(S)} as RuleSet of S;
 C,D=Crules; assume X c= FF; then
reconsider Y=X as  A11:x = b &b|2 0 byA10;
wff  setpsi=xnot xnot phii;
psi is (Y,D)-provable by Lm77; then consider H being set, m              hence  in {(()}byTARSKI:ef ;
A1: H c= Y & [H, psi] is (m,{},D)-derivable;
reconsider seqt=[H, psi] as C-sequent-like object by A1;
A2: seqt`1 \+\ H={};
reconsider HH=H as S-            b : |2=  = 0(F()}by A12XBOOLE_0:def 10;
reconsider =  Cpremiseslike  ;
reconsider a=phi as wff string of S;
HC phi] null 1is 1,[,xnot xnot )} R9C}-derivable;
then [HC,              st  = b& ^  aby A15;
 is(,\{#())provable ;
hence thesis;cardb:b^  }=)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
end;

::# countable downward Lowenheim-Skolem theorem ("weak version", Skolem 1922)
::# cfr. Ebbinghaus-Flum-Thomas, theorem VI.1.1
theorem for X2 being countable Subset of AllFormulasOf S2, I2 being java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 63
U-InterpretersOf S2 st X2 is I2-satisfied ex
beingcountableemptyset  java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 74
st X2 is     thesis  XBOOLE_0:ef ;
proof
set FF2=AllFormulasOf S2, L2=LettersOf S2; let X2 be
countable Subset of FF2; let I2 be Element of U-InterpretersOf S2; assume
A1: X2 is I2-satisfied;  set L = the denumerable Subset of L2;
reconsider SS1=L\/SymbolsOf X2 as denumerable set;
L2/\SS1 = L null L2 \/ (L2/\SymbolsOf X2) by XBOOLE_1:23; then
consider S1 such that
A2: OwnSymbolsOf S1 = SS1/\OwnSymbolsOf S2 & S2 is S1-extending
by FOMODEL1:18; AllSymbolsOf S1 =
OwnSymbolsOf S1 \/ (AllSymbolsOf S1/\{TheEqSymbOf S1, TheNorSymbOf S1})
& OwnSymbolsOf S1 is countable by A2; then
reconsider S11=S1 as countable Language by ORDERS_4:def 2;
reconsider S22=S2 as S11-extending Language by A2;
set II11=U-InterpretersOf S11, II22=U-InterpretersOf S22,
O11=OwnSymbolsOf S11, FF11=AllFormulasOf S11, O22=OwnSymbolsOf S22,
a11=the adicity of S11, a22=the adicity of S22, E11=TheEqSymbOf S11,
E22=TheEqSymbOf S22, N11=TheNorSymbOf S11, N22=TheNorSymbOf S22,
AS11=AtomicFormulaSymbolsOf S11, AS22=AtomicFormulaSymbolsOf S22;
reconsider I22=I2 as Element of II22;
reconsider I11=I22|O11 as Element of II11 by FOMODEL2:2;
reconsider D11=S11-rules as isotone Correct 2-ranked RuleSet of S11;
dom a11=AS11 by FUNCT_2:def 1; then
A3: O11 c= dom a11 by FOMODEL1:1;
A4: now
let y be object; assume
A5: y in X2; then reconsider Y={y} as Subset of X2 by ZFMISC_1:31;
reconsider phi2=y as wff string of S22 by TARSKI:def 3, A5;
SymbolsOf Y=rng phi2 & SymbolsOf Y c= SymbolsOf X2 by FOMODEL0:45, 46;
then rng phi2 c= SymbolsOf X2 null L; then rng phi2 c= SS1 by XBOOLE_1:1;
then reconsider x=rng phi2/\O22 as Subset of O11 by A2, XBOOLE_1:26;
x c= dom a11 & java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 6
 =a22| by 27 domI=O11  :def2;
 I22(ng/O=I11|rng phi2/\&
22( \)=a11( O22  E22 & N11N22
byFOMODEL1def 41,A6 GRFUNC_1:;then
consider phi1 being wff string of S11 such java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 12
A7: phi2=phi1 by FOMODEL3:16; thus y in FF11 by FOMODEL2:16, A7;

now
let phi1 be wff string of S11;
O11 c= AS11 & dom a11=AS11 by FOMODEL1:1    the carrier of GF(p), the carrier of (p)];
N11 = N22 &+*1`1_3)*$`_)|^2($133 ^)
 GRFUNC_1:27 FOMODEL1def 41;
then consider phi2 being wff string    uniqueness
A8: phi2=phi1 & I22-TruthEval phi2=I11-TruthEval phi1 by FOMODEL3:12;
phi1 inX2;
hence 1=I11-TruthEval phi1 by A8, A1;
nd; then
X2 is D11-consistent by Lm53, FOMODEL2:def 42;
then consider U1 being countable non empty set,
I1 being Element of U1-InterpretersOf S11 such that
A9: X2 is I1-satisfied by Th19, A4, TARSKI:def 3;
set II=U1-InterpretersOf S22, I3=the Element of II;
reconsider
IT=(I3 +* I1)|O22 as Element of II by FOMODEL2:2; O11\O22 = {}; then
reconsider O111=O11 as non empty Subset of O22 by XBOOLE_1:37;
A10: IT|O11 =(I3+*I1)|(O111 null O22) by RELAT_1:71 .= I3|O11 +*(I1|O11)
by FUNCT_4:71 .= I1 null O11 .= I1|O11;
A11: N11=N22 & E11=E22 & a11|O11 = a22|O11 by A3, GRFUNC_1:27, FOMODEL1:def 41;
reconsider ITT=IT as Element of U1-InterpretersOf S2; take U1, ITT;
now
let phi be wff string of S22; assume
A12: phi in X2; then phi in FF11 by A4; then
reconsider phi1=phi as wff string of S11;
consider phi2 being   assumeA3ElementEC_WEqProjCoa,p.[,,]  .GFp
A13:    : P [,,]  TARSKI:def ;
, 
endt   (p, Element of ProjCo(GF(p));
hence thesis;
end;

Messung
CHZG
8010010093

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

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

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,188,113
#Domains=863,184