Eine aufbereitete Darstellung der Quelle

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


SSL groeb_1.miz   Interaktion und
PortierbarkeitMizar

 

:: Characterization and Existence of {G}r\"obner Bases
::  by Christoph Schwarzweller
::
:: Received June 11, 2003
:: Copyright (c) 2003-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, ORDINAL1, RLVECT_1, ALGSTR_0, VECTSP_1, LATTICES,
      ZFMISC_1, POLYNOM1, SUBSET_1, STRUCT_0, RELAT_2, BAGORDER, BINOP_1,
      POLYRED, POLYNOM7, ARYTM_1, ARYTM_3, PRE_POLY, TERMORD, FUNCT_1, BROUWER,
      RELAT_1, XBOOLE_0, XXREAL_0, SUPINF_2, VALUED_0, XCMPLX_0, CAT_3,
      ALGSTR_1, IDEAL_1, FINSEQ_1, PARTFUN1, MESFUNC1, CARD_3, TARSKI, CARD_1,
      ORDERS_2, REWRITE1, INT_1, FUNCT_4, GROUP_1, ORDERS_1, DICKSON, RLVECT_2,
      FUNCOP_1, PBOOLE, FINSET_1, ORDINAL4, GROEB_1, NAT_1;
 notations TARSKI, RELAT_1, XBOOLE_0, RELAT_2, XCMPLX_0, XXREAL_0, RELSET_1,
      FUNCT_1, PARTFUN1, ORDINAL1, ALGSTR_0, ALGSTR_1, RLVECT_1, FINSET_1,
      FUNCT_7, DICKSON, CARD_3, CARD_1, SUBSET_1, XTUPLE_0, MCART_1, FINSEQ_1,
      YELLOW_1, ORDERS_1, PRALG_1, STRUCT_0, POLYNOM7, PBOOLE, FUNCOP_1,
      ORDERS_2, VFUNCT_1, POLYNOM1, IDEAL_1, REWRITE1, BAGORDER, VECTSP_1,
      TERMORD, GROUP_1, NUMBERS, NAT_1, PRE_POLY, POLYRED, RECDEF_1;
 constructors REWRITE1, VECTSP_2, PRALG_1, YELLOW_1, IDEAL_1, DICKSON,
      BAGORDER, TERMORD, POLYRED, RECDEF_1, DOMAIN_1, RELSET_1, PBOOLE,
      FUNCT_7, VFUNCT_1, XTUPLE_0;
 registrations XBOOLE_0, RELAT_1, ORDINAL1, FINSET_1, XREAL_0, NAT_1, INT_1,
      CARD_1, REWRITE1, STRUCT_0, VECTSP_1, ORDERS_2, ALGSTR_1, YELLOW_1,
      GCD_1, POLYNOM1, POLYNOM2, POLYNOM4, IDEAL_1, POLYNOM7, DICKSON, TERMORD,
      POLYRED, VALUED_0, ALGSTR_0, FINSEQ_1, PRE_POLY, FUNCOP_1, VFUNCT_1,
      FUNCT_1, FUNCT_2;
 requirements NUMERALS, REAL, SUBSET, BOOLE, ARITHM;
 definitions TARSKI, RELAT_2, RELAT_1;
 equalities STRUCT_0, ALGSTR_0;
 expansions TARSKI, RELAT_2, STRUCT_0;
 theorems TARSKI, RELSET_1, FINSEQ_1, RELAT_1, ZFMISC_1, VECTSP_1, POLYNOM1,
      RLVECT_1, NAT_1, ALGSTR_1, POLYNOM7, REWRITE1, XBOOLE_0, IDEAL_1,
      TERMORD, INT_1, FUNCT_1, ORDERS_2, FINSET_1, WELLORD2, XBOOLE_1, CARD_3,
      DICKSON, FUNCOP_1, PRALG_1, YELLOW_1, FUNCT_7, FUNCT_2, CARD_2, BAGORDER,
      ORDINAL1, VECTSP_2, POLYRED, RELAT_2, PARTFUN1, ORDERS_1, GROUP_1,
      XREAL_1, XXREAL_0, VALUED_0, STRUCT_0, PRE_POLY, XTUPLE_0, PBOOLE,
      FINSEQ_3;
 schemes RELSET_1, NAT_1, CLASSES1;

begin :: Preliminaries

definition
  let n be Ordinal, L be right_zeroed add-associative right_complementable
  well-unital distributive non trivial doubleLoopStr, p be Polynomial of n,L;
  redefine func {p} -> Subset of Polynom-Ring(n,L);
  coherence
  proof
    now
      let u be object;
      assume u in {p};
      then u = p by TARSKI:def 1;
      hence u in the carrier of Polynom-Ring(n,L) by POLYNOM1:def 11;
    end;
    hence thesis by TARSKI:def 3;
  end;
end;

theorem Th1:
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, f,
  p,g being Polynomial of n,L holds f reduces_to g,p,T implies ex m being
  Monomial of n,L st g = f - m *' p
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, f,p,g be
  Polynomial of n,L;
  assume f reduces_to g,p,T;
  then consider b being bag of n such that
A1: f reduces_to g,p,b,T by POLYRED:def 6;
  consider s being bag of n such that
  s + HT(p,T) = b and
A2: g = f - (f.b/HC(p,T)) * (s *' p) by A1,POLYRED:def 5;
  (f.b/HC(p,T)) * (s *' p) = Monom(f.b/HC(p,T),s) *' p by POLYRED:22;
  hence thesis by A2;
end;

theorem
  for n being Ordinal, T being admissible connected TermOrder of n, L
being add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non degenerated non
  empty doubleLoopStr, f,p,g being Polynomial of n,L holds f reduces_to g,p,T
  implies ex m being Monomial of n,L st g = f - m *' p & not(HT(m*'p,T) in
  Support g) & HT(m*'p,T) <= HT(f,T),T
proof
  let n be Ordinal, T be admissible connected TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non degenerated non
  empty doubleLoopStr, f,p,g be Polynomial of n,L;
  assume f reduces_to g,p,T;
  then consider b being bag of n such that
A1: f reduces_to g,p,b,T by POLYRED:def 6;
  b in Support f by A1,POLYRED:def 5;
  then
A2: f.b <> 0.L by POLYNOM1:def 4;
 p <> 0_(n,L) by A1,POLYRED:def 5;
  then reconsider p as non-zero Polynomial of n,L by POLYNOM7:def 1;
  consider s being bag of n such that
A3: s + HT(p,T) = b and
A4: g = f - (f.b/HC(p,T)) * (s *' p) by A1,POLYRED:def 5;
  set m = Monom(f.b/HC(p,T),s);
A5: HC(p,T)" <> 0.L by VECTSP_1:25;
A6: f.b/HC(p,T) <> 0.L by A2,A5,VECTSP_2:def 1;
  then
A7: f.b/HC(p,T) is non zero;
  coefficient(m) <> 0.L by A6,POLYNOM7:9;
  then HC(m,T) <> 0.L by TERMORD:23;
  then m <> 0_(n,L) by TERMORD:17;
  then reconsider m as non-zero Monomial of n,L by POLYNOM7:def 1;
A8: HT(m*'p,T) = HT(m,T) + HT(p,T) by TERMORD:31
    .= term(m) + HT(p,T) by TERMORD:23
    .= s + HT(p,T) by A7,POLYNOM7:10;
  then HT(m*'p,T) in Support f by A1,A3,POLYRED:def 5;
  then
  (f.b/HC(p,T)) * (s *' p) = Monom(f.b/HC(p,T),s) *' p & HT(m*'p,T) <= HT
  (f,T) ,T by POLYRED:22,TERMORD:def 6;
  hence thesis by A1,A3,A4,A8,POLYRED:39;
end;

Lm1: for L being add-associative left_zeroed right_zeroed add-cancelable
right_complementable associative distributive well-unital non empty
doubleLoopStr, P being Subset of L, p being Element of L st p in P holds p in
P-Ideal
proof
  let L be add-associative left_zeroed right_zeroed add-cancelable associative
  distributive well-unital right_complementable non empty doubleLoopStr, P be
  Subset of L, p be Element of L;
  set f = <*p*>;
  assume
A1: p in P;
  then reconsider P9 = P as non empty Subset of L;
  now
    let i be set;
    assume
A2: i in dom f;
    dom f = {1} by FINSEQ_1:2,38;
    then i = 1 by A2,TARSKI:def 1;
    then f/.i = f.1 by A2,PARTFUN1:def 6
      .= p
      .= 1.L * p
      .= 1.L * p * 1.L;
    hence ex u,v being Element of L, a being Element of P9 st f/.i = u*a*v by
A1;
  end;
  then reconsider f as LinearCombination of P9 by IDEAL_1:def 8;
  Sum f = p by RLVECT_1:44;
  hence thesis by IDEAL_1:60;
end;

Lm2: for n being Ordinal, T being admissible connected TermOrder of n, L being
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non degenerated non empty
doubleLoopStr, p,q being Polynomial of n,L, f,g being Element of Polynom-Ring(
n,L) holds (f = p & g = q) implies f - g = p - q
proof
  let n be Ordinal, T be admissible connected TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive almost_left_invertible non degenerated non empty
doubleLoopStr, p,q be Polynomial of n,L, f,g be Element of Polynom-Ring(n,L);
  assume that
A1: f = p and
A2: g = q;
  reconsider x = -q as Element of Polynom-Ring(n,L) by POLYNOM1:def 11;
  reconsider x as Element of Polynom-Ring(n,L);
  x + g = -q + q by A2,POLYNOM1:def 11
    .= 0_(n,L) by POLYRED:3
    .= 0.(Polynom-Ring(n,L)) by POLYNOM1:def 11;
  then
A3: -q = -g by RLVECT_1:6;
  thus p - q = p + (-q) by POLYNOM1:def 7
    .= f + (-g) by A1,A3,POLYNOM1:def 11
    .= f - g;
end;

Lm3: for n being Ordinal, T being connected TermOrder of n, L being
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, f
being Polynomial of n,L holds f is_irreducible_wrt 0_(n,L),T
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, f be
  Polynomial of n,L;
  assume f is_reducible_wrt 0_(n,L),T;
  then consider g being Polynomial of n,L such that
A1: f reduces_to g,0_(n,L),T by POLYRED:def 8;
  ex b being bag of n st f reduces_to g,0_(n,L),b,T by A1,POLYRED:def 6;
  hence thesis by POLYRED:def 5;
end;

theorem Th3:
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, f,
  g being Polynomial of n,L, P,Q being Subset of Polynom-Ring(n,L) st P c= Q
  holds f reduces_to g,P,T implies f reduces_to g,Q,T
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, f,g be
  Polynomial of n,L, P,Q be Subset of Polynom-Ring(n,L);
  assume
A1: P c= Q;
  assume f reduces_to g,P,T;
  then ex p being Polynomial of n,L st p in P & f reduces_to g,p,T by
POLYRED:def 7;
  hence thesis by A1,POLYRED:def 7;
end;

theorem Th4:
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P,
  Q being Subset of Polynom-Ring(n,L) holds P c= Q implies PolyRedRel(P,T) c=
  PolyRedRel(Q,T)
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, P,Q being
  Subset of Polynom-Ring(n,L);
  assume
A1: P c= Q;
  now
    let u be object;
    assume
A2: u in PolyRedRel(P,T);
    then consider p,q being object such that
A3: p in NonZero Polynom-Ring(n,L) and
A4: q in the carrier of Polynom-Ring(n,L) and
A5: u = [p,q] by ZFMISC_1:def 2;
    reconsider q as Polynomial of n,L by A4,POLYNOM1:def 11;
    0_(n,L) = 0.Polynom-Ring(n,L) by POLYNOM1:def 11;
    then not p in {0_(n,L)} by A3,XBOOLE_0:def 5;
    then p <> 0_(n,L) by TARSKI:def 1;
    then reconsider p as non-zero Polynomial of n,L by A3,POLYNOM1:def 11
,POLYNOM7:def 1;
    p reduces_to q,P,T by A2,A5,POLYRED:def 13;
    then p reduces_to q,Q,T by A1,Th3;
    hence u in PolyRedRel(Q,T) by A5,POLYRED:def 13;
  end;
  hence thesis;
end;

theorem Th5:
  for n being Ordinal, L being right_zeroed add-associative
right_complementable non empty doubleLoopStr, p being Polynomial of n,L holds
  Support(-p) = Support(p)
proof
  let n be Ordinal, L be right_zeroed add-associative right_complementable
  non empty doubleLoopStr, p be Polynomial of n,L;
A1: now
    let u be object;
    assume
A2: u in Support(p);
    then reconsider u9 = u as Element of Bags n;
A3: p.u9 <> 0.L by A2,POLYNOM1:def 4;
    now
      assume (-p).u9 = 0.L;
      then (-p).u9 = -(-(0.L)) by RLVECT_1:17;
      then -(p.u9) = -(-(0.L)) by POLYNOM1:17
        .= 0.L by RLVECT_1:17;
      then p.u9 = -(0.L) by RLVECT_1:17;
      hence contradiction by A3,RLVECT_1:12;
    end;
    hence u in Support(-p) by POLYNOM1:def 4;
  end;
  now
    let u be object;
    assume
A4: u in Support(-p);
    then reconsider u9 = u as Element of Bags n;
A5: (-p).u9 <> 0.L by A4,POLYNOM1:def 4;
    now
A6:   (-p).u9 = -(p.u9) by POLYNOM1:17;
      assume p.u9 = 0.L;
      hence contradiction by A5,A6,RLVECT_1:12;
    end;
    hence u in Support(p) by POLYNOM1:def 4;
  end;
  hence thesis by A1,TARSKI:2;
end;

theorem Th6:
  for n being Ordinal, T being connected TermOrder of n, L being
right_zeroed add-associative right_complementable well-unital distributive non
  trivial non empty doubleLoopStr, p being Polynomial of n,L holds HT(-p,T) =
  HT(p,T)
proof
  let n be Ordinal, T be connected TermOrder of n, L be right_zeroed
add-associative right_complementable well-unital distributive non trivial non
  empty doubleLoopStr, p be Polynomial of n,L;
  per cases;
  suppose
A1: p = 0_(n,L);
    reconsider x = -p as Element of Polynom-Ring(n,L) by POLYNOM1:def 11;
    reconsider x as Element of Polynom-Ring(n,L);
A2: -(0_(n,L)) = -(0_(n,L)) + 0_(n,L) by POLYNOM1:23
      .= 0_(n,L) by POLYRED:3;
    0.(Polynom-Ring(n,L)) = 0_(n,L) by POLYNOM1:def 11;
    then x + 0.(Polynom-Ring(n,L)) = (-p) + 0_(n,L) by POLYNOM1:def 11
      .= 0_(n,L) by A1,A2,POLYNOM1:23
      .= 0.(Polynom-Ring(n,L)) by POLYNOM1:def 11;
    then -p = -(0.Polynom-Ring(n,L)) by RLVECT_1:6
      .= 0.(Polynom-Ring(n,L)) by RLVECT_1:12
      .= p by A1,POLYNOM1:def 11;
    hence thesis;
  end;
  suppose
    p <> 0_(n,L);
    then
A3: Support(p) <> {} by POLYNOM7:1;
    then Support(-p) <> {} by Th5;
    then HT(-p,T) in Support(-p) by TERMORD:def 6;
    then HT(-p,T) in Support(p) by Th5;
    then
A4: HT(-p,T) <= HT(p,T),T by TERMORD:def 6;
    HT(p,T) in Support(p) by A3,TERMORD:def 6;
    then HT(p,T) in Support(-p) by Th5;
    then HT(p,T) <= HT(-p,T),T by TERMORD:def 6;
    hence thesis by A4,TERMORD:7;
  end;
end;

theorem Th7:
  for n being Ordinal, T being admissible connected TermOrder of n,
  L being right_zeroed add-associative right_complementable well-unital
distributive non trivial doubleLoopStr, p,q being Polynomial of n,L
  holds HT(p-q,T) <= max(HT(p,T),HT(q,T),T), T
proof
  let n be Ordinal, T be admissible connected TermOrder of n, L be
right_zeroed add-associative right_complementable well-unital distributive non
  trivial non empty doubleLoopStr, p,q being Polynomial of n,L;
  HT(p+(-q),T) <= max(HT(p,T),HT(-q,T),T),T by TERMORD:34;
  then HT(p-q,T) <= max(HT(p,T),HT(-q,T),T),T by POLYNOM1:def 7;
  hence thesis by Th6;
end;

theorem Th8:
  for n being Ordinal, T being admissible connected TermOrder of n,
  L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non trivial
  doubleLoopStr, p,q being Polynomial of n,L holds Support(q) c= Support(p)
  implies q <= p,T
proof
  let n be Ordinal, T be admissible connected TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, p,
  q be Polynomial of n,L;
  assume
A1: Support q c= Support p;
  defpred P[Nat] means for f,g being Polynomial of n,L st Support f
  c= Support g & card(Support f) = $1 holds f <= g,T;
A2: now
    let k be Nat;
    assume
A3: P[k];
    now
      set R = RelStr(# Bags n, T#);
      let f,g be Polynomial of n,L;
      assume that
A4:   Support f c= Support g and
A5:   card(Support f) = k+1;
      set rf = Red(f,T), rg = Red(g,T);
A6:   Support f <> {} by A5;
      then
A7:   HT(f,T) in Support f by TERMORD:def 6;
      f <> 0_(n,L) by A6,POLYNOM7:1;
      then
A8:   f is non-zero by POLYNOM7:def 1;
      g <> 0_(n,L) by A4,A7,POLYNOM7:1;
      then
A9:   g is non-zero by POLYNOM7:def 1;
      now
        per cases;
        case
A10:      HT(f,T) = HT(g,T);
A11:      Support(rf) = Support(f) \ {HT(f,T)} by TERMORD:36;
A12:      Support(rg) = Support(g) \ {HT(g,T)} by TERMORD:36;
          now
            let u be object;
            assume u in Support(rf);
            then u in Support f & not u in {HT(f,T)} by A11,XBOOLE_0:def 5;
            hence u in Support(rg) by A4,A10,A12,XBOOLE_0:def 5;
          end;
          then
A13:      Support(rf) c= Support(rg);
          for u being object holds u in {HT(f,T)} implies u in Support f
    by A7,
TARSKI:def 1;
          then
A14:      {HT(f,T)} c= Support f;
A15:      Support(f,T) <> {} & Support(g,T) <> {} by A4,A7,POLYRED:def 4;
A16:      Support(rf,T) = Support rf by POLYRED:def 4;
          HT(f,T) in {HT(f,T)} by TARSKI:def 1;
          then
A17:      not HT(f,T) in Support Red(f,T) by A11,XBOOLE_0:def 5;
A18:      PosetMax(Support(f,T)) = HT(g,T) by A8,A10,POLYRED:24
            .= PosetMax(Support(g,T)) by A9,POLYRED:24;
A19:      Support(rg,T) = Support rg by POLYRED:def 4;
A20:      Support(g,T) = Support g by POLYRED:def 4;
          then
A21:      Support(g,T)\{PosetMax(Support(g,T))} = Support(rg,T) by A9,A12,A19,
POLYRED:24;
          Support(rf) \/ {HT(f,T)} = Support f \/ {HT(f,T)} by A11,XBOOLE_1:39
            .= Support f by A14,XBOOLE_1:12;
          then card(Support(Red(f,T))) + 1 = k + 1 by A5,A17,CARD_2:41;
          then rf <= rg,T by A3,A13;
          then [Support rf,Support rg] in FinOrd RelStr(# Bags n, T#) by
POLYRED:def 2;
          then
A22:      [Support(rf,T),Support(rg,T)] in union rng FinOrd-Approx R by A16,A19
,BAGORDER:def 15;
A23:      Support(f,T) = Support f by POLYRED:def 4;
          then Support(f,T)\{PosetMax(Support(f,T))} = Support(rf,T) by A8,A11
,A16,POLYRED:24;
          then
          [Support(f,T),Support(g,T)] in union rng FinOrd-Approx R by A22,A15
,A18,A21,BAGORDER:35;
          then
          [Support f,Support g] in FinOrd RelStr(# Bags n, T#) by A23,A20,
BAGORDER:def 15;
          hence f <= g,T by POLYRED:def 2;
        end;
        case
A24:      HT(f,T) <> HT(g,T);
          now
            assume HT(g,T) < HT(f,T),T;
            then not HT(f,T) <= HT(g,T),T by TERMORD:5;
            hence contradiction by A4,A7,TERMORD:def 6;
          end;
          then HT(f,T) <= HT(g,T),T by TERMORD:5;
          then HT(f,T) < HT(g,T),T by A24,TERMORD:def 3;
          then f < g,T by POLYRED:32;
          hence f <= g,T by POLYRED:def 3;
        end;
      end;
      hence f <= g,T;
    end;
    hence P[k+1];
  end;
A25: ex k being Element of NAT st card(Support q) = k;
A26: P[ 0 ]
  proof
    let f,g be Polynomial of n,L;
    assume that
    Support f c= Support g and
A27: card(Support f) = 0;
    Support f = {} by A27;
    then f = 0_(n,L) by POLYNOM7:1;
    hence thesis by POLYRED:30;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2(A26,A2);
  hence thesis by A1,A25;
end;

theorem Th9:
  for n being Ordinal, T being connected admissible TermOrder of n,
  L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, f,p being non-zero Polynomial of n,L holds f
  is_reducible_wrt p,T implies HT(p,T) <= HT(f,T),T
proof
  let n being Ordinal, T being connected admissible TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive almost_left_invertible non degenerated non empty
  doubleLoopStr, f,p being non-zero Polynomial of n,L;
  assume f is_reducible_wrt p,T;
  then consider b being bag of n such that
A1: b in Support f & HT(p,T) divides b by POLYRED:36;
  b <= HT(f,T),T & HT(p,T) <= b,T by A1,TERMORD:10,def 6;
  hence thesis by TERMORD:8;
end;

begin :: Characterization of Groebner Bases

theorem Th10:
  for n being Element of NAT, T being connected admissible
  TermOrder of n, L being add-associative right_complementable right_zeroed
commutative associative well-unital distributive Abelian almost_left_invertible
non trivial doubleLoopStr, p being Polynomial of n,L holds PolyRedRel({p},T)
  is locally-confluent
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non trivial
  doubleLoopStr, p be Polynomial of n,L;
  set R = PolyRedRel({p},T);
A1: 0_(n,L) = 0.Polynom-Ring(n,L) by POLYNOM1:def 11;
  per cases;
  suppose
A2: p = 0_(n,L);
    now
      let a,b,c be object;
      assume that
A3:   [a,b] in R and
      [a,c] in R;
      consider p9,q being object such that
A4:   p9 in NonZero Polynom-Ring(n,L) and
A5:   q in the carrier of Polynom-Ring(n,L) and
A6:   [a,b] = [p9,q] by A3,ZFMISC_1:def 2;
      reconsider q as Polynomial of n,L by A5,POLYNOM1:def 11;
      not p9 in {0_(n,L)} by A1,A4,XBOOLE_0:def 5;
      then p9 <> 0_(n,L) by TARSKI:def 1;
      then reconsider p9 as non-zero Polynomial of n,L by A4,POLYNOM1:def 11
,POLYNOM7:def 1;
      p9 reduces_to q,{p},T by A3,A6,POLYRED:def 13;
      then consider g being Polynomial of n,L such that
A7:   g in {p} and
A8:   p9 reduces_to q,g,T by POLYRED:def 7;
      g = 0_(n,L) by A2,A7,TARSKI:def 1;
      then p9 is_reducible_wrt 0_(n,L),T by A8,POLYRED:def 8;
      hence b,c are_convergent_wrt R by Lm3;
    end;
    hence thesis by REWRITE1:def 24;
  end;
  suppose
    p <> 0_(n,L);
    then reconsider p as non-zero Polynomial of n,L by POLYNOM7:def 1;
    now
      let a,b,c being object;
      assume that
A9:   [a,b] in R and
A10:  [a,c] in R;
      consider pa,pb being object such that
A11:  pa in NonZero Polynom-Ring(n,L) and
A12:  pb in the carrier of Polynom-Ring(n,L) and
A13:  [a,b] = [pa,pb] by A9,ZFMISC_1:def 2;
      not pa in {0_(n,L)} by A1,A11,XBOOLE_0:def 5;
      then pa <> 0_(n,L) by TARSKI:def 1;
      then reconsider pa as non-zero Polynomial of n,L by A11,POLYNOM1:def 11
,POLYNOM7:def 1;
      reconsider pb as Polynomial of n,L by A12,POLYNOM1:def 11;
A14:  pb = b by A13,XTUPLE_0:1;
A15:  pa = a by A13,XTUPLE_0:1;
      then pa reduces_to pb,{p},T by A9,A14,POLYRED:def 13;
      then ex p9 being Polynomial of n,L st p9 in {p} & pa reduces_to pb,p9,T
      by POLYRED:def 7;
      then
A16:  pa reduces_to pb,p,T by TARSKI:def 1;
      consider pa9,pc being object such that
      pa9 in NonZero Polynom-Ring(n,L) and
A17:  pc in the carrier of Polynom-Ring(n,L) and
A18:  [a,c] = [pa9,pc] by A10,ZFMISC_1:def 2;
      reconsider pc as Polynomial of n,L by A17,POLYNOM1:def 11;
A19:  p in {p} by TARSKI:def 1;
A20:  pc = c by A18,XTUPLE_0:1;
      then pa reduces_to pc,{p},T by A10,A15,POLYRED:def 13;
      then ex p9 being Polynomial of n,L st p9 in {p} & pa reduces_to pc,p9,T
      by POLYRED:def 7;
      then
A21:  pa reduces_to pc,p,T by TARSKI:def 1;
      now
        per cases;
        case
A22:      pb = 0_(n,L);
          then consider mb being Monomial of n,L such that
A23:      0_(n,L) = pa - mb *' p by A16,Th1;
          0_(n,L) + mb*'p = (pa + -(mb*'p)) + mb*'p by A23,POLYNOM1:def 7;
          then mb*'p = (pa + -(mb*'p)) + mb*'p by POLYRED:2;
          then mb*'p = pa + (-(mb*'p) + mb*'p) by POLYNOM1:21;
          then mb*'p = pa + 0_(n,L) by POLYRED:3;
          then mb*'p = pa by POLYNOM1:23;
          then consider mc being Monomial of n,L such that
A24:      pc = mb *' p - mc *' p by A21,Th1;
          pc = mb *' p + -(mc *' p) by A24,POLYNOM1:def 7;
          then pc = mb *' p + (-mc) *' p by POLYRED:6;
          then
A25:      pc = (mb + -mc) *' p by POLYNOM1:26;
          then
A26:      pc = (mb - mc) *' p by POLYNOM1:def 7;
          now
            per cases;
            case
              mb = mc;
              then pc = 0_(n,L) *'p by A26,POLYNOM1:24;
              then pc = 0_(n,L) by POLYRED:5;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,A22,
REWRITE1:12;
            end;
            case
              mb <> mc;
              R reduces pb,0_(n,L) by A22,REWRITE1:12;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,A19
,A25,POLYRED:45;
            end;
          end;
          hence ex d being set st R reduces b,d & R reduces c,d;
        end;
        case
A27:      pc = 0_(n,L);
          then consider mc being Monomial of n,L such that
A28:      0_(n,L) = pa - mc *' p by A21,Th1;
          0_(n,L) + mc*'p = (pa + -(mc*'p)) + mc*'p by A28,POLYNOM1:def 7;
          then mc*'p = (pa + -(mc*'p)) + mc*'p by POLYRED:2;
          then mc*'p = pa + (-(mc*'p) + mc*'p) by POLYNOM1:21;
          then mc*'p = pa + 0_(n,L) by POLYRED:3;
          then mc*'p = pa by POLYNOM1:23;
          then consider mb being Monomial of n,L such that
