Eine aufbereitete Darstellung der Quelle

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


Quelle  valued_2.miz   Sprache: Mizar

 

:: Arithmetic Operations on Functions from Sets into Functional Sets
::  by Artur Korni{\l}owicz
::
:: Received October 15, 2008
:: Copyright (c) 2008-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 NUMBERS, XBOOLE_0, FUNCT_1, TARSKI, RELAT_1, SUBSET_1, VALUED_0,
      PARTFUN1, FUNCT_2, MEMBERED, XCMPLX_0, ARYTM_3, ARYTM_1, VALUED_1, RAT_1,
      FINSEQ_1, NAT_1, COMPLEX1, INT_1, VALUED_2, FUNCOP_1, REAL_1;
 notations TARSKI, XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, RELSET_1, PARTFUN1,
      FUNCT_2, ORDINAL1, NUMBERS, FUNCOP_1, BINOP_1, VALUED_0, VALUED_1, INT_1,
      NAT_1, XCMPLX_0, XREAL_0, RAT_1, MEMBERED, FINSEQ_1;
 constructors RELAT_2, PARTFUN1, MCART_1, FUNCT_2, VALUED_0, VALUED_1, NAT_1,
      ARYTM_0, XCMPLX_0, FINSEQ_1, ARYTM_2, NUMBERS, XXREAL_0, XREAL_0,
      COMPLEX1, RELSET_1, FUNCOP_1, BINOP_1;
 registrations XBOOLE_0, RELAT_1, FUNCT_1, VALUED_0, VALUED_1, RELSET_1,
      MEMBERED, ORDINAL1, XCMPLX_0, NUMBERS, RAT_1, XREAL_0, INT_1;
 requirements SUBSET, BOOLE, NUMERALS, ARITHM;
 definitions TARSKI, FUNCT_1, FUNCOP_1;
 equalities XCMPLX_0, VALUED_1, BINOP_1, ORDINAL1;
 expansions TARSKI;
 theorems TARSKI, SUBSET_1, FUNCT_1, RELSET_1, PARTFUN1, FUNCT_2, VALUED_1,
      XCMPLX_1, XBOOLE_0, XBOOLE_1, RFUNCT_1, FINSEQ_1, RELAT_1, ZFMISC_1,
      XCMPLX_0, XREAL_0, RAT_1, INT_1, ORDINAL1;
 schemes XBOOLE_0, FUNCT_1, CLASSES1;

begin :: Functional sets

reserve x, y for object, X, X1, X2 for set;

Lm1: now
  let X1,X2,X3 be set;
  thus X1 /\ (X2 /\ X3) = X1 /\ X1 /\ X2 /\ X3 by XBOOLE_1:16
    .= X1 /\ (X1 /\ X2) /\ X3 by XBOOLE_1:16
    .= (X1 /\ X2) /\ (X1 /\ X3) by XBOOLE_1:16;
end;

definition
  let Y be functional set;
  func DOMS(Y) -> set equals
  union the set of all dom f where f is Element of Y;
  coherence;
end;

definition
  let X;
  attr X is complex-functions-membered means
  :Def2:
  x in X implies x is complex-valued Function;
end;

definition
  let X;
  attr X is ext-real-functions-membered means
  :Def3:
  x in X implies x is ext-real-valued Function;
end;

definition
  let X;
  attr X is real-functions-membered means
  :Def4:
  x in X implies x is real-valued Function;
end;

definition
  let X;
  attr X is rational-functions-membered means
  :Def5:
  x in X implies x is RAT-valued Function;
end;

definition
  let X;
  attr X is integer-functions-membered means
  :Def6:
  x in X implies x is INT-valued Function;
end;

definition
  let X;
  attr X is natural-functions-membered means
  :Def7:
  x in X implies x is natural-valued Function;
end;

registration
  cluster natural-functions-membered -> integer-functions-membered for set;
  coherence
  proof
    let X;
    assume
A1: for x being object st x in X holds x is natural-valued Function;
    let x;
    assume x in X;
    then x is natural-valued Function by A1;
    hence thesis;
  end;
  cluster integer-functions-membered -> rational-functions-membered for set;
  coherence
  proof
    let X;
    assume
A2: for x being object st x in X holds x is INT-valued Function;
    let x;
    assume x in X;
    then x is INT-valued Function by A2;
    hence thesis;
  end;
  cluster rational-functions-membered -> real-functions-membered for set;
  coherence;
  cluster real-functions-membered -> complex-functions-membered for set;
  coherence;
  cluster real-functions-membered -> ext-real-functions-membered for set;
  coherence;
end;

registration
  cluster empty -> natural-functions-membered for set;
  coherence;
end;

registration
  let f be complex-valued Function;
  cluster {f} -> complex-functions-membered;
  coherence
  by TARSKI:def 1;
end;

registration
  cluster complex-functions-membered -> functional for set;
  coherence
  proof
    let X;
    assume
A1: X is complex-functions-membered;
    let x;
    thus thesis by A1;
  end;
  cluster ext-real-functions-membered -> functional for set;
  coherence
  proof
    let X;
    assume
A2: X is ext-real-functions-membered;
    let x;
    thus thesis by A2;
  end;
end;

set ff = the natural-valued Function;

registration
  cluster natural-functions-membered non empty for set;
  existence
  proof
    take {ff};
    thus for x being object st x in {ff} holds x is natural-valued Function by
TARSKI:def 1;
    thus thesis;
  end;
end;

registration
  let X be complex-functions-membered set;
  cluster -> complex-functions-membered for Subset of X;
  coherence
  by Def2;
end;

registration
  let X be ext-real-functions-membered set;
  cluster -> ext-real-functions-membered for Subset of X;
  coherence
  by Def3;
end;

registration
  let X be real-functions-membered set;
  cluster -> real-functions-membered for Subset of X;
  coherence
  by Def4;
end;

registration
  let X be rational-functions-membered set;
  cluster -> rational-functions-membered for Subset of X;
  coherence
  by Def5;
end;

registration
  let X be integer-functions-membered set;
  cluster -> integer-functions-membered for Subset of X;
  coherence
  by Def6;
end;

registration
  let X be natural-functions-membered set;
  cluster -> natural-functions-membered for Subset of X;
  coherence
  by Def7;
end;

definition
  set A = COMPLEX;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func C_PFuncs(D) -> set means
  :Def8:
  for f being object holds f in it iff f is PartFunc of D,COMPLEX;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = COMPLEX;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func C_Funcs(D) -> set means
  :Def9:
  for f being object holds f in it iff f is Function of D,COMPLEX;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = ExtREAL;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func E_PFuncs(D) -> set means
  :Def10:
  for f being object holds f in it iff f is PartFunc of D,ExtREAL;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = ExtREAL;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func E_Funcs(D) -> set means
  :Def11:
  for f being object holds f in it iff f is Function of D,ExtREAL;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = REAL;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func R_PFuncs(D) -> set means
  :Def12:
  for f being object holds f in it iff f is PartFunc of D,REAL;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = REAL;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func R_Funcs(D) -> set means
  :Def13:
  for f being object holds f in it iff f is Function of D,REAL;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = RAT;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func Q_PFuncs(D) -> set means
  :Def14:
  for f being object holds f in it iff f is PartFunc of D,RAT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = RAT;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func Q_Funcs(D) -> set means
  :Def15:
  for f being object holds f in it iff f is Function of D,RAT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = INT;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func I_PFuncs(D) -> set means
  :Def16:
  for f being object holds f in it iff f is PartFunc of D,INT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = INT;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func I_Funcs(D) -> set means
  :Def17:
  for f being object holds f in it iff f is Function of D,INT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = NAT;
  let D be set;
  defpred P[object] means $1 is PartFunc of D,A;
  func N_PFuncs(D) -> set means
  :Def18:
  for f being object holds f in it iff f is PartFunc of D,NAT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in PFuncs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is PartFunc of D,A by A1;
    assume
A2: f is PartFunc of D,A;
    then f in PFuncs(D,A) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is PartFunc of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is PartFunc of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

definition
  set A = NAT;
  let D be set;
  defpred P[object] means $1 is Function of D,A;
  func N_Funcs(D) -> set means
  :Def19:
  for f being object holds f in it iff f is Function of D,NAT;
  existence
  proof
    consider X being set such that
A1: for x being object holds x in X iff x in Funcs(D,A) & P[x] from
    XBOOLE_0:sch 1;
    take X;
    let f be object;
    thus f in X implies f is Function of D,A by A1;
    assume
A2: f is Function of D,A;
    then f in Funcs(D,A) by FUNCT_2:8;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let P, Q be set;
    assume for f being object holds f in P iff f is Function of D,A;
    then
A3: for f being object holds f in P iff P[f];
    assume for f being object holds f in Q iff f is Function of D,A;
    then
A4: for f being object holds f in Q iff P[f];
    thus P = Q from XBOOLE_0:sch 2(A3,A4);
  end;
end;

theorem Th1:
  C_Funcs(X) is Subset of C_PFuncs(X)
proof
  C_Funcs(X) c= C_PFuncs(X)
  proof
    let x be object;
    assume x in C_Funcs(X);
    then x is Function of X,COMPLEX by Def9;
    hence thesis by Def8;
  end;
  hence thesis;
end;

theorem Th2:
  E_Funcs(X) is Subset of E_PFuncs(X)
proof
  E_Funcs(X) c= E_PFuncs(X)
  proof
    let x be object;
    assume x in E_Funcs(X);
    then x is Function of X,ExtREAL by Def11;
    hence thesis by Def10;
  end;
  hence thesis;
end;

theorem Th3:
  R_Funcs(X) is Subset of R_PFuncs(X)
proof
  R_Funcs(X) c= R_PFuncs(X)
  proof
    let x be object;
    assume x in R_Funcs(X);
    then x is Function of X,REAL by Def13;
    hence thesis by Def12;
  end;
  hence thesis;
end;

theorem Th4:
  Q_Funcs(X) is Subset of Q_PFuncs(X)
proof
  Q_Funcs(X) c= Q_PFuncs(X)
  proof
    let x be object;
    assume x in Q_Funcs(X);
    then x is Function of X,RAT by Def15;
    hence thesis by Def14;
  end;
  hence thesis;
end;

theorem Th5:
  I_Funcs(X) is Subset of I_PFuncs(X)
proof
  I_Funcs(X) c= I_PFuncs(X)
  proof
    let x be object;
    assume x in I_Funcs(X);
    then x is Function of X,INT by Def17;
    hence thesis by Def16;
  end;
  hence thesis;
end;

theorem Th6:
  N_Funcs(X) is Subset of N_PFuncs(X)
proof
  N_Funcs(X) c= N_PFuncs(X)
  proof
    let x be object;
    assume x in N_Funcs(X);
    then x is Function of X,NAT by Def19;
    hence thesis by Def18;
  end;
  hence thesis;
end;

registration
  let X;
  cluster C_PFuncs(X) -> complex-functions-membered;
  coherence
  by Def8;
  cluster C_Funcs(X) -> complex-functions-membered;
  coherence
  proof
    reconsider C = C_Funcs(X) as Subset of C_PFuncs(X) by Th1;
    C is complex-functions-membered;
    hence thesis;
  end;
  cluster E_PFuncs(X) -> ext-real-functions-membered;
  coherence
  by Def10;
  cluster E_Funcs(X) -> ext-real-functions-membered;
  coherence
  proof
    reconsider C = E_Funcs(X) as Subset of E_PFuncs(X) by Th2;
    C is ext-real-functions-membered;
    hence thesis;
  end;
  cluster R_PFuncs(X) -> real-functions-membered;
  coherence
  by Def12;
  cluster R_Funcs(X) -> real-functions-membered;
  coherence
  proof
    reconsider C = R_Funcs(X) as Subset of R_PFuncs(X) by Th3;
    C is real-functions-membered;
    hence thesis;
  end;
  cluster Q_PFuncs(X) -> rational-functions-membered;
  coherence
  by Def14;
  cluster Q_Funcs(X) -> rational-functions-membered;
  coherence
  proof
    reconsider C = Q_Funcs(X) as Subset of Q_PFuncs(X) by Th4;
    C is rational-functions-membered;
    hence thesis;
  end;
  cluster I_PFuncs(X) -> integer-functions-membered;
  coherence
  by Def16;
  cluster I_Funcs(X) -> integer-functions-membered;
  coherence
  proof
    reconsider C = I_Funcs(X) as Subset of I_PFuncs(X) by Th5;
    C is integer-functions-membered;
    hence thesis;
  end;
  cluster N_PFuncs(X) -> natural-functions-membered;
  coherence
  by Def18;
  cluster N_Funcs(X) -> natural-functions-membered;
  coherence
  proof
    reconsider C = N_Funcs(X) as Subset of N_PFuncs(X) by Th6;
    C is natural-functions-membered;
    hence thesis;
  end;
end;

registration
  let X be complex-functions-membered set;
  cluster -> complex-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def2,SUBSET_1:def 1;
  end;
end;

registration
  let X be ext-real-functions-membered set;
  cluster -> ext-real-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def3,SUBSET_1:def 1;
  end;
end;

registration
  let X be real-functions-membered set;
  cluster -> real-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def4,SUBSET_1:def 1;
  end;
end;

registration
  let X be rational-functions-membered set;
  cluster -> RAT-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def5,SUBSET_1:def 1;
  end;
end;

registration
  let X be integer-functions-membered set;
  cluster -> INT-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def6,SUBSET_1:def 1;
  end;
end;

registration
  let X be natural-functions-membered set;
  cluster -> natural-valued for Element of X;
  coherence
  proof
    X is empty or X is non empty;
    hence thesis by Def7,SUBSET_1:def 1;
  end;
end;

registration
  let X be set, x be object;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> Function-like Relation-like;
  coherence;
end;

registration
  let X be set, x be object;
  let Y be ext-real-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> Function-like Relation-like;
  coherence;
end;

registration
  let X be set, x be object;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> complex-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X be set, x be object;
  let Y be ext-real-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> ext-real-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X be set, x be object;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> real-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X be set, x be object;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> RAT-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X be set, x be object;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> INT-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X be set, x be object;
  let Y be natural-functions-membered set;
  let f be PartFunc of X,Y;
  cluster f.x -> natural-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let X;
  let Y be complex-membered set;
  cluster PFuncs(X,Y) -> complex-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be ext-real-membered set;
  cluster PFuncs(X,Y) -> ext-real-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be real-membered set;
  cluster PFuncs(X,Y) -> real-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be rational-membered set;
  cluster PFuncs(X,Y) -> rational-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be integer-membered set;
  cluster PFuncs(X,Y) -> integer-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be natural-membered set;
  cluster PFuncs(X,Y) -> natural-functions-membered;
  coherence
  proof
    let x;
    assume x in PFuncs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f c= X & rng f c= Y by PARTFUN1:def 3;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be complex-membered set;
  cluster Funcs(X,Y) -> complex-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be ext-real-membered set;
  cluster Funcs(X,Y) -> ext-real-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be real-membered set;
  cluster Funcs(X,Y) -> real-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be rational-membered set;
  cluster Funcs(X,Y) -> rational-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be integer-membered set;
  cluster Funcs(X,Y) -> integer-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

registration
  let X;
  let Y be natural-membered set;
  cluster Funcs(X,Y) -> natural-functions-membered;
  coherence
  proof
    let x;
    assume x in Funcs(X,Y);
    then consider f being Function such that
A1: x = f and
A2: dom f = X & rng f c= Y by FUNCT_2:def 2;
    reconsider f as PartFunc of X,Y by A2,RELSET_1:4;
    f is set;
    hence thesis by A1;
  end;
end;