A29:      pb = mc *' p - mb *' p by A16,Th1;
          pb = mc *' p + -(mb *' p) by A29,POLYNOM1:def 7;
          then pb = mc *' p + (-mb) *' p by POLYRED:6;
          then
A30:      pb = (mc + -mb) *' p by POLYNOM1:26;
          then
A31:      pb = (mc - mb) *' p by POLYNOM1:def 7;
          now
            per cases;
            case
              mb = mc;
              then pb = 0_(n,L) *'p by A31,POLYNOM1:24;
              then pb = 0_(n,L) by POLYRED:5;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,A27,
REWRITE1:12;
            end;
            case
              mb <> mc;
              R reduces pc,0_(n,L) by A27,REWRITE1:12;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,A19
,A30,POLYRED:45;
            end;
          end;
          hence ex d being set st R reduces b,d & R reduces c,d;
        end;
        case
          not(pb = 0_(n,L) or pc = 0_(n,L));
          then reconsider pb,pc as non-zero Polynomial of n,L by POLYNOM7:def 1
;
          now
            per cases;
            case
              pb = pc;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,
REWRITE1:12;
            end;
            case
A32:          pb <> pc;
              now
                assume pb - pc = 0_(n,L);
                then (pb + -pc) + pc = 0_(n,L) + pc by POLYNOM1:def 7;
                then pb + (-pc + pc) = 0_(n,L) + pc by POLYNOM1:21;
                then pb + 0_(n,L) = 0_(n,L) + pc by POLYRED:3;
                then pb + 0_(n,L) = pc by POLYRED:2;
                hence contradiction by A32,POLYNOM1:23;
              end;
              then reconsider h = pb-pc as non-zero Polynomial of n,L by
POLYNOM7:def 1;
              consider mb being Monomial of n,L such that
A33:          pb = pa - mb *' p by A16,Th1;
              consider mc being Monomial of n,L such that
A34:          pc = pa - mc *' p by A21,Th1;
              now
                assume -mb + mc = 0_(n,L);
                then mc + (-mb + mb) = 0_(n,L) + mb by POLYNOM1:21;
                then mc + 0_(n,L) = 0_(n,L) + mb by POLYRED:3;
                then mc + 0_(n,L) = mb by POLYRED:2;
                hence contradiction by A32,A33,A34,POLYNOM1:23;
              end;
              then reconsider hh = -mb + mc as non-zero Polynomial of n,L by
POLYNOM7:def 1;
A35:      --(mc *' p) = mc *' p by POLYNOM1:19;
              h = (pa - mb *' p) + -(pa - mc *' p) by A33,A34,POLYNOM1:def 7
                .= (pa - mb *' p) + -(pa + -(mc *' p)) by POLYNOM1:def 7
                .= (pa - mb *' p) + (-pa + --(mc *' p)) by POLYRED:1
                .= (pa + -(mb *' p)) + (-pa + --(mc *' p)) by POLYNOM1:def 7
                .= ((pa + -(mb *' p)) + -pa) + (mc *' p) by A35,POLYNOM1:21
                .= ((pa + -pa) + -(mb *' p)) + (mc *' p) by POLYNOM1:21
                .= (0_(n,L) + -(mb *' p)) + (mc *' p) by POLYRED:3
                .= -(mb *' p) + (mc *' p) by POLYRED:2
                .= ((-mb) *' p) + (mc *' p) by POLYRED:6
                .= hh *' p by POLYNOM1:26;
              then consider f1,g1 being Polynomial of n,L such that
A36:          f1 - g1 = 0_(n,L) and
A37:          R reduces pb,f1 & R reduces pc,g1 by A19,POLYRED:45,49;
              (f1 + -g1) + g1 = 0_(n,L) + g1 by A36,POLYNOM1:def 7;
              then f1 + (-g1 + g1) = 0_(n,L) + g1 by POLYNOM1:21;
              then f1 + 0_(n,L) = 0_(n,L) + g1 by POLYRED:3;
              then f1 + 0_(n,L) = g1 by POLYRED:2;
              then f1 = g1 by POLYNOM1:23;
              hence
              ex d being set st R reduces b,d & R reduces c,d by A14,A20,A37;
            end;
          end;
          hence ex d being set st R reduces b,d & R reduces c,d;
        end;
      end;
      hence b,c are_convergent_wrt R by REWRITE1:def 7;
    end;
    hence thesis by REWRITE1:def 24;
  end;
end;

theorem :: corollary 5.34, p. 205
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being Abelian add-associative right_complementable right_zeroed
  commutative associative well-unital distributive almost_left_invertible non
  degenerated non empty doubleLoopStr, P being Subset of Polynom-Ring(n,L) st
ex p being Polynomial of n,L st p in P & P-Ideal = {p}-Ideal holds PolyRedRel(P
  ,T) is locally-confluent
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, P be Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume ex p being Polynomial of n,L st p in P & P-Ideal = {p}-Ideal;
  then consider p being Polynomial of n,L such that
A1: p in P and
A2: P-Ideal = {p}-Ideal;
  now
    set Rp = PolyRedRel({p},T);
    reconsider Rp as locally-confluent strongly-normalizing Relation by Th10;
    let a,b,c being object;
    assume that
A3: [a,b] in R and
A4: [a,c] in R;
    a,b are_convertible_wrt R by A3,REWRITE1:29;
    then
A5: b,a are_convertible_wrt R by REWRITE1:31;
    consider pa,pb being object such that
    pa in NonZero Polynom-Ring(n,L) and
A6: pb in the carrier of Polynom-Ring(n,L) and
A7: [a,b] = [pa,pb] by A3,ZFMISC_1:def 2;
    reconsider pb as Polynomial of n,L by A6,POLYNOM1:def 11;
A8: pb = b by A7,XTUPLE_0:1;
    consider pa9,pc being object such that
    pa9 in NonZero Polynom-Ring(n,L) and
A9: pc in the carrier of Polynom-Ring(n,L) and
A10: [a,c] = [pa9,pc] by A4,ZFMISC_1:def 2;
    reconsider pc as Polynomial of n,L by A9,POLYNOM1:def 11;
A11: pc = c by A10,XTUPLE_0:1;
    reconsider pb9 = pb, pc9 = pc as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
    reconsider pc9,pb9 as Element of Polynom-Ring(n,L);
    a,c are_convertible_wrt R by A4,REWRITE1:29;
    then pb9,pc9 are_congruent_mod {p}-Ideal by A2,A8,A11,A5,POLYRED:57
,REWRITE1:30;
    then pb,pc are_convertible_wrt PolyRedRel({p},T) by POLYRED:58;
    then b,c are_convergent_wrt Rp by A8,A11,REWRITE1:def 23;
    then consider d being object such that
A12: Rp reduces b,d & Rp reduces c,d by REWRITE1:def 7;
    for u being object holds u in {p} implies u in P by A1,TARSKI:def 1;
    then {p} c= P;
    then R reduces b,d & R reduces c,d by A12,Th4,REWRITE1:22;
    hence b,c are_convergent_wrt R by REWRITE1:def 7;
  end;
  hence thesis by REWRITE1:def 24;
end;

definition
  let n be Ordinal, T be connected TermOrder of n, L be right_zeroed
add-associative right_complementable well-unital distributive non trivial non
  empty doubleLoopStr, P be Subset of Polynom-Ring(n,L);
  func HT(P,T) -> Subset of Bags n equals
  { HT(p,T) where p is Polynomial of n
  ,L : p in P & p <> 0_(n,L) };
  coherence
  proof
    set M = {HT(p,T) where p is Polynomial of n,L : p in P & p <> 0_(n,L)};
    now
      let u be object;
      assume u in M;
      then ex p being Polynomial of n,L st u = HT(p,T) & p in P & p <> 0_(n,L);
      hence u in Bags n;
    end;
    hence thesis by TARSKI:def 3;
  end;
end;

definition
  let n be Ordinal, S be Subset of Bags n;
  func multiples(S) -> Subset of Bags n equals
  { b where b is Element of Bags
n: ex b9 being bag of n st b9 in S & b9 divides b };
  coherence
  proof
    set M = {b where b is Element of Bags n : ex b9 being bag of n st b9 in S
    & b9 divides b};
    now
      let u be object;
      assume u in M;
      then
      ex b being Element of Bags n st u = b & ex b9 being bag of n st b9 in
      S & b9 divides b;
      hence u in Bags n;
    end;
    hence thesis by TARSKI:def 3;
  end;
end;

theorem :: theorem 5.35 (i) ==> (ii), p. 206
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive Abelian almost_left_invertible non
  degenerated non empty doubleLoopStr, P being Subset of Polynom-Ring(n,L)
holds PolyRedRel(P,T) is locally-confluent implies PolyRedRel(P,T) is confluent
;

theorem :: theorem 5.35 (ii) ==> (iii), p. 206
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P
  being Subset of Polynom-Ring(n,L) holds PolyRedRel(P,T) is confluent implies
  PolyRedRel(P,T) is with_UN_property;

theorem :: theorem 5.35 (iii) ==> (iv), p. 206
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive Abelian almost_left_invertible non
  degenerated non empty doubleLoopStr, P being Subset of Polynom-Ring(n,L)
  holds PolyRedRel(P,T) is with_UN_property implies PolyRedRel(P,T) is
  with_Church-Rosser_property;

Lm4: for n being Ordinal, T being connected TermOrder of n, L being
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, f
being Polynomial of n,L, g being object,
P being Subset of Polynom-Ring(n,L) holds
PolyRedRel(P,T) reduces f,g implies g is Polynomial of n,L
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, f be
  Polynomial of n,L, g be object, P be Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume R reduces f,g;
  then consider p being RedSequence of R such that
A1: p.1 = f and
A2: p.len p = g by REWRITE1:def 3;
  reconsider l = len p - 1 as Element of NAT by INT_1:5,NAT_1:14;
A3: 1 <= len(p) by NAT_1:14;
  set h = p.l;
  1 <= l + 1 by NAT_1:12;
  then l + 1 in Seg(len p) by FINSEQ_1:1;
  then
A4: l + 1 in dom p by FINSEQ_1:def 3;
  per cases;
  suppose
    len p = 1;
    hence thesis by A1,A2;
  end;
  suppose
    len p <> 1;
    then 0 + 1 < l + 1 by A3,XXREAL_0:1;
    then
A5: 1 <= l by NAT_1:13;
    l <= l + 1 by NAT_1:13;
    then l in Seg(len p) by A5,FINSEQ_1:1;
    then l in dom p by FINSEQ_1:def 3;
    then [h,g] in R by A2,A4,REWRITE1:def 2;
    then consider h9,g9 being object such that
A6: [h,g] = [h9,g9] and
    h9 in NonZero Polynom-Ring(n,L) and
A7: g9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
    g = g9 by A6,XTUPLE_0:1;
    hence thesis by A7,POLYNOM1:def 11;
  end;
end;

Lm5: for n being Ordinal, T being connected TermOrder of n, L being
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, f,
g being Polynomial of n,L, P being Subset of Polynom-Ring(n,L) holds PolyRedRel
(P,T) reduces f,g & g <> f implies ex h being Polynomial of n,L st f reduces_to
h,P,T & PolyRedRel(P,T) reduces h,g
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
  distributive almost_left_invertible non trivial doubleLoopStr, f,g be
  Polynomial of n,L, P be Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume that
A1: PolyRedRel(P,T) reduces f,g and
A2: g <> f;
  consider p being RedSequence of R such that
A3: p.1 = f and
A4: p.len p = g by A1,REWRITE1:def 3;
  set h = p.2;
  len p > 0;
  then len p + 1 > 0 + 1 by XREAL_1:8;
  then
A5: 1 <= len p by NAT_1:13;
  then 1 < len p by A2,A3,A4,XXREAL_0:1;
  then
A6: 1 + 1 <= len p by NAT_1:13;
  then 1 + 1 in Seg(len p) by FINSEQ_1:1;
  then
A7: 1 + 1 in dom p by FINSEQ_1:def 3;
  1 in Seg(len p) by A5,FINSEQ_1:1;
  then 1 in dom p by FINSEQ_1:def 3;
  then
A8: [f,h] in R by A3,A7,REWRITE1:def 2;
  then consider f9,h9 being object such that
A9: [f,h] = [f9,h9] and
  f9 in NonZero Polynom-Ring(n,L) and
A10: h9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
A11: h = h9 by A9,XTUPLE_0:1;
A12: len p in dom p by A5,FINSEQ_3:25;
  reconsider h as Polynomial of n,L by A10,A11,POLYNOM1:def 11;
  f reduces_to h,P,T by A8,POLYRED:def 13;
  hence thesis by A4,A6,A7,A12,REWRITE1:17;
end;

theorem Th15: :: theorem 5.35 (iv) ==> (v), p. 206
  for n being Element of NAT, T being connected admissible
  TermOrder of n, L being add-associative right_complementable right_zeroed
commutative associative well-unital distributive Abelian almost_left_invertible
  non degenerated non empty doubleLoopStr, P being non empty Subset of
Polynom-Ring(n,L) holds PolyRedRel(P,T) is with_Church-Rosser_property implies
(for f being Polynomial of n,L st f in P-Ideal holds PolyRedRel(P,T) reduces f,
  0_(n,L))
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, P be non empty Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume
A1: PolyRedRel(P,T) is with_Church-Rosser_property;
  now
    reconsider e = 0_(n,L) as Element of Polynom-Ring(n,L) by POLYNOM1:def 11;
    let f be Polynomial of n,L;
    assume
A2: f in P-Ideal;
    reconsider e as Element of Polynom-Ring(n,L);
    reconsider f9 = f as Element of Polynom-Ring(n,L) by POLYNOM1:def 11;
    reconsider f9 as Element of Polynom-Ring(n,L);
    f - 0_(n,L) = f9 - e by Lm2;
    then f9 - e in P-Ideal by A2,POLYRED:4;
    then f9,e are_congruent_mod P-Ideal by POLYRED:def 14;
    then f9,e are_convertible_wrt R by POLYRED:58;
    then f9,e are_convergent_wrt R by A1,REWRITE1:def 23;
    then consider c being object such that
A3: R reduces f,c and
A4: R reduces 0_(n,L),c by REWRITE1:def 7;
    reconsider c9 = c as Polynomial of n,L by A3,Lm4;
    now
      assume c9 <> 0_(n,L);
      then consider h being Polynomial of n,L such that
A5:   0_(n,L) reduces_to h,P,T and
      PolyRedRel(P,T) reduces h,c9 by A4,Lm5;
      consider pp being Polynomial of n,L such that
      pp in P and
A6:   0_(n,L) reduces_to h,pp,T by A5,POLYRED:def 7;
      0_(n,L) is_reducible_wrt pp,T by A6,POLYRED:def 8;
      hence contradiction by POLYRED:37;
    end;
    hence R reduces f,0_(n,L) by A3;
  end;
  hence thesis;
end;

theorem Th16: :: theorem 5.35 (v) ==> (vi), p. 206
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P
being Subset of Polynom-Ring(n,L) holds (for f being Polynomial of n,L st f in
P-Ideal holds PolyRedRel(P,T) reduces f,0_(n,L)) implies (for f being non-zero
  Polynomial of n,L st f in P-Ideal holds f is_reducible_wrt P,T)
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, P be Subset of
  Polynom-Ring(n,L);
  assume
A1: for f being Polynomial of n,L st f in P-Ideal holds PolyRedRel(P,T)
  reduces f,0_(n,L);
  now
    let f be non-zero Polynomial of n,L;
    assume f in P-Ideal;
    then
A2: PolyRedRel(P,T) reduces f,0_(n,L) by A1;
    f <> 0_(n,L) by POLYNOM7:def 1;
    then ex g being Polynomial of n,L st f reduces_to g,P,T & PolyRedRel(P,T)
    reduces g,0_(n,L) by A2,Lm5;
    hence f is_reducible_wrt P,T by POLYRED:def 9;
  end;
  hence thesis;
end;

theorem Th17: :: theorem 5.35 (vi) ==> (vii), p. 206
  for n being Element of NAT, T being admissible connected
  TermOrder of n, L being add-associative right_complementable right_zeroed
commutative associative well-unital distributive Abelian almost_left_invertible
non degenerated non empty doubleLoopStr, P being Subset of Polynom-Ring(n,L)
  holds (for f being non-zero Polynomial of n,L st f in P-Ideal holds f
is_reducible_wrt P,T) implies (for f being non-zero Polynomial of n,L st f in P
  -Ideal holds f is_top_reducible_wrt P,T)
proof
  let n be Element of NAT, T be admissible connected TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non degenerated non
  empty doubleLoopStr, P be Subset of Polynom-Ring(n,L);
  assume
A1: for f being non-zero Polynomial of n,L st f in P-Ideal holds f
  is_reducible_wrt P,T;
  thus for f being non-zero Polynomial of n,L st f in P-Ideal holds f
  is_top_reducible_wrt P,T
  proof
    set H = {g where g is non-zero Polynomial of n,L : g in P-Ideal & not(g
    is_top_reducible_wrt P,T)};
    let f be non-zero Polynomial of n,L;
    assume
A2: f in P-Ideal;
    assume not f is_top_reducible_wrt P,T;
    then
A3: f in H by A2;
    now
      let u be object;
      assume u in H;
      then ex g9 being non-zero Polynomial of n,L st u = g9 & g9 in P-Ideal &
      not g9 is_top_reducible_wrt P,T;
      hence u in the carrier of Polynom-Ring(n,L);
    end;
    then reconsider H as non empty Subset of Polynom-Ring(n,L) by A3,
TARSKI:def 3;
    consider p being Polynomial of n,L such that
A4: p in H and
A5: for q being Polynomial of n,L st q in H holds p <= q,T by POLYRED:31;
A6: ex p9 being non-zero Polynomial of n,L st p9 = p & p9 in P-Ideal & not
    p9 is_top_reducible_wrt P,T by A4;
    then reconsider p as non-zero Polynomial of n,L;
    p is_reducible_wrt P,T by A1,A6;
    then consider q being Polynomial of n,L such that
A7: p reduces_to q,P,T by POLYRED:def 9;
    consider u being Polynomial of n,L such that
A8: u in P and
A9: p reduces_to q,u,T by A7,POLYRED:def 7;
    ex b being bag of n st p reduces_to q,u,b,T by A9,POLYRED:def 6;
    then
A10: u <> 0_(n,L) by POLYRED:def 5;
    then reconsider u as non-zero Polynomial of n,L by POLYNOM7:def 1;
    consider b being bag of n such that
A11: p reduces_to q,u,b,T by A9,POLYRED:def 6;
A12: now
      assume b = HT(p,T);
      then p top_reduces_to q,u,T by A11,POLYRED:def 10;
      then p is_top_reducible_wrt u,T by POLYRED:def 11;
      hence contradiction by A6,A8,POLYRED:def 12;
    end;
    consider m being Monomial of n,L such that
A13: q = p - m *' u by A9,Th1;
    reconsider uu = u, pp = p, mm = m as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
    reconsider uu,pp,mm as Element of Polynom-Ring(n,L);
    uu in P-Ideal by A8,Lm1;
    then mm * uu in P-Ideal by IDEAL_1:def 2;
    then -(mm * uu) in P-Ideal by IDEAL_1:13;
    then
A14: pp + -(mm * uu) in P-Ideal by A6,IDEAL_1:def 1;
    mm * uu = m *' u by POLYNOM1:def 11;
    then p - (m *' u) = pp - (mm * uu) by Lm2;
    then
A15: q in P-Ideal by A13,A14;
A16: q < p,T by A9,POLYRED:43;
A17: p <> 0_(n,L) by POLYNOM7:def 1;
    then Support p <> {} by POLYNOM7:1;
    then
A18: HT(p,T) in Support p by TERMORD:def 6;
    b in Support p by A11,POLYRED:def 5;
    then b <= HT(p,T),T by TERMORD:def 6;
    then b < HT(p,T),T by A12,TERMORD:def 3;
    then
A19: HT(p,T) in Support q by A18,A11,POLYRED:40;
    now
      per cases;
      case
A20:    q <> 0_(n,L);
        then reconsider q as non-zero Polynomial of n,L by POLYNOM7:def 1;
        Support q <> {} by A20,POLYNOM7:1;
        then HT(q,T) in Support q by TERMORD:def 6;
        then
A21:    HT(q,T) <= HT(p,T),T by A9,POLYRED:42;
        HT(p,T) <= HT(q,T),T by A19,TERMORD:def 6;
        then
A22:    HT(q,T) = HT(p,T) by A21,TERMORD:7;
        now
          assume not q is_top_reducible_wrt P,T;
          then q in H by A15;
          then p <= q,T by A5;
          hence contradiction by A16,POLYRED:29;
        end;
        then consider u9 being Polynomial of n,L such that
A23:    u9 in P and
A24:    q is_top_reducible_wrt u9,T by POLYRED:def 12;
        consider q9 being Polynomial of n,L such that
A25:    q top_reduces_to q9,u9,T by A24,POLYRED:def 11;
A26:    p <> 0_(n,L) by POLYNOM7:def 1;
        then Support p <> {} by POLYNOM7:1;
        then
A27:    HT(p,T) in Support p by TERMORD:def 6;
A28:    q reduces_to q9,u9,HT(q,T),T by A25,POLYRED:def 10;
        then consider s being bag of n such that
A29:    s + HT(u9,T) = HT(q,T) and
        q9 = q - (q.(HT(q,T))/HC(u9,T)) * (s *' u9) by POLYRED:def 5;
        set qq = p - (p.(HT(p,T))/HC(u9,T)) * (s *' u9);
        u9 <> 0_(n,L) by A28,POLYRED:def 5;
        then p reduces_to qq,u9,HT(p,T),T by A22,A29,A26,A27,POLYRED:def 5;
        then p top_reduces_to qq,u9,T by POLYRED:def 10;
        then p is_top_reducible_wrt u9,T by POLYRED:def 11;
        hence contradiction by A6,A23,POLYRED:def 12;
      end;
      case
        q = 0_(n,L);
        then
A30:    m *' u = (p - m *' u) + m *' u by A13,POLYRED:2
          .= (p + -(m *' u)) + m *' u by POLYNOM1:def 7
          .= p + (-(m *' u) + m *' u) by POLYNOM1:21
          .= p + 0_(n,L) by POLYRED:3
          .= p by POLYNOM1:23;
        m <> 0_(n,L) by POLYNOM7:def 1,A30,POLYRED:5;
        then reconsider m as non-zero Polynomial of n,L by POLYNOM7:def 1;
        set pp = p - (p.(HT(p,T))/HC(u,T)) * (HT(m,T) *' u);
        HT(p,T) = HT(m,T) + HT(u,T) by A30,TERMORD:31;
        then p reduces_to pp,u,HT(p,T),T by A10,A17,A18,POLYRED:def 5;
        then p top_reduces_to pp,u,T by POLYRED:def 10;
        then p is_top_reducible_wrt u,T by POLYRED:def 11;
        hence contradiction by A6,A8,POLYRED:def 12;
      end;
    end;
    hence thesis;
  end;
end;

theorem Th18: :: theorem 5.35 (vii) ==> (viii), p. 206
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P
being Subset of Polynom-Ring(n,L) holds (for f being non-zero Polynomial of n,L
st f in P-Ideal holds f is_top_reducible_wrt P,T) implies (for b being bag of n
  st b in HT(P-Ideal,T) ex b9 being bag of n st b9 in HT(P,T) & b9 divides b)
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, P be Subset of
  Polynom-Ring(n,L);
  assume
A1: for f being non-zero Polynomial of n,L st f in P-Ideal holds f
  is_top_reducible_wrt P,T;
  now
    let b be bag of n;
    assume b in HT(P-Ideal,T);
    then consider p being Polynomial of n,L such that
A2: b = HT(p,T) and
A3: p in P-Ideal and
A4: p <> 0_(n,L);
    reconsider p as non-zero Polynomial of n,L by A4,POLYNOM7:def 1;
    p is_top_reducible_wrt P,T by A1,A3;
    then consider u being Polynomial of n,L such that
A5: u in P and
A6: p is_top_reducible_wrt u,T by POLYRED:def 12;
    consider q being Polynomial of n,L such that
A7: p top_reduces_to q,u,T by A6,POLYRED:def 11;
A8: p reduces_to q,u,HT(p,T),T by A7,POLYRED:def 10;
    then u <> 0_(n,L) by POLYRED:def 5;
    then
A9: HT(u,T) in {HT(r,T) where r is Polynomial of n,L : r in P & r <> 0_(n
    ,L)} by A5;
    ex s being bag of n st s + HT(u,T) = HT(p,T) & q = p - ( p.(HT(p,T))/
    HC(u,T)) * (s *' u) by A8,POLYRED:def 5;
    hence ex b9 being bag of n st b9 in HT(P,T) & b9 divides b by A2,A9,
PRE_POLY:50;
  end;
  hence thesis;
end;

theorem :: theorem 5.35 (viii) ==> (ix), p. 206
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P
  being Subset of Polynom-Ring(n,L) holds (for b being bag of n st b in HT(P
  -Ideal,T) ex b9 being bag of n st b9 in HT(P,T) & b9 divides b) implies HT(P
  -Ideal,T) c= multiples(HT(P,T))
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, P be Subset of
  Polynom-Ring(n,L);
  assume
A1: for b being bag of n st b in HT(P-Ideal,T) ex b9 being bag of n st
  b9 in HT(P,T) & b9 divides b;
    let u be object;
    assume
A2: u in HT(P-Ideal,T);
    then reconsider u9 = u as Element of Bags n;
    ex b9 being bag of n st b9 in HT(P,T) & b9 divides u9 by A1,A2;
    hence u in multiples(HT(P,T));
end;

theorem :: theorem 5.35 (ix) ==> (i), p. 206
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being Abelian add-associative right_complementable right_zeroed
  commutative associative well-unital distributive almost_left_invertible non
  degenerated non empty doubleLoopStr, P being Subset of Polynom-Ring(n,L)
  holds HT(P-Ideal,T) c= multiples(HT(P,T)) implies PolyRedRel(P,T) is
  locally-confluent
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, P be Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume
A1: HT(P-Ideal,T) c= multiples(HT(P,T));
A2: for f being Polynomial of n,L st f in P-Ideal & f <> 0_(n,L) holds f
  is_reducible_wrt P,T
  proof
    let f be Polynomial of n,L;
    assume that
A3: f in P-Ideal and
A4: f <> 0_(n,L);
    HT(f,T) in {HT(p,T) where p is Polynomial of n,L : p in P-Ideal & p <>
    0_(n,L)} by A3,A4;
    then HT(f,T) in multiples(HT(P,T)) by A1;
    then ex b being Element of Bags n st b = HT(f,T) & ex b9 being bag of n st
    b9 in HT(P,T) & b9 divides b;
    then consider b9 being bag of n such that
A5: b9 in HT(P,T) and
A6: b9 divides HT(f,T);
    consider p being Polynomial of n,L such that
A7: b9 = HT(p,T) and
A8: p in P and
A9: p <> 0_(n,L) by A5;
    consider s being bag of n such that
A10: b9 + s = HT(f,T) by A6,TERMORD:1;
    set g = f - (f.(HT(f,T))/HC(p,T)) * (s *' p);
    Support f <> {} by A4,POLYNOM7:1;
    then HT(f,T) in Support f by TERMORD:def 6;
    then f reduces_to g,p,HT(f,T),T by A4,A7,A9,A10,POLYRED:def 5;
    then f reduces_to g,p,T by POLYRED:def 6;
    then f reduces_to g,P,T by A8,POLYRED:def 7;
    hence thesis by POLYRED:def 9;
  end;
A11: for f being Polynomial of n,L st f in P-Ideal holds R reduces f,0_(n,L)
  proof
    let f be Polynomial of n,L;
    assume
A12: f in P-Ideal;
    per cases;
    suppose
      f = 0_(n,L);
      hence thesis by REWRITE1:12;
    end;
    suppose
      f <> 0_(n,L);
      then f is_reducible_wrt P,T by A2,A12;
      then consider v being Polynomial of n,L such that
A13:  f reduces_to v,P,T by POLYRED:def 9;
      [f,v] in R by A13,POLYRED:def 13;
      then f in field R by RELAT_1:15;
      then f has_a_normal_form_wrt R by REWRITE1:def 14;
      then consider g being object such that
A14:  g is_a_normal_form_of f,R by REWRITE1:def 11;
A15:  R reduces f,g by A14,REWRITE1:def 6;
      then reconsider g9 = g as Polynomial of n,L by Lm4;
      reconsider ff = f, gg = g9 as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
      reconsider ff,gg as Element of Polynom-Ring(n,L);
      f - g9 = ff - gg by Lm2;
      then ff - gg in P-Ideal by A15,POLYRED:59;
      then
A16:  (ff - gg) - ff in P-Ideal by A12,IDEAL_1:16;
      (ff - gg) - ff = (ff + -gg) - ff
        .= (ff + -gg) + -ff
        .= (ff + -ff) + -gg by RLVECT_1:def 3
        .= 0.(Polynom-Ring(n,L)) + -gg by RLVECT_1:5
        .= - gg by ALGSTR_1:def 2;
      then --gg in P-Ideal by A16,IDEAL_1:14;
      then
A17:  g in P-Ideal by RLVECT_1:17;
      assume not R reduces f,0_(n,L);
      then g <> 0_(n,L) by A14,REWRITE1:def 6;
      then g9 is_reducible_wrt P,T by A2,A17;
      then consider u being Polynomial of n,L such that
A18:  g9 reduces_to u,P,T by POLYRED:def 9;
A19:  [g9,u] in R by A18,POLYRED:def 13;
      g is_a_normal_form_wrt R by A14,REWRITE1:def 6;
      hence contradiction by A19,REWRITE1:def 5;
    end;
  end;
  now
    let a,b,c being object;
    assume that
A20: [a,b] in R and
A21: [a,c] in R;
    consider a9,b9 being object such that
    a9 in (NonZero Polynom-Ring(n,L)) and
A22: b9 in the carrier of Polynom-Ring(n,L) and
A23: [a,b] = [a9,b9] by A20,ZFMISC_1:def 2;
A24: b9 = b by A23,XTUPLE_0:1;
    a,b are_convertible_wrt R by A20,REWRITE1:29;
    then
A25: b,a are_convertible_wrt R by REWRITE1:31;
    consider aa,c9 being object such that
    aa in (NonZero Polynom-Ring(n,L)) and
A26: c9 in the carrier of Polynom-Ring(n,L) and
A27: [a,c] = [aa,c9] by A21,ZFMISC_1:def 2;
A28: c9 = c by A27,XTUPLE_0:1;
    reconsider b9, c9 as Polynomial of n,L by A22,A26,POLYNOM1:def 11;
    reconsider bb = b9, cc = c9 as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
    reconsider bb,cc as Element of Polynom-Ring(n,L);
    a,c are_convertible_wrt R by A21,REWRITE1:29;
    then bb,cc are_congruent_mod P-Ideal by A24,A28,A25,POLYRED:57,REWRITE1:30;
    then
A29: bb - cc in P-Ideal by POLYRED:def 14;
    b9 - c9 = bb - cc by Lm2;
    hence b,c are_convergent_wrt R by A11,A24,A28,A29,POLYRED:50;
  end;
  hence thesis by REWRITE1:def 24;
end;

definition :: definition 5.37, p. 207
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, G be Subset of
  Polynom-Ring(n,L);
  pred G is_Groebner_basis_wrt T means

  PolyRedRel(G,T) is locally-confluent;
end;

definition :: definition 5.37, p. 207
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, G,I be Subset
  of Polynom-Ring(n,L);
  pred G is_Groebner_basis_of I,T means

  G-Ideal = I & PolyRedRel(G,T) is locally-confluent;
end;

Lm6: for n being Ordinal, T being connected TermOrder of n, L being
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, P
being Subset of Polynom-Ring(n,L),
a,b being object st a <> b holds PolyRedRel(P,T
) reduces a,b implies a is Polynomial of n,L & b is Polynomial of n,L
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, P be Subset of
  Polynom-Ring(n,L), f,g be object;
  set R = PolyRedRel(P,T);
  assume
A1: f <> g;
  assume R reduces f,g;
  then consider p being RedSequence of R such that
A2: p.1 = f and
A3: p.len p = g by REWRITE1:def 3;
  reconsider l = len p - 1 as Element of NAT by INT_1:5,NAT_1:14;
  set q = p.(1+1), h = p.l;
A4: 1 <= len(p) by NAT_1:14;
  now
    per cases;
    case
      len p = 1;
      hence f is Polynomial of n,L by A1,A2,A3;
    end;
    case
      len p <> 1;
      then 1 < len p by A4,XXREAL_0:1;
      then 1 + 1 <= len p by NAT_1:13;
      then 1 + 1 in Seg(len p) by FINSEQ_1:1;
      then
A5:   1 + 1 in dom p by FINSEQ_1:def 3;
      1 in Seg(len p) by A4,FINSEQ_1:1;
      then 1 in dom p by FINSEQ_1:def 3;
      then [f,q] in R by A2,A5,REWRITE1:def 2;
      then consider h9,g9 being object such that
A6:   [f,q] = [h9,g9] and
A7:   h9 in NonZero Polynom-Ring(n,L) and
      g9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
      f = h9 by A6,XTUPLE_0:1;
      hence f is Polynomial of n,L by A7,POLYNOM1:def 11;
    end;
  end;
  hence f is Polynomial of n,L;
  1 <= l + 1 by NAT_1:12;
  then l + 1 in Seg(len p) by FINSEQ_1:1;
  then
A8: l + 1 in dom p by FINSEQ_1:def 3;
  now
    per cases;
    case
      len p = 1;
      hence thesis by A1,A2,A3;
    end;
    case
      len p <> 1;
      then 0 + 1 < l + 1 by A4,XXREAL_0:1;
      then
A9:   1 <= l by NAT_1:13;
      l <= l + 1 by NAT_1:13;
      then l in Seg(len p) by A9,FINSEQ_1:1;
      then l in dom p by FINSEQ_1:def 3;
      then [h,g] in R by A3,A8,REWRITE1:def 2;
      then consider h9,g9 being object such that
A10:  [h,g] = [h9,g9] and
      h9 in NonZero Polynom-Ring(n,L) and
A11:  g9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
      g = g9 by A10,XTUPLE_0:1;
      hence thesis by A11,POLYNOM1:def 11;
    end;
  end;
  hence thesis;
end;

theorem
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being Abelian add-associative right_complementable right_zeroed
  commutative associative well-unital distributive almost_left_invertible non
  degenerated non empty doubleLoopStr, G,P being non empty Subset of
  Polynom-Ring(n,L) st G is_Groebner_basis_of P,T holds PolyRedRel(G,T) is
  Completion of PolyRedRel(P,T)
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, G,P be non empty Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(P,T);
  assume
A1: G is_Groebner_basis_of P,T;
  then reconsider RG = PolyRedRel(G,T) as complete Relation;
  for a,b being object holds a,b are_convertible_wrt R iff a,b
  are_convergent_wrt RG
  proof
    let a,b be object;
A2: G-Ideal = P by A1;
A3: now
      assume
A4:   a,b are_convertible_wrt R;
      now
        per cases;
        case
          a = b;
          hence a,b are_convergent_wrt RG by REWRITE1:38;
        end;
        case
A5:       a <> b;
          R \/ R~ reduces a,b by A4,REWRITE1:def 4;
          then consider p being RedSequence of R \/ R~ such that
A6:       p.1 = a and
A7:       p.len p = b by REWRITE1:def 3;
          reconsider l = len p - 1 as Element of NAT by INT_1:5,NAT_1:14;
A8:       1 <= len(p) by NAT_1:14;
          set h = p.l, g = p.(1+1);
          1 <= l + 1 by NAT_1:12;
          then l + 1 in Seg(len p) by FINSEQ_1:1;
          then
A9:       l + 1 in dom p by FINSEQ_1:def 3;
          now
            per cases;
            case
              len p = 1;
              hence
              a is Polynomial of n,L & b is Polynomial of n,L by A5,A6,A7;
            end;
            case
A10:          len p <> 1;
              then 0 + 1 < l + 1 by A8,XXREAL_0:1;
              then
A11:          1 <= l by NAT_1:13;
              l <= l + 1 by NAT_1:13;
              then l in Seg(len p) by A11,FINSEQ_1:1;
              then l in dom p by FINSEQ_1:def 3;
              then
A12:          [h,b] in R \/ R~ by A7,A9,REWRITE1:def 2;
A13:          now
                per cases by A12,XBOOLE_0:def 3;
                case
                  [h,b] in R;
                  then consider h9,b9 being object such that
A14:              [h,b] = [h9,b9] and
                  h9 in NonZero Polynom-Ring(n,L) and
A15:              b9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
                  b = b9 by A14,XTUPLE_0:1;
                  hence b is Polynomial of n,L by A15,POLYNOM1:def 11;
                end;
                case
                  [h,b] in R~;
                  then [b,h] in R by RELAT_1:def 7;
                  then consider h9,b9 being object such that
A16:              [b,h] = [h9,b9] and
A17:              h9 in NonZero Polynom-Ring(n,L) and
                  b9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
                  b = h9 by A16,XTUPLE_0:1;
                  hence b is Polynomial of n,L by A17,POLYNOM1:def 11;
                end;
              end;
              1 < len p by A8,A10,XXREAL_0:1;
              then 1 + 1 <= len p by NAT_1:13;
              then 1 + 1 in Seg(len p) by FINSEQ_1:1;
              then
A18:          1 + 1 in dom p by FINSEQ_1:def 3;
              1 in Seg(len p) by A8,FINSEQ_1:1;
              then 1 in dom p by FINSEQ_1:def 3;
              then
A19:          [a,g] in R \/ R~ by A6,A18,REWRITE1:def 2;
              now
                per cases by A19,XBOOLE_0:def 3;
                case
                  [a,g] in R;
                  then consider h9,b9 being object such that
A20:              [a,g] = [h9,b9] and
A21:              h9 in NonZero Polynom-Ring(n,L) and
                  b9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
                  a = h9 by A20,XTUPLE_0:1;
                  hence a is Polynomial of n,L by A21,POLYNOM1:def 11;
                end;
                case
                  [a,g] in R~;
                  then [g,a] in R by RELAT_1:def 7;
                  then consider h9,b9 being object such that
A22:              [g,a] = [h9,b9] and
                  h9 in NonZero Polynom-Ring(n,L) and
A23:              b9 in (the carrier of Polynom-Ring(n,L)) by RELSET_1:2;
                  a = b9 by A22,XTUPLE_0:1;
                  hence a is Polynomial of n,L by A23,POLYNOM1:def 11;
                end;
              end;
              hence a is Polynomial of n, L & b is Polynomial of n,L by A13;
            end;
          end;
          then reconsider a9 = a, b9 = b as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
          reconsider a9,b9 as Element of Polynom-Ring(n,L);
          G-Ideal = P-Ideal by A2,IDEAL_1:44;
          then a9,b9 are_congruent_mod G-Ideal by A4,POLYRED:57;
          then a9,b9 are_convertible_wrt RG by POLYRED:58;
          hence a,b are_convergent_wrt RG by REWRITE1:def 23;
        end;
      end;
      hence a,b are_convergent_wrt RG;
    end;
    now
      assume
A24:  a,b are_convergent_wrt RG;
      now
        per cases;
        case
          a = b;
          hence a,b are_convertible_wrt R by REWRITE1:26;
        end;
        case
A25:      a <> b;
          consider c being object such that
A26:      RG reduces a,c and
A27:      RG reduces b,c by A24,REWRITE1:def 7;
          a is Polynomial of n,L & b is Polynomial of n,L
          proof
            now
              per cases;
              case
                a = c;
                hence thesis by A25,A27,Lm6;
              end;
              case
A28:            a <> c;
                now
                  per cases;
                  case
                    b = c;
                    hence thesis by A25,A26,Lm6;
                  end;
                  case
                    b <> c;
                    hence b is Polynomial of n,L by A27,Lm6;
                  end;
                end;
                hence thesis by A26,A28,Lm6;
              end;
            end;
            hence thesis;
          end;
          then reconsider
          a9 = a, b9 = b as Element of the carrier of Polynom-Ring(
          n,L) by POLYNOM1:def 11;
          reconsider a9,b9 as Element of Polynom-Ring(n,L);
          G-Ideal = P-Ideal & a9,b9 are_convertible_wrt RG by A2,A24,IDEAL_1:44
,REWRITE1:37;
          then a9,b9 are_congruent_mod P-Ideal by POLYRED:57;
          hence a,b are_convertible_wrt R by POLYRED:58;
        end;
      end;
      hence a,b are_convertible_wrt R;
    end;
    hence thesis by A3;
  end;
  hence thesis by REWRITE1:def 28;
end;

theorem
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being Abelian add-associative right_complementable right_zeroed
  commutative associative well-unital distributive almost_left_invertible non
degenerated non empty doubleLoopStr, p,q being Element of Polynom-Ring(n,L),
  G being non empty Subset of Polynom-Ring(n,L) st G is_Groebner_basis_wrt T
holds p,q are_congruent_mod G-Ideal iff nf(p,PolyRedRel(G,T)) = nf(q,PolyRedRel
  (G,T))
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, p,q be Element of Polynom-Ring(n,L), G be non empty
  Subset of Polynom-Ring(n,L);
  set R = PolyRedRel(G,T);
  assume G is_Groebner_basis_wrt T;
  then
A1: PolyRedRel(G,T) is locally-confluent;
  now
    nf(q,R) is_a_normal_form_of q,R by A1,REWRITE1:54;
    then R reduces q,nf(q,R) by REWRITE1:def 6;
    then
A2: nf(q,R),q are_convertible_wrt R by REWRITE1:25;
    nf(p,R) is_a_normal_form_of p,R by A1,REWRITE1:54;
    then R reduces p,nf(p,R) by REWRITE1:def 6;
    then
A3: p,nf(p,R) are_convertible_wrt R by REWRITE1:25;
    assume nf(p,PolyRedRel(G,T)) = nf(q,PolyRedRel(G,T));
    hence p,q are_congruent_mod G-Ideal by A3,A2,POLYRED:57,REWRITE1:30;
  end;
  hence thesis by A1,POLYRED:58,REWRITE1:55;
end;

theorem
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive Abelian almost_left_invertible non
  degenerated non empty doubleLoopStr, f being Polynomial of n,L, P being non
  empty Subset of Polynom-Ring(n,L) st P is_Groebner_basis_wrt T holds f in P
  -Ideal iff PolyRedRel(P,T) reduces f,0_(n,L)
by Th15,POLYRED:60;

Lm7: for n being Ordinal, T being connected TermOrder of n, L being Abelian
add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, I
being LeftIdeal of Polynom-Ring(n,L), G being non empty Subset of Polynom-Ring(
n,L) st G c= I holds (for f being Polynomial of n,L st f in I holds PolyRedRel(
G,T) reduces f,0_(n,L)) implies G-Ideal = I
proof
  let n be Ordinal, T be connected TermOrder of n, L be Abelian
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, I
be LeftIdeal of Polynom-Ring(n,L), G be non empty Subset of Polynom-Ring(n,L);
  assume
A1: G c= I;
A2: now
    let u be object;
    assume
A3: u in G-Ideal;
    G-Ideal c= I by A1,IDEAL_1:def 14;
    hence u in I by A3;
  end;
  assume
A4: for f being Polynomial of n,L st f in I holds PolyRedRel(G,T)
  reduces f,0_(n,L);
  now
    let u be object;
    assume
A5: u in I;
    then reconsider u9 = u as Element of Polynom-Ring(n,L);
    reconsider u9 as Polynomial of n,L by POLYNOM1:def 11;
    PolyRedRel(G,T) reduces u9,0_(n,L) by A4,A5;
    hence u in G-Ideal by POLYRED:60;
  end;
  hence thesis by A2,TARSKI:2;
end;

theorem Th24: :: theorem 5.38 (o) ==> (i), p. 207
  for n being Element of NAT, T being connected admissible
  TermOrder of n, L being add-associative right_complementable right_zeroed
commutative associative well-unital distributive Abelian almost_left_invertible
non degenerated non empty doubleLoopStr, I being Subset of Polynom-Ring(n,L),
G being non empty Subset of Polynom-Ring(n,L) holds G is_Groebner_basis_of I,T
implies (for f being Polynomial of n,L st f in I holds PolyRedRel(G,T) reduces
  f,0_(n,L))
by Th15;

theorem Th25: :: theorem 5.38 (i) ==> (ii), p. 207
  for n being Ordinal, T being connected TermOrder of n, L being
  add-associative right_complementable right_zeroed commutative associative
well-unital distributive almost_left_invertible non trivial doubleLoopStr, G,
  I being Subset of Polynom-Ring(n,L) holds (for f being Polynomial of n,L st f
  in I holds PolyRedRel(G,T) reduces f,0_(n,L)) implies (for f being non-zero
  Polynomial of n,L st f in I holds f is_reducible_wrt G,T)
proof
  let n be Ordinal, T be connected TermOrder of n, L be add-associative
  right_complementable right_zeroed commutative associative well-unital
distributive almost_left_invertible non trivial doubleLoopStr, G,I be Subset
  of Polynom-Ring(n,L);
  assume
A1: for f being Polynomial of n,L st f in I holds PolyRedRel(G,T)
  reduces f,0_(n,L);
  now
    let f be non-zero Polynomial of n,L;
    assume f in I;
    then
A2: PolyRedRel(G,T) reduces f,0_(n,L) by A1;
    f <> 0_(n,L) by POLYNOM7:def 1;
    then ex g being Polynomial of n,L st f reduces_to g,G,T & PolyRedRel(G,T)
    reduces g,0_(n,L) by:: Spaces::  by Kazuhisa Nakasho and Yasunari Shidama
:: License version 3.0 or later:: detailed in file COPYING.interpretation.
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

     ,, java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 77
for   , being admissible connected
  TermOrder for of java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 79
non,  closed-Subset
Ring) java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 78
-Polynomial f holdsTjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
zero Polynomial  ,L  inIholds java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
   GT)
proof
  let n be ElementA5 for x be Point fS  nN
 
  well-unitaldistributiveAbelian almost_left_invertible non degenerated non
 being-java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 78
  , java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
  assume
A1: P c= I;
  assume
A2:for  beingnon-zero Polynomial of n,L st in Iholds f
  is_reducible_wrtendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
 being- o LstinIholdsf
   be Subsetjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  proof
    set
is_top_reducible_wrt ,}
    let PartFunc ,T
    assume
A3: f in I;
    not ,T;
    then
A4: f in H by A3;
    
      let u be object;
assume Hjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then  g9being -java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 78
T
Polynom(L;
    end;
nreconsider H asnonemptyof -(,)by ,
TARSKI:def 3;
 p  ,such
A5  in and
:qPolynomialofn,q  H   = , POLYRED31;
A7:   (`   )x=( |Z.java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
    java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 35
   non-  ,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
qbeing of L such that
A8: p reduces_to end;
forS, T be RealNormSpace,
A9  Z& java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A10
      then:|Z=f|)|Zjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    
 u (L)by: java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  S bejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
considerb bag    that
,TP:def) java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
A13: now
=pT)
thentop_reduces_to,Tby, ;
thenjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 56
hence contradiction by A7,A9,POLYRED:def 12;

beingof,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
A14: q         + 1<  1byXREAL_113;
    reconsider uu = u           ,6A,1417;

    reconsider uu =diff(fkZ |Z A5A6:1317
    mm k  (,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    ( *)inI IDEAL_1:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
   java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
pp+-mm    A7def;
mm*=m 'u :ef 11;
thenp m* )=-m* Lm2

A16java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
  <p, byA10,OLYRED:43;
18  < 0(,L) by POLYNOM7:def 1;
    then Support p <> {         difffkZ  Z
    then
A19 (,)in Support byTERMORD: 6;
    b in Support p by A12,thenk1- =i- XREAL_113java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 =pT,by6java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
<p)byd ;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A20;
now
end;
      case
A21:    q <> 0_    isopen&  c java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 non-  L: 1
        Support q <>       PartFunc ,,
        HTq,T)    6;
        then
A22:    HT(q,T) <= HT(passume
        HT(,T)<= HT(q),T by A20,: 6
        then
A23:    hence thesisA1A2,Th9;
        v1=  v2 =w2
          assume not qletX bejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
         thenqinHby A16java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
          java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        end;
thenconsideru9beingPolynomialofnLsuch 
    in and
    is_top_reducible_wrtu9,byPOLYREDdef ;
        consider q9 being java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
 top_reduces_toq9,u9, byA25
(n)b POLYNOM7:ef java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    =(/.d)  v .d)  A4VFUNCT_1 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
               then
:HTpT in Support p by TERMORD:def 6;
A29:    q reduces_to q9,u9,HT(q,T),T by A26,POLYRED:def 10;
        then   zw12 is LipschitzianLinearOperator of X, by LOPBAN_1:def 9;
A30:    s + HT(u9,T) = HTA6 dom( v1)
        =q  (.HT(,T)/(u9T)  s*)byPOLYRED: 5;
        set qq  fors   sts indom ()v1)
        u9 <> 0_(n,L) by  letsbe ;
         reduces_to qq,9HTpT),T by A23A27,A28,POLYRED:def 5;
thenptop_reduces_toqq,T by POLYRED 10;
        then     =a*(v1 .d)A7,VFUNCT_1def 4
        hence hence a (#) v1 = a  byA6,FUNCT_1:2;
      end;
      case
q _n);
      b
A31&a#(    (v  java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
        =p+-m*'u) + m * u by POLYNOM1:ef 7
+ m*  POLYNOM1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
          .= p + 0_(n,L) by POLYRED:3
          .    X
        m <>  :     java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          p-p((,)/(,)  H(,)')
        HT(p,  A9: a(#)v2 ijava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 72
        then p reduces_to java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
thenp top_reduces_to ppuT by : 10
        then  u, by :11;
 byA7A9,OLYRED:def 12;
      end;
    end;
    hence thesis;
  
end;

T:
  for n being Ordinal, T being       pv be Point of R_NormSpace_of_Boun(XY,
  add-associative right_complementable right_zeroed commutative associative
tive  non  doubleLoopStr G,
 being SubsetofPolynom-Ring(,L holds (for f being non-zero Polynomial of n
,st  I  is_top_reducible_wrt,)  for (Y,
    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 39
proof
   of n beaddassociative
  right_complementable java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 15
istributivealmost_left_invertiblenontrivial,P,  Subset
  PolynomRing(L;
  assume
A1: for   reconsiv1 pv2v2   of
    reconsiders,ps2s  Pointof
  now
    let b be bag of n;
    b inHTIT)java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
    then consider p being Polynomial of n,L such that
A2: b = HT(p,T) and
A3: p in IA11 * LipschitzianLinearOperatorA4,defjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
: p>0(Ljava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
reconsiderasnonzero,L A4,OLYNOM7def;
    consider  beingPolynomialof,  that
  
A6: p    = ps1*(a*pv1) by A6,A12,Th13
    consider q being Polynomial.a#(*),Th13,30
A7 quT  POLYREDd 11
A8: p reduces_to q,u,HT(p,T),T by A7,POLYRED:def 10;
    then      f1 java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    then
A9: HT(u,T) in {HT(r,T) where r is Polynomial of n,L : r in P & r <> 0_(n
    ,L)}  assumet
    ex s being A3: f2 is_continuous_in f1 /. x0;
    HC(u,T)) * java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence ex b9 being bag of n stst <s
PRE_POLY:0;
  end;
  henceassume  <r; then
end;

java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 50
  for n being Ordinal, T being connectedA6:0 < s
  add-associative right_complementable right_zeroed commutative |. .x1)-(1/x0)| <t
well-unital distributive java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
I java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ex b9 being bag of n st b9 in HT(G,T) & b9 divides b)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  multiples(HT(G,T))
proof
  n  , be of,L add-
  right_complementable right_zeroed commutative associative well-java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 63
  distributive almost_left_invertible non trivial doubleLoopStr, ;
  Subset of      Z be S of,
  assumeubeE
:    stb  IT  bagofnstin
  HT(, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
letu be java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    assume
A2: u in HT(I,T);
    then reconsider u9 = u as Element of Bags n;
    ex b9 being bag of n st b9    let x be object;
    hence u in multiples(HT    then .xin.:A4FUNCT_1:def 6;
end

theorem 
  for n beingforr Real        r
  TermOrder of n,      & for x1 be PoE
 commutativeassociativewell-unital distributive
  almost_left_invertible non degeneratedproof
add-closed left-ideal non java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
Subsetof Polynom-ing(n,L)stGc I  HTI,T c=multiples(HT(G,T))
  impliesGi I,
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, I being add-closed left-ideal non empty Subset of
  Polynom-Ring(n,L), P be non empty Subset of Polynom-Ring(n,L);
  assume
A1  A9: 0 <t
  set R = PolyRedRel(P,        st  in   |.1  /x0.| < 
  ssume
A2: HT       java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
: for  being Polynomial of , st f in I &  >0(,)holds f
  is_reducible_wrt P,T
  proof
    let f java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    assume that
A4: f in I and
A5: f <> 0_(n,L);
f  pT p nL:p  I   >0_njava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
L}A4A
HT(,)(P) A2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    
  x  X
     b9 being of such that
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A7: b9 divides HT(fletPoint :,Y;
    consider p|.  (||^)+|..|^)1
A8  =HT(,T 
A9:
A10: p <>       ,
    consider s being bag of n such that
A11: b9 + sjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    set g =
7:1;
,Tjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    then f reduces_to g,p,HT(f,T),T by A5,A8,A10,A11,POLYRED:def 5;
    then f reduces_to g,p,T by POLYRED:def 6;
    then f reduces_to g,P,T by A9,POLYRED:def 7;
    hence thesis by POLYRED:def 9;
  end;
:PolyRedRel(T (I,)  ,;
ZbeSubsetofEjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  proof
    let       Z
    assume
A14: f in I&forx ofE in
    per cases;
    suppose
            f of ,G
      hence thesis by REWRITE1:12  A1 u:Z c T and
    end;  open 32java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    suppose
      f <> 0_(n,L);
      then consider v being Polynomial java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 24
A15:  f reduces_to v,P,T by A3,A14,POLYRED
      [f,v] in R by A15,POLYRED:def 
      then f in field R by RELAT_1:15;
      then f has_a_normal_form_wrt java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 24
      then consider g being object such that
A16:  g is_a_normal_form_of f,R by REWRITE1:def 11;
A17:  R reduces f,g by A16,;
lynomialnL;
      reconsider ff = f, gg = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
POLYNOM1:def 11;
      reconsider java.lang.NullPointerException
      f - g9 = ff -        java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
thenff - in I-Idealby A12A,59:;
   ff  gginI IDEAL_144
      then
A18:  (theoremjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
      (ff - gg)-ff =( +-g)-ff
        .= (ff + -gg) + -ff
 + -gg3
        .= 0(PolynomRing,)  gg 5
       =  ALGSTR_1 ;
      then --gg in I by A18,IDEAL_1:14;
      then
A19:  g in I by RLVECT_1:17;
      assume not R reduces f,0_(n,L);
      then g <> 0_(n,L) by A16,REWRITE1:def 6;
      then g9 is_reducible_wrt P,T by A3,A19;
      then consider u being Polynomial of n,L such that
A20:  g9 reduces_to u,P,T by POLYRED:def 9;
A21:  [g9,u] in R by A20,POLYRED:def 13;
      g is_a_normal_form_wrt R by A16,REWRITE1:def 6;
      hence contradiction by A21,REWRITE1:def 5;
    end;
  end;
  then
A22: P-Ideal = I by A1,Lm7;
  now
    let a,b,c being object;
    assume that
A23: [a,b] in R and
A24: [a,c] in R;
    consider a9,b9 being object such that
    a9 in (NonZero Polynom-Ring(n,L)) and
A25: b9 in the carrier of Polynom-Ring(n,L) and
A26: [a,b] = [a9,b9] by A23,ZFMISC_1:def 2;
A27: b9 = b by A26,XTUPLE_0:1;
    a,b are_convertible_wrt R by A23,REWRITE1:29;
    then
A28: b,a are_convertible_wrt R by REWRITE1:31;
    consider aa,c9 being object such that
    aa in (NonZero Polynom-Ring(n,L)) and
A29: c9 in  assume
A30: [ais_differentiable_on#F
    byA30,TUPLE_0:1;
,A29,POLYNOM1:def 11
    reconsider java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
POLYNOM1:def 11;
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 53
    a,c are_convertible_wrt R by A24,REWRITE1:29;
java.lang.StringIndexOutOfBoundsException: Range [14, 4) out of bounds for length 77
    then;
A32: bb - cc in     ,Gjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    -   java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 29
    hence b,c are_convergent_wrt R by A13,A27,A31,A32,POLYRED:50;
  end;
  then PolyRedRel(P,T) is locally-confluent by REWRITE1:def 24;
  hence thesis by A22 java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7


begin :: Existence of Groebner Bases

theorem Th30:
  for n being Element of NAT, T       (2 (1EF,
  TermOrder of n, L being add-associative right_complementable right_zeroed
commutativewellunital distributiveAbelianalmost_left_invertible
  non trivial
proof
  let n be Element of NAT,Tbe  ofn  
  commutative associative
  well-unital distributive Abelian almost_left_invertible non trivial
  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
  set ex beobject
A1: 0_(n,L) = 0.Polynom&P1[,]
  now
ab  objectjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
assume
 a, Rand
    [a,c] in R;
    consider,   
  NonZero PolynomRing(,L and
A4: q            NDIFF_6:0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:b  p ,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 39
    reconsider q as Polynomial of n           [xK]fromFUNCT_2 1(A2);
    not p in {0_(n,L)} by A1,A3,XBOOLE_0:def 5;
    then p <by def;
 A3,OLYNOM111
,       :  y
            =+by;
    then consider g being Polynomial of n,L such that
   G
  reduces_toq, by:ef7;
    g = 0_(n,LA11 *V2   Ediff_SP(EGjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
             M* *V2  A8A,
    hence b,c java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 10
  end;
  then
A8: PolyRedRel             java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  0(,)=0(-RingnL)byPOLYNOM1:ef11;
  ;
end;

theorem
   nElement , connected admissible of
  n, L being add-associative right_complementableA15 *
  associative wellunitaldistributiveAbelianalmost_left_invertible non
  trivial doubleLoopStr, pA16 *V1 Ediff_SP(iEG
  is_Groebner_basis_of {p}-Ideal,T
proof
  nbeElement ,T    ,L be
   right_zeroed  
  well-unital distributive Abelian almost_left_invertible non trivial
  doubleLoopStr, p be Polynomial of n,L;
  per cases;
  suppose
A1: p = 0_(n,L);
    0_(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then {p}-Ideal = {0_(n,L)} by A1,IDEAL_1:44;
    hence thesis by A1,Th30;
  end;
  suppose
    p <> 0_(n,L);
    then reconsider p as non-zero Polynomial of n,L by POLYNOM7:def 1;
    thus thesis by Th10;
  end;
end;

theorem
  for T being admissible connected TermOrder of {}, L being
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non degenerated non
 I  addclosedleftidealnon 
Polynom-Ring({},L), P being non empty 
  P <;
proof
  now
    set j = the Element of {i where i is Element of NAT: i < 0};
    assume {i where i is Element of NAT            .  *V
    then j in {i where i is Element of NAT: i < 0};
    then ex i being Element of NAT st i = j & i < 0;
    ;
;
  then java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 10
  let T be admissible connected TermOrder of {}, L be add-associative
  right_complementable right_zeroed commutative&for  beNat holds  .n f(+1)  : (A1)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  distributive Abelian almost_left_invertible
  be-leftideal non empty of -(}
  L), P be non empty Subset of Polynom-Ring({},L);
  assume that
A1     $,R_NormSpace_of_BoundedLinearOperators(1EF,
A2: P  &V java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 64
  reconsider T as admissible connected TermOrder of n;
  reconsider P as non empty sider P as non empty Subset -Ring(,)
  reconsider I as add-closed left-ideal non empty Subset of Polynom-Ring(n,L);
:ex q being  of  stq >0(,)
  proof
    assume
A4: not(ex qletbe
A5:      
      let u be object bejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 72
        in0(,;
      then
A6             LipschitzianLinearOperatorofEdiff_SPk,E,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
      now
        assume not u in P;
        then forsuch
thesis :1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
end

    endjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 60
    now
      Lm1
      u in ;
      then u = 0    for beNat
      hence u in {0_(n,L)} by TARSKI:java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 5
    end;
hencethesisby A,2
  end;
  now
    A4     i [+]
A7: p <> 0_(n,L) by A3;
    reconsider p as Polynomial of n,L    Kbe java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
reconsider  as -PolynomialofnLby: ;
   of,
  LTRNiL,)>LipschitzianLinearOperator of
         (,F,iff_SPiEGjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    then Support f <> {} begin :: Higher-Order Differentiation and Function Composition
forFGbeRealNormSpace
    then HT(p,T) java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    then f is_reducible_wrt V java.lang.StringIndexOutOfBoundsException: Range [45, 42) out of bounds for length 62
    let E, ,
 gp,bydef 8java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
ces_to,P byA8java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 43
    hence f is_reducible_wrt P,T by POLYRED:def 9;
  end;
  then for f being non-zero Polynomial of n,L stA1:LTRN(,E)(+ =java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
  is_top_reducible_wrt P,T by A1,Th26;
  then
  for b being bag of n st b in HT(I,T) ex b9 being bag of n st b9 in HT(P
  ,T) & b9 divides b by Th27;
  then HT(I,T) c= multiples(HT(P,T)) by Th28;
  hence thesis by A1,Th29;
end;

theorem
  for n being non empty Ordinal, T being admissible connected TermOrder
  of n, L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr ex                                                 diff_SP(,,)=M
  is_Groebner_basis_wrtT)
roof
  let n be non empty Ordinal, T be admissible connected TermOrder of n, L be
      (diff_SP(,,)d(EG)
  -unital    non empty
  doubleLoopStr;
set1  ( )*{,)
  reconsider 1bag as Element ofholdsLTRNi+LEV (i,)*java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  set p = ((1.L) |(n,L Subset 
 pas  of n;
  reconsider p as Series of n,L;
A1: 1.L <> 0.L;
  set q = (0.L |(n,L))+*(1bag,1.L);
  reconsider q as Function of Bags n,L;
  reconsider q as java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: now
    let u be bag of n;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3: u <> EmptyBag n and
A4: u <> 1bag;
    p.u = ((1.L      = (/(.).()dx)by A10FUNCT_1:;
    then p.u = (1_(n,L)).u by POLYNOM7:20;
nce.u=0. by A3,:java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    let u9 be object;
    assume
A6: u9 in Support p;
    then reconsider u = u9 as Element of Bags n;
A7: p.u <> 0.L by A6,POLYNOM1:def 4;
    now
      assume not u in {          = ((h/.(u/.x0)) * (g/.x0)).dx by A1,A2,A3,A7,Th19
      then u <> EmptyBag n & u <> 1bag by TARSKI:def 2;
      hence contradiction by         .= (h/.(u /.x0)).((g/.x by ,13;
    end;
    hence u9 in {EmptyBag n,1bag};        = h.u.))(g/x1)dx)

 2;
  then 1bag.{} = 1 by FUNCT_7:31;
  then
:n>bag PBOOLE5
  then
A9-h.u.)(..) LOPBAN_1
    .= (0_(n,L)).(EmptyBag n) by+ h(.)(/x1.)
    .= 0.L by POLYNOM1:22;
A10: now
    let u be. h/(x)-h.u.).(/.
    assume u <> 1bag;
 qu 0 (,L. FUNCT_732;
    then q.u = (0_(n,L)).u by            (/(/).(/ .)40java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
.=. 22
  end;

    let :|..dx).||
    
A12: u9 in Support q;
    then reconsider u = u9 as Element of Bags n;
A13: q.u <> 0.L        =| /u.)-/(/ |*(|. g/.x1 .|| * ||.dx.||)
    now
      assume not tjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 >1: ;
      hence contradiction by A10,A13;
   nd;
    hence u9 in {1bag};
  end;h.u. |  4
  dom(0.L |(n,L)) = Bags n by FUNCT_2:def 1;
  then
A14: q.(1bag) = 1.L by FUNCT_7:31;
  then
A15: q <> 0_(n,L) by POLYNOM1:22;
  now
    let u be object;
    assume u in {1bag};
    then u = 1bag by TARSKI:def 1;
   hence  in java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31

  then
A16  q={bag} by A11,TARSKI:2;
  then reconsider q as Polynomial of n,L by POLYNOM1:def 5;
  reconsider q as non-zero Polynomial of n,L by A15,POLYNOM7:def 1;
  set q1 = q - (q.HT(q,T)/HC(q,T)) * ((EmptyBag n) *' q);
  Support q <> {} by A15,POLYNOM7:1;
  then
A17: HT(q,T) in Support q by TERMORD:def 6;
  EmptyBag n + HT(q,T) = HT(q,T) by PRE_POLY:53;
  then q reduces_to q1,q,HT(q,T),T by A15,A17,POLYRED:def 5;
  then
A18: q reduces_to q1,q,T by POLYRED:def 6;
A19: q1 = q - (HC(q,T)/HC(q,T)) * ((EmptyBag n) *' q) by TERMORD:def 7
    .= q - (HC(q,T)*(HC(q,T))") * ((EmptyBag n) *' q)
    .= q - 1.L * ((EmptyBag n) *' q) by VECTSP_1:def 10
    .= q - 1.L * q by POLYRED:17
    .= q - (1.L) |(n,L) *' q by POLYNOM7:27
    .= q - 1_(n,L) *' q by POLYNOM7:20
    .= q - q by POLYNOM1:30
    .= 0_(n,L) by POLYNOM1:24;
A20: dom((1.L) |(n,L)) = Bags n by FUNCT_2:def 1;
  then
A21: p.(1bag) = 1.L by FUNCT_7:31;
  then
A22: p <> 0_(n,L) by A1,POLYNOM1:22;
A23: p          |h./|  |g/  /.  |||
    .= (1_(n,Lthen
    .= 1.L by POLYNOM1<  |h.u.) /()|* |g.|
  now
    let u be object;

A24: u in {EmptyBag n,1bag};
    now
      per cases by A24,TARSKI:def 2;
      case
        u = EmptyBag n;
        hence u  Supportp by,A23,POLYNOM1:def 4;
      end;
      case
        u = 1bag;
        hence u in Support then+java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16

    end;
ort;
  end;
  then
A25: Support p = {EmptyBag n, thuss <K;
  then
  reconsider p as non-        <= ||.h/.(u/.x1) /.*|..|java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A26: EmptyBag n + HT(p,Tdefjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A27: nowforr stx0inZ&0 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A28: EmptyBag n <= 1bag,T by TERMORD:  holds
    assume
A29: HT(p,T) = EmptyBag n Z | .| java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    1bag inSupport  A25,:def ;
    then 1bag <= EmptyBag n,T by A29,TERMORD:def 6;
    hence contradiction       2java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;
  set p1 = q - (q.HT(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  Support p <> {}        & for x1 be P 
  then
A30: HT(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  then
A31: HT(p,T) = 1bag by A25,A27,TARSKI:def 2;
  then HT(p,)in Support q by A16,TARSKI:ef 1;
  then q reduces_to p1,p,HT(p,T),T by A22,A15,A26,POLYRED:def 5;
  then
A32: q reduces_to p1Anow
A33: now
    assume Support q = Support p;
    EmptyBag n  {1bag}by ,TARSKI:ef 2;
    hence contradiction by A8,TARSKI:def 1;
  end;
A34:now
 q-p = 0_(,);
    then p = (q-p)+p by POLYRED:2
      .= (q+-p)+p by POLYNOM1:def 7
.+-+)byPOLYNOM12java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      .= q + 0_(n,L) by POLYRED:3;
    hence contradiction by A33,POLYNOM1:23;
  end;
  set Pholds|./-g..|<
   by A2,A27A,44,FCONT_1:19XREAL_1139;
    let u be object;
    assumestx1  Z &|.1 -.|<s2
    then u =p or u = q by TARSKI: 2;
    hence u in the carrier of Polynom-Ring(n,L thus  <s2 by A46;
  end;
  then reconsider P as Subset of  then A48: |./x1g/x0.|<r10 by A46;
  reconsider P as Subset of Polynom-Ring(n       0 < ||./(/x0).|by NORMSP_14
      :|..u..|*|g/.1 /x0.|
  take P;
A35: p in0 +|./(/x0)| <=|h.u..|+1byXREAL_1:;
  q in P by TARSKI:def 2;
  then q reduces_to 0_(n,L),P,T by A18,A19,POLYRED:def 7;
  then
A36: [q,0_(n,L)] in R by POLYRED:def 13;
  p1 = q - (1.L/p.1bag) * ((EmptyBag n) *' p) by A14,A31,TERMORD:def 7
    .= q - (1.L/1.L) * ((EmptyBag n) *' p) by A20,FUNCT_7:31
    .= q - (1.L*(1.L)") * ((EmptyBag n) *' p)
    .= q - 1.L * ((EmptyBag n) *' p) by VECTSP_1:def 10
    .= q - 1.L * p by POLYRED:17
    .= q - (1.L) |(n,L) *' p by POLYNOM7:27
    .= q - 1_(n,L) *' p by POLYNOM7:20
    .= q - p by POLYNOM1:30;
  then q reduces_to q-p,P,T by A32,A35,POLYRED:def 7;
  then
A37: [q,q-p] in R by POLYRED:def 13;
  now
A38: now
      let u be object;
      now
        et u be object;
        assume u in {1bag};
        then u = 1bag by TARSKI:def 1;
        hence u in {EmptyBag n,1bag} by TARSKI:def 2;
      end;
      =min(s1,s2)as Real;
      then
A39:  {1bag} \/ {EmptyBag n,1bag}
A40:  (q-p).1bag = (q+-p).1bag byassume A50:x1 in Z  |.1  x0.| s;
        .= q.1bag + (-p).1bag by then ||.x1 - x0.|| < s1 by A50,XXREAL_0
.=q.1bag + -p.bag) by POLYNOM1:7
        . 1. +-. byA20,14,FUNCT_7:31
        .= 0.L by RLVECT_1:5;
      Support(q-p) = Support (q+-p) by POLYNOM1:def 7;
      then Support(q-p) c= Support(q) \/ Support(-p) by POLYNOM1:20;    
      then
A41:  Support(q-p) c= {1bag}          |./(/.)|  |g/ -g/x0.|<=   byA51,REAL_1:7java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
      assume
A42:  u Supportq-p;
      then (q-p).u <> .0|= r0 by A52,XXREAL_0:;
KI:def 2
      hence u in {EmptyBag n} by TARSKI:def 1;
    end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ergent_wrt by ,36,EWRITE1:ef 24;
   then consider c beingobject such that
A43: R reduces 0_(n,L),c and
A44: R  u is_differentiable_on
    reconsider c as Polynomial of n,L by A43,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 7
    consider s being FinSequence such that
A45: len s > 0 and
A46: s.1 ubePartFunc  E,,
A47: s.len s = c and
A48: for   :uis_differentiable_onjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    i, s.(i+1)] in R by A43,REWRITE1:11;
    now
A49:  0 + 1 <= len s by A45,NAT_1:13;
A50:  dom s = Seg(len s) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
assume lens< 1;
y A49,XREAL_0:;
      then 1+1 <= len s by NAT_1:13;
then
A51:  1+1 in dom s by A50,FINSEQ_1:1;
A52:  1 in dom s by A49,A50,FINSEQ_1:1;
      then consider f9,h9 being object java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 29
A53:  [0_(n,L),s.2] = [f9,h9] and
      f9inNonZeroPolynom-ing(,)and
A54:  h9 in (the carrier of java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
s2 =h9 y A53XTUPLE_01;
      then reconsider c9 = s.2 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
      [s.1,s.2] in R by A48,A52,A51;
      then 0_n,)reduces_to POLYRED:ef 13;
     then consider g being Polynomial of n, such that
       in P and
A55:  0_n,)reduces_to c9,,T by POLYRED:def 7;
      0_(n,L) is_reducible_wrt g,T by A55,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 28
      hence contradiction java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 20
    end;
    then consider s being
A56: len s >       letxbe object;
A57: s.1 = q-p and
A58: s.len s = 0_(n,L) and
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 24
    .i, s.(i+1)] in R by A44,A46,A47,REWRITE1:11;
A60: now
      assume -1.L =      .(*(uZ)x  A6A9,UNCT_1:3;
      then --1s_differentiable_on, by A2A,RELAT_1:7;
      hence     A11: diff(L*u,0,Z) L*)|Z NDIFF_611
    end;
    now
      let u be object;
      assume
A61:  u in {EmptyBag n    diff(*,Z)=LTRN(LE  (,Z)
as Elementof Bags n by TARSKI:def 1;
    (-)u9 =(+p.u9 by POLYNOM1:ef 7
        .= q.u9 + (-p).u9 by POLYNOM1A12: for i be Nat st P[i]holds P[i+]
        .    let i be ;
        .= 0.L + -(p.u9) by    assumeA14  is_differentiable_on i+1,;
        .=  assumeA19:k<(+1-;
        .= -1      per cases;
      hence u in Support(q-p) by A60,POLYNOM1:def 4;
    end;
    then
A62: Support(q-p) = {EmptyBag      end;
A63: now
      assume q-p is_reducible_wrt P,T;
      then consider g being Polynomial of n,L such that
A64:         (L*,k,Z) is_differentiable_on Z
      consider h being Polynomial of n,L such that
A65:  h in P and
A66:  q-p reduces_to g,h,T by A64,POLYRED:def 7;
      ex b being bag of n st q-p reduces_to g,h,b,T by A66,POLYRED:def 6;
      then h <> 0_(n,L) by POLYRED:def 5;
      then reconsider h as non-zero Polynomial of n,L by POLYNOM7:def 1;
      q-p is_reducible_wrt h,T by A66,POLYRED:def 8;
      then consider b9 being bag of n such that
A67:  b9 in Support(q-p) and
A68:  HT(h,T) divides b9 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A69:  HT(h,T) = 1bag
      proof
        now
          per cases by ,ARSKI:ef 2;
          case
            h = p;
            hence thesis by,A30A27,ARSKI:ef 2;
          end;
          case
            h = q;
hence thesis  A16A17,ARSKI:ef 1;
          end;
        end;
        hence thesis;
      ;
      b9 = EmptyBag n by A62,A67,TARSKI:def 1;
      hence contradiction by A8,A68,A69,PRE_POLY:58;
    end
    now
A70:  0 + 1 <= len s by A56,NAT_1:13;
A71:  dom s = Seg(len s) by FINSEQ_1:def 3      u 
      assume len s <> 1;
      then 1 < len s by A70,XXREAL_0:1;
      then 1+1 <= len s by NAT_1:13;
      then
A72:  1+1 in dom s        be Point of S,
A73:  1 in dom s by A70,A71,FINSEQ_1:1;
then consider f9,9 being object that
A74:  [q-p,s.2] = [f9,h9] and
      f9 in NonZero Polynom-Ring(n,L) and
75   in(he carrier of Polynom-ing(,L)) by A57,A59,A72,ELSET_1:;
      s.2 = h9 by A74,XTUPLE_0:1;
      then reconsider c9 = s.2 as java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 5
      [q-p,s.2] in R by A57,A59,A73,A72;
      then q-p reduces_to c9,P,T by POLYRED:def 13;
      hence contradiction by A63,POLYRED:def 9;
    end;
    hence contradiction by A34,A57,A58;
  end;
  hence thesis;
end;

Lm8: for n being Ordinal, b1,b2,b3 being bag of n holds b1 divides b2 & b2
divides b3 implies b1 divides b3
proof
  let n be Ordinal, b1,b2,b3 be bag of n;
  assume
A1: b1 divides b2 & b2 divides b3;
  now
    let k be object;
    b1
    hence .k = b3.k by XXREAL_0
    A5:for t bePointof S
  hence thesis by PRE_POLY:def 11;
end;

definition :: definition preceeding 5.1, p. 189
  let n be Ordinal;
      A8 t in dom f2 by A4,A6,BOOLE_0:ef 4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  :Def5:
  for b1,b2 being bag of n holds [b1,b2] in it iff b1 divides b2;
  existence
  proof
    defpred P[object,object] means
ex b1, b2 being Element of Bags n st $1 = b1 & $2
    = b2 & b1 divides b2;
    consider BO being Relation of Bags n, Bags n such that
           beRestFunc of ,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    & Pholds f1/x -f1/x0 =L.( - x0) +R/( -x0)by A1;
A2: BOT)
    proof
      let x,y,z be object such that
      x       holds f1/x -/x0=L1(  x0)+R1/x x0)by A10;
      y in Bags n and
      z in Bags n and
A3:   [x,y] in BO and
A4:   [y,z] in BO;
      consider b1,2 beingElement of  nsuchthat
A5:   x = b1 and
:   y = b2 & b1dividesb2 byA1A3;
consider ,b22 beingElementofBagsn that
A7:  =b11and
A8:   z = b22 and
A9:   b11 divides b22 by A1,A4;
      reconsider B1 =b1,B29 =   bagof n;
      B1 divides A16:diff(f2,x0)= by,A13,15,DIFF_1:ef 7;
       thesis byA1,A5,A8;
    end;
A10: BO is_reflexive_in Bags n
    by A1;
    then
A11: dom BO = Bags n & field BO = Bags n by ORDERS_1:13;
    BO is_antisymmetric_in Bags n
    proof
      let x, be ;
      assume that
      x in Bags n and
      y in Bags n and
A12:  [x,y] in BO and
A13:  [y,x] in BO;
       b29 being Element of    that
A14:  y = b19 & x = b29 and
A15:  b19 divides b29 by A1,A13;
      consider b11, b22 being Element of Bags n such that
A16:  x = b11 & y = b22 and
A17: b11 ivides  yA1,12;
      reconsider b11, b22 as bag of n;
A18  now
         k be ;
        assume k in dom b11;
        b11.k <= b22.     consider d1 be  such that
        hence b11.k = b22.k by  &for zbePointofSstz< 0.  |z.|< d1
      end;
      dom b11 = n by PARTFUN1:def 2
        .= dom b22 by PARTFUN1:def 2;
      hence thesis by A16,A18,FUNCT_1:2;
    end;
    then reconsider BO as Order of Bags n by A10,A2,A11,&forz Pointof stz< . &|z|  java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
RELAT_2:def 9,ef 12,ef 16;
    take BO;
    let p, q be bag of n;
    hereby
      assume [p, q] in BO;
      then ex b19, b29 being Element of Bags n st p = b19 & q = b29 & b19
      java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
     pdivides;
    end;
    p     then 0 < ||.z.|| by A24,XXREAL_0:1,NORMSP_0:def 5;
         0 <|..| by XREAL_1:22;
  end;
  uniqueness      < |..|"*(|R1/z.|+|.2/..|)by A27,h17,REAL_1:64;
  proof
    let B1, B2 be Order of Bags n such that
hence ||z.| *|./z.| < r0 byA28,XREAL_02java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 in B2iff p  q
    let a, b be object;
   
      assume
A21: a] ;
      then consider b1, b2 being object such that
A22: [,]=[1b2]and
A23:  b1 in Bags n & b2 in Bags n by RELSET_1:2;
reconsiderb1, b2 as bag of n by A23;
      b1 divides b2 by A19,A21,A22;
      hence [a,b] in B2 by A20,A22;
    end;
    assume
A24: [a,b] in B2;
    then consider b1, b2 being object such that
e;
  considerL LL1  Lipschitzian  ofS by LOPBAN_1: 9;
   , b2  bag n by A26java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
    b1 dividesproof
    hence thesis by A19,A25;
  end;
end;

registration :: theorem 5.2, p. 189
  let n    =[L1.x +LL1y LL2.x + y) byA33
  cluster RelStr(#Bags n, DivOrder n#) -> Dickson;
  coherence
  proof
    set R = RelStr(#Bags n, DivOrder n#);
    set S = product Carrier ( --> OrderedNAT), SJ =Carrier (n -- OrderedNAT
    );
    set P = product ( ->OrderedNAT) J =n --OrderedNAT;
    defpred Q[,]means
  $ in S &(x bbeingbagof n st b =$2 &b =1;
A1: for x being set st x in S for g being Function st x = g holds dom g =
    n & for y being set st y in dom g holds g.y in NAT
proof
      xbe set;
      assume x in S;
      then consider g being Function such   then reconsider L as LinearOperator ofS[T,: byA34LOPBAN_1:ef 5;
A2:   x = g and
A3:   dom g = dom SJ and
A4:   for y being object st y  0 <=||L1.|| & 0 <= ||.L2.|| by NORMSP_1:4;
      let g9 be Function;
      assume
A5:   x = g9;
      hence dom g9 = n by A2,A3,PARTFUN1:def 2;
      thus for y being set st y in dom g9 holds g9.y in NAT
      proof
        let y be set;  for  beVECTOR of S holds ||...|= K*|.|java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        assume
A6:     y in dom g9;
        then
A7:     y in n by A5,A2,A3;
        then consider R being 1-sorted such that
:    R = J.y 
er ofR PRALG_1def 15java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        g.y inby A36,OPBAN_1:ef 8;
        hence thesis   reconsider L as Point of R_NormSpace_of_BoundedLinearOperators(,[T,:)
      end;
    end;
A10: for x being object st x in S ex y being object st Q[x,y]
    proof
      let x be object;
      assume
A11:  x in S;
          / Nc=(dom f1)/ (om f2)by A43,BOOLE_1:7;
A12:  x  
      dom g = dom SJ and
      for y being object st y in dom SJ holds g. in . by CARD_3:def ;
      defpred QQ[object,object] means $2 = g.$1;
A13:  for x being object st x in n ex y being object st QQ[x,y];
      consider bjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 b=&for  being  st x in n holds QQ[x,b.]from
      CLASSES1:sch 1(A13);
reconsiderbas ManySortedSet of   ,ARTFUN1:ef 2,RELAT_1: 18;
A15:  dom g = n by A1,A11,A12;
      now
        let u be object;
     uin rng ;
        then;
A16:    x      =b. by FUNCT_1:def 3;
        u = g.x & x in dom g by A15,A14,A16;
        hence u in NAT by A1, then :diff(,0)  by ,45,DIFF_1def7
      end;
     thenrng b c=NATjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      then reconsider b as bag of n by VALUED_0:def 6;
       b
      thus x in S by A11;
      take bLOPBAN_1:ef 9;
       b=b;
      thus thesis by A12,A14,A15,FUNCT_1:2;
    end;
    consider i being Function such   hence thesis by A12,A16,A30,A52,A56,FUNCT_3:def 7;
A17: dom i = S & for x being object st x in S holds Q[x,i.x] from
    CLASSES1:sch 1(A10);
A18: for x being Element of R holds ex u being Element of A18: for x being Element of R holds ex u being Element of P
    & i.u = x
    proof
      let x be Element of R;
      reconsider be of S,:T,]
A19:  now
        let x be object;
        assume a20: x in dom(Carrier J);
  holds
        then consider L being 1-sorted such that
A21      (`Z)/x=<(u|)/.,(v`Z)/x :>)
A22:    (Carrier J).x = the carrier of L by PRALG_1:def 15;
        the carrier of L = NAT by a20,A21,DICKSON:def 15,FUNCOP_1:7;
        hence g.x in (Carrier J).x by A22, ORDINAL1
      end;
A23:  dom g = n by PARTFUN1:def 2
        .= dom(Carrier java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 23
then
A24:  g in product Carrier J by A19,CARD_3:def 5;
java.lang.StringIndexOutOfBoundsException: Range [10, 6) out of bounds for length 58
      take g;
      thus g in dom i by A17,A23,A19,CARD_3:def 5;
      Q[,i.]byA17A24;
       thesis;
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

      letlet     ;
      assume v in rng i;
      then  u being object suchthat
A26 u in dom i and
A27:  v  i.  FUNCT_1: 3;
      ;
ence v  Bags n byA27,RE_POLY:ef 12;
    end;
    now
      java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
       &forbePointofS st x inZ
A28:  N9 c= S by A17,RELAT_1:        for dx    S
      then reconsider N9 as Subset of Pby : ;
      consider B9 being set such that
A29:  B9 is_Dickson-basis_of N9,P and
A30:  B9 is finite by DICKSON:def 10;
      B=i.B9;
A31:  B9 c= N9 by A29,DICKSON:def 9;
:  for a, being Element of P, ta,b being lementof Bags n  a =ta
      &b = tb &a in S java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 58
      proof
        let ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
assume that
A33:    a = ta & b java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A34:    in S;
        assume     x1 bePoint  ;
       then consider f, being Function suchthat
A35:    s <   :java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
A36:    for i be object st i in n exthen A9:|.g.x1 -g/x0.|<r by A6,8java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
        of R st R = J.i & ai = f.i &     |.1 -x0.||<s2 by
        now
          let k be object;
          assume
A37:      k in n;
          then consider R being RelStr, ak,bk being Element of R such that
A38:      R = J.k and
A39:     ak =f. &bk=g. and
A40:      ak <= bk by A36;
          J.k = OrderedNAT by A37,FUNCOP_1:7;
          then [ak,bk] in NATOrd by java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 33
          then consider          A12,14,:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A41:      [a9,b9] = [ak,bk] and
A42:      a9 <= b9 by DICKSON:defthen
          b9 = bk by A41,XTUPLE_0:1;
          hence ta.k <= tb.k by A33,A35,A39,A42,        < |.g.  /x0..|+ |.(/x1 -h/x0)dx.|by ;
        java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
        hence thesis by PRE_POLY:46;
      end;
A44:  for a being Element of proof
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 20
      proof
leta ;
        consider a9 being Element of P such that
A45:    a9 in dom i and
A46:    i.a9 = a by A18;
A47:    ex b being bag of n st b = i.a9 & b = a9 by A17,A45;
        assume a in N;
        then a9 in N9 by A45,A46,FUNCT_1:def 7;
        then consider b9 being Element of P such that
A48:    b9 in B9 and
A49:    b9 <= a9 by A29,DICKSON:def 9;
        set b = i.b9;
A50:    B9 c= S by A28,A31;
        then b in rng i by A17,A48,FUNCT_1:def 3;
 reconsider b sElement of  n by ;
        reconsider b = diff(g,i+1,Z) `| 
        take b;
 holdsP[]from :ch 2A2)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        reconsider aa = a, bb = b as Element of Bags n;
        ex b1 being bag of n st b1 = i.b9 & b1 = b9 by java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 27
        then bb divides aa by A32,A46,A47,A48,A49,A50;
        then    st  |Z is_differentiable_onnZ
        hence thesis by ORDERS_2:def 5;
      end;
      now
        let u benbe Nat,
        assume u in B;
        then ex v being object st v in dom g Z;
         by FUNCT_1:def 6;
        hence u in N by A31,FUNCT_1:def 7;
      end;
      then B c= N;
  basis_ofN,R A44,:def9
henceex beingset st B is_Dicksonbasis_of ,R&  is finite A30;
    end;
    hence thesis by DICKSON:def 10;
  end;
end;

theorem Th34: :: theorem 5.2, p. 189
  for n being Element of NAT, N being Subset of RelStr(#Bags n,
    DivOrder n#) ex B being finite Subset of Bags n st B is_Dickson-basis_of N,
  RelStr(#Bags n, DivOrder n#)
proof
 Element NAT,N be  ofRelStr(#Bags n, DivOrder n#);
  consider B being set such that
A1: B is_Dickson-basis_of N,RelStr(
A2: B is finite by DICKSON:def 10;
  &g|,,) java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 41
    let u be object;
    
A3: u in B;
    B c= N by A1,DICKSON:&gis_differentiable_onZ
    hence u in N by A3;
  end;
t Bas finite   A2,;
 finiteSubset  nbyXBOOLE_1:;
B
 A1
end;

theorem Th35: :: theorem 5.41, p. 208
  for n being ElementBbe ofE,G
      T being connected admissible TermOrder of n,
      L being Abelian add-associative right_complementable
  right_zeroed commutative associative well-      vbeof ,,
  almost_left_invertible non degenerated non empty doubleLoopStr,
      add- left-ideal Subset
of Ring
  ex G being non empty finite SubsetWjava.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 30
    G is_Groebner_basis_of I,T
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  /, vx.ds)
-nL;
A1: 0_(n,L) = 0.Polynom-Ring(n,L) by POLYNOM1:def 11;
  per cases;
  suppose
A2: I = {0_(njava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    set G = {0_(n,L)}, R = PolyRedRel(G,T);
    take G;
njava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      let a,  diff(,w.  w,x)).ds by A3,A6,A8,NDIFF_2:13
      assume that
A3:   [a,b] in R and
      [a,c] in R;
,being that
A4:   p in NonZero Polynom-Ring(n,L) and
A5:   q in the carrier of .= B.diff(u,x.,v/x  (/x (,x.)by ;
:,]= pq]by,def2;
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
      p {_n,) A1,def 5
      then p <> 0_(n,L) by TARSKI:def 1;
      then reconsider p as non-zero java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 29
        by A4,POLYNOM1:& for x be Point of S st  java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      p reduces_to q,G,T by A3,A6,POLYRED:def 13;
      then consider g being Polynomial of n,L such that
A7:   g in G and
A8:   p reduces_to q,java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 50
      g = 0_(n,L) byuof,,
      java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      hence b,c are_convergent_wrt R by Lm3;
    end; then
    PolyRedRel(G,T) is locally-confluent by &( x Point Sst injava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 byIDEAL_1;
  end;
  suppose
A10: I <> {0_(n,L)};
    ex q being Element of
    proof
      assume
A11:  not(ex q being Element of I
A12:  now
        let u be object;
in(,);
        then bePartFuncofSE;
A13:    u = 0_(n,L) by TARSKI:def 1;
        now
          assume not u in I;
          then for v being object+;
thesisby java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
        end;
        hence u in I;
      end;
      now
        let u be object;
        assume u in I;
        then u = 0_(n,L) by A11;
        hence u in {0_(n,L)} by TARSKI:def 1;
;
      
    end;
    then consider q being Element of I such that
A14: q <> 0_  Zc  u&u|  A8:;
    set R = RelStr(#Bags n, DivOrder n#)       u|) =Z bydef ;
    reconsider hti as Subset of R;
    consider S being finite Subset of Bags n such that
A15: S is_Dickson-basis_of hti,R by Th34;
    set M = { {p where p is Polynomial of n,L java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (n,L)} where s is Element of Bags n : s in S};
    set s = the Element of S;
    reconsider q as Polynomial of n,L by POLYNOM1:def 11;
    set hq = HT(q,T);
     ofR;
    hq in {HT(p,T) where p is Polynomial of n,L
    by A14;
    then ex b hence diff(u,k)  A6A13A1414;
    then s in S;
    then
    {r where then +  =by13;
 { {  pis  n,  inI&HT(,)= s9& >n)}
 n: S;
    then reconsider java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 10
:xy setst   M& in   >yholdsxmissesy
of
      let x,y be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
      assume that
A17:  x in M and
A18:  y in M and
A19:  x <> y;
      consider t being Element of Bags n such that
A20:  y = {p where p is Polynomial of n,L : p in I & HT(p,T) = t & p
      <> 0_(n, L)} and
      t in S by A18;
      consider s being Element of Bags n such that
    {p p is Polynomial ofnL:p inI & (,T  s  java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
      <> 0_(n, L)} and
      s in S by A17;
       reconsider x,y as set;
      now
        set  A2:u  Zjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        assume
    x /\y< }java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        then u in y by XBOOLE_0
        then
:    vbeingofnL u    inI  vT   t&java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
        <> 0_(Th38
        u in x by A22,XBOOLE_0:def 4;
        then ex r being Polynomial of n,L st u = r & r in I & HT(r,T ) = s & r
        <> 0_(n,L) by A21;
        hence contradiction by A19,A21,A20,A23;
      end;
      hence B.,v = *u
    end;  E,Gbejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
A24: S c= hti by A15,DICKSON:def
    for x being set st x in M holds     java.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 55
for be LFG
       be;
assume  in ;
      then consider s being Element of Bags n such that
A25:  x = {p where p is Polynomial of n,L : p in I & HT(p,T) = s & p
      <> 0_(n, L)} and
.L.x1,y) + y * x2 by
      s in  .(,)+L(y A2
      then consider q being Polynomial
A27:  s = HT(q,T) a be 
       inby ,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      hence thesis;
    end;
    then consider G9 being set such that
A28: for x being set st x in M ex y being object st G9 /\ x = {y} by .a*(y*)byLOPBAN13
WELLORD2:18;
    set xx = the Element of M;
A29: M is finiteA5 x bePointofLEF
    proof
      defpred P[object,object] means
       $2 = {p where beofLEF
      HT(p,T) = $1 & p <> 0_(n,L)};     .x,1  )
A30:  for x being object st x in S ex y being object st P[x,y];
      consider f being Function such that
A31:  dom f = S & for x being object st x in S holds P[x,f.x.L(, +L.(xy2)  ;
      CLASSES1:sch 1(A30);
A32:  now
        let u be object;
        assume u in rng f
        then consider s being object such that
      dom f and
A34:    u = f.s by FUNCT_1:def      ay)  
        u = {p where p is Polynomial of n,L : p in I & HT(p,T) = s & p <>
        0_(n,L)} by A31,A33,A34;
        hence u in M by A31,A33;
      R_Normjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 47
      now
        let u be object;
        assumeu M
        then consider s being letxbe  of;
A35     = {  Polynomial nL:p    pT = s&
        p <> 0_(n, L)} and
A36:    s in S;
        f.s in rng f by A31,A36,FUNCT_1:3;
        henceu   b ,A36;
;
      then rng f = M by A32,TARSKI:2;
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end    ||y *x| < |y|  |x.|by LOPBAN_1def 11;
A37: ex y being object st G9 /\ xx = {y} by A28;
    set xx = the Element of M;
    reconsider G9 as non empty set byR_NormSpace_of_BoundedLinearOperators)
    set G = { x where x is Element of G9 : ex y beingEG)
    = take;
    now
      let u be object;
      assume u in G;
      then consider x being Element of G9 such that
A38:  u = x and
A39:  ex y being set st y in M & G9 /\ y = {x};
      consider y being set such that
A40:  y in M and
A41:  G9 /\ y = {x} by A39;
      consider s being Element of Bags n such that
A42:  y = {p where p is Polynomial of n,L : p in I & HT(p,T) = s & p
      <> 0,EFGbe
      s in S by A40;
      x in (G9 /\ y) by A41,TARSKI:def 1;
      then x java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 33
      then
      ex q  iZ
      0_(n,L) by A42;
      hence u in the carrier of Polynom-Ring(n,L) by A38;
    end;
    then reconsider G as Subset of Polynom-Ring(n,L) by TARSKI:def 3;
    defpred P[object,object] means
    ex D1 being set st D1 = $1 & G9 /\ D1 = {$2} & $2 in G;
A43: for x being object st x in M ex y being object st P[x,y]
     W  PartFuncofSG
        *w&  <u,:>
      assume
A44:  x in M;
      reconsider
      consider y being object such that
A45:  G9 /\ xx = {y} by A28,A44;
A45,def1
      then reconsider y as Element of G9 by XBOOLE_0:def 4;
      y in G by A44,A45;
      hence thesis by A45;
    end;
    consider&v  0Z
A46: dom f = M & for x being object st x in M holds P[x,f.x] from
C: ()
A47: now
      let u be object;
      assume u in G;
      then consider x being Element of G9 such that
p
A49be ;
      consider y being set such that
A50:  y in M and
A51:  G9 /\ y = {x} by A49;
      P[y,f.y] by A46,A50;
      then
A52:          ,G
      f.y in rng f by A46,A50,FUNCT_1:3;
      hence u in rng f by A48,A52,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 37
    end;
    now
      let u be object;
       u in f;
      then consider s being object such that
53     in domfby java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 47
       P[s,f.s] by A46,A53;
      hence u in G by A53;
    end;
    then
A54: rng f = G by A47,TARSKI:2;
    consider y being object such that
G9/   y A28java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    y in G9 /\ xx by A55,TARSKI:def 1;
    then y in G9 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then y in G    set = of ;
    then reconsider GBP= B
      by A29,A46,A54,FINSET_1:8;
    for b being bag of n st b in HT(I,T) ex b9 being bag of n st b9 in
    HT(G,T) & b9 divides b
    proof
      
      reconsider bb = b as Element of R by PRE_POLY:def 12;
      assume b in HT(I,T);
      then consider bb9 being Element of R such that
A56:  bb9 in S and
A57:  bb9 <= bb by A15,DICKSON:def 9;
      set N = {p where       reconsiderV2=xas PointF;
      0_(n,L)};
A58:  N in M by A56;
      then consider y being object such that
A59:  G9 /cB2beFunction
      reconsider b9 = bb9 as bag of n;
      take b9;
:  [bb9,bb] inDivOrdern A57ORDERS_2d ;
: G9/ N byA59,ARSKIdef;
      then reconsider y as Element of G9 by XBOOLE_0:def 4;
      yproof
      then
A62:  ex r being Polynomial of n,L st y = r & r in I & HT(r,T ) = bb9 & r
      <> 0_(n,L);
      
      hence thesis by A60,A62,Def5;
end
    then
A63: HT(I,T) c= multiples(HT(G,T)) by Th28;
    take G;
    now
      let u be object;
      assume u in G; [,y
      then consider x being Element of G9 such that
A64:  u = x and
A65:  ex y being       then V1 =x Point E
      consider y being set such that
A66:  y in M and
A67:  G9 /\java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      consider s being Element of Bags nsuch that
 Polynomialof ,L :pinI HTp,T)=s  java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
      <> 0_(n,L)} and
      s in S by A66;
      x in (G9 /\ y) by A67,TARSKI:def 1;
thenxin  byXBOOLE_0: 4;
      then ex q being Polynomial of n,L st x = q & q in I & HT(q,T ) = s & q
      <> 0_(n,L) by A68;
      hence u in I by A64;
    end;
     c 
    hence thesis by A63,Th29;
  end;
end;

Lm9: for L being add-associative left_zeroed right_zeroed right_complementable
associative java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 35
set st u = Sum f holds ex g being LinearCombination of B st u = Sum g
proof
  let L be add-associative left_zeroed right_zeroed right_complementable
  associative distributive well-unital non empty doubleLoopStr, A,B be non
  empty Subset of L;
  defpred P[Nat] means for  for be  EholdsB2(+y.  B.)s+(.y.java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
= $1 for u being set st u = Sum f holds ex g being LinearCombination of B st u
  = Sum g;
  assume
 = {.}java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A2: now
    let k be Nat;
    assume
A3: P[k];
    for f being LinearCombination of A st len f = k+1 for u . .V,).) (r[,].s)  NDIFF_7:
    u = Sum f holds ex g being LinearCombination of B st u = Sum g
    proof
      let f be LinearCombination of A;
      set g = f|(Seg k);
      reconsider g as FinSequence by FINSEQ_1:15;
A4:   rng f c= the carrier of L by FINSEQ_1:def 4;
      set h = f/.(len f);
      ssume
A5:   len f = k+1;
      then 1 <= len f by NAT_1:12; then
:25java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
       set   [10a)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A7:   h = f.(len      forsbe   E holds B2(*x)s  a*(B2..s
A8:   k         s  VECTORofEjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      then
A9:   len g = k by A5,FINSEQ_1:17;
A10:  dom g = Seg k by A5,A8,FINSEQ_1:17 . B.[s,,*`])byNDIFF_7:def 1
A11:  dom f         =a *B.s,x LOPBAN_812
      then
A12:  dom g c= dom f by A8,A10,FINSEQ_1:5;
      now
        let u be object;
  java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A13:    x in dom g and
A14:    u = g.x by java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
        g.x = f.x by A13,FUNCT_1:47;
        let,y ofE
hence  thebyA4
      end;
thenrng g =thec  L;
      then reconsider g as FinSequence of the carriersetg=B *java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 35
      java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
      Element=.s  .:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      proof
        let set;
        assume
A15:    
        then reconsider i as Element of NAT;
        i <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        then
A16:    i <= k + 1 by NAT_1:12;
        1 <= i by A10,A15,FINSEQ_1:1;
        then
A17:    i in domA26: B =BP0
        g/.i = g.i by A15,PARTFUN1:def 6
          .= f.i by A15,FUNCT_1:47
          .= f/.i by A17,PARTFUN1:def 6;
        hence thesis by A17,IDEAL_1:def 8;
      end;
      then reconsider g as LinearCombination of A by IDEAL_1:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      consider g9 being LinearCombination of B such that
A18:  Sum g = Sum g9 by now
        be;
      assume
A19 A30:|LL1t|| =|.P0.| * ||z2|  |t.| by
A20:  len f = len g + 1 by A5,A8,FINSEQ_1:17;
      then
A21:  Sum f = Sum(g) + h by A10,A7,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 28
      now
        per cases;
        case
          h = 0.L;
          let r Real;
        end;
        case
A22:      h <> 0.L;
          set l = g9^<*h*>;
for java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 73
          Element of B st l/.i = u*a*v
          proof
            let i be set;
            assume
A23:        i in dom l;
 ElementofNAT
A24:        len l = len(g9) + len(<*h*>) by FINSEQ_1:22
              .= len(g9) + 1 by let be Point of ;
            now
              per cases;
              case
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 26
                consider u,v being Element of L,a beinghence|.B1V1| =|BP|  |V1||byA31,,;
A26:            f/.(len f) = u*a*v by A6,IDEAL_1:def 8;
A27:            now
                  assume not a in B;
                  then a in {0.L} by A1,XBOOLE_0:def 5;
                  then a = 0.L by TARSKI:def 1;
                  then u java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
                    .= 0.L;
                  hence contradiction by A22,A26;
end;
N1:6
                  .= h by A24,A25,FINSEQ_1:=B*([10,v/x)  
                hence 
              endjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
              case
A28:            i <> len l;
A29:            i in Seg len l by A23,FINSEQ_1=B[Vv.]byNDIFF_7defjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
                then i <= len l by FINSEQ_1:1;
                then i < len l by A28,A42: forxbeofSstx  Z
                then
A30:            i <= len             dsbe  java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
                1 <= i by A29,FINSEQ_1:1;
                then
A31:            i in dom g9 by A30,FINSEQ_3:25java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 25
                l/.i = l.i by A23,PARTFUN1:def 6
                  .= (g9).i by A31,FINSEQ_1:def 7
                  .= (g9)/.i by A31,PARTFUN1:def 6;
                hence thesis by A31,IDEAL_1d 8
              end;
             F2SE)=F2bydef 11
            hence thesis;
          end;
          then reconsider l as LinearCombination of B by IDEAL_1:def  .(B2v).x)((u|).x.) by A45,FUNCT_1
          Sum l = Sum(g9) + Sum(<*h*>) by RLVECT_1:41
            .= Sum f by A10,A18,A7,A20,RLVECT_1:38,44;
          hence thesis by A19;
        end;
      end;
      hence thesis by java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
    end;
    hence P[k+1t /. domB1by def 
  end;
  let f be = B1/.(u/.x) by A6,A474
  
A32: u = Sum f;
A33: ex n being Element /.x
A34: P[ 0 ]
  proof
    set g = <*>the carrier of L;
reconsiderg FinSequenceofthe   ;
    for i being set st i in dom g ex u,v being Element of L,a being
    Element of B st g/.i = u*a*v;
    then reconsider g as LinearCombinationholds
    let f be LinearCombination of A;
A35: g = <*>(the
    assume len f = 0;
    then
A36: f = <*>(the carrier of L);
    let u be set;
    assume u = Sum f;
hence A36A35;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2(A34,A2);
  hence thesis by A32,A33;
end;

theorem
  for n being Element of NAT, T being connected admissible TermOrder of
  n, L being Abelian add-associative right_complementable right_zeroed
commutativeassociativewell non
degenerated non empty doubleLoopStr, I being add-closed left-ideal non empty
Subset ofPolynomRingnL) I>{_n,)}ex  finite java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 75
  Polynom-Ring(n,L) st G is_Groebner_basis_of I,T & not(0      assume A55:xin Z;
proof
  let n be Element      : B.((u`Z)/x)ds /)= (*).x  u|/.by A42,A55;
  Abelian add-associative right_complementable right_zeroed commutative
  well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, I be add-closed left-ideal non empty Subset of
  PolynomRing(,;
  assume
A1: I <> {0_(n,L)};
A2: 0_(n,java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
  consider G being non empty finite Subset of         holds W|/x=(v)/.x*(|).x +(B1u/x*(`|Z/x
A3: G is_Groebner_basis_of I,T by Th35;
  set R = PolyRedRel(G,T);
 Ideal  byA3
A5: PolyRedRel(G,Tthen
    set G9 = G \ {0_(n,L)}, R9 = PolyRedRel(G9,T);
    reconsider G9 as finite Subset of Polynom-Ring(n,L);
A6: now
       hence W`Z/. =(2v/x  u|/.x
      case
A7:     G9 = {};
        now
A9:       now
            let ubeobject;
            assume u in {0_(n,L)};
            then
A10:        u = 0_(n,L) by TARSKI:def 1;
A11:        G c= {0_(n,L)} by A7,    :B1* java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
            
              assume not u in G;
            then for v being object holds not v in G by A10,A11,TARSKI:def 1;
              hence G = {} by XBOOLE_0:def 1;
            end;
            hence u in G;
          end;
A12:      0_(n,L) = 0.(Polynom-Ring(n,L)) by POLYNOM1:java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 28
          now
            let u be object;
            assume
A13:        u in G;
            G c= {0_(n,L)} by A7,XBOOLE_1:37;
            hence u in {0_(n,L)} by A13;
          end;
          then G = {0_(n,L)} by A9,TARSKI:2;
          hence G9-[SE
        end;
        hence G9-Ideal = I;
      end;
      case
        G9 <> {};
        then reconsider
        GG = G,GG9 = G9 as non empty Subset         :R_NormSpace_of_BoundedLinearOperators,)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A14:    0.(Polynom-Ring(n,L)) = 0_(n,L) by POLYNOM1:def 11;
15    now
          let u be object;
          assume u in G-Ideal;
          then ex f being LinearCombination of GG st u = Sum f by IDEAL_1:60;
          then  g LinearCombination of  st  =  byA14,m9;
          hence    then :W1  ZbyA60,RELAT_1:27;
        end;
        R_N(SF)
          let u be object;
A16:      GG9-Ideal c= GG-Ideal by IDEAL_1:57,XBOOLE_1:36;
9-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
          hence u in G-Ideal by A16;
        end;
        hence G9-Ideal = I by A4,A15,TARSKI:2;
      end=domv|)/ domB1u) byFUNCT_3def
    end;
A17: now
      assume 0_(n,L) in G9;
not0(,L)in 0(,)}XBOOLE_0:def 5;
      hence contradiction by TARSKI:def 1;
    end;
A18: for u being object holds u in R implies u in R9
    proof
      let u be object;
      assume
A19:  u in R;
      then consider p,q being object such that
A20:  p in NonZero Polynom-Ring(n,L) and
A21:  q in the carrier of Polynom-Ring(n,LA67  Z byA5A12,;
A22:  u = [p,q] by ZFMISC_1:def 2;
      reconsider q as Polynomial of n,L by A21,POLYNOM1:def 11;
b :def1;
      p< _nL) byd;
      then reconsider p as non-zero Polynomial of n,L by A20,POLYNOM1:def 11
,: ;
preduces_to ,TbyA19A22POLYREDdef 
      then consider f being Polynomialfor  ofSstc indom W|)
A23:  f in G and
A24:  p reduces_to q,f,T by POLYRED:def 7;
      ex b being bag of n st p reduces_to q,f,b,T by A24,POLYRED:def 6;
      then f <> 0_(n,L) by POLYRED:def 5;
      then not f in {0_(n,L)} by TARSKIA73: W1.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      then f in G9 by A23,XBOOLE_0:def 5;
      then p reduces_to q,G9,T by A24,POLYRED:def 7;
      hence thesis by A22,POLYRED:def 13;
;
    R9 c= R by Th4,XBOOLE_1:36;
    then R9 is locally-confluent by A5,A18,TARSKI:2;
G9is_Groebner_basis_of IT by A6;
    hencethesis A17;
end;

definition
  let n be Ordinal, T be connected TermOrder of n, L be non empty
  multLoopStr_0, p be Polynomial of n,L;
  pred p is_monic_wrt T means
  :Def6:
HCpT)= .;
end;

definition :: definition 5.29, p. 203
  let n be Ordinal, T be connected TermOrder of n, L be right_zeroed
  add-associative right_complementable commutative associative well-unital
  nontrivial doubleLoopStr,P
  Subset of Polynom-Ring(  
  pred P is_reduced_wrt T means
  for p being Polynomial of       per cases;
  holds p is_monic_wrt T & p is_irreducible_wrt P\{p},T;
end;

notation :: definition 5.29, p. 203
 connected TermOrder of n, L be right_zeroed
      end;
distributive almost_left_invertible non trivial doubleLoopStr, P be
  Subset of Polynom-Ring(n,L);
   Pis_autoreduced_wrt Tfor P is_reduced_wrt T;
end;

.42,p java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  for n being Ordinal, T being admissible connected TermOrder of n
  , L being add-associative right_complementable right_zeroed commutative
  associative well-unital distributive Abelian almost_left_invertible non
degenerated non empty doubleLoopStr, I being add-closed left-ideal Subset of
  S,,,G  ,
      Z be Subset of S,
st p in I & p < f,T & HM(p,T) = m) & not(ex p being Polynomial of n,L st p in I
  & p < g,T & HM(p,T) = m) implies f = g
proof
  let n be Ordinal, T be admissible connected TermOrder of n, L be
  add-associative right_complementable right_zeroed commutative associative
  well-unital distributive Abelian almost_left_invertible non degenerated non
empty doubleLoopStr, I be add-closed left-ideal Subset of Polynom-Ring(n,L), m
  be Monomial of n,L, f,g be Polynomial of n,L;
  assume that
A1:f in I and
A2: g in I and
:HM(f,)=mand
A4: HM(g,T) =  ube  of S,
A5: HT(f,T) = term(HM(f,T)) by TERMORD:22
    .= HT(g,T) by A3,A4,TERMORD:22;
A6: HC(f,T) = f.(HT(f,T)) by TERMORD:def 7
    . (fT).HTfT)byTERMORD:18
    .= g.(HT(g,T)) by A3,A4,A5,TERMORD:18
    .= HC(g,T) by TERMORD:def 7;
  assume that
A7: not(ex p being Polynomial of n,L stjava.lang.StringIndexOutOfBoundsException: Range [39, 5) out of bounds for length 5
A8: not(ex p being Polynomial of n,L st p in I & p < g,T & HM(p,T) = m);
  reconsider I as LeftIdeal of Polynom-Ring(n,L) by A1;
  per cases;
  suppose
          v be PartFunc of S,F;
    hence g = (f - g) + g by POLYRED:2
       + g +  byPOLYNOM1:def 7
      .= f + (-g + g) by POLYNOM1 A2:v is_differentiable_on &v `|Z  Zand
            W = B *w&w =<uv>
      .= f by POLYNOM1:23;
  end;
  suppose
A9: f - g <> 0_(n,L);
    now
      per cases;
      case
A10:    f = 0_(n,L);
        then HC(g,T) = 0.L by A6,TERMORD:17;
        hence thesis by A10,TERMORD:17;
      end;
      case
A11:    g = 0_(n,L);
        then HC(f,T) = 0.L by A6,TERMORD:17;
        hence thesis by A11,TERMORD:17;
      end;
      case
A12:    f <> 0_(n,L) & g <> 0_(n,L);
        set s = HT(f-g,T);
        set d = f.s - g.s;
        setc= .s d";
         h   *( - g)
Supportfg) <> {}byA91
        then
A14:    HT(f-g,T) in Support(f-g) by TERMORD:def 6;
A15:    now
          assume HTofSF,
          then (f-g).HT(f-g,T) = (f+-g).HT(f,T) by POLYNOM1:def 7
            .= f.HT(f,T      SUBSET_1, ZF_MODEL PBOOLE, INCPROJ,MSUALG_3,AOFA_I00 ,
             POLYNOM117
            .= HC(f,T) + -(gjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 27
            .HC( -g)byTERMORD:java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 50
            .= 0.L  STRUCT_0,MATRIX_7, BORSUK_7, UNIALG_1, UNIALG_2, FREEALG, MSUALG_1,
          contradiction byA14,OLYNOM1:ef4;
        ;
HT(-,) <=maxHT(f,T),(f,)T, by A5,Th7java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
        then HT          
HT-,)  (,), A15,ERMORDd 3;
        then not HT(f,T) <= HT(f-g,T),T by TERMORD:5;
        then not HT(f,T) in Support(f-g) by TERMORD:def 6;
        then
A16:    (f-g).(HT(f,T)) = 0.L by POLYNOM1:def 4;
    .HT(,T)=( + (-c*(  ))((f,)  :def 7
,T))by POLYNOM1:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
          .= f.HT(f,T) + -((c * (f - g)).(HT(f,T))) by POLYNOM1  for  _  ,NAT_1    java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
                   ,,CIRCCOMB ,
. HTfT)+-0.L
          .=   for R being  
. .HTf, 
        Support f <> {} by A12,POLYNOM7:1;
        then HT(f,    set rr0 = r0/2;
        then h.(HT(f,T)) < 0.L byA17,:def 4;
        then
  f)in Supporth byPOLYNOM1:def ;
        then
A19:    HT(f,T) <= HT(h,T),T by TERMORD:def 6;
        Support h = Support(f + -(c * (f - g))) by POLYNOM1:def 7;
 Support  c=Support \ (-c  f- g) by :20;
        then
A20:    Support h c= Support f \/ Support(c * (f - g)) by Th5;
        Support f \/ Support(c * (f - g)) c= Support f \/ Support(f - g)
        by POLYRED:19,XBOOLE_1:9;
        then
A21:    Support h c= Support f \/ Support(f - g) by A20;
        not g < f,T by A2,A4,A7;
        then
A22:    f <= g,T by POLYRED:29;
        not f < g,T by A1,A3,A8;
        then g <= f,T by POLYRED:29;
        then
A23:    let bePointof
        (f-)  Supportf+-)&Supportf g =Support f \/
        Support(-g) by POLYNOM1:20,def 7;
        then
A24:    Support(f-g) c= Support f \/ Support g by Th5;
        then
:     /Supportf-g)c= 
;
        then
:   h 
        HT(h,T) in Support h by A18,TERMORD:def 6;
        then HT(h,T) <= HT(f,T),T by A26,TERMORD:def 6;
        then
A27:    HT(h,T) = HT(f,T) by A19,TERMORD:7;
        then HC(h,T) = f.(HT(f,T)) by A17,TERMORD        ux1 x1  A1,4A9,FUNCT_3:ef java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
          . fT by TERMORD:def 7;
        then
A28:    HM(h,T) =java.lang.StringIndexOutOfBoundsException: Range [17, 9) out of bounds for length 9
          .= m by A3,TERMORD:def 8;
        reconsider cp = c |(n,L) *' (f - g) as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
        reconsider cc = c |(n,L) as Element of Polynom-Ring(n,L) by
d 11;
        reconsider f9 = f, g9 = g as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
A29:    (f-g).s = (f+-g).s    then /.x1 -w/x0 =[/. .,v/x1-v/x0]by ,:18;
          .= f.s + (-g).s by POLYNOM1:15
          = s+-(s POLYNOM117
          .= f.s - g.s;
A30:    s in Support(f-g) by A13,TERMORD:def 6;
A31:    now
A32:      (f-g).s <> 0.L by A30,POLYNOM1:def 4;
A33:      -c * (f.s - g.s) = -(f.s) * ((f.s - g.s)" * (f.s - g.s)) by
GROUP_1:def 3
            .= -(f.s) * 1.L by A29,A32,VECTSP_1:def 10
            .= -(f.s);
          assume
A34:      Support h = Support f;
          h.s = (f + -(c * (f - g))).s by POLYNOM1:def 7
            .= f.s + (-(c * (f - g))).s by POLYNOM1:15
            .= f.s + ((-c) * (f - g)).s by POLYRED:9
            .= f.s + (-c) * (f - g).s by POLYNOM7:def 9
            .= f.s + -(f.s) by A29,A33,VECTSP_1:9
            .= 0.L by RLVECT_1:5;
          hence contradiction by A23,A14,A24,A34,POLYNOM1:def 4;
        end;
        h <= f,T by A21,A25,Th8,XBOOLE_1:1;
        then
A35:    h < f,T by A31,POLYRED:def 3;
        reconsider cp as Element of Polynom-Ring(n,L);
        reconsider cc as Element of java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
        reconsider f9,g9 as Element of Polynom-Ring(n,L);
        f - g = f9 - g9 by Lm2;
        then
A36:    cp = cc * (f9 - g9) by POLYNOM1:java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 31
        f9 - g9 in I by A1,A2,IDEAL_1:15;
        then
A37:    cc * (f9 -       v beof ,,
        f9 - cp = f - c |(n,L) *' (f - g) by Lm2
.=f- *( - )by :27;
hence contradiction byA1A7A28,A37,IDEAL_1:15;
      end;
    end;
    hence thesis;
  end;
end;

Lm10: for n being Element of NAT, T being connected admissible TermOrder of n,
L being Abelian add-associative right_complementable right_zeroed commutative
associative well-unital distributive almost_left_invertible non degenerated
non empty doubleLoopStr, p being Polynomial of n,L, I being add-closed
left-ideal non empty Subset of Polynom-Ring(n,L) st p in I & p <> 0_(n,L) ex q
being Polynomial of n,L st q in I & HM(q,T) = Monom(1.L,HT(p,T)) & q <> 0_(n,L)
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, p be Polynomial of n,L, I be add-closed left-ideal
  non empty Subset of Polynom-Ring(n,L);
   & v  i,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A1: p in I and
A2: p <> 0_(n,L);
    set c = (HCat]means
A3: HC(p,T) <> 0.L by  forS,E,F, 
  now
    assume c = 0.L;
    then 0.L = c * HC(p,T)
      .= 1.L by A3,VECTSP_1:def 10;
    hence contradiction;
  end;
  then reconsider c as non zero Element of L by STRUCT_0:def 12;
  set q = c * p;
  take q;
  reconsider pp = p,     & v is_differentiable_on $1,Z
POLYNOM1:def 11;
  reconsider pp,cc as Element of Polynom-Ring(n,L);
  q = c |(n,L) *' p by POLYNOM7:27
    .= cc * pp by POLYNOM1:def 11;
  hence q in I by A1,IDEAL_1:def 2;
A4: HT(q,T) = HT    let SE,, java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  then HC(q,T) = q.ube PartFunc of S,E,
    .= c * p.HT(p,T) by POLYNOM7:def 9
    .= HC(p,T) * (HC(p,T))" by TERMORD:def 7
    .= 1.L by A3,VECTSP_1:def 10;
  hence HM(q,T) =        W be PartFunc of ,;
  then 1.L = coefficient(HM(q,T)) by POLYNOM7:9
    .= HC(q,T) by TERMORD:22;
  then HC(q,T) <> 0.L;
  hence thesis by TERMORD:17;
end;

theorem
  for 
  n, L being Abelian add-associative right_complementable right_zeroed
  commutative associative well-unital distributive almost_left_invertible non
degenerated non empty doubleLoopStr, I being add-closed left-ideal non empty
  Subset of Polynom-Ring(n,L), G being Subset of Polynom-Ring(n,L), p being
Polynomial of n,L,java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
  q & HT(q,T) divides HT(p,T) holds G is_Groebner_basis_of I,T implies G\{p}
  is_Groebner_basis_of java.lang.StringIndexOutOfBoundsException: Range [23, 6) out of bounds for length 6
proof
letn Element of , Tbe connected admissible of be
  Abelian add-associative right_complementable right_zeroed commutative
  associative A6diff_SPS G byNDIFF_6:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  end
    :java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
benonofnL

A1: p inA11 f)dom  (*   p ;
A2: q in G       ,A513,  
A3: p <> qjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
 q)divides,)
=asnonjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 67
   henceA*)xc(B*f).  A1
A5: GA1  in Fregef;then
A3 (f)x =&hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A6:     thus  A3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
   >0_(,)& qin by A2:def1XBOOLE_0:ef5;

A7: HT(q,T) in {HT(u,T)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 GG c=GGIdeal byIDEAL_1 14
  then
ubePartFuncS
fnstf IGT f
0(n, byA1,5,of ,:Fjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  then for f being non-zero Polynomial java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 33
GT assume

9: for  being  is_differentiable_on i+1,Z
GT ,Th26
) exb9 being   n st iHT
T  dividesb
  proof
    let
    assume b in HT(I,T);
    considerbbbeingbagthenu 0,
 in (G
A11: bb divides b proof
    consider r           v|ZZby NDIFF_6;
A12: bb = HT(( i implies(singleton.  x)&
:r inGandA19:v java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
: r < (,
   
      per cases;
      case
        r = p;
        A5:     x = i
      end;
case
        r< p;
 not  in {}by TARSKI:def 1;
        then r in G9 by A13,XBOOLE_0:def 5;
        then
Polynomial of ,L : u G9& u > 
I
        thesisbyA11;
;
;
    hence thesis;
  end;end;
  then
:Tc T() java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
  by:efa x the F
  then
A16:       tke y=,a4,a5,6a7,8a9a10}cX
  G9 <> {} by A2,A6  {a1}/a *(proj1VV2)java.lang.StringIndexOutOfBoundsException: Range [60, 44) out of bounds for length 66
  hence thesis by            x in   a,,}def;then
end;

theorem :: theorem 5.43, p. 209
  forend
   being Abelianadd-ssociative right_complementable right_zeroed
  ajava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 77
nonemptydoubleLoopStr,being add-leftempty
nomRing(,L I < { (n,L)   A25   F.= *(java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 66
  -(nL  G java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  let   coherence
- java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 71
  associative well-unital distributive java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 17
   Ibe-  Subset
  Polynom-Ring(n,L);
   ;
  assume
A1: Ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ex q being       f.3 = <*a1,a2,a3,a4,a5*>.3 &    consider B1 be Function 

    assume
A2: not(ex    .  a1&f.  a2  f.  &f.  &f  & f
A3: now
      let u be object;
assume uin{_n);
      then
A4:   u = 0_(n,    A28  V1bePointo E
now
        assume       by FINSEQ_3:4defjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  byTh20;
      end Th20java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
henceu in
    end;
    now
      let u      rng <a1a2,a3,>/rng <** FINSEQ_131
assumeu ;
      then u = 0_(n,L) by A2;
      hence u in {0_(n,L)} by TARSKI:def 1;
    end;
    hence thesis by A1,A3,TARSKI:2;
  end;
  then consider q being Element of I such that
A5:q< 0(,)
  
q,T in{(p)p Polynomialof ,:p      _nL
  )} by A5       x,  be of ;
non emptyof java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  hq=HTq,T)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  consider S being set such that
  let ,a,,,a6a7be ;
A7:       :
+ *byFINSEQ_48. +2byFINSEQ_144
 java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 46
:ex f  *a2,3>1&.2 =<a1,2a3,a5*. 
DICKSON:def 10;
S non ;
    hence contradiction. .A4   i   2in 
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A10: S     end
  now
    let ube object;
   assumeu in ;
thenuihti by A10;
    hence u in Bags assume A12:f6 =a6
      =  orx=2or =3or 
reconsider finiteofBags n       
 set hB.xy)B2  yby:;
p 
  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
sets=the Element
  hq in {HT(p,T) where p is Polynomial of n  reduce <a1a2,a4,a5,a6,>6toa6;
  then
A11: ex b being Element of R st b in S & b <= hq by A6,DICKSON:def 9;
  then s 
  thenreconsider(,])
p g * r Vax];
>0(, &notex beingPolynomial ofnL st  inI      java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 60
    (r)=Monom.,}inbyjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
  then reconsider M as non empty set;
 G=<12,^<,,*java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  } };
A12: <a1a,,4,5*^*a6,7a8* FinSequenceofX;
{q   < _nL)
  proof
    set
    assume  in M;
    then    let fbe inSequence
:  pwhere is  of nL:p end;
L,sby 22. + *a,*> by FINSEQ_4: =5+3by :java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    <>java.lang.StringIndexOutOfBoundsException: Range [6, 0) out of bounds for length 0
   proof
    s in hti by A10,A3:   len <*a1,a2,a3,a4*   by78;
      set f = B * (reproj2 [x,V20
A15: s ,*  52=7by A4,INSEQ_1:;
A16: q in I & q <> 0_(n,L);
    considerhence  *a2a3,,5,a6,a7,>implies len=8 java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
A17: qq in I & HM(qq,T) = MonomA6: domf= Seg  &dom <a1,2,3,a4,,a6,a7,>=Seg 8
    set M9 = {p wherex=1  x 2x = 3orx 4orx=5or    =B([yV20. by
&p< ,);
:
letu java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
assume 9
 Polynomial  , u  =.x] By,)byBINOP_1:ef 
     (.s  < _n,);
      hence u in the carrier  by Th19

    qq  or a1,2,3a4,,,a7a8 beingobjecth
    then.=fs  .sby FUNCT_215
TARSKI:def 3;
    reconsider M9 as non java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 10
    consider p being Polynomial of n,L java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 8
A19: p in M9 and
A20: for r being     for x be VECTOR E,abe  holdsB1.a*x =   java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 7
bPolynomial n suchthat
A21: p9 = p and
 thusjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
A23: HM(p9,T) = Monom(1.L,s) and

A25: now
 exq. (a,.by:
      ) & HM(q,T) = Monom(1.L,s);
      then consider q being Polynomial of n,L such that
A26:  q in I and
A27:  q < p9,T and
A28:  q <> 0_(n,L) & HM(q,T) = Monom(1.L,s);
      q in M9 by A26,A28;
      hence contradiction by A20,A21,A27,POLYRED:29;
            = a  B.[x,20`1,s]by :def 1
A29: now
A30:  1.L <> 0.L;
assumeex ofnL stq     ,&HMqT java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
      Monom(1.L,s);
      then consider q being Polynomial of n,L such that
A31:  q in I & q < p9,T and
A32:  HM(q,T) = Monom(1.L,s);

        .= 1.L by POLYNOM7:9;
      then  >0_      :.B*(eproj1 [10,V2] by ;
          = Seg  <,a3a,,,,*  <a9*)by java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    end;
A33: now
 be
          4 in dom*
then  being   ,  that

      that
,)and
&( x  E
(T (1L) by
      now
A37:    1.L <> 0.L;
        q Polynomialof nL q inI&  ,&HMqT)=
        Monom(1.L,s);
       then q being Polynomial of ,L 
:        E
,  .,)
        HC thusdom<a1a2a3,a5a6a7a8><java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          .= 1.L by POLYNOM7:9;1  dom *,a2,,,a5a6a7a8>byA37 |..|< ;
        then q <> 0_(n,L) by A37,TERMORD:17;
        ence  A36,A38,A39;
      end;
      then u9         0 = |.z  dom*,,5java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 59
      hence u in {p9} by A34,    = <*a1,a2,a3,a4,a5,a6,a7,a8*>.5: . a5
    ;
        take p9;,,a3a4a5,a6,,>*a9a10>)7
    p9 in x by A13,A22,       *a1a2a3,a4a5,a8* A1java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 10
    then for u being object holds u in {p9} implies java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 43
hencethesisby ,,A332
  end;
  now
    letletS  ofI;
     u inG
    then consider
A40: u = r and
A41: ex x being Element of M st x = {r};
er beingElement Mthat
A42: x = {r} by A41;
    consider r9 being Polynomial of n,L such that
A43: r9 in I and
A44: x = {r9} and
    r9 <> 0_(n,L) by A12;
    r9 in {r} by A42,A44,TARSKI:def 1;
    hence u in I by A40,A43,TARSKI:def 1;
  end;
  then
A45: G c= I;
A46: M is finite
  proof
    defpred P[object,object] means
   $    f=the ManySortedSubset ofS2
bag of n st b = $1 & p in I & HM(:forx java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 68
being Polynomial of n,L st  reconsiderXas 
    L,b))};
A47: for x being object st x java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 39
A48: dom f = S    ;
    CLASSES1:sch 1(A47);
A49: now
      let object
      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 24
      then consider s being object      then consider)=Xx  yin. or  .x f.  }& }={
A50:  s in dom f and;
A51e   
ar 
      set V = {p where p is java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 13
,)&exqof L q    T&q >
(L)& HM(T)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A52:  ex b being bag of let  ;
eing  nstb  pin  &HMp,  1.L,b  p< (n)&not
(ex q being    A3 theA)r < {}
java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 32
A53 ={}; java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        let vbe ;
        assume v in V;
        then
        ex foroa being
1.L,s) & p <>   ( Sorts ofA)a< { & the   .r >{
        q >0_n,L)& q)=Monom(1Ls)
        hence v     let S be non v nonemptyjava.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
      end;
      recon s   of;
        be 
        assume v in f.s;
         the A)#.*<|.|  .`.  ;
x p beingPolynomial of n, st =p&  :<*Args ),123;
   in       java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 74
of n,L st q injava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          
      java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 30
      then
      u = {p where p     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 43
s) & p <> 0_(n,L) & not(ex q being java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
_(,L
       inMA48,50;
    ;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      let u be object;
       reconsider uu=u as set by TARSKI:1;
      assume java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6
f ,ab,creconsider LL1L1 java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 63
 forA being MSAlgebra over S
      q <>0_(L &:now
A55:  s in S;
:b n stf.  {pwherep   n,  b
being  beElement theofA.;
(ex q being Polynomial of n,     theSorts    thecarrierof  java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 22
      Monom(1.L,b)then ex  )thejava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
now
        let v be object;
ssume v 
        then
        pbeingPolynomial n,L v     inI  (pT)=Monom(
1.L,s) & p <> 0_(n,L) & not(ex q being Polynomial of  end;
qT  1.,s)) byA54
        hence v in f.s by A56;
      end;
letbe nonemptynonvoid ManySortedSign;
        let v be object; -  the Sorts#*Arity  ,
        assume v in f.s;
        then
        ex    theS
s 
of n,L st q in I & q < p,T & q < let be -empty of carrierS
        hence v in      ManySortedMSSetofthe SortsofFreeSX,

      f.s in rng f by       Sorts  c ofFreeS);
      hence u in
    end
    then rng 
    hence set v = thejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 66
  end;   emptyofthe carrier
A59:
  proof
    defpred [object,object]means
p  n,,ER_NormSpace_of_BoundedLinearOperatorsF,)
    M st $1 = x & $2 = p & x = {p};
  x objectstx inM  st [xy]
    proof
      let x be object;
      assume
A61:  x in M;
      then reconsider x9 = x as java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
       java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 50
        and
A62:  x = {q} and
      q    let  be non empty non  ManySortedSign;
      take q;
      take q,x9;
      thus x =x9;
java.lang.StringIndexOutOfBoundsException: Range [14, 6) out of bounds for length 17
      thus thesis by A62;
    end
consider   
: f=M   x being object st x in M holdsPx. 
    1(A60)
A64: now
      let u be object;
       uinjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      then consider r being Polynomial of n, forHbeing   G  
A65:  u = r and
A66:  ex x being Element of M st x = {r};
      consider x being Element of M such that
A67:  x = {e hbeManySortedFunctionofAU1 st
      [,]by
      then consider
 p9  Polynomial ofnL, x9  ofM  that
      x9 = x and
:p9 =f and
A69:  x = {p9};
A70:  f.x in rng f bylet nonManySortedSetofthe ofS
      p9 in {r} by A67,A69,for (X,S)-terms strict VarMSAlgebra over S;
      hence u in rng f by A65,A70,A68,TARSKI:def 1;
    
    now
      let u be object;
      assume u in rng f;
  then sbeing object such that
A71:  s in domA1 theMSAlgebra of  =FreeMSA  by :31;
A72:  u = f.s by FUNCT_1:def 3;
      reconsider s as Element of M by    (,(S,).p (  )  
ex  of ,,    M x9=s& java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
      = f.s & x9 = {p9} by A63;
            then vthen v/.x in B2 java.lang.StringIndexOutOfBoundsException: Range [28, 4) out of bounds for length 39
    end;
    then      :(2v/.x
       let X be non-ebe-  thecarrierof ;
  end;      .   java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 33
  now
    let u be object;
     u ;
    then ex r being Polynomial of n,L forsbeingElementof (  being Element of X().      thus (*).)V
    ={}
    hence u in the carrier of Polynom-Ring(n,L) by POLYNOM1:def 11;
  end;
thenxby Njava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
    >{
  proof
    set z = the java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
    consider r being Polynomial java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

A73: z = {r} and
    r <> 0_(n,L) by A12;
    r in G by A73;
    hence thesis;
  end;
  G  empty l xbeof ;
  java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 9
  for b being bag of n st b in HT( ()s
  G,T) & b9 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 11
  proof
    let b be bag letr be  ofI)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    reconsider bb hence dom f)=I)&f..  F(,,);
    assume b in HT(I,T);
    thenconsiderbb9java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 50
A74: bb9 in S and
A75:bb9 =bb A6,:def9
A76: [bb9,bb] in DivOrder(n) by A75,ORDERS_2:def 5;
    reconsider b9 =    F   I)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    set N = {p where p is Polynomial of n,L : p in I & HM(p,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 60
& p <> 0_(n,L) & not(ex q being Polynomial of n,L st q in I  dom ft = (  .     reconsiderF1=B2v)x  LinearOperatorof EG
(,) & (qT)=Monom1L,9)}java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    N in M by A74;
    then reconsider N as Element of M;
    take b9;
    consider r being Polynomial of n,L such that
Iand
A77: N = {r} and
    r <> 0_(n,L) by A12;
    r in N by A77,TARSKI:def 1;
    then consider r9 being Polynomial of nthen
A78: r = r9 and
    r9 in I and
A79: HM(r9  end
A80: r9 <>A53:for xPointof Z
    not(ex q being Polynomial of n,L st q in            Vbe of holds((B1*u).)V=B.u/.,)
    & HM(q,T) = Monom(1.L,b9));
A81:r9  G byA77A78;
b9 =term(HM(T)by POLYNOM7
      .= (r9T TERMORD:2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    hence thesis by A76,A80,A81,Def5;
  end;
  then HT(I,T) c= multiples(HT(G,T)) by Th28;
  hence G is_Groebner_basis_of I,T by A45,Th29;
  now
    let q be Polynomial of n,L;
    assume
A82 in;
    then consider rr being Polynomial of n,L such that
java.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds for length 45
 Element  stx = {rr};
    consider x being Element       (srt c=(he  A.
A85: x = {rr} by A84;
    x in java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
     java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 53
A86: x = {p where p is         pbeingElementof such
1.L,s) & p <> 0_(n,L) & not        reconsidertp=t  of   
    q <> 0_ (n,L) & HMassume :x ;
A87: s in S;
    rr in x by A85,TARSKI:def 1;
    then consider p being Polynomial of n,L such that
A88: rr = p and
    p in I and
A89: HM(p,T) = Monom(1.L,s) and
    p <> 0_(n,L) and
A90: not(suchthat
    ,L ) & HM(q,T) = Monom(1.L,s)) by A86;
A91: 1.L = coefficient(HM(rr,T)) by         def;
      .= HC(rr,T) by TERMORD:22;
    hence q is_monic_wrt T by A83;
A92: s = term(HM(      A59: modetransby43;

    now
      reconsider htq = HT(q,T) as Element
      assume q is_reducible_wrt G\{q},T;
      then consider pp being Polynomial of n,L such that
A93:  q reduces_to pp,G\{q},T by POLYRED:def 9;
      consider g being Polynomial of n,L such that
:inG\q java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A95:  q reduces_to pp,g,T by A93,POLYRED:def      by MSAFREE4:def ;
A96:  g in G by A94,XBOOLE_0:def 5;
A97:  not g in {q} bythusX of  of  by def java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
      reconsider htg = HT( pArgs(o (S,) &
      consider b being bag of n such that
  ,,bT Pdef6;
A99:  b in Support q by A98,POLYRED:def 5;
A100: ex s being bag of n st s + HT(g,T) = b & pp = q - (q.b/HC(g,T)) *
      (s *' g) by A98,POLYRED:def 5;
      now
        per cases;
        case
A101:     b = HT(q,T);
          set S9 = S \ {htq};
          consider z being Polynomial of n,L such that
A102:     g = z and
A103:     ex x being Element of M st x = {z} by A96;
          consider x1 being Element of M such that
A104:     x1 = {z} by A103;
          in;
          then consider t being Element of Bags n java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 20
A105:     x1 = {u where u isreconsiderg=has  BB
Monom(1the MSAlgebraof  =the MSAlgebra of;
         u,T  q > 0 n)&HM(qT  Monom(1.,} 
A106:     t in S thenreconsider B as  
         TARSKIdef ;
          then consider p1 beingby A5;
A107:     z = p1  
          p1 I and
A108:   benonempty the carrier S;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
          not(ex q .(u|).)ds(S ;
          n, L) & HM(q,T) = Monom(1    XS)terms java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
A109 A62,;
            .= htg by A102,A107  end
          now
            assume htg in {htq};
            then t = s by A92,A109,TARSKI
 t ,    Mof FreeGenX
          end;
          then
A110:      hhence(`Z).  B*).x*(`Z).x
          HT(g,T) divides HT(q,T) by A100,A101,PRE_POLY:  tbejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 28
          then [htg,htq] in DivOrder(n) by Def5;
          &v, A16
A111:     htg <= htq by ORDERS_2:def 5;
A112:     now
            let a be Element of suppose { in[c' S{of:;then
                    carrierS d 1java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
            then  ofS,v  ofXs .} v,s; then
A113:       b in S and
A114:       b <= a by A6,DICKSON: tpin (1 X byMSAFREE:def 15; then
            now
              per java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
              for S being non consider bLipschitzianjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 52
in S9
                hence ex b being   for x being Element of A,s st x inxbeing Elementof ,sst in (X)s 
              ;
              
                holdsBX1.u)= Av-free (X,S) Sjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
                 b htq  def5;
                then htg     A68:domw1
henceexb                  hence ex b being Element of R st b a,]
ORDERS_2:3;
              end;
            end;
            [:rng(u`|Z)rng(*v]
           :   java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 69
A115:     now 96;
            assume htqthen
            then not htq in {htq} by [:R_NormSpace_of_BoundedLinearOperators,Ejava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
            java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 48
          end;
          S9 c= S by XBOOLE_1:36;
java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 32
          then S9 is_Dickson-basis_of hti,R by A112,DICKSONjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 68
          then S cn7 zin (-singletonx)y; then
          hence q is_irreducible_wrt G\{q},T by A87,A92,A115;
        end;
        A71 B2*iZ  Z by A66,NDIFF_1:45,NDIFF_6:14; byA1A2,A3A9,;
A116:     b <> HT(q,T);
          b <= HT(q,T),T by A99java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
          then b < HT(q,T),T by A116,TERMORD:def 3;
          then
A117:     pp.HT(q,T) = q.HT(q,T) by A98,POLYRED:41
            .= 1.L by A83,A91,TERMORD:def 7;
          1.L <> 0.L;
          then
A118:     HT(q,T) in Support pp by A117&diffZ java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 64
          now
A119:       b <= HT(q,T),T by R_NormSpace_of_BoundedLinearOperators,G)]
            assume
A120:       HT  then  =BX1;
mofS - ManySortedSetofImeans
            then b <= HT(pp
            then b < HT(pp,T),T by TERMORD:def 3;
            HT(pT inSupportq  HTpp,)in  by A98
POLYRED:40;
            then HT(ppA1:forx being st  in  f  (x PBOOLEsch 4;
            hence contradiction by A120,TERMORD:5;
          end;
          then
A121:     HT(pp,T) <= HT(q,T),T by TERMORD:5;
          HT(q,T) <= HT(pp,T),T by A118,TERMORD:def 6;
          then HT(pp,T) = HT(q,T) by A121,TERMORD:7;
          then Monom(HC(pp,T),HT(pp,T)) = Monom(1.L,s) by A92,A117,
TERMORD:def 7;
          then
A122:     HM(pp,T) = HM(q,T) by A83,A88,A89,TERMORD:def 8;
A123:     now
            assume pp = 0_n,)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
            then 0.L = HC(pp,T) by TERMORD:17
              .= coefficient(HM(pp,T)) by TERMORD:22
              .= 1.L by A83,A91,A122,TERMORD:22;
            hence contradiction;
          end;
          consider m being Monomial of n,L such that
A124:     pp = q - m of (FG)
          reconsider gg = g, qq = q, mm = m as Element of Polynom-Ring(n,L) by
POLYNOM1:def 11;
          reconsider gg,qq,mm as Element of Polynom-Ring(n,L);
           inG byA94XBOOLE_0:def 5
          then   gg in I by A45,IDEAL_1:def 2;
          then -(mm * gg) in I by IDEAL_1:13;
          then
A125:     qq + -(mm * gg) in I by A45,A82,IDEAL_1:def 1;
          mm * gg = m *' g by POLYNOM1:def 11;
          then q - (m *' g) = qq - (mm * gg) by Lm2;
          then pp in I by A124,A125;
          hence contradiction by A83,A88,A89,A90,A95,A122,A123,POLYRED:43;
        end;
      end;
      hence q is_irreducible_wrt G\{q},T;
    end;
    hence q is_irreducible_wrt G\{q},T;
  end;
  hence thesis;
end;

theorem :: theorem 5.43, p. 209
   let be non empty  ManySortedSignjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  ,beingAbelian add-right_complementableright_zeroed
  commutativeassociative well-nital distributivealmost_left_invertiblenon
degenerated non empty doubleLoopStr, I being add-closed left-ideal non empty
  Subset of Polynom-Ring(n,L), G1,G2 being non empty finite Subset of
  Polynom-Ring(n,L) st G1 is_Groebner_basis_of I,T & G1 is_reduced_wrt T & G2
  is_Groebner_basis_of I,T & G2 is_reduced_wrt T holds G1 = G2
proof
  let n be Element of NAT, T be connected admissible TermOrder of n, L be
  Abelian add-associative right_complementable right_zeroed commutative
  associative well-unital distributive almost_left_invertible non degenerated
  non empty doubleLoopStr, I be add-closed left-ideal non empty Subset of
  Polynom-Ring(n,L), G,H be finite non empty Subset of Polynom-Ring(n,L);
  
A1: G is_Groebner_basis_of I,T and
A2: G is_reduced_wrtletA beover S;
A3: H is_Groebner_basis_of I,T and
A4: H is_reduced_wrt T;
A5: H-Ideal = I by A3;
  set GH = (G \/ H) \ (G /\ H);
  thenin  =hjava.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 77
A6: G <>R_NormSpace_of_BoundedLinearOperatorsG):
  now Sjava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 28
   be
    then
A7: (G \/ Hjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A8: now
      let u be          by RELSET_1:4A75;
      assume u in H;
      s oA)< }holdsDeno   diff(|,
      hence java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 11
    end
    now
      let u be object;
      assume u in G;
      then u in G \/ H by X.x =Fx by ;
      hence u in H by A7,XBOOLE_0:def 4;
    ;
    hence contradiction by A6,A8,TARSKI:2;
  ;
  then       let x beElement of S;
A9: now
    let u be object;
    assume
A10: u in GH;
    then
A11: not Sortsof
A12: u in G \/ H by A10,XBOOLE_0:def 5;
    u in G \ H or u in H  hence by :;

      assume
A13:  not u in G \ H;
      now
peref;
       
          not u in G;
          hence not u  G &  Arity  S = thecarrier of S
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        case
          u X1* of)java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 58
hence uin H& not (*theResultSortS.   FUNCT_1:13; then
               ;
      end;
            (X#*he Arity of S. 
    end;
    hence u A3   dom(h.x)  (X* ArityofS. by :def 1
  end;
 gbeingPolynomialn, suchthat
A14: g in GH and
 g <= qT 31java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
A16: Ideal = ult_sort_of x=succ(.the_result_sort_ofxby;
A17:      Y.the_result_sort_ofx inXx byORDINAL1:;
      be set;
    assume
A18:         thenhe_result_sort_of xA4
    now
      per  A18
      case
A19:uin G
        then reconsider u9 = u as Element of Polynom-Ring(n,L);
        reconsider u9 as Polynomial nLbyPOLYNOM1:ef;
        u9 is_monic_wrt T by A2,A19;
        then
A20:    HC(u9,T) = 1.L;
        1.L <> 0.L;
        henceu is Polynomialof n,  u < 0_(n,)byA20,TERMORD:;
      end;
      case
A21:    u in H;
        thenreconsider =u sElement of -
        reconsider u9 as           =R_NormSpace_of_BoundedLinearOperatorsS,)       java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 47
byA4A21
        then
A22:   HC(u9,)=1.;
        .L 
        hence u is Polynomial of n,L & u <> 0_(n,L) by A22,TERMORD:17;
      
    end;
      isPolynomial n, & u >0(n,)
  end;
  for f being Polynomial of n,L st f in G-Ideal holds PolyRedRel(G,T)
  h15;
  then for f being non-zero Polynomial of n,L st fs
  is_reducible_wrt G,T by Th16;
 
23 fbeingnon-Polynomialof,t inG-holds 
   G, by Th17;
A24: for u being Polynomial of n,L st u in G or u in H
    holds HC(u,T) = 1.L by Def6,A2,A4;
A25: now
    let u be set;
    assume
26 u inGHjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
    then:def 5;
    then
:not  ino,)-the ResultSort  o. A14A,11
A28:  inG\  by ,:def ;
    
      per cases by A28,XBOOLE_0:def 3;
se
        per cases;
        hence        t  )
      end;      java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
      case
        u in H;
        hence u bA2
      end;
    end;
    begin:: Program algebra
  end;
  now
    let u be object;
    assume
A29: u in (G \ H) \/ (H \ G);
    now
      per cases by A29,XBOOLE_0:def 3;
      case
        u in (G \ H);
        let X be T;
        hence u in G \/ H & notattr  is meanshence diff(`|,,)is_continuous_on  A72,theSortsof isdisjoint_valuedjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      end;
      case
        u in (H \ G);
        then u in H & not u in G by XBOOLE_0:def 5;
        henceuin \ &not  inG /\ H by XBOOLE_0:3,ef ;
      end;
    end;
    hence  inGH X:def5
  end;
  then
A30: GH = (Ge;
  for f being Polynomial of n,L st f in H-Ideal holds PolyRedRel(H,T)
  reduces f,0_(n,L) by A3,Th15;
  proof
  is_reducible_wrt H, by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  then
A31: for f being non-zero Polynomial of n,L st f in H-Ideal holds f
  is_top_reducible_wrt H,T by Th17;
  per cases by A25,A14;
  suppose
:g G\H
    then
33:g  5;
    then
A34: g <> 0_(n,L) by A17;
    then proof
A35: G c= G-Ideal by     set I = the Function of [|,Sorts of
    then HT(g,T) in HT(H-Ideal,T) by A16,A5,A33,A34;
    theorem Th43:
A36: reconsider  as  uasi_totalnon-emptystrict
A37: b9 divides HT(g,T) by A31,Th18;
     of n, that
:=HT(,)and
A39: h in H and
A40: h <> 0_(n,L) by A36;
    reconsider h as non-zero Polynomial     quasi_total PartFunc of (the carrier of,the ofAbePartFuncof,,
    set f = g - h;
A41: h <> g by A32,A39,XBOOLE_0:def 5;
A42: now
      assume
A43:  f = 0_(n,L);
      h = 0_(n,L) + h by POLYRED:2
        .=   for ,Gbe RealNormSpace
        .  +(-+h POLYNOM121
        .=TbeSubset  F,
      hence contradiction by A41,POLYNOM1:23;
    end;
    Support g <> {    let ,F, be RealNormSpace,
    then HT(g,T) in Support g by TERMORD:def 6;
    then
A44: g is_reducible_wrt hbePartFunc of ,;
    then
A45: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    now
      assume not h in H\G;
      then
A46: hin  byXBOOLE_0def5;
      not h in {g} by A41,TARSKI:def 1;
  G\g byA46,XBOOLE_0:def5;
      then java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 7
A47:  h in G\{g} & g reduces_to r,h,T by A45;
  g reduces_to r,\gjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
      g is_irreducible_wrt G\{g},T by A2,A33for C2 being  of U2 st C1 = C2
   -then-else(1,,) =-thenelse(,,)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    end;
    h GH yA30,BOOLE_0:def 3
 not  ,T by POLYRED ,  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
    java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 36
    then
 HTgT =HT(,)    0i<i 1by :java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    HT(A2:   
    then
:HThT  g,)by java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
    reconsideras non-zero  of
=://creativecommons
    then
)   f by TERMORD:6;
    fALGSTR_1  Algorithm ofU2  
       HTg,)+Z
      . .,T +-hh) 50POLYNOM117
      .       OPS_2 ,SUBSET_1 TUPLE_0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
           = (g,T)+  u1u4  UNUN Tjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      . {)={ &o.{
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 31
      .= 0.L by RLVECT_1:5;
    then
A52:HT(java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    T(,T =max(HT(g,),T,, by Th7;
   then
53 (fT < HT(g,T)TbyA50,ERMORD12java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
reconsider    letS2be Subset of ;
POLYNOM1def;
     g9,h9as Element of     leto1  of ;
      =abyTARSKI:def 1;
  by,A,,,15
    then f in I by Lm2;
    then
A54: HT(f,T) in HT(I,T) by A42;
    g +h)c=Support g / Support(.  \9
    thenSupport f c= Support g \/ Support(-h) by POLYNOM1:def 7;
    then
Support  c=Supportg\ Support h Th5;
    now
      per cases by A51,A55,XBOOLE_0:def 3;
      case
A56:    HT(f,T) in Support g;
        consider b9 being bag of n such that
A57:    b9 in HT(G,T) and
A58:    b9 divides HT(f      [R_NormSpace_of_BoundedLinearOperators,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 23
        nsider
A59:   =HT(,    then
A60:    q in G and
A61:    q <> 0_(n,L) by A57;
        reconsider q as non-zero Polynomial of n,L by A61,POLYNOM7:def 1;
        is_reducible_wrt, A56,,,:36;
         asPartFunc  E,(, proof
A62:    g reduces_to r,q,T by POLYRED:def 8;
        HT(q,T) <= HT(f,T),T by A58,A59,TERMORD:10;
        then q <> g by A53,A52,TERMORD:7;
        then not q in {g} byG2  GeneratorSetofU2
        thenq in G\{} by A60XBOOLE_0: ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
           A2,A33POLYRED:ef
      end;
      case
 forx0beobject x0  (*u`Z) ((u`|)=x0
        consider b9 being bag of n such that
A64:    b9 in HT(H,T) and
A65:    b9 divides HT(f,T) by      then : inZ A11NDIFF_1def 9;
        consider q being       reconsider x = x0 as Point  by;
A66:    b9 = HT (v*)|)
A67:    q in H and
A68:    q <> 0_(n,L) by A64;
        reconsider q as non-zero       .=B.((`Z/.,(v`T/(/x) java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        h is_reducible_wrt q,T by A63,A65,A66,POLYRED:36;
        then consider r being Polynomial of n,L such that
A69:    h reduces_to r,q,T by POLYRED:def 8;
thenA26: u.  .:Z byA6,def 6;
        then q <> h by A50,A53,A52,TERMORD:7;
        then not q in {h} by TARSKI:def 1;
        then q in H\{h} by A67,XBOOLE_0:def 5;
        then h reduces_to r,H\{h},T by A69,POLYRED:def 7;
. (`Z.,(`|)(u.x)] A6,A22,ARTFUN1:def6
      end;
    end;
    hence thesis;
  end;
  suppose
A70: g in H\G;
    then
A71: not g in G by XBOOLE_0:def 5;
A72: g in H by A70,XBOOLE_0:def 5;
    then
A73: g <> 0_(n,L) by A17;
    then reconsider g as non-zero Polynomial of n,L by POLYNOM7java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
    then HT(g,T) in HT(G-Ideal,T}  .addLoopStr =}
  let CO
 inG)
A76: b9 divides HT(g,T) by A23,Th18;
    consider h being Polynomial of n,L such      u  PartFunc
A77: b9 = HT(h,T) and
A78: h in G and
A79: h <> 0_(n,L) by A75;
  let C,;
    et f=g -h;
 
      assume      assume
: = (,L
h= 0_(,)+  POLYRED:
        .  TrivialaddLoopStr=
        .= g    assume  {};
        .= g + 0_Z=.  VECTSP_1:ef13
        set f =G)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 ;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 38
n(,)in &    ass : theUAStr ofU1=he ofU2;
    thenfor  i in dom signature U2
  is_reducible_wrt, byA76,77POLYRED;
    
A83:ex being  =g(x+fy  A1
    now
      assume not h in G\H;
      then
A84:  h in H by A78,XBOOLE_0:def 5;
      cluster  well_foundedECIW-strictinfinite
      then h w-
      then consider r being Polynomial of n,L such that
        Subsetof ,
      g reduces_to r,H\{g},T by A85,POLYRED:def 7;
      hence contradiction by  setA =ProgramAlgStr(the of ,the java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 0
    end;
   h in GH ,XBOOLE_0d 3;
    then not h < g,T by         
),T byPOLYRED:2;
    then
A87: HT(g,T) <= HT(h,T),T by TERMORD:5;
    HT(h,T) <= HT(g,T),T by A82,Th9;
    then
)=HT(,)by ,: diffu0:
    reconsider f as non-zero Polynomial of n,L by A80,POLYNOM7:def 1;
    Support f <> {} by A80,POLYNOM7byAOFA_000def ;
    then
A89: HT(f,T) in Support f by TERMORD:def 6;
    f.(HT(g,T)) = (g + -h).HT(g,T) by POLYNOM1:def 7
      .= g.HT(g,T) + (-h).HT(g,T) by POLYNOM1:15
      .= g.HT(g,T) + -(h.HT(h,T)) by A88,POLYNOM1:17
      .= HC(g,T) + -(h.HT(h,T)) by TERMORD:def 7
      .= HC(g,T) + - HC(h,T) by TERMORD:def 7
      .= 1.L + - HC(h,T) by A24,A72
      .= 1.L + - 1.L by A24,A78
      .= 0.L by RLVECT_1:5;
    
A90: HT(f,T) <> HT(g,T) by A89,POLYNOM1    assumeA9 i]
    HT,)< ((,T,HT(hT,T, byTh7
    then
 HT(,) <HTgT, byA88,:12;
 = g  =h  Elementof -Ring,) by
d ;
ment ofPolynom-ingnL;
    G c= G-Ideal by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 18
      ()is ;
    
A92: HT(f,T) in HT(;
pportg+-h) =Supportg\/Support(h  :20;
    thenclusterZEROGH >GroupMorphism;
    then
A93: take ZEROH;
    now
      java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
      nce;
A94:    HT(f,T) in Support g;
        b9being ofnsuchthat
 b9inHT,) and
    : java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
          byA1Th10
A97   - additive
A98 inH
99  _nL Ajava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
        reconsider q as non-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 18
        g java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
         rbeing of L such that
:g reduces_to i
       (, =HTf  C  java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
        then    A18 v|is_differentiable_oniT
          q}by1
        then q in H\{g} by A98,XBOOLE_0:def 5;
        then reduces_torH{}Tby A100,:7
        
        hence contradiction by A4,A72;
      end;
      case
A101:   HT(f,T) in Support h;
        consider b9 being bag of n such that
A102:   b9 in HT(G,T) and
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 50
        consider q being Polynomial ofreconsider    K1= I1,    =C2 java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 70
 b9  (q,T) and
A105:   q in G and
A106:   q <> 0_(n,L) by A102;
        reconsider q as non-zero Polynomial of n,L by A106,POLYNOM7:def 1;
        h is_reducible_wrt q,T by A101,A103,A104,POLYRED:36;
        then consider r being Polynomial of n,L such that
107   h reduces_to,,T by:java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 28
(f,T), by ,    A22: rng w2 c= [:rng(u`|Z), rng t:] b [rng`) :
        HT(,)< HT(,) A88,91,    [rngu|,t
        then not q in {h} by TARSKI:def 1;
        then q in\h A105,BOOLE_0:ef ;
        thenend;
        hence contradiction by A2,78,POLYREDd ;
      end;
    nd
    hence thesis;
  end;
end;

Messung
CHZG
8010010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.286Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,603