definition
  let R be Relation;
  attr R is complex-functions-valued means
  :Def20:
  rng R is complex-functions-membered;
  attr R is ext-real-functions-valued means
  :Def21:
  rng R is ext-real-functions-membered;
  attr R is real-functions-valued means
  :Def22:
  rng R is real-functions-membered;
  attr R is rational-functions-valued means
  :Def23:
  rng R is rational-functions-membered;
  attr R is integer-functions-valued means
  :Def24:
  rng R is integer-functions-membered;
  attr R is natural-functions-valued means
  :Def25:
  rng R is natural-functions-membered;
end;

registration
 let Y be complex-functions-membered set;
 cluster -> complex-functions-valued for Y-valued Function;
 coherence
  proof let f be Y-valued Function;
   thus rng f is complex-functions-membered;
  end;
end;

definition
  let f be Function;
  redefine attr f is complex-functions-valued means
  for x being object st x in dom f holds f.x is complex-valued Function;
  compatibility
  proof
    thus f is complex-functions-valued implies
    for x being object st x in dom f
    holds f.x is complex-valued Function
    proof
      assume
A1:   rng f is complex-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A1;
    end;
    assume
A2: for x being object st x in dom f holds f.x is complex-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A2;
  end;
  redefine attr f is ext-real-functions-valued means
  for x being object st x in dom f holds f.x is ext-real-valued Function;
  compatibility
  proof
    thus f is ext-real-functions-valued implies
      for x being object st x in dom f
    holds f.x is ext-real-valued Function
    proof
      assume
A3:   rng f is ext-real-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A3;
    end;
    assume
A4: for x being object st x in dom f holds f.x is ext-real-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A4;
  end;
  redefine attr f is real-functions-valued means
  for x being object st x in dom f holds f.x is real-valued Function;
  compatibility
  proof
    thus f is real-functions-valued implies
   for x being object st x in dom f
    holds f.x is real-valued Function
    proof
      assume
A5:   rng f is real-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A5;
    end;
    assume
A6: for x being object st x in dom f holds f.x is real-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A6;
  end;
  redefine attr f is rational-functions-valued means
  for x being object st x in dom f holds f.x is RAT-valued Function;
  compatibility
  proof
    thus f is rational-functions-valued implies
   for x being object st x in dom f
    holds f.x is RAT-valued Function
    proof
      assume
A7:   rng f is rational-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A7;
    end;
    assume
A8: for x being object st x in dom f holds f.x is RAT-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A8;
  end;
  redefine attr f is integer-functions-valued means
  for x being object st x in dom f holds f.x is INT-valued Function;
  compatibility
  proof
    thus f is integer-functions-valued implies
  for x being object st x in dom f
    holds f.x is INT-valued Function
    proof
      assume
A9:   rng f is integer-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A9;
    end;
    assume
A10: for x being object st x in dom f holds f.x is INT-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A10;
  end;
  redefine attr f is natural-functions-valued means
  for x being object st x in dom f holds f.x is natural-valued Function;
  compatibility
  proof
    thus f is natural-functions-valued implies
    for x being object st x in dom f
    holds f.x is natural-valued Function
    proof
      assume
A11:  rng f is natural-functions-membered;
      let x;
      assume x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis by A11;
    end;
    assume
A12: for x being object st x in dom f holds f.x is natural-valued Function;
    let y be object;
    assume y in rng f;
    then ex x being object st x in dom f & f.x = y by FUNCT_1:def 3;
    hence thesis by A12;
  end;
end;

registration
  cluster natural-functions-valued -> integer-functions-valued for Relation;
  coherence;
  cluster integer-functions-valued -> rational-functions-valued for Relation;
  coherence;
  cluster rational-functions-valued -> real-functions-valued for Relation;
  coherence;
  cluster real-functions-valued -> ext-real-functions-valued for Relation;
  coherence;
  cluster real-functions-valued -> complex-functions-valued for Relation;
  coherence;
end;

registration
  cluster empty -> natural-functions-valued for Relation;
  coherence;
end;

registration
  cluster natural-functions-valued for Function;
  existence
  proof
    take {};
    thus thesis;
  end;
end;

registration
  let R be complex-functions-valued Relation;
  cluster rng R -> complex-functions-membered;
  coherence by Def20;
end;

registration
  let R be ext-real-functions-valued Relation;
  cluster rng R -> ext-real-functions-membered;
  coherence by Def21;
end;

registration
  let R be real-functions-valued Relation;
  cluster rng R -> real-functions-membered;
  coherence by Def22;
end;

registration
  let R be rational-functions-valued Relation;
  cluster rng R -> rational-functions-membered;
  coherence by Def23;
end;

registration
  let R be integer-functions-valued Relation;
  cluster rng R -> integer-functions-membered;
  coherence by Def24;
end;

registration
  let R be natural-functions-valued Relation;
  cluster rng R -> natural-functions-membered;
  coherence by Def25;
end;

registration
  let X;
  let Y be complex-functions-membered set;
  cluster -> complex-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
  let X;
  let Y be ext-real-functions-membered set;
  cluster -> ext-real-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
  let X;
  let Y be real-functions-membered set;
  cluster -> real-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
  let X;
  let Y be rational-functions-membered set;
  cluster -> rational-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
  let X;
  let Y be integer-functions-membered set;
  cluster -> integer-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
  let X;
  let Y be natural-functions-membered set;
  cluster -> natural-functions-valued for PartFunc of X,Y;
  coherence;
end;

registration
 cluster complex-functions-valued -> Function-yielding for Function;
 coherence
  proof let f be Function such that
A1: f is complex-functions-valued;
   let x be object;
   thus thesis by A1;
  end;
 cluster real-functions-valued -> Function-yielding for Function;
 coherence;
 cluster ext-real-functions-valued -> Function-yielding for Function;
 coherence
  proof let f be Function such that
A2: f is ext-real-functions-valued;
   let x be object;
   thus thesis by A2;
  end;
end;

registration
  let f be complex-functions-valued Function;
  let x be object;
  cluster f.x -> Function-like Relation-like;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be ext-real-functions-valued Function;
  let x be object;
  cluster f.x -> Function-like Relation-like;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be complex-functions-valued Function;
  let x be object;
  cluster f.x -> complex-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be ext-real-functions-valued Function;
  let x be object;
  cluster f.x -> ext-real-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be real-functions-valued Function;
  let x be object;
  cluster f.x -> real-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be rational-functions-valued Function;
  let x be object;
  cluster f.x -> RAT-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be integer-functions-valued Function;
  let x be object;
  cluster f.x -> INT-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be natural-functions-valued Function;
  let x be object;
  cluster f.x -> natural-valued;
  coherence
  proof
    per cases;
    suppose
      x in dom f;
      then f.x in rng f by FUNCT_1:def 3;
      hence thesis;
    end;
    suppose
      not x in dom f;
      hence thesis by FUNCT_1:def 2;
    end;
  end;
end;

registration
  let f be real-functions-valued Function;
  let x,y;
  cluster f.(x,y) -> real-valued for Function;
  coherence;
end;

begin :: Operations

reserve Y, Y1, Y2 for complex-functions-membered set,
  c, c1, c2 for Complex,
  f for PartFunc of X,Y,
  f1 for PartFunc of X1,Y1,
  f2 for PartFunc of X2, Y2,
  g, h, k for complex-valued Function;

theorem Th7:
  g <> {} & g + c1 = g + c2 implies c1 = c2
proof
  assume that
A1: g <> {} and
A2: g+c1 = g+c2;
  consider x being object such that
A3: x in dom g by A1,XBOOLE_0:def 1;
  dom g = dom(g+c2) by VALUED_1:def 2;
  then
A4: (g+c2).x = g.x+c2 by A3,VALUED_1:def 2;
  dom g = dom(g+c1) by VALUED_1:def 2;
  then (g+c1).x = g.x+c1 by A3,VALUED_1:def 2;
  hence c1 = c2 by A2,A4;
end;

theorem Th8:
  g <> {} & g - c1 = g - c2 implies c1 = c2
proof
  assume that
A1: g <> {} and
A2: g-c1 = g-c2;
  consider x being object such that
A3: x in dom g by A1,XBOOLE_0:def 1;
  dom g = dom(g-c2) by VALUED_1:def 2;
  then
A4: (g-c2).x = g.x-c2 by A3,VALUED_1:def 2;
  dom g = dom(g-c1) by VALUED_1:def 2;
  then (g-c1).x = g.x-c1 by A3,VALUED_1:def 2;
  hence c1 = c2 by A2,A4;
end;

theorem Th9:
  g <> {} & g is non-empty & g (#) c1 = g (#) c2 implies c1 = c2
proof
  assume that
A1: g <> {} and
A2: g is non-empty and
A3: g(#)c1 = g(#)c2;
  consider x being object such that
A4: x in dom g by A1,XBOOLE_0:def 1;
  g.x in rng g by A4,FUNCT_1:def 3;
  then
A5: g.x <> {} by A2,RELAT_1:def 9;
  (g(#)c1).x = g.x*c1 & (g(#)c2).x = g.x*c2 by VALUED_1:6;
  hence c1 = c2 by A3,A5,XCMPLX_1:5;
end;

theorem Th10:
  - (g + c) = -g - c
proof
A1: dom -(g+c) = dom(g+c) by VALUED_1:8;
A2: dom(g+c) = dom g & dom(-g-c) = dom -g by VALUED_1:def 2;
  hence dom -(g+c) = dom(-g-c) by A1,VALUED_1:8;
  let x be object;
  assume
A3: x in dom -(g+c);
A4: dom -g = dom g by VALUED_1:8;
  thus (-(g+c)).x = -(g+c).x by VALUED_1:8
    .= -(g.x+c) by A1,A3,VALUED_1:def 2
    .= -g.x-c
    .= (-g).x-c by VALUED_1:8
    .= (-g-c).x by A2,A1,A4,A3,VALUED_1:def 2;
end;

theorem Th11:
  - (g - c) = -g + c
proof
A1: dom -(g-c) = dom(g-c) by VALUED_1:8;
A2: dom(g-c) = dom g & dom(-g+c) = dom -g by VALUED_1:def 2;
  hence dom -(g-c) = dom(-g+c) by A1,VALUED_1:8;
  let x be object;
  assume
A3: x in dom -(g-c);
A4: dom -g = dom g by VALUED_1:8;
  thus (-(g-c)).x = -(g-c).x by VALUED_1:8
    .= -(g.x-c) by A1,A3,VALUED_1:def 2
    .= -g.x+c
    .= (-g).x+c by VALUED_1:8
    .= (-g+c).x by A2,A1,A4,A3,VALUED_1:def 2;
end;

theorem Th12:
  (g + c1) + c2 = g + (c1 + c2)
proof
A1: dom((g+c1)+c2) = dom(g+c1) by VALUED_1:def 2;
A2: dom(g+c1) = dom g by VALUED_1:def 2;
  hence dom((g+c1)+c2) = dom(g+(c1+c2)) by A1,VALUED_1:def 2;
  let x be object;
A3: dom(g+(c1+c2)) = dom(g) by VALUED_1:def 2;
  assume
A4: x in dom((g+c1)+c2);
  hence ((g+c1)+c2).x = (g+c1).x+c2 by VALUED_1:def 2
    .= g.x+c1+c2 by A1,A4,VALUED_1:def 2
    .= g.x+(c1+c2)
    .= (g+(c1+c2)).x by A1,A2,A3,A4,VALUED_1:def 2;
end;

theorem Th13:
  (g + c1) - c2 = g + (c1 - c2)
proof
A1: dom((g+c1)-c2) = dom(g+c1) by VALUED_1:def 2;
A2: dom(g+c1) = dom g by VALUED_1:def 2;
  hence dom((g+c1)-c2) = dom(g+(c1-c2)) by A1,VALUED_1:def 2;
  let x be object;
A3: dom(g+(c1-c2)) = dom(g) by VALUED_1:def 2;
  assume
A4: x in dom((g+c1)-c2);
  hence ((g+c1)-c2).x = (g+c1).x-c2 by VALUED_1:def 2
    .= g.x+c1-c2 by A1,A4,VALUED_1:def 2
    .= g.x+(c1-c2)
    .= (g+(c1-c2)).x by A1,A2,A3,A4,VALUED_1:def 2;
end;

theorem Th14:
  (g - c1) + c2 = g - (c1 - c2)
proof
A1: dom((g-c1)+c2) = dom(g-c1) by VALUED_1:def 2;
A2: dom(g-c1) = dom g by VALUED_1:def 2;
  hence dom((g-c1)+c2) = dom(g-(c1-c2)) by A1,VALUED_1:def 2;
  let x be object;
A3: dom(g-(c1-c2)) = dom(g) by VALUED_1:def 2;
  assume
A4: x in dom((g-c1)+c2);
  hence ((g-c1)+c2).x = (g-c1).x+c2 by VALUED_1:def 2
    .= g.x-c1+c2 by A1,A4,VALUED_1:def 2
    .= g.x-(c1-c2)
    .= (g-(c1-c2)).x by A1,A2,A3,A4,VALUED_1:def 2;
end;

theorem Th15:
  (g - c1) - c2 = g - (c1 + c2)
proof
A1: dom((g-c1)-c2) = dom(g-c1) by VALUED_1:def 2;
A2: dom(g-c1) = dom g by VALUED_1:def 2;
  hence dom((g-c1)-c2) = dom(g-(c1+c2)) by A1,VALUED_1:def 2;
  let x be object;
A3: dom(g-(c1+c2)) = dom(g) by VALUED_1:def 2;
  assume
A4: x in dom((g-c1)-c2);
  hence ((g-c1)-c2).x = (g-c1).x-c2 by VALUED_1:def 2
    .= g.x-c1-c2 by A1,A4,VALUED_1:def 2
    .= g.x-(c1+c2)
    .= (g-(c1+c2)).x by A1,A2,A3,A4,VALUED_1:def 2;
end;

theorem Th16:
  g (#) c1 (#) c2 = g (#) (c1 * c2)
proof
  dom((g(#)c1)(#)c2) = dom(g(#)c1) & dom(g(#)c1) = dom g by VALUED_1:def 5;
  hence dom((g(#)c1)(#)c2) = dom(g(#)(c1*c2)) by VALUED_1:def 5;
  let x be object;
  assume x in dom((g(#)c1)(#)c2);
  thus ((g(#)c1)(#)c2).x = (g(#)c1).x*c2 by VALUED_1:6
    .= g.x*c1*c2 by VALUED_1:6
    .= g.x*(c1*c2)
    .= (g(#)(c1*c2)).x by VALUED_1:6;
end;

theorem Th17:
  - (g + h) = (-g) - h
proof
A1: dom -(g+h) = dom(g+h) by VALUED_1:8;
  dom(g+h) = dom g /\ dom h & dom(-g-h) = dom(-g) /\ dom h by VALUED_1:12,def 1
;
  hence
A2: dom -(g+h) = dom(-g-h) by A1,VALUED_1:8;
  let x be object;
  assume
A3: x in dom -(g+h);
  thus (-(g+h)).x = -(g+h).x by VALUED_1:8
    .= -(g.x+h.x) by A1,A3,VALUED_1:def 1
    .= -g.x-h.x
    .= (-g).x-h.x by VALUED_1:8
    .= (-g-h).x by A2,A3,VALUED_1:13;
end;

theorem Th18:
  g - h = - (h - g)
proof
A1: dom -(h-g) = dom(h-g) by VALUED_1:8;
  dom(g-h) = dom g /\ dom h by VALUED_1:12;
  hence
A2: dom(g-h) = dom -(h-g) by A1,VALUED_1:12;
  let x be object;
  assume
A3: x in dom(g-h);
  hence (g-h).x = g.x-h.x by VALUED_1:13
    .= -(h.x-g.x)
    .= -(h-g).x by A1,A2,A3,VALUED_1:13
    .= (-(h-g)).x by VALUED_1:8;
end;

theorem Th19:
  g (#) h /" k = g (#) (h /" k)
proof
A1: dom(g (#) (h /" k)) = dom g /\ dom(h /" k) & dom(g (#) h /" k) = dom(g
  (#) h ) /\ dom k by VALUED_1:16,def 4;
  dom(g (#) h) = dom g /\ dom h & dom(h /" k) = dom h /\ dom k by VALUED_1:16
,def 4;
  hence dom(g (#) h /" k) = dom(g (#) (h /" k)) by A1,XBOOLE_1:16;
  let x be object;
  assume x in dom(g (#) h /" k);
  thus (g (#) h /" k).x = (g (#) h).x / k.x by VALUED_1:17
    .= g.x * h.x / k.x by VALUED_1:5
    .= g.x * (h.x / k.x)
    .= g.x * (h /" k).x by VALUED_1:17
    .= (g (#) (h /" k)).x by VALUED_1:5;
end;

theorem Th20:
  g /" h (#) k = g (#) k /" h
proof
A1: dom(g /" h (#) k) = dom(g /" h) /\ dom k & dom(g (#) k /" h) = dom(g (#)
  k) /\ dom h by VALUED_1:16,def 4;
  dom(g /" h) = dom g /\ dom h & dom(g (#) k) = dom g /\ dom k by VALUED_1:16
,def 4;
  hence dom(g /" h (#) k) = dom(g (#) k /" h) by A1,XBOOLE_1:16;
  let x be object;
  assume x in dom(g /" h (#) k);
  thus (g /" h (#) k).x = (g /" h).x * k.x by VALUED_1:5
    .= g.x / h.x * k.x by VALUED_1:17
    .= g.x * k.x / h.x
    .= (g(#)k).x / h.x by VALUED_1:5
    .= (g (#) k /" h).x by VALUED_1:17;
end;

theorem Th21:
  g /" h /" k = g /" (h (#) k)
proof
A1: dom(g /" h /" k) = dom(g /" h) /\ dom k & dom(g /" (h (#) k)) = dom g /\
  dom (h (#) k) by VALUED_1:16;
  dom(g /" h) = dom g /\ dom h & dom(h (#) k) = dom h /\ dom k by VALUED_1:16
,def 4;
  hence dom(g /" h /" k) = dom(g /" (h (#) k)) by A1,XBOOLE_1:16;
  let x be object;
  assume x in dom(g /" h /" k);
  thus (g /" h /" k).x = (g /" h).x / k.x by VALUED_1:17
    .= g.x / h.x / k.x by VALUED_1:17
    .= g.x / (h.x * k.x) by XCMPLX_1:78
    .= g.x / (h (#) k).x by VALUED_1:5
    .= (g /" (h (#) k)).x by VALUED_1:17;
end;

theorem Th22:
  c(#)-g = (-c)(#)g
proof
  dom(c(#)-g) = dom -g by VALUED_1:def 5
    .= dom g by VALUED_1:8;
  hence dom(c(#)-g) = dom((-c)(#)g) by VALUED_1:def 5;
  let x be object;
  assume x in dom(c(#)-g);
  thus (c(#)-g).x = c*((-g).x) by VALUED_1:6
    .= c*(-g.x) by VALUED_1:8
    .= (-c)*g.x
    .= ((-c)(#)g).x by VALUED_1:6;
end;

theorem Th23:
  c(#)-g = -(c(#)g)
proof
A1: dom(-(c(#)g)) = dom(c(#)g) by VALUED_1:8
    .= dom g by VALUED_1:def 5;
  dom(c(#)-g) = dom -g by VALUED_1:def 5
    .= dom g by VALUED_1:8;
  hence dom(c(#)-g) = dom -(c(#)g) by A1;
  let x be object;
  assume x in dom(c(#)-g);
  thus (c(#)-g).x = c*((-g).x) by VALUED_1:6
    .= c*(-g.x) by VALUED_1:8
    .= -(c*g.x)
    .= -(c(#)g).x by VALUED_1:6
    .= (-(c(#)g)).x by VALUED_1:8;
end;

theorem Th24:
  (-c)(#)g = -(c(#)g)
proof
  thus (-c)(#)g = c(#)-g by Th22
    .= -(c(#)g) by Th23;
end;

theorem Th25:
  - (g (#) h) = (-g) (#) h
proof
A1: dom -(g(#)h) = dom(g(#)h) by VALUED_1:8;
  dom(g(#)h) = dom g /\ dom h & dom((-g)(#)h) = dom(-g) /\ dom h by
VALUED_1:def 4;
  hence dom -(g(#)h) = dom((-g)(#)h) by A1,VALUED_1:8;
  let x be object;
  assume x in dom -(g(#)h);
  thus (-(g(#)h)).x = -(g(#)h).x by VALUED_1:8
    .= -(g.x*h.x) by VALUED_1:5
    .= (-g.x)*h.x
    .= (-g).x*h.x by VALUED_1:8
    .= ((-g)(#)h).x by VALUED_1:5;
end;

theorem
  - (g /" h) = (-g) /" h
proof
A1: dom -(g/"h) = dom(g/"h) by VALUED_1:8;
  dom(g/"h) = dom g /\ dom h & dom((-g)/"h) = dom(-g) /\ dom h by VALUED_1:16;
  hence dom -(g/"h) = dom((-g)/"h) by A1,VALUED_1:8;
  let x be object;
  assume x in dom -(g/"h);
  thus (-(g/"h)).x = -(g/"h).x by VALUED_1:8
    .= -(g.x/h.x) by VALUED_1:17
    .= (-g.x)/h.x
    .= (-g).x/h.x by VALUED_1:8
    .= ((-g)/"h).x by VALUED_1:17;
end;

theorem Th27:
  - (g /" h) = g /" -h
proof
A1: dom -h = dom h by VALUED_1:8;
  dom(g/"h) = dom g /\ dom h & dom(g/"-h) = dom g /\ dom -h by VALUED_1:16;
  hence dom -(g/"h) = dom(g/"-h) by A1,VALUED_1:8;
  let x be object;
  assume x in dom -(g/"h);
  thus (-(g/"h)).x = -(g/"h).x by VALUED_1:8
    .= -(g.x/h.x) by VALUED_1:17
    .= g.x/-h.x by XCMPLX_1:188
    .= g.x/(-h).x by VALUED_1:8
    .= (g/"-h).x by VALUED_1:17;
end;

definition
  let f be complex-valued Function, c be Complex;
  func f (/) c -> Function equals
  (1/c) (#) f;
  coherence;
end;

registration
  let f be complex-valued Function, c be Complex;
  cluster f (/) c -> complex-valued;
  coherence;
end;

registration
  let f be real-valued Function, r be Real;
  cluster f (/) r -> real-valued;
  coherence;
end;

registration
  let f be RAT-valued Function, r be Rational;
  cluster f (/) r -> RAT-valued;
  coherence;
end;

registration
  let f be complex-valued FinSequence, c be Complex;
  cluster f (/) c -> FinSequence-like;
  coherence;
end;

theorem
  dom(g(/)c) = dom g by VALUED_1:def 5;

theorem
  for x being object holds (g(/)c).x = g.x / c by VALUED_1:6;

theorem Th30:
  (-g) (/) c = -(g(/)c)
proof
  thus (-g) (/) c = (-(1/c)) (#) g by Th22
    .= -(g(/)c) by Th24;
end;

theorem Th31:
  g (/) -c = -(g(/)c)
proof
  thus g (/) -c = (-1/c) (#) g by XCMPLX_1:188
    .= -(g(/)c) by Th24;
end;

theorem
  g (/) -c = (-g) (/) c
proof
  thus g (/) -c = - (g(/)c) by Th31
    .= (-g) (/) c by Th30;
end;

theorem Th33:
  g <> {} & g is non-empty & g (/) c1 = g (/) c2 implies c1 = c2
proof
  assume that
A1: g <> {} and
A2: g is non-empty and
A3: g(/)c1 = g(/)c2;
  consider x being object such that
A4: x in dom g by A1,XBOOLE_0:def 1;
  g.x in rng g by A4,FUNCT_1:def 3;
  then
A5: g.x <> {} by A2,RELAT_1:def 9;
  (g(/)c1).x = g.x/c1 & (g(/)c2).x = g.x/c2 by VALUED_1:6;
  then c1" = c2" by A3,A5,XCMPLX_1:5;
  hence c1 = c2 by XCMPLX_1:201;
end;

theorem
  g (#) c1 (/) c2 = g (#) (c1 / c2)
proof
  dom(g(#)c1) = dom g & dom(g(#)c1(/)c2) = dom(g(#)c1) by VALUED_1:def 5;
  hence dom(g(#)c1(/)c2) = dom(g(#)(c1/c2)) by VALUED_1:def 5;
  let x be object;
  assume x in dom(g(#)c1(/)c2);
  thus (g(#)c1(/)c2).x = (g(#)c1).x * c2" by VALUED_1:6
    .= g.x * c1 * c2" by VALUED_1:6
    .= g.x*(c1/c2)
    .= (g(#)(c1/c2)).x by VALUED_1:6;
end;

theorem
  g (/) c1 (#) c2 = g (#) c2 (/) c1
proof
A1: dom(g(/)c1(#)c2) = dom(g(/)c1) by VALUED_1:def 5;
  dom(g(/)c1) = dom g & dom(g(#)c2) = dom g by VALUED_1:def 5;
  hence dom(g(/)c1(#)c2) = dom(g(#)c2(/)c1) by A1,VALUED_1:def 5;
  let x be object;
  assume x in dom(g(/)c1(#)c2);
  thus (g(/)c1(#)c2).x = (g(/)c1).x * c2 by VALUED_1:6
    .= g.x * c1" * c2 by VALUED_1:6
    .= (g.x*c2)*c1"
    .= (g(#)c2).x*c1" by VALUED_1:6
    .= (g(#)c2(/)c1).x by VALUED_1:6;
end;

theorem
  g (/) c1 (/) c2 = g (/) (c1*c2)
proof
  dom(g(/)c1) = dom g & dom(g(/)(c1*c2)) = dom g by VALUED_1:def 5;
  hence dom(g(/)c1(/)c2) = dom(g(/)(c1*c2)) by VALUED_1:def 5;
  let x be object;
  assume x in dom(g(/)c1(/)c2);
  thus (g(/)c1(/)c2).x = (g(/)c1).x * c2" by VALUED_1:6
    .= g.x * c1" * c2" by VALUED_1:6
    .= g.x * (c1" * c2")
    .= g.x * (c1*c2)" by XCMPLX_1:204
    .= (g(/)(c1*c2)).x by VALUED_1:6;
end;

theorem
  (g+h) (/) c = g(/)c + h(/)c
proof
A1: dom((g+h)(/)c) = dom(g+h) by VALUED_1:def 5;
A2: dom(g+h) = dom g /\ dom h by VALUED_1:def 1;
  dom(g(/)c) = dom g & dom(h(/)c) = dom h by VALUED_1:def 5;
  hence
A3: dom((g+h)(/)c) = dom(g(/)c+h(/)c) by A1,A2,VALUED_1:def 1;
  let x be object;
  assume
A4: x in dom((g+h)(/)c);
  thus ((g+h)(/)c).x = (g+h).x * c" by VALUED_1:6
    .= (g.x+h.x)*c" by A1,A4,VALUED_1:def 1
    .= g.x*c" + h.x*c"
    .= (g(/)c).x + h.x*c" by VALUED_1:6
    .= (g(/)c).x + (h(/)c).x by VALUED_1:6
    .= (g(/)c+h(/)c).x by A3,A4,VALUED_1:def 1;
end;

theorem
  (g-h) (/) c = g(/)c - h(/)c
proof
A1: dom((g-h)(/)c) = dom(g-h) by VALUED_1:def 5;
A2: dom(g-h) = dom g /\ dom h by VALUED_1:12;
  dom(g(/)c) = dom g & dom(h(/)c) = dom h by VALUED_1:def 5;
  hence
A3: dom((g-h)(/)c) = dom(g(/)c-h(/)c) by A1,A2,VALUED_1:12;
  let x be object;
  assume
A4: x in dom((g-h)(/)c);
  thus ((g-h)(/)c).x = (g-h).x * c" by VALUED_1:6
    .= (g.x-h.x)*c" by A1,A4,VALUED_1:13
    .= g.x*c" - h.x*c"
    .= (g(/)c).x - h.x*c" by VALUED_1:6
    .= (g(/)c).x - (h(/)c).x by VALUED_1:6
    .= (g(/)c-h(/)c).x by A3,A4,VALUED_1:13;
end;

theorem
  (g(#)h) (/) c = g (#) (h(/)c)
proof
A1: dom((g(#)h)(/)c) = dom(g(#)h) by VALUED_1:def 5;
  dom(g(#)h) = dom g /\ dom h & dom(h(/)c) = dom h by VALUED_1:def 4,def 5;
  hence dom((g(#)h)(/)c) = dom(g(#)(h(/)c)) by A1,VALUED_1:def 4;
  let x be object;
  assume x in dom((g(#)h)(/)c);
  thus ((g(#)h)(/)c).x = (g(#)h).x * c" by VALUED_1:6
    .= g.x*h.x*c" by VALUED_1:5
    .= g.x*(h.x*c")
    .= g.x * (h(/)c).x by VALUED_1:6
    .= (g(#)(h(/)c)).x by VALUED_1:5;
end;

theorem
  (g/"h) (/) c = g /" (h(#)c)
proof
A1: dom((g/"h)(/)c) = dom(g/"h) by VALUED_1:def 5;
  dom(g/"h) = dom g /\ dom h & dom(h(#)c) = dom h by VALUED_1:16,def 5;
  hence dom((g/"h)(/)c) = dom(g/"(h(#)c)) by A1,VALUED_1:16;
  let x be object;
  assume x in dom((g/"h)(/)c);
  thus ((g/"h)(/)c).x = (g/"h).x * c" by VALUED_1:6
    .= g.x/h.x/c by VALUED_1:17
    .= g.x/(h.x*c) by XCMPLX_1:78
    .= g.x / (h(#)c).x by VALUED_1:6
    .= (g/"(h(#)c)).x by VALUED_1:17;
end;

definition
  let f be complex-functions-valued Function;
  deffunc F(object) = -f.$1;
  func <->f -> Function means
  :Def33:
  dom it = dom f & for x being object st x in dom it holds it.x = -f.x;
  existence
  proof
    ex F being Function st dom F = dom f & for x being object st x in dom f
    holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func <->f -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = <->f;
A1: dom h = dom f by Def33;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = -f.x by A2,Def33;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:8;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func <->f -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = <->f;
A1: dom h = dom f by Def33;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = -f.x by A2,Def33;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:8;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func <->f -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = <->f;
A1: dom h = dom f by Def33;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = -f.x by A2,Def33;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:8;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func <->f -> PartFunc of X, I_PFuncs(DOMS(Y));
  coherence
  proof
    set h = <->f;
A1: dom h = dom f by Def33;
    rng h c= I_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = -f.x by A2,Def33;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:8;
      then y is PartFunc of DOMS(Y),INT by A6,A5,RELSET_1:4;
      hence thesis by Def16;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

registration
  let Y be complex-functions-membered set;
  let f be FinSequence of Y;
  cluster <->f -> FinSequence-like;
  coherence
  proof
    dom<->f = dom f & ex n being Nat st dom f = Seg n by Def33,FINSEQ_1:def 2;
    hence thesis by FINSEQ_1:def 2;
  end;
end;

theorem
  <-><->f = f
proof
  set f1 = <->f;
A1: dom f1 = dom f by Def33;
  hence
A2: dom<->f1 = dom f by Def33;
  let x be object;
  assume
A3: x in dom<->f1;
  hence (<->f1).x = -f1.x by Def33
    .= -(-f.x) by A1,A2,A3,Def33
    .= f.x;
end;

theorem
  <->f1 = <->f2 implies f1 = f2
proof
A1: dom <->f1 = dom f1 by Def33;
  assume
A2: <->f1 = <->f2;
  hence dom f1 = dom f2 by A1,Def33;
  let x be object;
  assume
A3: x in dom f1;
  thus f1.x = --f1.x .= -(<->f1).x by A1,A3,Def33
    .= --f2.x by A2,A1,A3,Def33
    .= f2.x;
end;

definition
  let X be complex-functions-membered set;
  let Y be set;
  let f be PartFunc of X,Y;
  defpred P[object,object] means
ex a being complex-valued Function st $1 = a & $2 =
  f.-a;
  func f(-) -> Function means
  dom it = dom f & for x being complex-valued
  Function st x in dom it holds it.x = f.-x;
  existence
  proof
A1: for x being object st x in dom f ex y being object st P[x,y]
    proof
      let x be object;
      assume x in dom f;
      then reconsider a = x as complex-valued Function;
      take f.-a, a;
      thus thesis;
    end;
    consider F being Function such that
A2: dom F = dom f and
A3: for x being object st x in dom f holds P[x,F.x] from CLASSES1:sch 1(
    A1);
    take F;
    thus dom F = dom f by A2;
    let x be complex-valued Function;
    assume x in dom F;
    then P[x,F.x] by A2,A3;
    hence thesis;
  end;
  uniqueness
  proof
    let F, G be Function such that
A4: dom F = dom f and
A5: for x being complex-valued Function st x in dom F holds F.x = f.- x and
A6: dom G = dom f and
A7: for x being complex-valued Function st x in dom G holds G.x = f.- x;
    thus dom F = dom G by A4,A6;
    let x be object;
    assume
A8: x in dom F;
    then reconsider y = x as complex-valued Function by A4;
    thus F.x = f.-y by A5,A8
      .= G.x by A4,A6,A7,A8;
  end;
end;

definition
  let f be complex-functions-valued Function;
  deffunc F(object) = (f.$1)";
  func </>f -> Function means
  :Def35:
  dom it = dom f & for x being object st x in dom it holds it.x = (f.x)";
  existence
  proof
    ex F being Function st dom F = dom f & for x being object st x in dom f
    holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func </>f -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = </>f;
A1: dom h = dom f by Def35;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = (f.x)" by A2,Def35;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 7;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func </>f -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = </>f;
A1: dom h = dom f by Def35;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = (f.x)" by A2,Def35;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 7;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func </>f -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = </>f;
A1: dom h = dom f by Def35;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = (f.x)" by A2,Def35;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 7;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

registration
  let Y be complex-functions-membered set;
  let f be FinSequence of Y;
  cluster </>f -> FinSequence-like;
  coherence
  proof
    dom </>f = dom f & ex n being Nat st dom f = Seg n by Def35,FINSEQ_1:def 2;
    hence thesis by FINSEQ_1:def 2;
  end;
end;

theorem
  </></>f = f
proof
  set f1 = </>f;
A1: dom f1 = dom f by Def35;
  hence
A2: dom </>f1 = dom f by Def35;
  let x be object;
  assume
A3: x in dom </>f1;
  hence (</>f1).x = (f1.x)" by Def35
    .= (f.x)"" by A1,A2,A3,Def35
    .= f.x;
end;

definition
  let f be complex-functions-valued Function;
  deffunc F(object) = abs(f.$1);
  func abs(f) -> Function means
  :Def36:
  dom it = dom f & for x being object st x in dom it holds it.x = abs(f.x);
  existence
  proof
    ex F being Function st dom F = dom f & for x being object st x in dom f
    holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func abs(f) -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = abs(f);
A1: dom h = dom f by Def36;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = abs(f.x) by A2,Def36;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 11;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func abs(f) -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = abs(f);
A1: dom h = dom f by Def36;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = abs(f.x) by A2,Def36;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 11;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func abs(f) -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = abs(f);
A1: dom h = dom f by Def36;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = abs(f.x) by A2,Def36;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 11;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  redefine func abs(f) -> PartFunc of X, N_PFuncs(DOMS(Y));
  coherence
  proof
    set h = abs(f);
A1: dom h = dom f by Def36;
    rng h c= N_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = abs(f.x) by A2,Def36;
A5:   rng y c= NAT
      by A3,A4,ORDINAL1:def 12;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 11;
      then y is PartFunc of DOMS(Y),NAT by A6,A5,RELSET_1:4;
      hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

registration
  let Y be complex-functions-membered set;
  let f be FinSequence of Y;
  cluster abs(f) -> FinSequence-like;
  coherence
  proof
    dom abs(f) = dom f & ex n being Nat st dom f = Seg n by Def36,
FINSEQ_1:def 2;
    hence thesis by FINSEQ_1:def 2;
  end;
end;

theorem
  abs abs f = abs f
proof
  set f1 = abs f;
  thus
A1: dom abs f1 = dom abs f by Def36;
  let x be object;
  assume
A2: x in dom abs f1;
  hence (abs f1).x = abs(f1.x) by Def36
    .= abs(abs(f.x)) by A1,A2,Def36
    .= (abs f).x by A1,A2,Def36;
end;

definition
  let Y be complex-functions-membered set;
  let f be Y-valued Function;
  let c be Complex;
  deffunc F(object) = c+(f.$1);
  func f[+]c -> Function means
  :Def37:
  dom it = dom f & for x being object st x in dom it holds it.x = c + f.x;
  existence
  proof
    ex F being Function st dom F = dom f & for x being object st x in dom f
    holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Complex;
  redefine func f[+]c -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[+]c;
A1: dom h = dom f by Def37;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = f.x + c by A2,Def37;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Real;
  redefine func f[+]c -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[+]c;
A1: dom h = dom f by Def37;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + c by A2,Def37;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Rational;
  redefine func f[+]c -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[+]c;
A1: dom h = dom f by Def37;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + c by A2,Def37;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Integer;
  redefine func f[+]c -> PartFunc of X, I_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[+]c;
A1: dom h = dom f by Def37;
    rng h c= I_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + c by A2,Def37;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),INT by A6,A5,RELSET_1:4;
      hence thesis by Def16;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be natural-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Nat;
  redefine func f[+]c -> PartFunc of X, N_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[+]c;
A1: dom h = dom f by Def37;
    rng h c= N_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + c by A2,Def37;
A5:   rng y c= NAT
      by A3,A4,ORDINAL1:def 12;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),NAT by A6,A5,RELSET_1:4;
      hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

theorem
  f [+] c1 [+] c2 = f [+] (c1+c2)
proof
  set f1 = f[+]c1;
A1: dom(f1[+]c2) = dom f1 by Def37;
  dom f1 = dom f by Def37;
  hence
A2: dom(f1[+]c2) = dom(f[+](c1+c2)) by A1,Def37;
  let x be object;
  assume
A3: x in dom(f1[+]c2);
  hence (f1[+]c2).x = f1.x + c2 by Def37
    .= f.x + c1 + c2 by A1,A3,Def37
    .= f.x + (c1 + c2) by Th12
    .= (f[+](c1+c2)).x by A2,A3,Def37;
end;

theorem
  f <> {} & f is non-empty & f [+] c1 = f [+] c2 implies c1 = c2
proof
  assume that
A1: f <> {} and
A2: f is non-empty and
A3: f[+]c1 = f[+]c2;
  consider x being object such that
A4: x in dom f by A1,XBOOLE_0:def 1;
  f.x in rng f by A4,FUNCT_1:def 3;
  then
A5: f.x <> {} by A2,RELAT_1:def 9;
  dom f = dom(f[+]c2) by Def37;
  then
A6: (f[+]c2).x = f.x+c2 by A4,Def37;
  dom f = dom(f[+]c1) by Def37;
  then (f[+]c1).x = f.x+c1 by A4,Def37;
  hence c1 = c2 by A3,A5,A6,Th7;
end;

definition
  let Y be complex-functions-membered set;
  let f be Y-valued Function;
  let c be Complex;
  func f[-]c -> Function equals
  f [+] -c;
  coherence;
end;

theorem
  dom(f[-]c) = dom f by Def37;

theorem
  x in dom(f[-]c) implies (f[-]c).x = f.x - c by Def37;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Complex;
  redefine func f[-]c -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    f[-]c = f [+] -c;
    hence thesis;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Real;
  redefine func f[-]c -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    f[-]c = f [+] -c;
    hence thesis;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Rational;
  redefine func f[-]c -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    f[-]c = f [+] -c;
    hence thesis;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Integer;
  redefine func f[-]c -> PartFunc of X, I_PFuncs(DOMS(Y));
  coherence
  proof
    f[-]c = f [+] -c;
    hence thesis;
  end;
end;

theorem
  f <> {} & f is non-empty & f [-] c1 = f [-] c2 implies c1 = c2
proof
  assume that
A1: f <> {} and
A2: f is non-empty and
A3: f[-]c1 = f[-]c2;
  consider x being object such that
A4: x in dom f by A1,XBOOLE_0:def 1;
  f.x in rng f by A4,FUNCT_1:def 3;
  then
A5: f.x <> {} by A2,RELAT_1:def 9;
  dom f = dom(f[-]c2) by Def37;
  then
A6: (f[-]c2).x = f.x-c2 by A4,Def37;
  dom f = dom(f[-]c1) by Def37;
  then (f[-]c1).x = f.x-c1 by A4,Def37;
  hence c1 = c2 by A3,A5,A6,Th8;
end;

theorem
  f [+] c1 [-] c2 = f [+] (c1-c2)
proof
  set f1 = f[+]c1;
A1: dom(f1[-]c2) = dom f1 by Def37;
  dom f1 = dom f by Def37;
  hence
A2: dom(f1[-]c2) = dom(f[+](c1-c2)) by A1,Def37;
  let x be object;
  assume
A3: x in dom(f1[-]c2);
  hence (f1[-]c2).x = f1.x - c2 by Def37
    .= f.x + c1 - c2 by A1,A3,Def37
    .= f.x + (c1 - c2) by Th12
    .= (f[+](c1-c2)).x by A2,A3,Def37;
end;

theorem
  f [-] c1 [+] c2 = f [-] (c1-c2)
proof
  set f1 = f[-]c1;
A1: dom(f1[+]c2) = dom f1 by Def37;
  dom f1 = dom f by Def37;
  hence
A2: dom(f1[+]c2) = dom(f[-](c1-c2)) by A1,Def37;
  let x be object;
  assume
A3: x in dom(f1[+]c2);
  hence (f1[+]c2).x = f1.x + c2 by Def37
    .= f.x - c1 + c2 by A1,A3,Def37
    .= f.x - (c1 - c2) by Th14
    .= (f[-](c1-c2)).x by A2,A3,Def37;
end;

theorem
  f [-] c1 [-] c2 = f [-] (c1+c2)
proof
  set f1 = f[-]c1;
A1: dom(f1[-]c2) = dom f1 by Def37;
  dom f1 = dom f by Def37;
  hence
A2: dom(f1[-]c2) = dom(f[-](c1+c2)) by A1,Def37;
  let x be object;
  assume
A3: x in dom(f1[-]c2);
  hence (f1[-]c2).x = f1.x - c2 by Def37
    .= f.x - c1 - c2 by A1,A3,Def37
    .= f.x - (c1 + c2) by Th15
    .= (f[-](c1+c2)).x by A2,A3,Def37;
end;

definition
  let Y be complex-functions-membered set;
  let f be Y-valued Function;
  let c be Complex;
  deffunc F(object) = c(#)(f.$1);
  func f[#]c -> Function means
  :Def39:
  dom it = dom f & for x being object st x in dom it holds it.x = c (#) (f.x);
  existence
  proof
    ex F being Function st dom F = dom f & for x being object st x in dom f
    holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Complex;
  redefine func f[#]c -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[#]c;
A1: dom h = dom f by Def39;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = c (#) f.x by A2,Def39;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Real;
  redefine func f[#]c -> PartFunc of X, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[#]c;
A1: dom h = dom f by Def39;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = c (#) f.x by A2,Def39;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Rational;
  redefine func f[#]c -> PartFunc of X, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[#]c;
A1: dom h = dom f by Def39;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = c (#) f.x by A2,Def39;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Integer;
  redefine func f[#]c -> PartFunc of X, I_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[#]c;
A1: dom h = dom f by Def39;
    rng h c= I_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = c (#) f.x by A2,Def39;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      then y is PartFunc of DOMS(Y),INT by A6,A5,RELSET_1:4;
      hence thesis by Def16;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be natural-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Nat;
  redefine func f[#]c -> PartFunc of X, N_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f[#]c;
A1: dom h = dom f by Def39;
    rng h c= N_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = c (#) f.x by A2,Def39;
A5:   rng y c= NAT
      by A3,A4,ORDINAL1:def 12;
      f.x in Y by A1,A2,PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      then y is PartFunc of DOMS(Y),NAT by A6,A5,RELSET_1:4;
      hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

theorem
  f [#] c1 [#] c2 = f [#] (c1*c2)
proof
  set f1 = f[#]c1;
A1: dom(f1[#]c2) = dom f1 by Def39;
  dom f1 = dom f by Def39;
  hence
A2: dom(f1[#]c2) = dom(f[#](c1*c2)) by A1,Def39;
  let x be object;
  assume
A3: x in dom(f1[#]c2);
  hence (f1[#]c2).x = f1.x (#) c2 by Def39
    .= f.x (#) c1 (#) c2 by A1,A3,Def39
    .= f.x (#) (c1 * c2) by Th16
    .= (f[#](c1*c2)).x by A2,A3,Def39;
end;

theorem
  f <> {} & f is non-empty & (for x st x in dom f holds f.x is non-empty
  ) & f [#] c1 = f [#] c2 implies c1 = c2
proof
  assume that
A1: f <> {} and
A2: f is non-empty and
A3: for x st x in dom f holds f.x is non-empty and
A4: f[#]c1 = f[#]c2;
  consider x being object such that
A5: x in dom f by A1,XBOOLE_0:def 1;
  dom f = dom(f[#]c2) by Def39;
  then
A6: (f[#]c2).x = f.x(#)c2 by A5,Def39;
  dom f = dom(f[#]c1) by Def39;
  then
A7: (f[#]c1).x = f.x(#)c1 by A5,Def39;
  f.x in rng f by A5,FUNCT_1:def 3;
  then
A8: f.x <> {} by A2,RELAT_1:def 9;
  f.x is non-empty by A3,A5;
  hence c1 = c2 by A4,A8,A7,A6,Th9;
end;

definition
  let Y be complex-functions-membered set;
  let f be Y-valued Function;
  let c be Complex;
  func f[/]c -> Function equals
  f [#] (c");
  coherence;
end;

theorem
  dom(f[/]c) = dom f by Def39;

theorem
  x in dom(f[/]c) implies (f[/]c).x = c" (#) f.x by Def39;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Complex;
  redefine func f[/]c -> PartFunc of X, C_PFuncs(DOMS(Y));
  coherence
  proof
    f[/]c = f [#] (c");
    hence thesis;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  let c be Real;
  redefine func f[/]cistributed under the GNU General :: version 3.0 or later,:: License version 3.0 or later, subject to the binding interpretation
  coherencePRE_TOPC  ,MCART_1 REAL_1  java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
  proof
    f[/ notations XBOOLE_0 , XCMPLX_0 ,TARSKI ,,
    hence thesis;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f CONNSP_1TOPS_2 ,TOPMETR ,SPPOL_2 PSCOMP_1
  let c be Rational;
          ,MEASURE6 ,VALUED_0 ORDINAL1
  coherence
  proof
    f[/]c = f [#] (c");
    hence thesis;
  end;
end;

theorem
  f [/] c1 [/] c2 = f [/] (c1*c2)
proof
  set f1 = f[/]c1;
A1: dom(f1[/]c2) = dom f1 by Def39;
  dom f1 = dom f by Def39;
  hence
A2: dom(f1[/]c2) = dom(f[/](c1*c2)) by A1,Def39;
  let x be object;
  assume
A3: x in dom(f1[/]c2);
  hence (f1[/]c2).x = f1.x (#) c2" by Def39
    .= f.x (#) c1" (#) c2" by A1,A3,Def39
    .= f.x (#) (c1" * c2") by Th16
    .= f.x (#) (c1*c2)" by XCMPLX_1:204
    .= (f[/](c1*c2)).x by A2,A3,Def39;
end;

theorem
  f <> {} & f is non-empty & (for x st x in dom f holds f.x is non-empty
  ) & f [/] c1 = f [/] c2 implies c1 = c2
proof
  assume that
A1: f <> {} and
A2: f is non-empty and
A3: for x st x in dom f holds f.x is non-empty and
A4: f[/]c1 = f[/]c2;
  consider x being object such that
A5: x in dom f by A1,XBOOLE_0:def 1;
  dom f = dom(f[/]c2) by Def39;
  then
A6: (f[/]c2).x = f.x(/)c2 by A5,Def39;
  dom f = dom(f[/]c1) by Def39;
  then
A7: (f[/]c1).x = f.x(/)c1 by A5,Def39;
  f.x in rng f by A5,FUNCT_1:def 3;
  then
A8: f.x <> {} by A2,RELAT_1:def 9;
  f.x is non-empty by A3,A5;
  hence c1 = c2 by A4,A8,A7,A6,Th33;
end;

definition
  let Y be complex-functions-membered set;
  let f be Y-valued Function;
  let g be complex-valued Function;
  deffunc F(object) = f.$1+g.$1;
  func f<+>g -> Function means
  :Def41:
  dom it = dom f /\ dom g &
  for x being object st x in dom it holds it.x = f.x + g.x;
  existence
  proof
    ex F being Function st dom F = dom f /\ dom g & for x being object st x
    in dom f /\ dom g holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that
A1: dom F = dom f /\ dom g and
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f /\ dom g and
A4: for x being object st x in dom G holds G.x = F(x);
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let g be complex-valued Function;
  redefine func f<+>g -> PartFunc of X /\ dom g, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f<+>g;
A1: dom h = dom f /\ dom g by Def41;
    rng h c= C_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = f.x + g.x by A2,Def41;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),COMPLEX by A6,A5,RELSET_1:4;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4,XBOOLE_1:27;
  end;
end;

definition
  let X;
  let Y be real-functions-membered set;
  let f be PartFunc of X,Y;
  let g be real-valued Function;
  redefine func f<+>g -> PartFunc of X /\ dom g, R_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f<+>g;
A1: dom h = dom f /\ dom g by Def41;
    rng h c= R_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + g.x by A2,Def41;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y;
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 15
  end;


  per;
  let X;
 java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 43
letbeof X,
let g be -valued Function;
funcf+g -PartFuncofX \domg, DOMSY)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67


    A3: c <=p`2 and
:dom    f/ dom gby Def41;
    rng h c= Q_PFuncs(DOMS(Y))
    
letbeobject
        thenw= by A5XCMPLX_1:60java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      consider being  suchthat
: hand
A3:   h.x = y
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 37
foremptyBjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 62
A5A: for xbeing Element  X|Bex y beingElement ofX st Px,y]
      by A3,A4,RAT_1:def 2;
      x hencethesis
      thenfx  YbyPARTFUN1:4;
finalldommm isof;
      
:domfx c( 74
dom = f.  ,A4,:def2;
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  let Y be integer-functions-membered set;
  let f be PartFunc of X,Y;
  n;
   func <> - PartFunc of X /  g DOMS())
  coherence
  proof
    set h = f<+>g;
A1: dom h = dom f /\ dom g by Def41;
    rng h c= I_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 37
   h.= fx +.byA2,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A5considerg2 being Function of X,1suchthat
      by A3,A4,INT_1A: g2is byA28;
      xindom fby A2,def 4;
      then f.x      .ar1
      p being PointTOPREAL java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      then
A6:   dom(f.x)  f be Functionbeof XR^;
        domfx) by A3,A4,VALUED_1:ef 2;
      then y is PartFunc of    of holdsP[,g. from FUNCT_2:sch3A2);
      hence thesis by ;
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 8
  A8: Ball Ballu,s) c=Vby 5
 fbeofXY
  let g beG1by35
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 67
  coherence
  proof
    set h = f<+>g;
A1: dom h = dom f /\ dom g by Def41;
    rng h c= N_PFuncs(DOMS(Y))
    proof
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
      assume y=frt=f.0as java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      er suchthat
A2:   . .(.(r)*. by35
A3:   h.x = y by FUNCT_1:           ..0 -. .| byA9A20A2124,XCMPLX_187;
      reconsider y as Function by A3;
A4:   h.x = f.x + g.x by A2,Def41;hence 
A5:   rng y     0.- n
      by roof
      inby,A2d 44
      then f.x in Y by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 20
domf.  theall domm is Y;
then
A6:   dom(f.xhencebyA3;
      dom y = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      then y is PartFunc   p`2<=-p`1 by A1,EUCLID:522=p1 by A152;
      hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

theorem
  f <+  by A1,A3JGRAPH_3def 1
proof
  set f1 = f<+>g;
 1;
A2: dom(f1
  (f<+(+  f \domg+) ;
  hence
A3: dom(  let X beX empty,be,g1g 
  etx java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
  assume
setg2x;
  then
A5: x in dom f1 bystforxbeing holdsPxfx] from s3A3;
A6: xbeingofX forr1r2of TOPn
  thus (f1<+>java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
    . f.+g. +hx byA5,ef41
    .= f.x
    .= f.x + A:g0pVand
    .(<>g+))xbyA3A4,Def41


theorem
  <->(f<+>g) = (<->: TOPREALn=Euclidnbydef8java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
proof
  et f1 =f<>g,f2 =<-;
A1: dom <->f1 = dom A16: g2.p in G2 by A9,:1,XREAL_1:;
A2: dom f1 = dom f  ofXsuchthat
   -g  gby ALUED_1:8;
  hence
A3: dom <->f1 = dom(f2<+>-g) by A1,A2,Def41;
  let x be object;
  assume
A4: x in dom <->f1;
  then
A5: x  dom  by A1,,BOOLE_0:def 4;
  thus (<->f1).x = -f1.x byjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
    .= -(f.x+g.x) by A1,A4,Def41
    .= -f.x-g.x by Th10
    .= -f.x+(-g).x by VALUED_1:8
    .= f2.x+(-g).x by A5,Def33
    .= (f2<+>-g).x by A3,A4,Def41;
end;

definition
  let Y be complex-      pz=    by ;
   f Yvalued
  let g be complex-valued Function;
  func f<->g -> Function equals
  f <+> -g;
  coherence:|p pz .|2by2
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 43

theorem Th61:
  dom(f<->g) = dom f /\ dom g
proof      (p+2.-g1pz+pz)=g1.+g2p-.z-.byRLVECT_127
    g1p+pz+.+g2. bydef3
    . omf /domg by8;
end;

theorem Th62      then
  dom(-g) (<g. = . -x

  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
  hence (f<->g).x = f.x + (-g).x by Def41
    .= f.x - g.x by VALUED_1:8;
end;

definitionthesisbyA5;
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  letTh13
  func -g -  X / domg, C_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f<->g;
A1: dom h = dom f /\ dom g by Th61;
    rng h c= C_PFuncs(DOMS(Y))

      bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
:h.x  .-g. by A2T;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      x in dom f by 1A2,def4;
      then f.x in Y by PARTFUN1:4g2.r=(.)p2 
      then dom(.x)in the set of all m m s  Yjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      h.x = f.x - g.x by A2,Th62;
      domy =dom(.  A3VALUED_1def2;
      then y is PartFunc     java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 34
byDef8
    end;
    hence thesis Lm7 |,]|= by;
  end;
end;

definition
  let X;
  letY e java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 39
  let f be PartFunc java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 32
  redefine ,KXP,KXN,KYP - ,
  coherence
  proof
    set h = f<->g;
A1: dom h = dom f /\ dom g by Th61;
    rngh  D(Y)
    proof
      let yKXN{where q2is of REAL2
     java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 24
      considerxbeingobjectsuchthat
A2:   x in dom h  K,KYPKYNbe TOP-,OI bePoint I01;
A3:   his continuous& g s oneto-ne&C0=p:|p.<1}java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 s A3
A4:   h.x = f.x - g.xq4|  2q` &q4`2=-`  .OKXPjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 66
A5:   rng yjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 12
      by A3,A4,XREAL_0:def 1;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      f.inYbyPARTFUN14;
     domfx)intheset all mis java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 68
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 2;
      then y is PartFunc of DOMS(Y),REAL by A6,A5,RELSET_1:4;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

finition
  let X;
  let Y be rational-functions-membered   C0,KXP,KXN,KYP,KYN be Subset of TOP-REAL,KXPKKYP,KYNbeSubsetofTOP- 22 ,IbePointI[01;
  let f be PartFunc of XY
  let g be RAT-valued Function;
  redefine func f<->g -> PartFunc of X /\ dom g, Q_PFuncs(DOMS(Y));
  coherence
  proof
    set h = f<->g;
A1: dom h = dom f /\ dom g by Th61;
    rng h c= Q_PFuncs(DOMS(Y))
    proof
      let y be object;
      assume y in rng|q3|1&2>q`&q3`>=q3`1} &
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x - g.x by A2,Th62;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      x in dom f by A1,A2,XBOOLE_0:def 4;
     f.inYPARTFUN14;
      then dom(f.x) in
      
A6   byLm13java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 61
domy .by,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 47
      then y is PartFunc of DOMS(Y),RAT by A6,A5,RELSET_1:4;
      hence thesis by Def14;
    end;
    hence thesis byendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6


definition
   
  A30 domf2= of[] bydef1
  letfbeof XY;
  let g be INT-valued Function;
  redefine func f<->g -> PartFunc of X /\ dom A35: g2. [,] by A26,A31Lm13,:,:
  coherence
  proof
    set h = f<->g;
A1: dom h = dom f /\ dom gjava.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 21
hc DOMSY)
    proof
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
            .h.qf.=.  
       java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 44
x   A15java.lang.StringIndexOutOfBoundsException: Range [41, 37) out of bounds for length 44
A3 h.x = y by : 
yas  A3;
A4:   h.x = f.x - g.x by A2,Th62;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
 indomby A1A,d4;
      then f.x in Y by PARTFUN1:4;
      then dom(f.x) in the set of all dom m Subsetjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom ySTOPREAL2 fromsch1;
      then y is|.=1 & 2=`1&2<-`}as ofTOP2java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      hence thesis by Def16;
([-])`  Lm8;
    hence thesis by A1,RELSET_1:4;
  end;
end;

theorem
  f<>-=f<+ 

theorem
g  <>f) <+g
proof
  set f1 = f<->g, f2 = <->f;
A1: dom <->f1 = dom f1 by Def33;
A2: dom f1 = dom f /\ dom g & dom f2 = dom f byh1"x inrnggbyA59A65def ;
  hence
A3 ,p2p,p4   TOPREAL2
  x bejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
a
A4: x in  f.=  1=p1 & 0=java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 37
  then
A5: x in dom f2 by A1,A2,XBOOLE_0:def 4;
  thus (<->f1).x = -f1.x by A4,Def33
    .= -(LEP
    . -.+. Th11
    .= f2.x+g.x by A5A7:C0{8where p8 is Pointof TOP-EAL 2 |.8|=}and
    . f2<+).by A3,4Def41;
end;

theorem
  f <+> g <-> h = f <+> (g-h)
proof
  set f1 = f<+>g;
A1: dom(g-h) = java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A2: dom(f1<->h) = dom f1 /\ dom e;
  dom f1 = dom f /\ dom g & dom(f<+>(g-h)) = dom f /\ dom(g-h) by Def41;
  hence
A3: domfmeetsgby3
  let x be object;
  assume
 xindom(-h);
  
A5: x in dom f1 by A2,XBOOLE_0:def 4;
A6:  reconsider =h*  Function of I[01,OP-EAL 2java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  thus (f1<->h).A32: f2.1= |[-1,0]| by A9,A25,A30,Lm14,BORSUK_1:40,FUNCT_1:12;
    .= f.x + g.x - h.A33 g2.1= |1|by A11,A26ALBORSUK_1:F:12;
    .= f.x + (g.x - h.x) by Th13
    ) byA6,VALUED_113
    .= (f<+>(g-c C0
end;

theorem
  f <-> g <+> h = f <-> (g-h)
proof
  set f1 = f<->g;
A1: dom(g-h) = dom g /\ dom h by VALUED_1:12;
A2: dom(f1<+>h) = dom f1 /\ dom h by Def41;
  dom f1 = dom f /\ dom g & dom(f<->(g-h)) = dom f /\ dom(g-h) by Th61;
  hence
A3: dom(f1<+>h) = dom(f<->(g-h)) by A2,A1,XBOOLE_1:16;
  let x be object;
  proo
A4: t x being such that
  then
A5: x in dom f1 by A2,XBOOLE_0:def 4;
 x dom(g- A3,A4java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42
thus(<>h).=f1.+h. byA4,
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 37
    .= f.x - (g.x - h.x) by Th14
    .= f.x - ((g-h).x) by A6,VALUED_1:13
    .= (f<->(g-h)).x by A3,A4,Th62;
end;

theorem
  f <-> g <-> h = f <-> (g+h)
proof
  set f1 = f<->g;
A1: dom(g+h) = dom g /\ dom h by VALUED_1:def 1;
A2: dom(f1<->h) = dom f1 /\ dom h by Th61;
  dom f1 = dom f /\ dom g & dom(f<->(g+h)) = dom f /\ dom(then  {   isPoint -
  hence
A3: dom(f1<->h) = dom(f<->(g+h)) by A2,A1,Subset of TOP-REAL 2 from JGRAPH_2:sch 1
  let x be object;
  assume
A4: x in dom(f1<->h);
  then
A5: x in dom f1 by A2,XBOOLE_0:def 4;
 x in dom(+) by A3,,XBOOLE_0:def ;
    {q4isPointof REAL2:P[q4]is
    .= f.x - g.x|q4.=  `<=  2<=-4`1 Subsetof-:
    .= f    "x2rnggby,A59,def;
    .= java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 4
    .= (f<->(g+h)).x by A3,A4,Th62 ,p3, P holds
f one-oone&  t-ne&

definition
   Ybe-memberedset
  let f be Y-valued Function;
  let g be complex-valued Function;
  deffunc F(object) = f.$java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 47
  func f<#>g -> Function means
  :Def43:
  dom it = domsuppose LEp4,1P&LE p2,  p2,Pjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  object st x in dom 
  existence
  proof
    exend;
    in dom f /\ dom g holds F.x = java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 20
    hence thesis;
  end;

  proof
letFGbeFunctionsuchthat
A1: dom F = dom f /\ dom g
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f /\ dom g and
A4: for x being object st
    thus dom F = dom G     then ex p2 st =p2 & p =a &p2`2 <= d& p22> c
    x  object;
    assume
 xdomF
    hence F.x  end;
      .= G.x by A1,A3,A4,A5;
  ;
end;

java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
  let X;
  let Y be complex-functionsA1 a=band
  let f be   p in {p2: p2 in p2 p21=a& 2< &p22>cor
  let g be complex-valued Function;
  redefine func f<#>g -> PartFunc of X /\ dom g, C_PFuncs(DOMS(Y));
  coherence
  
    set  f<g
A1: dom h = dom f /\ dom g by Def43percasesby java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    rng h c= C_PFuncs(DOMS(Y))
    proof
       p2c&a=`1& 1=b;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3 hx =  FUNCT_1d;
A4:   h.x = f.x (#) g.x by A2,Def43;
      then reconsider y as Function by  end
:rng y c=COMPLEX
byA3,XCMPLX_0 2;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y by PARTFUN1:4
           Point ofTOPREAL 2 
      then
A6 dom(. c Y)by ZFMISC_174
      dom y = dom(f.x) by A3,A4,VALUED_1:def 
      then y is PartFunc of DOMS(Y),COMPLEX  funcoutside_of_rectanglea,,,d) -SubsetofTOPREAL 2equals
      hence thesis by Def8;
    end;
    hence thesis by A1{:P[] } = the of REAL2 fromFRAENKELsch10
  end;
end;

definition
  let X;
  letY be-- 
  let f be PartFunc of X,Y;
  let g be real-valued Function;
  redefine func f<a,, being RealKbCb beingSubset  TOP-EAL 2st
  coherence
  proof
    set h = f<#>;
A1: dom h = dom f /\ dom g by Def43;
    rng h c= Cb={p2 where p2 Point  - :|(p2 [,b]).|;
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x (#) g.x by A2,Def43;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
       in domf byA1,2Xd4;
      then f.x in Y by PARTFUN1:4;
x)in the set alldomElement of Yjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
          consid beingof - suchthat
A6:   dom(f.x) c= A7: (ffineMaprar,b)p=|*`1)ar*p2)+|bydef;
      dom y = dom(f.x) by A3,A4,VALUED_1:def 5;
      =r*[p`1)(p`)])byEUCLID
      hence thesis by Def12;
    
    hence thesis by A1,RELSET_1:4;
  end  proof
end;


  let       case
  let Y berational-unctions-membered set;
  let f be PartFunc of X,Y;
  g RAT ;
redefine func f<#>g -> PartFunc of X /\ dom g, Q_PFuncs(DOMS(Y));
A13:    p1=[(/)*p2-|[a,])1(/r*p2-[,b|`]|by EUCLID:java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  proof
    = f#>;
A1: dom h = dom f /\ dom g by          =*p2
    rng h c          =p21-aby52java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    proof
      let y be object;
      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 24
      then consider x being object such that
p111by52
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
      reconsider p1 A1;
A4:   h.x = f.x (#) g.x by A2,Def43;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      x in dom f hencebyA2java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      then f.x injava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      then dom(f.x) in the set ofjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      then
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
      y=domf. A3A4,def5;
      then -java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 60
      hence thesis by Def14;
    
    hence thesis java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
end;

definition
  let X;
  let Y be integer-  dom f=[#]2)P byA3def5;
letfbe ofX,Yjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  let g be INT-valued Function;
 redefine func#g - java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 67
  coherence
  
h=f<>;
A1: dom h = dom f /  a,br  Real,Cb beSubsetofTOP-2
    rng and
    proof
      let y be object;
     assume y in rng h;
      then consider x being object such that
A2    indomh 
A3:   h.x = y java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 39
      reconsider y as Function by A3;
   .  .(#).by A2,ef43;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      {q whereq ElementTOP-2:q}
      then dom(f.x) in thethen java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 75
      then
A6:   dom(f.x) c= DOMS(Y) by ZFMISC_1:74;
      dom  domf.) A3A4VALUED_1:def5
      then y is PartFunc of DOMS(Y),INT by A6,A5,RELSET_1:4;
      hence thesis by Def16;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X;
  Y bejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 42
  let f be PartFuncA12:rng   S|b):(thecarrier  (TOP-EAL 2)|b) by
enatural-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 35
   funcf<>> of  /  g N_PFuncs(DOMS(Y))java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  coherence
  proof
    set h = f<#>g;
A1: domlet a,,rbe java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    h c (Y)
    proof
      let y be object;
      assume java.lang.StringIndexOutOfBoundsException: Range [13, 7) out of bounds for length 7
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y asregistration
A4:   h.x =  cluster circle(a,br) - compactjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A5   rngy c 
      by A3A1 r< 0;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y by PARTFUN1:4;
      java.lang.StringIndexOutOfBoundsException: Range [60, 10) out of bounds for length 68
      then
A6      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
. A3,4,ALUED_1:def5;
      then y is PartFunc of DOMS(Y)A2   ;
      hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

theorem
  f <#> -g = (<        .|ab]-|a,] |=0by TOPRNS_1:;
proof
  set f1 = <->f;
A1: domend
  dom(f1< be Real;
  hence
  circleab, -> java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  let x be object;
  assume
A3: x in dom(f<#>-g);
  then
:xin dombA1XBOOLE_0def4
  thus(<>g. f. by RLVECT_1:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    .=en |[r+a,b]| in Cb;
. (-.x)#g. Th22
    .= f1.x(#)g.x
    .= (f1<#>g).x by A2,A3,Def43;
end;

theorem
  f <#> -g = <-> (f <#> g)
proof
  hencethesis;
A1: dom(<->f1) = dom f1 by Def33;
  let a,, Real;
  hence
A2: dom(f<#>-g) =  proof
  let x be object;
  assume
A3: x in dom(f<#>-g);
  henceendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    .= f.x(#)-g.x by VALUED_1:8
. -f.x#g.)byTh24
    .= -f1.x by A1,A2,A3,Def43
    .= (<->f1).x by A2,A3,Def33;
nd


  f <#> g <#> h = f <#> (g(#)h)
proof
  set f1 = f<#>g;
)=java.lang.StringIndexOutOfBoundsException: Range [50, 20) out of bounds for length 50
A2: dom(f1<#>h) = dom f1 /\ dom h by Def43;
  dom f1 = dom f /\ dom g & dom(f<#>(g(#)h)) = dom f /\ dom(g(defpredPointR ]|$1|r;
  hence
A1XBOOLE_116;
  letx beobject;
  assume
 xindom(f1#h;
  then
A5: x  PP - 2 java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 15
thus#h. x # . A4Def43
    .= f.x (#) g.x (#) h.x by A5,Def43end
    .= f.x (#) (g.x * h.  defpred Q[Point of TOP-means.$.|r
    .=  (,,) F(p:P[p]}
    .= (f<#>(g(#)h)).x by A3,A4,Def43;
end;

definition
  let Y be complex00r) F(p:P[p}
  let f be Y-valued Function;
  g be Function;
  func f</>g -> Function equals
   # g)
  coherence[java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
end;

theorem Th71:
  dom(f</>g) = dom f /\ dom g

  thus dom(f</>g) = dom f /\ dom(g") by Def43
    .= dom f /\ dom g by VALUED_1:def 7;
end;

theorem Th72:
  x in dom(f</>g) implies (f</>g).x = f.x (/) g.x
proof
  assume x in dom(f</>g);
  hence (f</>g).x = f.x (#) (g").x by Def43
    .= f.x (/) g.x by VALUED_1:10;
end;

definition
  let X;
  let Y be complex-functions-membered set;
  let f be PartFunc of X,Y;
  let g be complex-valued Function;
  redefine func f</>g -> PartFunc   proof
  coherence
  proof
    f</>g = f <#  and
    hence thesis by VALUED_1:def 7;
   qxand
end;

definition
  A9: :q0R ;
  let Y beA10    .qby JGRAPH_3d;
  let  exp2 being  of -REAL 2st p2= & |p2.|1 by A3,A4Ajava.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
  let g be real-valued Function;
  redefine func f</>g -> PartFunc of X /\ dom g, R_PFuncs(DOMS(Y));
  coherence
  proof
    f</>g = f <#> (g");
    hence thesis by VALUED_1:def 7;
  end;
end;

definition
  let X;
  let Y be rational-functions-membered set;
  let f be PartFunc of X,Y;
  let g be RAT-valued Function;
  redefine func f</>g -> PartFunc of X /\ dom g, Q_PFuncs(DOMS(Y));
  coherence
  proof
    f</>g = f <#> (g");
java.lang.StringIndexOutOfBoundsException: Range [28, 4) out of bounds for length 35
  end;


theorem
  f <#> g </> h = f <#> (g/"h)
proof
  set f1 = f<#>g          =(q12/+q2q1)^)(q2)/(+q2/`1^2)2
A1: dom(g/"h) = dom g /by ,: java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A2: dom(f1</>h) = dom f1 /\ dom h by Th71;
  dom f1 = dom f /\ dom g & dom(f<#>(g/"h)) = dom f /\ dom(g/"h) by Def43;
  hence
A3: by,XCMPLX_1:60
  let x be object;
  assume
A4: x in dom(f1</>h);
  
A5: x in dom f1 by A2,XBOOLE_0:def 4;
  thus (        A19SQUARE_1:22;
    .= f.x (#) g.x (/) h.x by A5,Def43
    .=
    . .x( (/h. by17
    .= (f<#>(g/"h)).xA21:   Sq_Circq=|q1sqrt(1+1/2)2),2/qrt1(`/`2^2 )|
end;

definition
  let Y1, Y2 be complex-functions-membered set;
  let f be Y1-valued A24:    1+(q`1/q`2)^2>0 by+`/)^20by XREAL_13463;
  let g be Y2-valued Function;
Fo  f$g.1;
  func f<++>g -> Function means
  :Def45:
  dom it = dom f /\ dom g & for x being
  object st x in dom it holds it.x = f.x + g.x;
  existence
  proof
    ex F being +(q`2)^2/(sqrt+q`/q`2)2)2 by 76
    in dom f /\ dom g holds F.x = F(x) from FUNCT_1:sch 3;
    hence thesis;
  end;

  proof
    let F,G be           .=((q`1)^2+(q2^2)/1+(`/q`)2)by XCMPLX_1:
:F  f /  gand
A2: for x being object st x in dom F holds F.x = F(x) and
A3: dom G = dom f /\ dom g and
 stx in domG G. = 
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be complex-functions-membered set;
  let f be PartFunc of X1,Y1;
  let gby 81
  redefine func f<++>g -> PartFunc of X1 /\ X2, C_PFuncs(DOMS(Y1)/\DOMS(Y2));
  
  proof
    set h = f<++>g;
   / gby Def45
    rng h c= C_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4929:|p2.|  A1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      then reconsider y as Function by A3 
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def     case
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      y= f. \ domg.) A4,def1;
      then y is PartFunc  sqrt1+`/`1)2> by SQUARE_1:;
,XBOOLE_1:27;
      hence A41:  q`1=q`1*sqrt(1+(q`2/q`1)^2)/(sqrt(1+(q`2/q`1)^2))by A38,XCMPLX_1:89
    end;
thesisby RELSET_1:XBOOLE_127;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be real-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be        2=0 byA38,,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
  2*(+q2q`)^)<(-`1)*qrt1+q2/12
  coherence
  proof
    set h = fA51:  `=q1&(q1*qrt(+q`/q)2)<=q2*java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 71
f/  gby Def45java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
    rng h c= R_PFuncs(DOMS(Y1)/\DOMS(Y2))
    roof
      let y be object;
      assume y in rng h;
      then consider x being object such       
x in domh
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4(px1)2/sqrt(1+px`/x1^)^+`2/sqrt(+px2/px`)2)^  java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
A5:   rng y c^<1 by76
      by A3,A4,XREAL_0:def 1;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      theng. in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element      then (px`)^2/1+px2/x`1)^2+px`)2/1(x2/`)2<
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 1;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),REAL by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be rational-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<++>g -> PartFunc of X1 /\ X2, Q_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherence
  proof
    set h = f<++>g;
A1: dom h = dom f /\ dom g by Def45;
    rng h c= Q_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + g.x by A2,Def45;
A5:   rng y c= RAT
      by A3,A4,RAT_1:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x)in theset of all dom mwhere m isElementof Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 10
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 1;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),RAT by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def14;
    end;
    hence thesis by       then px in Kb by A1,A62,A63;
  end;hencejava.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 70
end;

definition
   let X1, X2 be set;
  let Y1, Y2 be integer-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<++>g -> PartFunc of X1 /\ X2, I_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherence
  roof
    set h = f<++>g;
A1: dom h = dom f /\ dom g by Def45;
    (Y2))
    proof
      let y be object;
      assume y in rng h;
     then consider x  object such that
2 x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + g.x by A2,Def45;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 1;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),INT by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def16;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X1, X2 be set;
  let 1, Y2 be natural-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<++>g      q`1<q`  -`2<=`1 or q`>q`2 
  coherence
  proof
    set h = f<++>g;
A1: dom h = dom f /\ dom g by Def45;
    rng h c= N_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x + g.x by A2,Def45;
:  rng y c= NAT
by A4ORDINAL1def ;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
then f.x in Y1 by PARTFUN1:;
      then dom(f.x) in the set of all dom m where m is Element of Y1;

   dom(.  DOMS(Y1)byZFMISC_1:
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 1;
thenyisPartFunc of DOMS(1/DOMS(Y2)NATby A7,6A5,RELSET_1:
,XBOOLE_1:27;
           hence thesis by Def18;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end

theorem
  f1 <++> f2 = f2 <++> f1
proof
  dom(f1<++>f2) =      then
  hence
 (x`^*px`)2+(2^*px`)2-px2^*)(px1^
 let x  objectjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
  assume
A2: x in dom(f1<++>f2);
hence (f1<+>).=f1.x +f2.byDef45
    .= (f2<++>f1).x by A1,A2,Def45;
end;

theorem
  f <++> f1 <++> f2 = f <++> (f1 <++> f2)
proof
  set f3 = f<++>f1, f4 = f1<++>f2;
A1: dom(f3<++>f2) = dom f3 /\ dom f2 by Def45;
A2:dom(f<++>f4) = dom f /\ dom f4 by Def45;
  dom f3 = dom f /\ dom f1 & dom f4 = dom f1 /\ dom f2 by Def45;
  hence
A3: dom(f3<++>f2) = dom(f<++>f4) by A1,A2,XBOOLE_1:16;
  let x be object;
  assume
A4: x in dom(f3<++>f2);
  then
A5:xindom f4 by A2,A3,XBOOLE_0: 4
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3<++>f2).x = f3.x + f2.x by A4,Def45
6,Def45
    .= f.x + (f1.x + f2.x) by  Cb{where p2is Pointof TOP-EAL2 .2.1;
    .= f.x + f4.x by A5,Def45
    .= ( proof
end;

theorem
  -> ( +>f2)= (-1)<+> (<->f2)
proof
  set f3 = f1 <++> f2, f4 = <->f1, f5 = <->f2;
A1: dom(f1 <++> f2) = dom f1 /\ dom f2 by Def45;
A2: <-f2= dom f2 by Def33;
A3: dom <->f3 = dom f3 by Def33;
A4: dom <->f1 = dom f1 by Def33;
  
A5: dom(<->f3) = dom(f4<++>f5) by A1,A2,A3A6:q>.-REAL   q2=q1&-`<q`2 orq2>=q` &q`
  let x be object;
  assume
A6: x in dom(<->f3);
  then
A7: x in dom f4 by A1,A4,A3,XBOOLE_0:def 4;
A8: x in dom f5 by A1,A2,A3,A6,XBOOLE_0:def 4;
  thus (<->f3).x = -f3.x by A6,Def33
    .= -(f1.x+f2.x) by A3,A6,Def45
    .= -f1.x-f2.x by Th17
    .= f4.x + -f2.x by A7,Def33
      . f4.x +f5. by A8,Def33
    .= (f4<++>f5).x by A5,A6,Def45;


definition
  let Y1, Y2 be complex-functions-membered set;
  let f be Y1-valued Function;
  let g be Y2-valued Function;
               1<q`1 or-q1<- byXREAL_1:24;
  func f<-->g -> Function means
  :Def46:
  dom it = dom f /\ dom g & for x being
  object st x in dom it holds it.x = f.x - g.x;
  existence
  proof
     F beingFunction st  F  domf /dom g&for x being object stx
    in dom f /dom g holds F.x =Fx from FUNCT_1:sch 3;
    hence thesis;
  end;
  uniqueness
  
    let F,G be
A1: dom F = dom f /\ dom g and
A2: for x being object st x in dom         |
A3  .=(q`^2+q`)2/1+/q`1)^2)62
 xbeing x dom Gholds .=Fx)
    thus dom F = dom G by A1,A3;
    let x be object;
    assume
A5: x in dom F;
    hence F.x = F(x) by A2
      . .by A1,A3,A4,;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be complex-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<-->g -> PartFunc of X1 /\ X2, C_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherence
  proof
    set h = f<-->g;
  h=dom f /\ dom by Def46
    rng h c=         `1q`)2 by EUCLID:;
    proof
      let y be object    |q1/1+1q2)^)q2/java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 79
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
A4:   h.x = f.x - g.x by A2,Def46;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
java.lang.StringIndexOutOfBoundsException: Range [14, 6) out of bounds for length 41
      then g.x in Y2 by PARTFUN1:4;
t ofall  mwhere m is Element of
      then        not(- <q`1 &q`1<=1) implies ->`2 or q`>
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f. = DOMS(Y1) by:74;
)by A3,,VALUED_1:12java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),COMPLEX by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def8;
    ;
    hence thesis by A1,RELSET_1:4,XBOOLE_1:27;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be real-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
redefinef-g - of / X2 (OMSY)\OMS(Y2);
        .(|`1/qrt1q1/`2^),`/qrt1(/q2)^)|.|
  
    set h = f<-->g;
A1: dom h = dom f /\ dom g by Def46;
    rng h c= R_PFuncs(DOMS(Y1)/\DOMS(Y2))
    
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x =:ef java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      reconsider y as Function by A3;
A4:   h.x = f.x - g.x by A2,Def46;
A5:   rng y c= REAL
      by A3,,XREAL_0:def 
      x in           .=(q`)2+q`)^)/q`)2(q`)2+q2)^/q`)2
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element of Y2;
     then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f        then|([`/qrt(+q1/2^)q`2sqrt(+`/`)2]|.>
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x)     hence thesis by A1;
      then y is java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 18
,XBOOLE_1:27;
      hence thesis by Def12;:|p2|  ;
    end;
    hence thesis by A1,      hence contradiction by A3,OPRNS_123java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  end;
end;

definition
  let X1, X2 be set;
  letY1, Y2 be rational-unctions-embered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<-->g -> PartFunc of X1 /\ X2, Q_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherenceA40 |..21^2 by 30,SQUARE_1:;
  proof
    set h = f<-->g;
A1: dom h = dom java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 15
    rng h c= Q_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function by A3;
A4:   h.x = f.x - g.x by      then
A5:   rng y c= RAT
      by A3 or px`>px1&px`<-x` byA32,A34,REAL_1:;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      thend ;
      then (g.x in the set ofall dom where Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m java.lang.StringIndexOutOfBoundsException: Range [52, 32) out of bounds for length 32
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:12;
      then y is PartFunc of DOMS(Y1)/DOMSY2,  A7,A6A5,
,XBOOLE_1:27;
f14;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    hence thesis by A1,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be integer-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<-->g -> PartFunc of X1 /\ X2, I_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherence
  proof
    set h = f<-->g;
A1:dom h =df /dom  by Def46;
    rng h c= I_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
       y be ;
      assume y in rng h;
      consider x being object  that
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3;
      reconsider y as Function       then px`1^ or px`<- by SQUARE_1:49;
A4:   h.x = f.x - g.x by A2,Def46;
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
     x in dom fby A1,,XBOOLE_0: 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:12;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),INT by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def16;
    end;
hence thesis by RELSET_1:4java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  end;
end;

theorem
  f1 <--> f2 = <-> (f2 <--> f1)
proof
  set f = f2<-->f1;
A1: dom(f1<-->f2) = dom f1 /\ dom f2 & dom(f2<-->f1) = dom f2 /\ dom f1 by
Def46;
  
A2: dom(f1<-->f2) = dom<->f by Def33;
   let x be object;
  assume
A3: x in dom(f1<-->f2);
  hence (f1<-->f2).x = f1.x-f2.x by Def46
    .=       
    .= -f.x by A1,A3,Def46
    . <->)x by A2,A3,ef33
end;


  <- f <--> ) (-f1) <+ f2
proof
   f3 = f1 <--> f2,f4  <>;
A1: dom <->f3 = dom f3 by Def33;
A7:  px`1^2>0by XREAL_1:3;
  hence
A3: dom(<->f3) = dom(f4<++>f2) by A1,Def45;
  let x be object;
  assume
A4: x in dom(<->f3);
  then
 xindom byA2A1: ;
  thus (<->f3).x = -f3.x by A4,Def33
    .= -(f1.x-f2.x) by A1,A4,Def46
    .= -f1.x--f2.x by Th17
    .= f4.x + f2.x by A5,Def33
    .= (f4<++>f2).x by A3,A4,Def45      +(px`1)^/1(`/2))(1+px1px2^)>1 *1+px`1/px`)2;
end;

theorem
  f <++> f1 <--> f2 = f <++> (f1<-->f2)
proof
    <+f1 f4=f1->f2
A1: dom(f3<-->f2) = dom f3 /\ dom f2 by Def46;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 10
  dom f3 = dom f /\ dom f1 & dom f4 = dom f1 /\ dom f2 by Def45,Def46;
  hence
A3: dom(f3<-->f2) = dom(f<++>f4) by A1,A2,XBOOLE_1:16;
  let x be object;
  assume
A4: x in dom(f3<-->f2);
  then
A5: x in dom f4 by A2,A3,XBOOLE_0:def 4;
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3<-->f2).x =  Cbbeing TOPREAL2 st
    .= f.x + f1.x - f2.x by A6,Def45
    .= f.x + (f1.x - f2.x) by RFUNCT_1:8
    .= f.x + f4.x by A5,Def46
    .= (f<++>f4).x by A3,A4,Def45;
end;

theorem
  f <--> f1 <++> f2 = f <--> (f1 <--> f2)
proof
  set f3 = f<-->f1, f4 = f1<-->f2;
A1:A3:y= by :def 6
A2: dom(f<-->f4) = dom f /\ dom f4 by Def46;
  f3 =dom f / dom  f4=domf1 / java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 64
  hence
A3: dom(f3<++>f2) = dom(f<-->f4) by A1,A2,XBOOLE_1:16;
  let x be object;
  
A4: x in dom(f3<++>f2);
  then
: x in dom f4 by A2,A3,XBOOLE_0:def 4;
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3<++>f2).x = f3.x + f2.x by A4,Def45
    .= f.x - f1.x + f2.x by A6,Def46
    .= f.x - (f1.x - f2.x) by RFUNCT_1:22
    .= f.x - f4.x by A5,Def46
    .= (f<-        `/`1^2) by EUCLID:52java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;

theorem
  f <--> f1 <--> f2 = f <--> (f1 <++> f2)
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 42
  f3 =<-f1 f4  ++
A1: dom(f3<-->f2) = dom f3 /\ dom f2 by Def46;
A2: dom(f<-->f4) = dom f /\ dom f4 by Def46;
  dom f3 = dom f        A15,def2
  hence
A3: dom(f3<-->f2) = dom(f<-->f4) by A1,A2,XBOOLE_1:16;
  let x be object;
  assume
4x indom(->f2);
  then
A5:xin dom f4 byA2,A3,:ef 4
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3<-->f2).x = f3.x - f2.x by A4,Def46
    .= f.x - f1.x - f2.x by A6,Def46
    .= f.x - (f1.x + f2.x) by RFUNCT_1:20
    .= f.x - f4.x by A5,Def45
    --.A3A4,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;

theorem
-->
proof
  set f3 = f<-->f1, f4 = f<-->f2;
A1: dom(f3<-->f2) = dom f3 /\ dom f2 by Def46;
A2: dom(f4<-->f1) = dom f4 /:`/`22 by:;
  dom f3 = dom f /\ dom f1 & dom f4 = dom f /\ dom f2 by Def46;
  hence
A3: dom(f3<-->f2) = dom(f4<-->f1) by A1,A2,XBOOLE_1:16;
  let x be object;
  assume
  domf3--);
  then
A5: x in dom f4 by A2,A3,XBOOLE_0:def 4;
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
(->f2). =f3.x - f2. byA4D
    .= f.x - f1.x - f2.x by A6,Def46
    .= f.x - f2.x - f1.x by RFUNCT_1:23
          .(`1^/1(`/2)2)+2^/sqrt1+`/`2)^)^2
    .= (f4 .(`)2(+q1q`2)2)+q`^/+q`1/q2)^2)
end;

definition
  let Y1, Y2 be complex-functions-membered set;
 letf Y1-;
  let g be Y2-valued Function;
  deffunc F(object) = f.$1(#)g.$1;
  func f<##>g -> Function means
  :Def47:
  dom it = dom        byA27,SQUARE_1:22java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  object st x in dom it holds it.x = f.x (#) g.x;
  existence
  proof
    ex F being Function st dom F = dom f /\ dom g &  p2beingPoint ofTOPREAL2such that
     /d  F.=Fx : ;
    hence thesis;
  end;
  uniqueness
  proof
    let F,G be Function such that

A2: for x being object st x in dom F holds F.A33: Sq_Circ"y= by A28,A30,GRAPH_3:28;
A3: dom G = dom f /\ dom g and
A4: for x being object st x in dom G holds G.x = F(x      hence ex x being set st x in dom Sq_Circ & x in Kb  yS.
    thus dom F = dom G by A1    end;
    let x be object;
    assume
5 indom F;
    hence F.x = F(x) by A2
      .= G.x by A1,A3,A4,A5;
  end;
end;

inition
  let X1, X2 be set;
  let Y1, Y2 be complex-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<##>g -> PartFunc of X1 /\ X2, C_PFuncs        =px2sqrt(+`2q12)52;
  coherence
  proof
    set h = f<##>g;
A1: dom h = dom f /A48    q`*sqrt1+q2/`1)2)=0 by EUCLID
    rng h c= C_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
A2   xin dom h and
A3:   h.x = y A51:  q`2<=q`1 &q`1*qrt1(q`2/1)^)< 2*sqrt1+q2q1)^)
A4:   h.x = f.x (#) g.x by A2,Def47;
      then reconsider y as Function by A3;
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
en x inY2by:java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      
A6:   dom(: px`2sqrt(+px`/`)2=q`2 byA37,A38A,XCMPLX_1:89;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 4;
      theny is PartFuncofDOMSY)\DOMS(2)COMPLEX by ,,R:
,XBOOLE_1:27;
      hence :: This code can be distributed under the GNU General :: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
    ;
    hence thesis by       CARD_3, ORDINAL4, RFINSEQ, XBOOLE_0, NEWTON, EULER_1, FINSET_1,
   java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 45
end;

definition
  java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 27
  let Y1, Y2 be real-functions-membered set;
  let f be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7

  redefine func f<##>g -> PartFunc of X1 /\ X2, R_PFuncs(DOMS(Y1)/\DOMSthen (x`)2(x2^2-)*java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 5


    : =
pr
rngc       = ((px`1)^2-1)*()+`22;
    proof
      let y be object;
       y ;
           
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 22
:.x by: ;
econsideras;
A4:   h.x = f.x (#)
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 19
A3,java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29
      x in dom g by A1,A2,XBOOLE_0:def 4;
s-(km*);
      then dom(g. 
     java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
g)=Y):;
      xindomf by AXBOOLE_0d4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 4;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2A69:1(px`/x2^> by XREAL_1:,63;
,XBOOLE_1:27;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, q21(`1/q`2)^2=0 byA76,52;
  let f be PartFunc of X1,Y1;
  let g be hence contradiction by A64,A78;
  redefine func f<##>g -> PartFunc of X1 /\ X2, Q_PFuncs(DOMS(Y1)/\DOMS(Y2));
  coherence
  proof
    set h =   `<q2 & -`2)**qrt((`/`2) ^)
A1: dom h = dom f /\ dom g by Def47;
    rng h c= by A66,A6764;
    proof
java.lang.StringIndexOutOfBoundsException: Range [22, 6) out of bounds for length 22
           xx af java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      then consider x being object such that
x   and
A3:   h.x = y by    : 4;
      java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 37
:    .(byA2,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
: y=RAT
by,Rdef;
xA86 px12>0b XREAL_1
      then g.  max(m-1)=- by :;
      then dom(g.x) in the set of all dom m where m is Element       then
      then
   dom(x) c=DOMSY2)by74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      by: 2
      A14: g =g|^g^)byRFINSEQ8
     
:dom(x =DOMSY1)7;
     y  fx)/ domg cardnx)card(a{}  (|)**>gm)x}by
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 73
,XBOOLE_1:27;
hence Def14;
;
=java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 66
  ;
end


  let X1, X2 be set;
  Y1,Y2  -- set;
  let f be       then
 gbeof ,;
func<# >PartFuncofX1/ ,((/DY2)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77

  proof java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
    set h = f<##>      stdomfmodm Seg byjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57

    ((1)\OMS(Y2)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    proof
      let y be object;
assumey in rng h;
      then
A2:   x in dom       then dom(Ff  
A3:   h.x =for-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 53
      reconsider y as let f be integer-valued FinSequence
A4:   h.x = f.x (#) g.x byassume
A5:   rng y c= INT
      by A3,A4,INT_1:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x)     in java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 24
      then
A6:   dom(g.x) c= DOMS(Y2A4 = and
       inindomf A1A2,d ;
      then f.x in Y1 by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 15
thendomfxithesetofmwheremis ;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:def 4;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),INT by A7,A6,A8:     q<>0.TOP-REAL 2 & (q`2<=q`1 & -q`1<=q`2 or q`2>=q`1 & 
X:27
      hence let  be ;
   end;
      A1RELSET_14;
  end;
end;

definition
  let X1, X2 be set;
   --set;
  let f be PartFunc of X1,Y1;
let    modm| mod m  ,
 mby:java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  
 integer
    set h = f<#>g;
 h=f/domgbyjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    rng h c= N_PFuncs(DOMS(Y1)/\DOMS(  >0&   &anm=  mod& n
    proof:m=  
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
    in hjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      then consider x being object suchthen
:indom 
  f beinginteger-   ( m m= modm
y java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
A4:   h.x = f.x (#) g.x by A2,Def47;
        =(`11)/
 java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
      x in dom        +2^2(qrt1+2(`))^2))2by 76
      then g.xendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      then dom(g.x) in the set of all dom m where m
      then
A6:   dom(g    dom ((#(     dom (a(#)(F mod m^)(+`)/12by 76
x   A1A,: 4;
f.b 4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      then dom(f.x) in the set of all dom m where m is Element      .(*F. )) modm  A6,Def1
      
(   FbyA4java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      dom y = dom(f.x) /\ dom(g.x) by A3,A4   F,Gbeing-  
 PartFunc  Y1\Y2)NATAA4
,XBOOLE_1:27;
      hencexasofjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    0TOP-2 q2<` <q2orq2= q<-1java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
A21    .|`/+1/)2q/1q/2^ ]
  end;
end;

:
  f1 <##> f2 = f2 <##> f1
proof
  dom(f1<##>f2) = dom f1 /\ dom f2 by Def47;

A1: dom;
  let x (*  )  m  (F   (G modm)
  assume
A2: x in dom(f1<##>f2);
hence f1<#>). =f1. (#) . by 
    .=(2#>)xbyA1A2,
end;


  (f      (*(F ^ G)) mod m).x = ((a*(F ^ G)          1=;
proof
  f3=f<        (a*mod) ()modm)x  (*) mod )xby ,11java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70

 (#>   \ dom f4 by ;
  :(
  
:(<>)=dom<java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 12
  let x be object;
  assume
4  f3#>)
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A5: x in dom f4 by A2,henceA9java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A6: x in dom f3 A6: x in dom f3 by,ma
(3<#>.  x(#)f2  A4Def47
    .= f.x (#) f1.x (#) f2    a| b1)=(  )( ^1 8
. . )(.x ()f2x  9
 .# .xbyA5Def47
    
end;

theorem
  (<-java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
proof
  set f3 = f1<##>f2, f4 = <->f1;
1:dom f3   f1modm   Xjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
)=f4/  f2 
  hence
A2: dom(f4<##>f2) = dom(<->f3) by A1,Def33;
x  objectjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  assume
A3: xA12 * <m A2N1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 
let objectjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
:  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
  thus  end;
    .= (-(f1.x)) (#) f2.x by A5,Def33
    .= -(f1.x) (#) f2.x by Th25
    .= -f3.x by A4,Def47
    .= (<->f3).x by A2,A3,Def33;
end;

theoremjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
  f1         then gcd  =m*gcd *( m*+j)by 
proof
 set f3 =f1##, f4 =<>;
A1: dom f3 = dom f1 /\ dom f2 & dom       then reconsider
  dom(f1<##>f4) = dom f1 /\ dom f4 by Def47;
  hence
A2: dom(f1<##>f4) = dom(<->f3) by A1,Def33;A41:|q.^=`^+`2^2 by JGRAPH_31java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 object
  assume
A3: x in dom(f1<#  
  then
A4: x in dom f3 by A1,Def47;
  then
  A29: s >= 1 & =m ;
  thus (f1<##>f4).x = f1.x (#) f4.x by A31: end;
    .= f1.x (#) -f2.x    tm = (a*t)-*(*) div ) by,A31N:63java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    .= -(f1.x) (#) f2.x by Th25

.<f. 
end;

theorem Th87:
  f <##> (.x|px1sqrt(+px2px1^2),px`2/1+/x1)2 &x>java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
proofjava.lang.StringIndexOutOfBoundsException: Range [24, 5) out of bounds for length 42
  set f3 = f<# 
:(f>)=dom \;
A2: dom f5 = dom A38 domFX=domFYjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  mex  rngFY;
  dom f3 = dom f /\       reconsider y as Ep`))/qrt1px`/)2)(//+px`px12)2> 1

: java.lang.StringIndexOutOfBoundsException: Range [74, 6) out of bounds for length 74
 ;
  assume
A5: xp2(^>1 *1+px2/1^)by87
  
  (1^2+2^-  end
  java.lang.StringIndexOutOfBoundsException: Range [12, 6) out of bounds for length 71
A8: x          rng bya35,:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 f<>f5)x  .# f5xbyA5Def47
    .= f.x (#) (f1.x + f2.x) by A7,Def45
    .= f.x (#) f1.x + f;
    3+.x# .xby,      then (px`1)^2-1+1>=0+1 by XREAL_java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    =f3x +f4. by 
    .= (f3<++>f4
end;

theorem A58  <0   (`<q1 <q`2 2=` `<q;
  (f1<++>f2) <##> f = (f1<##>f) <++> (f2<##>f)
proofthen
 f3=f1<#f   <# 5 +f;
A1: f1<##>
<>f=f # by
A63  1+px`/x`2)2> by :34
end(|1)=n1:;

theorem Th89then (roduct(FY|(+1))   (FY|n*FY.(+)   by
  f <##> (f1<-->f2) = modm  A67,,73,:,:java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
proof
   <>,=f##f2   f1->
.a| (|n+)*F|n) mod m byA72java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
2 f5=f1 /\  byDef46;
 (<>f4    /f4by;
           contradictionby A58,
  hence
A4: dom(f<##>f5)  proof11+1q^  -`2)sqrt+`1`2)
  let x be object;
  assume
  
  then
:  dom A3AX
A7: x in dom f5 by A1,A5          +< n)6
A8: x in dom f4 by A3,then
  thus (f<##>          then
. ()(1.- .)by A7
.       ,:,:4
. -.(java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    .= f3A77e;
    .= (f3<-->f4).t
;

theorem
  (f1<-->f2) <##> f = (f1<##>( m=(  A62T
NOW
  set          (px`2)^px2^/sqrtpx/`2)2(`1^/(+`12^)
pjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
        A63assume k divides÷sjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 39
;


definition
  Y1Y2be-java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47

  let g be Y2-A1: for n st P[n] holds P[n+1]`)2)*+(1/2^) roof
  deffunc F(object) mod )(mod) by 6
then
  :Def48:
   = dom /g x 
  object st x in dom it java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 4

  proof
    ex F being Function st dom F = dom f /\ dom g & for x being java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 16
    Fx  () :ch;
    hence thesis;

  uniqueness
  proof
    px^-1=&(`1^+px     and
A1aA2A5,,A7
:forx objectstxindom F Fthenpx inKb A1;
: G  /  
A4: for x being object st x java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
    thus dom  |  m,   m
    let x be object;
    assume
: dom;
hence.x ( by A2
::L/enwjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 82
A1:mis;


definition
  let X1, X2 be set;
  let Y1, Y2 be complex-functions-membered set;
  let f be PartFunc
  let g be PartFunc of X2,Y2;
  redefine func f<//>g -> PartFunc of X1 /\ java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 13
  coherence
  proof
    set h = f<//>g;
A1: dom h = dom f /\ dom g by Def48;
    rng h c= C_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      A10 =;
      assume y in rng h;
enx beings
A2:   x in dom h and
A3:   h.x = y by FUNCT_1:def 3  PPointof R2 
A4:   h.x = f.x /" g.x by A2,Def48;
     java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
A5:   rng y c= COMPLEX
      by A3,A4,XCMPLX_0:def 2;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x  . {q:[q}from s3(A15);
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set of all dom m where m is Element of Y1;
      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = domf:= P11byA9A,Th28
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4
,XBOOLE_1:27;
      hence thesis by Def8;
    end;
    hence thesis by A1,RELSET_1:4,XBOOLE_1:27;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be real-functions-membered set;
  let f be PartFunc of X1,Y1;
  let g be PartFunc of X2,Y2;
  redefine func f<//>g -> 
  coherence
  proof
    set h = f<//>A2: c < d;
A1: dom h = dom f /\ dom g by Def48;
    rng h c= R_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
     y beobject
      assume y in rng h;
      then consider x beingA5 p101= b by :;
A2:   x in dom h and
A3:   h.xA7:L1 c= LSeg(p0p
      reconsider y as Function by A3;
A4:   h.x = f.x /" g.x by A2,Def48;
A5:   rng y c= REAL
      by A3,A4,XREAL_0:def 1;
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2A10:p2 =d and
      then dom(g.x) in the set of all dom m where m is Element of Y2;
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1: reconsider =(p2-/dc) asReal
      x in dom f by A1,A2,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 35
      then f.x in Y1 by PARTFUN1:4;
      then dom(f.x) in the set         d-c>=p`2-c by A10,XREAL_1
      
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom A16    1lambdac+java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
     isofDOMS()\Y2,by A7,A6,A5,RELSET_1:4
,XBOOLE_1:27;
      hence thesis by Def12;
    end;
    hence thesis by A1,RELSET_1:4;
  end;
end;

definition
  let X1, X2 be set;
  let Y1, Y2 be rational-functions-membered set;
  let f be PartFunc of X1,
  let g be PartFunc of X2,Y2;
   </g ->PartFunc of \ X2, Q_PFuncs(DOMS(1/\OMS(2))java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  coherence
  
    set h = f<//>g;
A1: dom h = dom f /\ dom g by Def48;
    rng h c= Q_PFuncs(DOMS(Y1)/\DOMS(Y2))
    proof
      let y be object;
      assume y in rng h;
      then consider x being object such that
x in and
   h. =  by : 33
     yasbyA3
A4:   h.x = f.x /" g.x by A2,Def48;
A5:   java.lang.StringIndexOutOfBoundsException: Range [40, 9) out of bounds for length 40
byA3A,d2
      x in dom g by A1,A2,XBOOLE_0:def 4;
      then g.x in Y2 by PARTFUN1:4;
      then dom(g.x)      =1* lambdaa by 3,EUCLID52
      then
A6:   dom(g.x) c= DOMS(Y2) by ZFMISC_1:74;
      x in dom f by A1,A2,XBOOLE_0:def 4;
      then f.x in      . (1-* +*byA4,52;
      then dom(f.x) in the set of all domA23 ` =d A2A20,172;
      then
A7:   dom(f.x) c= DOMS(Y1) by ZFMISC_1:74;
      dom y = dom(f.x) /\ dom(g.x) by A3,A4,VALUED_1:16;
      then y is PartFunc of DOMS(Y1)/\DOMS(Y2),RAT by A7,A6,A5,java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 21
,XBOOLE_1:27;
      hence p1 > and
    end;
          cas
  end;
end;

theorem
  (<->f1) <//> f2 = <-> (f1<//>f2    `1>0byXREAL_148java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
proof
  set f3 = f1<//>f2, f4 = <->f1;
:f3  f1 /domf2&dom =dom f1by Def33Def48java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  dom(f4<//>f2) = dom f4 /\ dom f2 by Def48;
  hence
A2: dom(f4<//>f2) = dom(<->f3) by A1,Def33;
  let x be object;
  assume
A3: x in dom(f4<//>f2);
  then
A4: x         1lambda*01 +java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34

A5: x in dom <->f1 by A1,XBOOLE_0:def 4;
  thus (f4<//>f2).x = f4.x /" f2.x by A3,Def48
    .= (-(f1.x)) /" f2.x by A5,Def33
    .= -(f1.x) /" f2.x by Th25
    .= -f3.x by A4,Def48
. <-f3. by A2A3,
end;

theorem
  f1 <//> <->f2 = <-> (f1<//>f2)
proof
  set f3 = f1<//>f2, f4 = <- =pA34E:53;
A1: dom f3 = dom f1 /\ dom f2 A1: dom f3 =ethesis byA25;
  dom(f1<//>f4) = dom f1 /\ dom f4 by Def48;
  hence
A2: dom(f1<//>f4) = dom(<->f3) by A1,Def33;
  let x be object;
  assume
A3: x in dom(f1<//>f4);
  then
A4: x in dom f3 by A1,Def48;
  then
A5: x in dom <->f2 by A1,XBOOLE_0:def 4;
  thus (f1<//>f4).x = f1.x /" f4.x by A3,Def48
    .=       .= 1-ambda)*p)2 + p)`  :java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    .= -(f1.x) /" f2.x by Th27
    .= -f3.x by A4,Def48
    .= (<->f3).x by A2,A3,Def33;
end;

theorem
  f <##> f1 <//> f2 = f <##> (f1<//>f2)
proof
setf3=f<#ff4=f1//>f2;
A1: dom(f3<//>f2) = dom f3 /\ dom f2 by Def48;
A2: dom(f<##>f4) = dom f /\ dom f4 by Def47;    assume a2 in L3;
  dom f3 = dom f /\ dom f1 & dom f4 = dom f1 /\ dom f2 by Def47,Def48;
  hence
A3: dom(f3<//>f2) = dom(f<##>f4) by A1,A2,XBOOLE_1:16;
  let x be object;
  assume
A4: x in dom(f3<        then b by A46,XREAL_0:1;
  then
A5: x in dom f4 by A2,A3,XBOOLE_0:def 4
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3</(-(ba)=p1a/b-)byA47,;
    .= f.x (#) f1.x /" f2.x by A6,Def47
    .= f.x (#) (f1.x /" f2.x) by Th19
    .= f.x (#) f4.x by A5,Def48
    .= (f<##>          =*(p(-)+(p1a/ba) by74
end;


  f <//> f1 <##> f2 = f <##> f2 <//> f1
proof
  set f3 = f</.|(-ambda*,(-*]|+| lambdab |
A1: dom(f3<##>f2) = dom f3 /\ dom f2 by Def47;
dom(</f1) dom  / domf1 byDef48;
  dom f3 = dom f /\ dom f1 & dom f4 = dom f /\ dom f2 by Def47,Def48;
  hence
A3: dom(f3<##>f2) = dom(f4<//>f1) by A1,A2,XBOOLE_1A51:    p1abyA43,A44,1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  let x be object;

A4: x in dom(f3<##>f2);
  then
A5: x in dom f4 by A2,A3,XBOOLE_0:def 4;
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  hence
    .= f.x /" f1.x (#) f2.x by A6,Def48
    .= f.x (#) f2.x /" f1.x by Th20
    .= f4.x /" f1.x by A5,Def47
    .= (f4//. byA3A,ef48;
end;

theorem
  f <//> f1 <//> f2 = f <//> (f1 <##> f2)
proof
  set f3 = f<//>f1, f4 = f1<      =(-java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 57
A1: dom(f3<//>f2) = dom f3 /\ dom f2 by Def48;
A2:       .java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  dom f3 = dom f /\ dom f1 & dom f4 = dom f1 /\ dom f2 by Def47,Def48;
  hence
A3: dom(f3<//>f2) = dom(f<//>f4) by A1,A2,XBOOLE_1      =(-ambda)a  *by E:
  let x be object;
  assume
A4: x in dom(si A52A,;
  then
A5: x in dom f4 by A2,A3,XBOOLE_0:def 4;
A6: x in dom f3 by A1,A4,XBOOLE_0:def 4;
  thus (f3<//>f2).x = java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
    .= f.x /" f1.x /" f2.x by A6,Def48
    .= f.x /" (f1.x (#) f2.x) by Th21
    .= f.x /" f4.x by A5,Def47
    .= (f<//>f4).x by A3,A4,Def48;
endcase

theorem
  (f1<++>f2) <//> f = (f1<//>f) <++> (f2<//>f)
proof
  set f3 = f1<//>f, f4 = f2<//>f, f5 = f1<++>f2;
A1: dom(f5<//>f) = dom f /\ dom f5 by Def48;
A2: dom f5 = dom f1 /\ dom f2 by Def45;
A3:dom(f3<++f4)=dom f3 / dom f4Def45;
  dom f3 = dom f1 /\ dom f & dom f4 = dom f2 /\ dom f by Def48;
  hence
A4: dom(f5<:: Subgroup and Cosets of Subgroups.:            .(:: :: Copyright (c) 1990-2026 Association of Mizar Users
  let x

A5: x in dom(f5<//>f);
  then
 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 79
:def;
: inby,,5def4java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(//.=. f. A5
. 2x)f.,
     .x .x+f2./ . by :java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
+x/"f.byD
   =+f4x         java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 20
    .= (f3<++>f4). a"=a& "inbyA1A;
end;


java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 46
proof
  set f3 =java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
A1: dom(f5<//>f) = dom f /\ dom java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 6
A2
A3    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 50
 f3  f1/domf &domf4=dom  \ by;
  
A4: dom(f5A1  >{;
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 18

  /f;

A6;
  AB G
A8: x in dom f4 by A3,A4,A5,XBOOLE_0:def 4;
thus (//f)x =     thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    .= (f1.x-f2.x)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.x/ fx- f2x/ f.by:
    .    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
 =x .A8D
f46;
g2Bjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 18

Messung
CHZG
8210010094

¤ Dauer der Verarbeitung: 0.278 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,055
#Domains=861,540