Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/   (Mizar Prover Version 8.1.15©)  Datei vom 6.10.2026 mit Größe 95 kB image not shown  

Quelle  anproj_8.miz   Sprache: Mizar

 

:: Homography in $\mathbbRP^2$
::  by Roland Coghetto
::
:: Received October 18, 2016
:: Copyright (c) 2016-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 SETWISEO, MSSUBFAM, REAL_1, XCMPLX_0, ANPROJ_1, ZFMISC_1,
      PENCIL_1, MCART_1, EUCLID_5, ALGSTR_0, ARYTM_1, ARYTM_3, CARD_1, CARD_3,
      CLASSES1, EUCLID, FINSEQ_1, FUNCT_1, FVSUM_1, INCSP_1, LMOD_7, MATRIX_1,
      MATRIX_3, MATRIX13, MATRLIN2, NAT_1, NUMBERS, PRE_TOPC, QC_LANG1,
      RANKNULL, RELAT_1, RLSUB_1, RLVECT_1, RLVECT_3, RVSUM_1, STRUCT_0,
      SUBSET_1, SUPINF_2, TARSKI, TREES_1, VECTSP_1, VECTSP10, XBOOLE_0,
      XXREAL_0, DUALSP01, BINOP_1, ANPROJ_2, EUCLID_8, COMPLEX1, SQUARE_1,
      MATRIX_0, MATRIX_6, MESFUNC1, MATRIXR1, MATRIXR2, FINSEQ_2, ANPROJ_8,
      FUNCSDOM, GROUP_1;
 notations GCD_1, XBOOLE_0, RELSET_1, ENUMSET1, ZFMISC_1, SQUARE_1,
      SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0, FUNCT_1, BINOP_1,
      FINSEQ_1, FINSEQ_4, FINSEQOP, PRE_TOPC, RVSUM_1, EUCLID, DOMAIN_1,
      ANPROJ_1, TARSKI, CARD_1, XXREAL_0, FUNCT_2, RLVECT_3, VECTSP_1,
      MATRIX_0, MATRIX_1, MATRIX_3, VECTSP_4, VECTSP_7, MATRIX13,
      FVSUM_1, RANKNULL, GROUP_1, MATRTOP1, DUALSP01, STRUCT_0,
      ALGSTR_0, RLVECT_1, SETWOP_2, ANPROJ_2, COLLSP, EUCLID_8,
      EUCLID_5, FINSEQ_2, LAPLACE, MATRIXR1, MATRIXR2, MATRIX_6;
 constructors VECTSP_2, GCD_1, RELSET_1, SQUARE_1, BINOP_2, FINSEQ_4,
      MONOID_0, EUCLID_5, ANPROJ_1, FVSUM_1, MATRIX13, MATRTOP1,
      RANKNULL, REALSET1, RLVECT_3, VECTSP10, NORMSP_3, FINSOP_1,
      ANPROJ_2, EUCLID_8, MATRIX_6, LAPLACE, MATRIXR2, FINSEQOP,
      MATRIX_3;
 registrations XBOOLE_0, ANPROJ_1, FUNCT_1, MATRTOP1, PRVECT_1, STRUCT_0,
      VECTSP_1, REVROT_1, MATRIX_0, RELSET_1, NUMBERS, XREAL_0, MEMBERED,
      MONOID_0, EUCLID, VALUED_0, FINSEQ_2, RVSUM_1, FINSEQ_1, ANPROJ_2,
      MATRIX_6, RING_2, VECTSP_2;
 requirements REAL, SUBSET, NUMERALS, ARITHM, BOOLE;
 definitions TARSKI;
 equalities VECTSP_1, ALGSTR_0;
 expansions TARSKI, XBOOLE_0, VECTSP_1, STRUCT_0;
 theorems MOD_2, VECTSP_4, MATRIX_9, EUCLID_4, EUCLID_5, ANPROJ_1, ANPROJ_2,
      MATRTOP2, RLVECT_4, STRUCT_0, XREAL_0, RLVECT_1, EUCLID, MATRIXR2,
      FINSEQ_2, XCMPLX_1, RVSUM_1, XXREAL_0, MATRIX_0, MATRIX13, MATRTOP1,
      MATRIX_7, RANKNULL, DUALSP01, FINSEQ_1, FINSEQ_3, ENUMSET1, MATRLIN2,
      FVSUM_1, FINSOP_1, COLLSP, EUCLID_8, EUCLID_2, LAPLACE, MATRIX_6,
      MATRIXR1, MATRIX_3, ZFMISC_1, FUNCT_1, FINSEQ_5, TARSKI, MATRIX_1,
      VECTSP_1, FUNCT_2, EUCLID_9, CARD_1;
 schemes FUNCT_2;

begin :: Preliminaries

reserve a,b,c,d,e,f for Real,
        k,m for Nat,
        D for non empty set,
        V for non trivial RealLinearSpace,
        u,v,w for Element of V,
        p,q,r for Element of ProjectiveSpace(V);

theorem Th1:
  [1,1] in [:Seg 3,Seg 3:] & [1,2] in [:Seg 3,Seg 3:] &
  [1,3] in [:Seg 3,Seg 3:] & [2,1] in [:Seg 3,Seg 3:] &
  [2,2] in [:Seg 3,Seg 3:] & [2,3] in [:Seg 3,Seg 3:] &
  [3,1] in [:Seg 3,Seg 3:] & [3,2] in [:Seg 3,Seg 3:] &
  [3,3] in [:Seg 3,Seg 3:]
  proof
    1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
    hence thesis by ZFMISC_1:87;
  end;

theorem Th2:
  [1,1] in [:Seg 3,Seg 1:] & [2,1] in [:Seg 3,Seg 1:] &
  [3,1] in [:Seg 3,Seg 1:]
  proof
    1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1;
    hence thesis by ZFMISC_1:87;
  end;

theorem Th3:
  [1,1] in [:Seg 1,Seg 3:] & [1,2] in [:Seg 1,Seg 3:] &
  [1,3] in [:Seg 1,Seg 3:]
  proof
    1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1;
    hence thesis by ZFMISC_1:87;
  end;

theorem
  <* <* a *>, <* b *>, <* c *> *> is Matrix of 3,1,F_Real
  proof
    rng <* a *> c= REAL;
    then reconsider p = <* a *> as FinSequence of REAL by FINSEQ_1:def 4;
    rng <* b *> c= REAL;
    then reconsider q = <* b *> as FinSequence of REAL by FINSEQ_1:def 4;
    rng <* c *> c= REAL;
    then reconsider r = <* c *> as FinSequence of REAL by FINSEQ_1:def 4;
    len p = 1 & len q = 1 & len r = 1 by FINSEQ_1:40;
    hence thesis by MATRIXR2:34;
  end;

theorem Th4:
  for N being Matrix of 3,1,F_Real st N = <* <* a *>, <* b *>, <* c *> *>
  holds Col(N,1) = <* a,b,c *>
  proof
    let N be Matrix of 3,1,F_Real;
    assume
A1: N = <* <* a *>, <* b *>, <* c *> *>; then
A2: len N = 3 & N.1 = <* a *> & N.2 = <* b *> & N.3 = <* c *>
      by FINSEQ_1:45; then
A3: dom N = Seg 3 by FINSEQ_1:def 3;
A4: len Col(N,1) = len N by MATRIX_0:def 8
                .= 3 by A1,FINSEQ_1:45;
    [1,1] in Indices N by MATRIX_0:23,Th2;
    then consider p1 be FinSequence of F_Real such that
A5: p1 = N.1 and
A6: N*(1,1) = p1.1 by MATRIX_0:def 5;
    [2,1] in Indices N by MATRIX_0:23,Th2;
    then consider p2 be FinSequence of F_Real such that
A8: p2 = N.2 and
A9: N*(2,1) = p2.1 by MATRIX_0:def 5;
A10: N*(2,1) = b by A2,A8,A9;
    [3,1] in Indices N by MATRIX_0:23,Th2;
    then consider p3 be FinSequence of F_Real such that
A11: p3 = N.3 and
A12: N*(3,1) = p3.1 by MATRIX_0:def 5;
A13: N*(3,1) = c by A2,A11,A12;
    Col(N,1).1 = N*(1,1) &
    Col(N,1).2 = N*(2,1) &
    Col(N,1).3 = N*(3,1) by A3,FINSEQ_1:1,MATRIX_0:def 8;
    hence thesis by A10,A13,A4,A2,A5,A6,FINSEQ_1:45;
  end;

theorem Th5:
  for K being non empty multMagma
  for a1,a2,a3,b1,b2,b3 being Element of K holds
  mlt(<*a1,a2,a3*>,<*b1,b2,b3*>) = <*a1*b1,a2*b2,a3*b3*>
  proof
    let K be non empty multMagma;
    let a1,a2,a3,b1,b2,b3 be Element of K;
    thus mlt(<*a1,a2,a3*>,<*b1,b2,b3*>)
      = (the multF of K).:(<*a1,a2,a3*>,<*b1,b2,b3*>) by FVSUM_1:def 7
     .= <*a1*b1,a2*b2,a3*b3*> by FINSEQ_2:76;
  end;

theorem Th6:
  for K being commutative associative left_unital Abelian
  add-associative right_zeroed right_complementable non empty doubleLoopStr for
  a1,a2,a3,b1,b2,b3 being Element of K holds
  <*a1,a2,a3*> "*" <*b1,b2,b3*> = a1*b1 + a2*b2 + a3*b3
  proof
    let K be commutative associative left_unital Abelian add-associative
    right_zeroed right_complementable non empty doubleLoopStr;
    let a1,a2,a3,b1,b2,b3 be Element of K;
    set p = <*a1,a2,a3*>, q = <*b1,b2,b3*>;
    Sum(mlt(p,q)) = (the addF of K) $$ mlt(p,q) by FVSUM_1:def 8
                 .= (the addF of K) $$ <*a1*b1,a2*b2,a3*b3*> by Th5
                 .= a1*b1 + a2*b2 + a3*b3 by FINSOP_1:14;
    hence thesis by FVSUM_1:def 9;
  end;

theorem Th7:
  for M being Matrix of 3,F_Real
  for N being Matrix of 3,1,F_Real st N = <* <* 0 *>, <* 0 *>, <* 0 *> *> holds
  M * N = <* <* 0 *>, <* 0 *>, <* 0 *> *>
  proof
    let M be Matrix of 3,F_Real;
    let N be Matrix of 3,1,F_Real;
    assume
A1: N = <* <* 0 *>, <* 0 *>, <* 0 *> *>;
A2: len M = 3 & width M = 3 by MATRIX_0:23;
A3: len N = 3 & width N = 1 by MATRIX_0:23;
    width M = len N by A3,MATRIX_0:23; then
A4A: len(M * N) = len M & width(M * N) = width N by MATRIX_3:def 4; then
A4: len(M * N) = 3 & width(M * N) = 1 by MATRIX_0:23; then
A5: M * N is Matrix of 3,1,F_Real by MATRIX_0:20;
    now
      thus len Line(M,1) = width M by MATRIX_0:def 7
                        .= 3 by MATRIX_0:23;
      1 in Seg width M & 2 in Seg width M &
       3 in Seg width M by A2,FINSEQ_1:1;
      hence Line(M,1).1 = M*(1,1) &
        Line(M,1).2 = M*(1,2) & Line(M,1).3 = M*(1,3)  by MATRIX_0:def 7;
    end;
    then
A6: Line(M,1) = <* M*(1,1),M*(1,2),M*(1,3) *> by FINSEQ_1:45;
    reconsider ze = 0 as Element of F_Real;
    <* M*(1,1),M*(1,2),M*(1,3) *> "*" <* ze,ze,ze *> =
    M*(1,1) * ze + M*(1,2) * ze + M*(1,3) * ze by Th6; then
A7: Line(M,1) "*" Col(N,1) = 0 by A1,Th4,A6;
    now
A8:   1 in Seg 3 by FINSEQ_1:1;
      len Line(M * N,1) = width (M * N) by MATRIX_0:def 7
                       .= 1 by A4A,MATRIX_0:23; then
A9:   Line(M * N,1) = <* (Line(M * N,1)).1 *> by FINSEQ_1:40;
      2 in Seg 3 by FINSEQ_1:1; then
A10:  (M * N).2 = Line(M * N,2) by A5,MATRIX_0:52;
A11:  len Line(M * N,2) = width (M * N) by MATRIX_0:def 7
                          .= 1 by A4A,MATRIX_0:23;
      3 in Seg 3 by FINSEQ_1:1; then
A12:  (M * N).3 = Line(M * N,3) by A5,MATRIX_0:52;
A13:  len Line(M * N,3) = width (M * N) by MATRIX_0:def 7
                          .= 1 by A4A,MATRIX_0:23;
      (Line(M * N,1)).1 = 0
      proof
A14:    [1,1] in Indices(M * N) by A5,MATRIX_0:23,Th2;
        1 in Seg width (M * N) by A4,FINSEQ_1:1; then
        (Line(M * N,1)).1 = (M * N)*(1,1) by MATRIX_0:def 7
                         .= 0 by A7,A14,A2,A3,MATRIX_3:def 4;
        hence thesis;
      end;
      hence (M * N).1 = <* 0 *> by A9,A8,A5,MATRIX_0:52;
      now
        thus len Line(M,2) = width M by MATRIX_0:def 7
                          .= 3 by MATRIX_0:23;
        1 in Seg width M & 2 in Seg width M &
          3 in Seg width M by A2,FINSEQ_1:1;
        by A1,FINSEQ_1:45;
          Line(M,2).3 = M*(2,3) by MATRIX_0:def 7;
      end;
      then
A15:  Line(M,2) = <* M*(2,1),M*(2,2),M*(2,3) *> by FINSEQ_1:45;
      reconsider ze = 0 as Element of F_Real;
      <* M*(2,1),M*(2,2),M*(2,3) *> "*" <* ze,ze,ze *>
        = M*(2,1) * ze + M*(2,2) * ze + M*(2,3) * ze by Th6; then
A16:  Line(M,2) "*" Col(N,1) = 0 by A1,Th4,A15;
      (Line(M * N,2)).1 = 0
      proof
A17:    [2,1] in Indices(M * N) by A5,MATRIX_0:23,Th2;
        1 in Seg width (M * N) by A4,FINSEQ_1:1;
        then (Line(M * N,2)).1 = (M * N)*(2,1) by MATRIX_0:def 7
                              .= 0 by A16,A17,A2,A3,MATRIX_3:def 4;
        hence thesis;
      end;
      hence (M * N).2 = <* 0 *> by FINSEQ_1:40,A10,A11;
      now
        thus len Line(M,3) = width M by MATRIX_0:def 7
                          .= 3 by MATRIX_0:23;
        1 in Seg width M & 2 in Seg width M &
          3 in Seg width M by A2,FINSEQ_1:1;
        hence Line(M,3).1 = M*(3,1) & Line(M,3).2 = M*(3,2) &
          Line(M,3).3 = M*(3,3)  by MATRIX_0:def 7;
      end;
      then
A18:  Line(M,3) = <* M*(3,1),M*(3,2),M*(3,3) *> by FINSEQ_1:45;
      reconsider ze = 0 as Element of F_Real;
      <* M*(3,1),M*(3,2),M*(3,3) *> "*" <* ze,ze,ze *> =
        M*(3,1) * ze + M*(3,2) * ze + M*(3,3) * ze by Th6; then
A19:  Line(M,3) "*" Col(N,1) = 0 by A1,Th4,A18;
      (Line(M * N,3)).1 = 0
      proof
A20:    [3,1] in Indices(M * N) by A5,MATRIX_0:23,Th2;
        1 in Seg width (M * N) by A4,FINSEQ_1:1; then
        (Line(M * N,3)).1 = (M * N)*(3,1) by MATRIX_0:def 7
                         .= 0 by A20,A2,A3,MATRIX_3:def 4,A19;
        hence thesis;
      end;
      hence (M * N).3 = <* 0 *> by A13,FINSEQ_1:40,A12;
    end;
    hence thesis by A4A,MATRIX_0:23,FINSEQ_1:45;
  end;

theorem Th8:
  u,v,w are_LinDep iff
  (u = v or u = w or v = w or {u,v,w} is linearly-dependent)
  proof
    hereby
      assume u,v,w are_LinDep;
      then ex a,b,c st a*u + b*v + c*w = 0.V & (a<>0 or b<>0 or c <>0)
        by ANPROJ_1:def 2;
      hence u = v or u = w or v = w or {u,v,w} is linearly-dependent
        by RLVECT_4:7;
    end;
    assume u = v or u = w or v = w or {u,v,w} is linearly-dependent;
    then ex a,b,c st a * u + b * v + c * w = 0.V &
      (a <> 0 or b <> 0 or c <> 0) by RLVECT_4:7;
    hence u,v,w are_LinDep by ANPROJ_1:def 2;
  end;

theorem Th9:
  p,q,r are_collinear iff ex u,v,w st p = Dir(u) & q = Dir(v) & r = Dir(w) &
  u is not zero & v is not zero & w is not zero & (u = v or u = w or v = w or
  {u,v,w} is linearly-dependent)
  proof
    hereby
      assume p,q,r are_collinear;
      then consider u,v,w such that
A1:   p = Dir(u) & q = Dir(v) & r =
      Dir(w) & u is not zero & v is not zero & w is not zero &
      u,v,w are_LinDep by ANPROJ_2:23;
      p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero & v is not zero &
      w is not zero & (u = v or u = w or v = w or
      {u,v,w} is linearly-dependent) by A1,Th8;
      hence ex u,v,w st p = Dir(u) & q = Dir(v) & r =
      Dir(w) & u is not zero & v is not zero & w is not zero &
      (u = v or u = w or v = w or {u,v,w} is linearly-dependent);
    end;
    given u,v,w such that
A2: p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero & v is not zero &
      w is not zero & (u = v or u = w or v = w or
      {u,v,w} is linearly-dependent);
    p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero & v is not zero &
      w is not zero & u,v,w are_LinDep by Th8,A2;
    hence p,q,r are_collinear by ANPROJ_2:23;
  end;

theorem
  p,q,r are_collinear iff ex u,v,w st p = Dir(u) & q = Dir(v) & r = Dir(w) &
  u is not zero & v is not zero & w is not zero & ex a,b,c st
  a*u + b*v + c*w = 0.V & (a<>0 or b<>0 or c <>0)
  proof
    hereby
      assume p,q,r are_collinear;
      then consider u,v,w such that
A1:   p = Dir(u) & q = Dir(v) & r =
      Dir(w) & u is not zero & v is not zero & w is not zero &
      u,v,w are_LinDep by ANPROJ_2:23;
      take u,v,w;
      thus p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero &
      v is not zero & w is not zero & ex a,b,c st a*u + b*v + c*w = 0.V &
      (a<>0 or b<>0 or c <>0) by A1,ANPROJ_1:def 2;
    end;
    given u,v,w such that
A2: p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero & v is not zero &
    w is not zero & ex a,b,c st a*u + b*v + c*w = 0.V &
    (a<>0 or b<>0 or c <>0);
    p = Dir(u) & q = Dir(v) & r = Dir(w) & u is not zero & v is not zero &
    w is not zero & u,v,w are_LinDep by A2,ANPROJ_1:def 2;
    hence p,q,r are_collinear by ANPROJ_2:23;
  end;

theorem Th10:
  for u,v,w being Element of V st a <> 0 &
  a * u + b * v + c * w = 0.V holds u = ((-b)/a) * v + ((-c)/a) * w
  proof
    let u,v,w be Element of V;
    assume that
A1: a <> 0 and
A2: a * u + b * v + c * w = 0.V;
    a*u + (b*v+c*w)=0.V by RLVECT_1:def 3,A2; then
A3: -(b*v+c*w) = a*u by RLVECT_1:6;
    a*u = 1 *(-(b*v+c*w)) by A3,RLVECT_1:def 8
       .= (a*(1/a))*(-(b*v+c*w)) by A1,XCMPLX_1:106
       .= a*((1/a)*(-(b*v+c*w))) by RLVECT_1:def 7;
    then u  = (1/a)*(-(b*v+c*w)) by A1,RLVECT_1:36
           .= (1/a) * ((-1) * (b*v+c*w)) by RLVECT_1:16
           .= (1/a) * ((-1) * (b*v) + (-1)* (c*w)) by RLVECT_1:def 5
           .= (1/a) * ((-1) * (b*v)) + (1/a)*((-1)*(c*w)) by RLVECT_1:def 5
           .= ((1/a) * (-1)) * (b*v) + (1/a)*((-1)*(c*w)) by RLVECT_1:def 7
           .= ((-1/a) * b) * v + (1/a)*((-1)*(c*w)) by RLVECT_1:def 7
           .= ((-1) / a)* b * v + (1/a)*((-1)*(c*w)) by XCMPLX_1:187
           .= ((-1) * b /a) * v + (1/a)*((-1)*(c*w)) by XCMPLX_1:74
           .= ((-b) /a) * v + ((1/a)*(-1))*(c*w) by RLVECT_1:def 7
           .= ((-b) /a) * v + ((-1/a)*c)*w by RLVECT_1:def 7
           .= ((-b) /a) * v + (((-1)/a)*c)*w by XCMPLX_1:187
           .= ((-b) /a) * v + ((-1)*c/a)*w by XCMPLX_1:74
           .= ((-b) /a) * v + ((-c)/a)*w;
    hence thesis;
  end;

theorem Th11:
  a <> 0 & a * b + c * d + e * f = 0 implies b = - (c/a) * d - (e/a) * f
  proof
    assume that
A1: a <> 0 and
A2: a * b + c * d + e * f = 0;
    b = ((- c) * d + (-e) * f) / a by A1,A2,XCMPLX_1:89
     .= (- c) * d / a + (-e) * f / a by XCMPLX_1:62
     .= (- c) / a * d + (-e) * f / a by XCMPLX_1:74
     .= (- c) / a * d + (-e) / a * f by XCMPLX_1:74
     .= (- (c / a)) * d + (-e) / a * f by XCMPLX_1:187
     .= (- (c / a)) * d + (-(e / a)) * f by XCMPLX_1:187;
    hence thesis;
  end;

theorem Th12:
  for u,v,w being Point of TOP-REAL 3 st
  ex a,b,c st a*u + b*v + c*w = 0.(TOP-REAL 3) & a<>0 holds |{u,v,w}| = 0
  proof
v,w be Point of 
    assume
A4      M*21) =M(,) & *(,2) = M(,2) & M*(,3) = (,)&
    consider a,b,c such thatthesis,:;
B1: a*u + b*v + c*w = 0.(TOP-REAL 3) and
B2: a <> 0 by A4;
    reconsider u1 = u,v1 = v,w1= java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
     3& 3&3inSegbyFINSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    |{u,v,w}| java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             .= |( ((-b)/a) * v + ((-c)/a) * w,v <X> w )| by EUCLID_5:def 5
             .= ((-b  |{p,q}| *|p,t}|- {p,q,s}| *{rt|+|,qt|* {,r,s}  0
             .= java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
./* |,v(-)a *{,,} EUCLID_5defjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
             .= ((-b)/a) * 0 + ((-c)/java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
             .= ((-b)/a) * 0 + ((-c)/a) * 0    (` * q`)-(p2*q) = 0 by:14;
             .= 0;
    hence thesis;
  end;

theorem Th13:
  for n being Nat holds dom 1_RmatrixA7:p`1 <0&p < 0&p`3 >0
  proof
    let nbe;
    len 1_Rmatrix(n) = n by MATRIX_0proof
    hence thesis by FINSEQ_1:def 3;
  end

theorem Th14:
   for A being Matrix of         then per cases;
   proof
     let A be Matrix of F_Real;
     MXR2MXF MXF2MXR A = MXF2MXR A by MATRIXR1:def 1;
     hence thesis by MATRIXR1:def 2;
   end;

theorem Th15:
  for A,B being Matrix of F_Real for RA,RB being Matrix of REAL st
  A = RA & B = RB holds A * B = RA * RB
  proof
     A beMatrixof F_Real;
    let RA,RB be Matrix of REAL;
    assumethen p3 *q` =0by A5,EUCLID_5:14; then
A1: A = RA and
A2: B = RB;
    RA * RB = MXF2MXR (MXR2MXF RA *A14:      q` =  byA7,XCMPLX_1:6;
           .= MXF2MXR (A * MXR2MXFthen p`1 * q`2 = 0 by A5,EUCLID_5:14;
           .= MXF2MXR (A * B) by A2,MATRIXR1:def 1;
    then MXR2MXF (RA * RB) = A * B by Th14;
    hence thesis by MATRIXR1:def 1;
  end;

    then q2=0byA7,XCMPLX_1:6;
  for n being Nat for M being Matrix of n,REAL
  for  being Matrix of nF_Real st =
  M is invertibleend;
  proof
    let n beNat;
    let M be Matrix of n,REAL;
    let NbeF_Real;
    assume
A1: M = N;
A2:       p =l*q
                .= 1_Rmatrix(n) by MATRIXR2:def 2;
    hereby
      assume M is invertible;
      then consider B beMatrix of n,REAL such that
A3:   B * M = 1_Rmatrix(n) and
: nMATRIXR2:def 5
      reconsider C = B as Matrix of n,F_Real;

A5:   B * M = C * N by A1,Th15;
      C is_reverse_of N
      proof
        C * N = N * C by A1,A3,A4,A5,Th15;
        hence thesis by A2,A3,A1,Th15,MATRIX_6:def 2;
      end;
      hence N is invertible by MATRIX_6:def 3;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
    assume N is      end;
    then consider N2 be Matrix of n,F_Realhence thesis by A7,A8,XCMPLX_1:50,ANPROJ_1:1;
A6: N is_reverse_of N2 by MATRIX_6:def 3;
    reconsider M2 = N2 as Matrix of n,REAL;
    now
      take M2;
A7:   M2 * M = N2 * N by A1,Th15
            .= 1.(F_Real,n) by A6,MATRIX_6:def 2;
      hence M2 * M =A18:p = ;
      M2 * M = N2 * N by A1      then   by EUCLID_5:,A1,UCLID_5:4;
            .= N * N2 by A6,MATRIX_6:def 2
            .= M * M2 by A1,Th15;
      hence  * M2 =1Rmatrix() by A7,
    end;
    hence         then
  end;

reserve o,p,q,r,s,t for Point of TOP-REAL 3,
        M for Matrixof ,;

theorem Th16:
  java.lang.StringIndexOutOfBoundsException: Range [16, 3) out of bounds for length 59
  <*<*p1,p2,p3*>,<*q1,q2,q3*>, p=l *
  proof
    let p1,p2,p3proof
    reconsider P1 = p1,P2 = p2,P3 = p3,
    Q1 = q1,Q2 = q2,Q3 = q3,
    R1 = r1,R2 = r2          p`  p *q
    <*<*P1,P2,P3*>,<*Q1suppose
      by MATRIXR2:35;
    hence thesis;
  end;

theorem Th17:
  for p1,p2,p3,q1,q2,q3,r1,r2,r3 being Real holds
  M = <*<*p1,q1 ssume
  M*(1,1) = p1 & M*(1,2) = q1 &       q3  0;
  M*(2,1) = java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 13
  *31   & M(,)=q3 &M(,)= r3
  proof
    let p1,p2,p3,q1,q2,q3,r1,r2,r3         hence thesis by A23,A25,XCMPL thesisby A23,A25,XCMPLX_1:50,ANPROJ_1:1;
    assume M = <*<*p1,q1      end;
end;
      M.3 = <*p3,q3,r3*>;
A2: [1,1] in Indices M & [1,2] in Indices M & [1,3] in Indices M &
    [2,1] in Indices M & [2,2] in     java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
          :6;
      [3,3] in Indices M by MATRIX_0:24,Th1;
    then ex s be FinSequence of java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 16
      by MATRIX_0=l *q by EUCLID_5:7
    hence M*(1,1) = p1 by A1;
    ex s 
      by A2,MATRIX_0:def 5;
    hence M*(1,2) = q1 by A1;
    ex s be FinSequence of F_Real st s = M.1 & M*(1,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(1,3) = r1 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,1) = s.1
      by A2,MATRIX_0:def 5;
    hence M*(2,1) = p2 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,2) = s.2
      by A2,MATRIX_0:def 5;
    hence M*(2,2) = q2 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(2,3) = r2 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,1) = s.1
      by A2,MATRIX_0:def 5;
    hence M*(3,1) = p3 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,2) = s.2
      by A2,MATRIX_0:def 5;
    hence M*(3,2) = q3 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(3,3) = r3 by A1;
  end;

theorem Th18:
  M = <*p,q,r*> implies
  M*(1,1) = p`1 & M*(1,2) = p`2 & M*(1,3) = p`3 &
  M*(2,1) = q`1 & M*(2,2) = q`2 & M*(2,3) = q`3 &
  M*(3,1) = r`1 & M*(3,2) = r`2 & M*(3,3) = r`3
  proof
    assume M = <*p,q,r*>;
    then M.1 = p & M.2 = q & M.3 = r; then
A1: M.1 = <*p`1,p`2,p`3*> & M.2 = <*q`1,q`2,q`3*> & M.3 = <*r`1,r`2,r`3*>
      by EUCLID_5:3;
A2: [1,1] in Indices M & [1,2] in Indices M & [1,3] in Indices M &
    [2,1] in Indices M & [2,2] in Indices M &
    [2,3] in Indices M &[3,1] in Indices M & [3,2] in Indices M &
      [3,3] in Indices M by MATRIX_0:24,Th1;
    then ex s be FinSequence of F_Real st s = M.1 & M*(1,1) = s.1
      by MATRIX_0:def 5;
    hence M*(1,1) = p`1 by A1;
    ex s be FinSequence of F_Real st s = M.1 & M*(1,2) = s.2
      by A2,MATRIX_0:def 5;
    hence M*(1,2) = p`2 by A1;
    ex s be FinSequence of F_Real st s = M.1 & M*(1,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(1,3) = p`3 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,1) = s.1
      by A2,MATRIX_0:def 5;
    hence M*(2,1) = q`1 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,2) = s.2
      by A2,MATRIX_0:def 5;
    hence M*(2,2) = q`2 by A1;
    ex s be FinSequence of F_Real st s = M.2 & M*(2,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(2,3) = q`3 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,1) = s.1
      by A2,MATRIX_0:def 5;
    hence M*(3,1) = r`1 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,2) = s.2
      by A2,MATRIX_0:def 5;
    hence M*(3,2) = r`2 by A1;
    ex s be FinSequence of F_Real st s = M.3 & M*(3,3) = s.3
      by A2,MATRIX_0:def 5;
    hence M*(3,3) = r`3 by A1;
  end;

theorem Th19:
  for p1,p2,p3,q1,q2,q3,r1,r2,r3 being Real holds
  M = <*<*p1,q1,r1*>,<*p2,q2,r2*>,<*p3,q3,r3*>*> implies
  M@ = <*<*p1,p2,p3*>,<*q1,q2,q3*>,<*r1,r2,r3*>*>
  proof
    let p1,p2,p3,q1,q2,q3,r1,r2,r3 be Real;
    assume
A1: M = <*<*p1,q1,r1*>,<*p2,q2,r2*>,<*p3,q3,r3*>*>;
    Indices M = [:Seg 3,Seg 3:] by MATRIX_0:24; then
A2: M@*(1,1) = M*(1,1) & M@*(1,2) = M*(2,1) & M@*(1,3) = M*(3,1) &
    M@*(2,1) = M*(1,2) & M@*(2,2) = M*(2,2) & M@*(2,3) = M*(3,2) &
    M@*(3,1) = M*(1,3) & M@*(3,2) = M*(2,3) & M@*(3,3) = M*(3,3)
      by MATRIX_0:def 6,Th1;
    M*(1,1) = p1 & M*(2,1) = p2 & M*(3,1) = p3 &
    M*(1,2) = q1 & M*(2,2) = q2 & M*(3,2) = q3 &
    M*(1,3) = r1 & M*(2,3) = r2 & M*(3,3) = r3 by A1,Th17;
    hence thesis by A2,MATRIXR2:37;
  end;

theorem Th20:
  M = <* p,q,r *> implies
  M@ = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*>
  proof
    assume
A1: M = <* p,q,r *>;
    Indices M = [:Seg 3,Seg 3:] by MATRIX_0:24; then
A2: M@*(1,1) = M*(1,1) & M@*(1,2) = M*(2,1) & M@*(1,3) = M*(3,1) &
      M@*(2,1) = M*(1,2) & M@*(2,2) = M*(2,2) & M@*(2,3) = M*(3,2) &
      M@*(3,1) = M*(1,3) & M@*(3,2) = M*(2,3) & M@*(3,3) = M*(3,3)
      by MATRIX_0:def 6,Th1;
    M*(1,1) = p`1 & M*(2,1) = q`1 & M*(3,1) = r`1 &
    M*(1,2) = p`2 & M*(2,2) = q`2 & M*(3,2) = r`2 &
    M*(1,3) = p`3 & M*(2,3) = q`3 & M*(3,3) = r`3 by A1,Th18;
    hence thesis by A2,MATRIXR2:37;
  end;

theorem Th21:
  lines M = {Line(M,1),Line(M,2),Line(M,3)}
  proof
A1: lines M c=             take q;
    proof
      let x be object;
      assume x in lines             thus p,p1,q are_collinear by A10,COLLSP:2;
      then consider i be Nat such that
A2:   i in Seg 3 and
A3:   x = Line(M,i) by MATRIX13:103;
      
      hence thesis by A3,ENUMSET1:def 1;
    end;
    {Line(M,1),Line(M,2),Line(M,3)} c= lines M
    proof
      let x be object;
      assume x in {Line(M,1),Line(M,2),Line(M,3)}; then
A4:   x = Line(M,1) or x = Line(M,2) or x = Line(M,3) by ENUMSET1:def 1;
      1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
      hence thesis by A4,MATRIX13:103;
    end;
    hence thesis by A1;
  end;

theorem Th22:
  M = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*> implies
  Line(M,1) = p & Line(M,2) = q & Line(M,3) = r
  proof
    assume
A1: M = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>;
    1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
    then Line(M,1) = M.1 & Line(M,2) = M.2 & Line(M,3) = M.3 by MATRIX_0:52;
    then Line(M,1) = <*p`1,p`2,p`3*> & Line(M,2) = <*q`1,q`2,q`3*> &
      Line(M,3) = <*r`1,r`2,r`3*> by A1;
    hence thesis by EUCLID_5:3;
  end;

theorem
  for x be object holds x in lines M@ iff
  ex i be Nat st i in Seg 3 & x = Col(M,i)
  proof
    let x be object;
    hereby
      assume x in lines M@;
      then consider i be Nat such that
A1:   i in Seg 3 and
A2:   x = Line( M@ ,i) by MATRIX13:103;
      i in Seg width M by A1,MATRIX_0:24;
      then x = Col(M,i) by A2,MATRIX_0:59;
      hence ex i be Nat st i in Seg 3 & x = Col(M,i) by A1;
    end;
    given i be Nat such that
A3: i in Seg 3 and
A4: x = Col(M,i);
    i in Seg width M by A3,MATRIX_0:24;
    then x = Line(M@,i) by A4,MATRIX_0:59;
    hence x in lines M@ by A3,MATRIX13:103;
  end;

begin :: Grassman-Pl\{?}ucker relation

theorem Th23:
  |{ p,q,r }| = p`1 * q`2 * r`3 - p`3*q`2*r`1 - p`1*q`3*r`2 + p`2*q`3*r`1 -
    p`2*q`1*r`3 + p`3*q`1*r`2
  proof
A1: p = |[ p`1,p`2,p`3 ]| by EUCLID_5:3;
A2: q <X> r = |[ (q`2 * r`3) - (q`3 * r`2) , (q`3 * r`1) - (q`1 * r`3) ,
      (q`1 * r`2) - (q`2 * r`1) ]| by EUCLID_5:def 4;
    |( p, q <X> r )| = p`1*((q`2 * r`3) - (q`3 * r`2))+p`2*((q`3 * r`1) -
      (q`1 * r`3))+ p`3*((q`1 * r`2) - (q`2 * r`1)) by A1,A2,EUCLID_5:30;
    hence thesis by EUCLID_5:def 5;
  end;

::$N Grassmann-Pl\{?}ucker-Relation in rank 3
theorem
  |{p,q,r}| * |{p,s,t}| - |{p,q,s}| * |{p,r,t}| + |{p,q,t}| * |{p,r,s}| = 0
  proof
A1:          suppose are_Prop uq,uq1;
      p`2 * q`3 * r`1 - p`2 * q`1 * r`3 + p`3 * q`1 * r`2 by Th23;
A2: |{p,s,t}| = p`1 * s`2 * t`3 - p`3 * s`2 * t`1 - p`1 * s`3 * t`2 +
      p`2 * s`3 * t`1
A3: |{p,q,s}| = p`1 * q`2 * s`3 - p`3 *11        q = q1by A6A7A8,,ANPROJ_1:2;
      p`2 * q`3 * s`1 - p`2 * q`1 * s`3 + p`3 * q`1 * s`2 by Th23;
A4: |{p,r,t}| = p`1 * r`2 * t`3 - p`3 * r`2 * t`1 - p`1 * r`3 * t`2            thus ,p1p are_collinear byCOLLSP:2java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      p`2 * r`3 * A12:        are_Pro up <X
A5: |{p,q,t}| = p`1 * q`2 * t`3 - p
      p`2 * q`3 * t`1 - p`2 * q`1 * t`3 + p`3 * q`1 * t`2 by Th23;
    |{p,r,s}| = p`1 * r`2 * s`3 - p`3 * r`2 * s`1 - p`1 * r`3 * s`2 +
      p`2 * r`3 * s`1 - p`2 * r`1 * s`3 + p`3 * r`1 * s`2 by Th23;
    hence thesis by A1,A2,A3,A4,A5;
  end;

theorem  Th24:
  |{ p,q,r }| = - |{ p,r,q }|
  proof
A1: |{ p,q,r }| = p`1 * q`2 * r`3 - p`3*q`2*            suppose
      p`A15:up <X> up1 is notjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    |{ p,r,q }| = p`1 * r`2 * q`3 - p`3*r`2*q`1 - p`1*r`3*q`2 +
      piszero;
    hence thesis by A1;
  end;

theorem Th25:
  |{ p,q,r }| = -                 consider a   such that
  proof
A1: |{ p,qA19:uq<>uq1   * (up X>up1 by A12,:1;
      p`2*q`3*r`1 - p`2*q`1*r`3 + p`3*q`1*r`2 by Th23;
    |{ ,, } = q` * `2 `3-q`*`2r1  q`1*`3r2  `22*p`*`1-
      q`2*p`1*r`3 + q`3*p`                a* r1a*r2a*r3| =a*|:8
    hence              .= |0,,]|
  end;

theorem Th26:
  |{                   by A19,A17,UCLID_5:,EUCLID_5:4;
  proof
    |{ a * p,q , r }| = (a * p)`1 * q`2 * r`3 - (a * p)`3*q`2*r`1 -
                          *p`1*3r`  (*p)`*q`
                          (a * p)`2*q`1*r`3 + (a * p)`3*q`1*r`2 by Th23
                     .= a * p`1 * q`2 * r`3 - (a * p)`3*q`2*r`1 -
                          a *)1*3r2  (a*p`*`3r` java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                          (a * p)`2*q`1*r`3 + (a * p)`3*q`1*r`2 by EUCLID_5:9
                     .= a * p`1 * q`2 * r`3 - a *|upup1,up|=0by EUCLID_5:31;
                          (a * p)`1*q`3*r`2 + (a * p)`2*q`3*r`1 -
                          (a * p)`2*q`1*r`3 + (a * p)`3*q`1*r`2 by EUCLID_5:9
                     .= a * p`1 * q`2 * r`3 - a * p`3*q`2*r`1 -
                          a * p`1*q`3*r`2 + (a * p)`2*q`3*r`1 -
                          (a * p)`2*q`1*r`3 + (a * p)`3*q`1*r`2 by EUCLID_5:9
                     .= a * p`1 * q`2 * r`3 - a * p`3*q`2*r`1 -
                          a * p`1*q`3*r`2 + a *  .= 0by 31
                          (a * p)`2*q`1*r`3 + (a * p                 |uq <>uq1,)  {,,uq1|  EUCLID_5:ef
                     .= a * p`1 * q`2 * r`3 - a * p`3*q`2*r`1 -
                          a * p`1*q`3*r`2 + a * p`2*q`3*r`1 -
                          a * p`2*q`1*r`3 + (a * p)`3*q`1*r`2 by EUCLID_5:9
                      .= a * p`1 * q`2 * r`3 - a * p`3*q`2*r`1 -
                          a * p`1*q`3*r`2 + a * p`2*q`3*r`1 -
                          a * p`2*q`1*r`3 + a * p`3*q`1*r`2 by EUCLID_5:9
                      .= a * (p`1 * q`2 * r`3 - p`3*q`2*r`1 -
                          p`1*q`3*r`2 + p`2*q`3*r`1 - p`2*q`1*r`3 +
                          p`3*q`1*r`2)
                      .= a * |{ p,q,r }| by Th23;
    hence thesis;
  end;

theorem Th27:
  |{ p, a * q, r }| = a * |{ p, q, r }|
  proof
    |{p, a * q , r }| = - |{ a *q, p,r}| by Th25
                     .= - (a * |{q,p,r}|) by Th26
                     .= - (a * (- |{p,q,r}|)) by Th25;
    hence thesis;
  end;

theorem Th28:
  |{ p, q, a * r }| = a * |{ p, q, r }|
  proof
    |{p, q , a * r }| = - |{ p, a * r,q}| by Th24
                     .= - (a * |{p,r,q}|) by Th27
                     .= - (a * (- |{p,q,r}|)) by Th24;
    hence thesis;
  end;

theorem
  M = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*> implies
  |{ p,q,r }| = Det M
  proof
    assume M = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*>; then
A1: M@ = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*> by Th19;
A2: p = |[ p`1,p`2,p`3 ]| by EUCLID_5:3;
A3: q <X> r = |[ (q`2 * r`3) - (q`3 * r`2) , (q`3 * r`1) - (q`1 * r`3) ,
      (q`1 * r`2) - (q`2 * r`1) ]| by EUCLID_5:def 4;
A4: |( p, q <X> r )| = p`1*((q`2 * r`3) - (q`3 * r`2))+p`2*((q`3 * r`1) -
      (q`1 * r`3))+ p`3*((q`1 * r`2) - (q`2 * r`1)) by A2,A3,EUCLID_5:30;
    reconsider p1 = p`1,p2 = p`2,p3 = p`3,
               q1 = q`1,q2 = q`2,q3 = q`3,
               r1 = r`1,r2 = r`2,r3 = r`3 as Element of F_Real
      by XREAL_0:def 1;
    Det M = Det M@ by MATRIX_7:37
         .= p1*q2*r3 - p3*q2*r1 - p1*q3*r2
              + p2*q3*r1 - p2*q1*r3 + p3*q1*r2
      by A1,MATRIX_9:46;
    hence thesis by A4,EUCLID_5:def 5;
  end;

theorem Th29:
  M = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*> implies
  |{ p,q,r }| = Det M
  proof
    assume
A1: M = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>;
A2: p = |[ p`1,p`2,p`3 ]| by EUCLID_5:3;
A3: q <X> r = |[ (q`2 * r`3) - (q`3 * r`2) , (q`3 * r`1) - (q`1 * r`3) ,
      (q`1 * r`2) - (q`2 * r`1) ]| by EUCLID_5:def 4;
A4: |( p, q <X> r )| = p`1*((q`2 * r`3) - (q`3 * r`2))+p`2*((q`3 * r`1) -
      (q`1 * r`3))+ p`3*((q`1 * r`2) - (q`2 * r`1)) by A2,A3,EUCLID_5:30;
    reconsider p1 = p`1,p2 = p`2,p3 = p`3,
               q1 = q`1,q2 = q`2,q3 = q`3,
               r1 = r`1,r2 = r`2,r3 = r`3 as Element of F_Real
      by XREAL_0:def 1;
    Det M = p1*q2*r3 - p3*q2*r1 - p1*q3*r2 + p2*q3*r1 - p2*q1*r3 + p3*q1*r2
      by A1,MATRIX_9:46;
    hence thesis by A4,EUCLID_5:def 5;
  end;

theorem Th30:
  for M being Matrix of k,F_Real holds
  Det M = 0.F_Real iff the_rank_of M < k
  proof
    let M be Matrix of k,F_Real;
A1: Det M = 0.F_Real iff the_rank_of M <> k by MATRIX13:83;
A2: the_rank_of M <= len M by MATRIX13:74;
    len M = k by MATRIX_0:def 2;
    hence thesis by A1,A2,XXREAL_0:1;
  end;

theorem Th31:
  for M being Matrix of k,F_Real holds
  the_rank_of M < k iff
  lines M is linearly-dependent or not M is without_repeated_line
  proof
    let M be Matrix of k,F_Real;
A1: the_rank_of M = k iff lines M is linearly-independent &
    M is without_repeated_line by MATRIX13:121;
A2: the_rank_of M <= len M by MATRIX13:74;
    len M = k by MATRIX_0:def 2;
    hence thesis by A1,A2,XXREAL_0:1;
  end;

theorem Th32:
  for M being Matrix of k,m,F_Real holds
  Mx2Tran M is Function of RLSp2RVSp(TOP-REAL k),RLSp2RVSp(TOP-REAL m)
  proof
    let M be Matrix of k,m,F_Real;
    RLSp2RVSp(TOP-REAL k) =
     ModuleStr (# the carrier of TOP-REAL k, the addF of TOP-REAL k,
      the ZeroF of TOP-REAL k, MultF_Real*(TOP-REAL k) #) &
    RLSp2RVSp(TOP-REAL m) =
     ModuleStr (# the carrier of TOP-REAL m, the addF of TOP-REAL m,
      the ZeroF of TOP-REAL m, MultF_Real*(TOP-REAL m) #) by DUALSP01:def 2;
    hence thesis;
  end;

theorem Th33:
  for M being Matrix of k,F_Real holds
  Mx2Tran M is linear-transformation of
  RLSp2RVSp(TOP-REAL k),RLSp2RVSp(TOP-REAL k)
  proof
    let M be Matrix of k,F_Real;
    reconsider M2 = Mx2Tran M as Function of RLSp2RVSp(TOP-REAL k),
      RLSp2RVSp(TOP-REAL k) by Th32;
A1: RLSp2RVSp(TOP-REAL k) = ModuleStr (# the carrier of TOP-REAL k,
      the addF of TOP-REAL k, the ZeroF of TOP-REAL k,
    MultF_Real*(TOP-REAL k) #) by DUALSP01:def 2;
    for x,y be Element of RLSp2RVSp(TOP-REAL k) holds M2.(x + y) = M2.x + M2.y
    proof
      let x,y be Element of RLSp2RVSp(TOP-REAL k);
      reconsider xr = x,yr = y as Element of TOP-REAL k by A1;
A2:   x + y = xr + yr by A1;
      M2.(x + y) = (Mx2Tran M).xr + (Mx2Tran M).yr by A2,MATRTOP1:22
                .= M2.x + M2.y by A1;
      hence thesis;
    end;
    then
A3: M2 is additive;
    for a being     for a being Scalar                 .= 0 by EUCLID_5:31;
    holds M2.(a * x) = a * (M2 . x)
    proof
      let a be Scalar of F_Real,x java.lang.StringIndexOutOfBoundsException: Range [34, 14) out of bounds for length 14
      reconsider ra = a as Real;
      reconsider =xasElement ofTOP k by java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
      reconsider X = RLSp2RVSp(TOP-REAL 3) as ModuleStr over
A4:   a * x = a * rx
      proof
        *(TOP-REAL k   of TOP-REAL   :def1;
        hence thesis by A1,RLVECT_1:def 1;
      endend;
      a * ((Mx2Tran M).x) = a * (M2.x)
      proof
        a * (M2.x) = (the Mult of TOP-REAL k).(a,(Mx2Tran M).x)
          by A1,DUALSP01:def 1
                  .= a * ((Mx2Tran M).rx) by RLVECT_1:def 1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        hence thesis;
      end;  u is not zero &x is not zero &
      hence thesis by A4,MATRTOP1:23;
    end;
    hence thesis by A3,MOD_2:def 2;
  end;

theorem Th34:
,2,q3>*1r2,`** java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
   a,b,c st p+b* +c*r=0(OP-EAL3) java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  (a<>assume that
  proof
    assume that
A1   **`1p2p`3><q`1q`,`*,<r1,`,`** 
A2: the_rank_of M < 3;
    cases by ,Th31
    suppose
A3:   lines M is linearly-dependent;
      Line(M1  p& Line(,)=q& (M)  r by A1,h22;
      then lines M = {p, q, r} by Th21;
      then {p , q, r} is linearly-dependent by A3,MATRTOP2:7;
      hence thesis by RLVECT_4:7;
    end;
    suppose not M is without_repeated_line;
      reconsider M2 = Mx2Tran M as linear-transformation of
      (TOP-REAL 3),TOP-REAL )by 
A4:   not M2 is one-to-one by A2,MATRTOP1:39;
      ex x be Element of RLSp2RVSp(TOP-REAL 3) st x in ker M2 &
        not x in (0).RLSp2RVSp(TOP-REAL 3)
      proof
        assume
A5:     not ex x be Element of RLSp2RVSp(TOPassume
        not A7   |u,vw|=0
A6:     the carrier       thus |x,w|=b*|uvw}| byjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
          by VECTSP_4:def 2;
A7:     the carrier of (0).RLSp2RVSp(TOP-REAL 3) c= the carrier of ker M2
        proof
          let x be object;
          assume x in the carrier of (0).RLSp2RVSp(TOP-REAL 3);
          then x in (0).RLSp2RVSp(TOP-REAL 3);
          then x = 0.RLSp2RVSp(TOP-REAL 3) by VECTSP_4:35;
          then x in ker M2 by RANKNULL:11;
          hence thesis;
        end;
        the carrier of ker M2 c= the carrier of (0).RLSp2RVSp(TOP-REAL 3)
        proof
          let x be object;
          assume
A8:       x in the carrier of ker M2; then
A9:       x in ker M2;
          reconsider y = x as Element of the carrier of
            RLSp2RVSp(TOP-REAL 3) by A8,A6;
          y in (0).RLSp2RVSp(TOP-REAL 3) by A5,A9;
          hence thesis;
        end;
        then the carrier of ker M2 = the carrier of (0).RLSp2RVSp(TOP-REAL 3)
          by A7;
        hence thesis by A4,MATRLIN2:43,VECTSP_4:29;
      end;
      then consider x2 be Element of RLSp2RVSp(TOP-REAL 3) such that
A10:  x2 in ker M2 and
A11:  not x2 in (0).RLSp2RVSp(TOP-REAL 3);
A12:  x2 <> 0.RLSp2RVSp(TOP-REAL 3) by A11,VECTSP_4:35;
A13:  RLSp2RVSp(TOP-REAL 3) =
      ModuleStr (# the carrier of TOP-REAL 3, the addF of TOP-REAL 3,
        the ZeroF of TOP-REAL 3,
      MultF_Real*(TOP-REAL 3) #) by DUALSP01:def 2; then
A14:  0.RLSp2RVSp(TOP-REAL 3) = the ZeroF of TOP-REAL 3
                                     by STRUCT_0:def 6
                             .= 0.TOP-REAL 3 by STRUCT_0:def 6; then
A15:  (Mx2Tran M).x2 = |[0,0,0]| by A10,EUCLID_5:4,RANKNULL:10;
      reconsider pt = (Mx2Tran M).x2 as Element of TOP-REAL 3
        by A10,A14,RANKNULL:10;
A16:  <*pt`1,pt`2,pt`3*> = |[0,0,0]| by A15,EUCLID_5:3;
A17:  pt`1 = pt.1 by EUCLID_5:def 1;
      RLSp2RVSp(TOP-REAL 3) = ModuleStr (# the carrier of TOP-REAL 3,
        the addF of TOP-REAL 3, the ZeroF of TOP-REAL 3,
      MultF_Real*(TOP-REAL 3) #) by DUALSP01:def 2;
      then the ZeroF of RLSp2RVSp(TOP-REAL 3)
        = 0.TOP-REAL 3 by STRUCT_0:def 6; then
A18:  x2 <> 0.TOP-REAL 3 by A12,STRUCT_0:def 6;
A19:  len M = 3 by MATRIX_0:def 2; then
A20:  dom M = Seg 3 by FINSEQ_1:def 3; then
A21:  len(Col(M,1)) = 3 & for j be Nat st j in Seg 3 holds
        (Col(M,1)).j = M*(j,1) by A19, MATRIX_0:def 8;
A22:  Col(M,1).1 = M*(1,1) & Col(M,1).2 = M*(2,1) & Col(M,1).3 = M*(3,1)
        by A20,MATRIX_0:def 8,FINSEQ_1:1;
A23:  len(Col(M,2)) = 3 & for j be Nat st j in Seg 3 holds
        (Col(M,2)).j = M*(j,2) by A19, A20,MATRIX_0:def 8;
A24:  Col(M,2).1 = M*(1,2) & Col(M,2).2 = M*(2,2) & Col(M,2).3 = M*(3,2)
        by A20,MATRIX_0:def 8,FINSEQ_1:1;
A25:  len(Col(M,3)) = 3 & for j be Nat st j in Seg 3 holds
        (Col(M,3)).j = M*(j,3) by A19,A20, MATRIX_0:def 8;
A26:  Col(M,3).1 = M*(1,3) & Col(M,3).2 = M*(2,3) & Col(M,3).3 = M*(3,3)
        by A20,MATRIX_0:def 8,FINSEQ_1:1;
A27:  pt`2 = pt.2 by EUCLID_5:def 2;
      reconsider x3 = x2 as Element of TOP-REAL 3 by A13;
A28:  pt`3 = pt.3 by EUCLID_5:def 3;
      reconsider x4 = x3 as FinSequence of F_Real by RVSUM_1:145;
A29:  @x3 = x3 by MATRTOP1:def 1; then
A30:  @x3 = <*x3`1,x3`2,x3`3*> by EUCLID_5:3;
A31:  0 = pt.1 by A17,A16,FINSEQ_1:78
       .= (@ x3) "*" (Col(M,1)) by MATRTOP1:18;
      reconsider a1 = x3`1, a2 = x3`2, a3 = x3`3,
                 b1 = M*(1,1), b2 = M*(2,1), b3 = M*(3,1),
                 c1 = M*(1,2), c2 = M*(2,2), c3 = M*(3,2),
                 d1 = M*(1,3), d2 = M*(2,3), d3 = M*(3,3) as
        Element of F_Real by XREAL_0:def 1;
A32:  <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>
        = <* <* M*(1,1), M*(1,2), M*(1,3) *>, <* M*(2,1), M*(2,2), M*(2,3) *>,
        <* M*(3,1), M*(3,2), M*(3,3) *> *> by A1,MATRIXR2:37;
A33:  p = <*p`1,p`2,p`3*> by EUCLID_5:3 .= <* M*(1,1), M*(1,2), M*(1,3) *>
        by A32,FINSEQ_1:78;
A34:  q = <*q`1,q`2,q`3*> by EUCLID_5:3 .= <* M*(2,1), M*(2,2), M*(2,3) *>
        by A32,FINSEQ_1:78;
A35:  r = <*r`1,r`2,r`3*> by EUCLID_5:3 .= <* M*(3,1), M*(3,2), M*(3,3) *>
        by A32,FINSEQ_1:78;
      reconsider q1 = <*x3`1,x3`2,x3`3*>, r1 = <* M*(1,1),M*(2,1),M*(3,1) *>,
      r2 = <* M*(1,2),M*(2,2),M*(3,2) *>,
      r3 = <* M*(1,3),M*(2,3),M*(3,3) *>
        as  FinSequence of the carrier of F_Real by A29,EUCLID_5:3;
A36:  0 = q1 "*" r1 by A31,A22,A30,A21,FINSEQ_1:45
       .= a1 * b1 + a2 * b2 + a3 * b3 by Th6;
A37:  0 = pt.2 by A16,FINSEQ_1:78,A27
       .= (@ x3) "*" (Col(M,2)) by MATRTOP1:18;
A38:  0 = q1 "*" r2 by A37,A23,FINSEQ_1:45,A24,A30
       .= a1 * c1 + a2 * c2 + a3 * c3 by Th6;
A39:  0 = pt.3 by A16,FINSEQ_1:78,A28
       .= (@ x3) "*" (Col(M,3)) by MATRTOP1:18;
A40:  0 = q1 "*" r3 by A39,A26,A25,FINSEQ_1:45,A30
       .= a1 * d1 + a2 * d2 + a3 * d3 by Th6;
A41:  a1 <> 0 or a2 <> 0 or a3 <> 0 by A18,EUCLID_5:3,EUCLID_5:4;
      a1 * p + a2 * q + a3 * r = a1 * |[ b1, c1, d1]java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
                                a3 * |[ b3, c3, d3]|) by A33,RVSUM_1:15,A34,A35
                              .= a1 * |[ b1, c1, d1]| + (a2 * |[ b2, c2, d2]| +
                                |[ a3*b3, a3*c3, a3*d3 ]|) by EUCLID_5:8
                              .= a1 * |[ b1, c1, d1]| +
                                 (|[ a2*b2, a2*c2, a2*d2]| +
                                  |[ a3*b3, a3*c3, a3*d3 ]|) by EUCLID_5:8
                              .= |[ a1*b1, a1*c1, a1*d1]| +
                                 (|[ a2*b2, a2*c2, a2*d2]| +
                                  |[ a3*b3, a3*c3, a3*d3 ]|) by EUCLID_5:8
                              .= |[ a1*b1, a1*c1, a1*d1]| +
                                 |[ a2*b2+(a3*b3), a2*c2+(a3*c3),
                                    a2*d2+(a3*d3) ]| by EUCLID_5:6
                              .= |[ a1*b1+(a2*b2+a3*b3),
                                    a1*c1+(a2*c2+a3*c3),
                                    a1*d1+(a2*d2+a3*d3)]| by EUCLID_5:6
                              .= 0.(TOP-REAL 3) by A36,A38,A40,EUCLID_5:4;
      hence thesis by A41;
    end;
  end;

theorem Th35:
  (a*p + b*q + c*r = 0.(TOP-REAL 3) & (a <> 0 or b <> 0 or c <> 0))
  implies |{p,q,r}| = 0
  proof
    assume a*p + b*q + c*r = 0.(TOP-REAL 3) & (a<>0 or b<>0 or c <>0);
    then consider a,b,c such that
A1: a*p + b*q + c*r = 0.(TOP-REAL 3) and
A2: a <> 0 or b <> 0 or c <> 0;
    per cases by A2;
    suppose a <> 0;
      hence thesis by A1,Th12;
    end;
    suppose b <> 0;
      then
A3:   |{q,p,r}| = 0 by A1,Th12;
      |{p,q,r}| = - |{q,p,r}| by Th25;
      hence thesis by A3;
    end;
    suppose
A4   c< 0
      c*r + a*p + b*q = 0.(TOP-REAL 3) by A1,RLVECT_1:def 3;
      then |{r,p,q}| = 0 by A4,Th12;
      hence thesis by EUCLID_5:33;
    
  end;

theorem Th36:
  |{p,q,r}| = 0 implies ex a,b,c st a*p + b*q + c*r = 0.(TOP-REAL 3) &
  (a<>0 or b<>0 or c <>0)
  proof
    assume
A1: |{p,q,r}| = 0;
`,`,`*,*`,`,`*,*`1,`2,3>>
      as Matrix of 3,F_Real by Th16;
    Det M = 0 by A1,Th29
  
    then the_rank_of M < 3 by Th30;
    hence thesis by Th34;
  end;

theorem :
  p,q,r are_LinDep iff |{p,q,r}| = 0
  proof
    hereby assume p,q,r are_LinDep;
      then ex a,b,c st a*p + b*q + c*r = 0.TOP-REAL 3 &
      (a<>0 or b<>0 or c <>0) by ANPROJ_1:def 2;
      hence |{p,q,r}| = 0 by Th35;
    endTh53:
    assume |{p,q,r}| = 0;
      Col(<(<*<e2>*>,1) = <* 0 *> &
    (a<>0 or b<>0 or c <>0) by Th36;
    hence p,q,r are_LinDep by ANPROJ_1:def 2;
  end;

begin :: Some properties about the cross product

theorem Th38:
  (p, Xq|  0
  proof
    thus|pp<>q)|=|p,,} byEUCLID_5:ef5
                 .= 0 by EUCLID_5:31;
  end;

theorem Th39:
  |(p,q <X> p)| = 0
  proof
    thus |(p,q <X> p)| = |{p,q,p}| by EUCLID_5:def 5
                 .= 0 by EUCLID_5:31;
  end;

theorem Th40:
|{o p ( <> )<>( <X )} =0&
  |{ q, r, (o <X> p) <X> (q <X> r) }| = 0
  proof
    set s = (o <X> p) <X> (q <X> r);
     |o,p,} =|  X p,s| EUCLID_5:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
                  .= 0 by Th38;
    thus |{q,r,s}| = |( q <X> r, (o <X> p) <X> (q <X> r) )| by EUCLID_5:35
                  .= 0 by Th39;
  end;

theorem Th41:
  o,p, (o <X> p) <X> (q <X> r) are_LinDep &
  q,r, (o <X> p) <X> (q <X> r) are_LinDep
  proof
    |{o,p, (o <X> p) <X> (q <X> r)}| = 0 &
    |{q,r, (o <X> p) <X> (q <X> r)}| = 0 by Th40;
    hence thesis by Th37;
  end;

theorem Th42:
  0.TOP-REAL 3 <X> p = 0.TOP-REAL 3 & p <X> 0.TOP-REAL 3 = 0.TOP-REAL 3
  proof
A1: 0.TOP-REAL 3 <X> p = |[0,0,0]| <X> |[p`1,p`2,p`3]| by EUCLID_5:3,EUCLID_5:4
                      .= 0.TOP-REAL 3 by EUCLID_5:19;
    p <X> 0.TOP-REAL 3 = - 0.TOP-REAL 3 by A1,EUCLID_5:17
                      .= 0.TOP-REAL 3 by RLVECT_1:12;
    hence thesis by A1;
  end;

theorem
  |{p,q,0.TOP-REAL 3}| = 0
  proof
    |{p,q,0.TOP-REAL 3}| = |(p, q <X> 0.TOP-REAL 3)| by EUCLID_5:def 5
                        .= |(p,0.TOP-REAL 3)| by Th42;
    hence thesis by EUCLID_2:32;
  end;

theorem
  p <X> q = 0.thesis by ZFMISC_1:87;
  proof
    assume that
A1: p <X> q = 0.TOP-REAL 3 and
A2: r = |[1,1,1]|;
    |[ (p`2 * q`3) - (p`3 * q`2) , (p`3 * q`1) - (p`1 * q`3) ,
    (p`1 * q`2) - (p`2 * q`1) ]| = |[0,0,0]| by A1,EUCLID_5:def 4,EUCLID_5:4;
    then (p`2 * q`3) - (p`3 * q`2) = |[0,0,0]|`1 &
      (p`3 * q`1) - (p`1 * q`3) = |[0,0,0]|`2 &
      (p`1 * q`2) - (p`2 * q`1) = |[0,0,0]|`3 by EUCLID_5:14; then
A3: (p`2 * q`3) - (p`3 * q`2) = 0 & (p`3 * q`1) - (p`1 * q`3) = 0 &
      (p`1 * q`2) - (p`2 * q`1) = 0 by EUCLID_5:14;
    reconsider r = |[1,1,1]| as Element of TOP-REAL 3;
    |{p,q,r}| = 0
    proof
      r`1 = 1 & r`2 = 1 & r`3 = 1 by EUCLID_5:2;
      then |{ p,q,r }| = p`1 * q`2 * 1 - p`3* q`2 * 1 -
                            p`1*q`3* 1 + p`2*q`3* 1 -
                            p`2*q`1* 1 + p`3*q`1* 1 by Th23
                      .= 0 by A3;
      hence thesis;
    end;
    hence thesis by A2,Th37;
  end;

theorem Th43:
  p is not zero & q is not zero &
  p <X> q = 0.TOP-REAL 3 implies are_Prop p,q
  proof
    assume that
A1: p is not zero and
A2: q is not zero and
A3: p <X> q = 0.TOP-REAL 3;
A4: |[ (p`2 * q`3) - (p`3 * q`2) , (p`3 * q`1) - (p`1 * q`3) ,
      (p`1 * q`2) - (p`2 * q`1) ]| = |[0,0,0]|
      by A3,EUCLID_5:def 4,EUCLID_5:4; then
A5: (p`2 * q`3) - (p`3 * q`2) = |[0,0,0]|`1 &
      (p`3 * q`1) - (p`1 * q`3) = |[0,0,0]|`2 &
      (p`1 * q`2) - (p`2 * q`1) = |[0,0,0]|`3 by EUCLID_5:14; then
A6: (p`2 * q`3) - (p`3 * q`2) = 0 & (p`3 * q`1) - (p`1 * q`3) = 0 &
    (p`1 * q`2) - (p`2 * q`1) = 0 by EUCLID_5:14;
    per cases;
    suppose
A7:   p`1 <> 0 & p`2 <> 0 & p`3 <> 0;
A8:   q`1 <> 0 & q`2 <> 0 & q`3 <> 0
      proof
        assume q`1 = 0 or q`2 = 0 or q`3 = 0;
        then per cases;
        suppose
A9:       q`1 = 0; then
A10:      q`3 = 0 by A6,A7,XCMPLX_1:6;
          q`2 = 0 by A9,A6,A7,XCMPLX_1:6;
          hence thesis by A9,A10,EUCLID_5:3,EUCLID_5:4,A2;
        end;
        suppose
A11:      q`2 = 0;
          then p`2 * q`3 = 0 by A5,EUCLID_5:14; then
A12:      q`3 = 0 by A7,XCMPLX_1:6;
          then p`3 * q`1 = 0 by A5,EUCLID_5:14;
          then q`1 = 0 by A7,XCMPLX_1:6;
          hence thesis by A2,A11,A12,EUCLID_5:3,EUCLID_5:4;
        end;
        suppose
A13                      . 0.F_Realby ,MATRIX_1def 3
          then p`3 * q`1 = 0 by A5,EUCLID_5:14; then
A14:      q`1 = 0 by A7,XCMPLX_1:6;
          then p`1 * q`2 = 0 by A5,EUCLID_5:14;
          then q`2 = 0 by A7,XCMPLX_1:6;
          hence  byA2,A14,EUCLID_5:3,EUCLID_5:4;
        end;
      end;
      reconsider l = p`2 / q`2 as Real;
      p  *q
      proof
:p`  p`3 * q`1 / q`3 by A8,A6,XCMPLX_1:89
           .= (p`3 / q`3)* q`1 by XCMPLX_1:74;
A16:    p`2 = l * q`2 by A8,XCMPLX_1:87;
        p`3 = p`1 * q`3 / q`1 by A8,A6,XCMPLX_1:89
           .= (p`1 / q`1)* q`3 by                         =1by STRUCT_0: ;
A17:    p`3 = l * q`3 by A8,A6,XCMPLX_1:94;
        p = |[p`1,p`2,p`3]| by EUCLID_5:3
         .= |[l*q`1,l*q`2,l*q`3]| by A16,A17,A15,A8,A4,XCMPLX_1:94
         .= l * q by EUCLID_5:7;
        hence thesis;
      end;
      hence thesis by A7,A8,XCMPLX_1:50,ANPROJ_1:1;
    end;
      suppose
A18: p`  ;
      per casesby :3,,EUCLID_5;
      suppose
A19:    p`2 <> 0;
        then
A20:    q`1      87java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A21:    q`2 <>hencebyMATRIXR234;

          assume
A22:      q`2 = 0;
          p`  q`  0  ,EUCLID_5:14;
          then q`3 = 0 by A19,XCMPLX_1:6;
          hence thesis by A20,A22,EUCLID_5:3,A2,EUCLID_5:4;
        end;
        set l = p`2 / q`2;
         p = l * q
        proof
          p`3 = p2*q`  `2A6A21,:89
          then
A22:      p    then considerp1beFinSequence suchthat
          p = |[p`1,p[,]inIndices  MATRIX_0,
           .=|l1,lq2l`] A2031 injava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 42
           .l*qby;
          hence thesishencethesis A10A13A4,A2A,,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
        java.lang.StringIndexOutOfBoundsException: Range [37, 12) out of bounds for length 42
        hence thesis by A21,.=<a1,b2,a3*  76;
      end;
      a1,a2,a3b1,b3being Element of 
p3 > ;
A24:    q`1 = 0
        proof
          p3*q`1   A18,EUCLID_5:;
           M *N)=len  &width(*)=   bybyMATRIX_3def;then
        end;
A25:    q`3 <> 0
                        = MATRIX_0:;
          assume (M1)1=M(,)&
A26:      q`3 = 0;
then 2 =0by A6A,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 44
          hence thesis by A24,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        end;
        set l = p`3 / q`3;
      2in Seg 3by :1 then
        proof
A27:      l * q`2 = p`2 * q`3 / q`3 by A6,XCMPLX_1:74
. p2byA25XCMPLX_1:89;
          p = |[pA13:len Line(*N,)=width ( *)MATRIX_0: 
           .= |[l *       ((*N,).  java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
           =l  q by EUCLID_5:;
          hence thesis;
        ;
        thesis by ,A25XCMPLX_1:0ANPROJ_11
      ;
    ;
    suppose
A28=*21)   *22 *
      ,EUCLID_54;
      suppose
    p`1 <> 0;
    `=0
        proof        hence thesisjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
                  lenLine(3)=width  bydef 7
           byA29XCMPLX_16;
        end;
A31:    q`1 <> 0
        proof
          assume
A32:      q`1 = 0;
                < M*(3,1,*32,*(33 > * * ze,ze,ze*
          hence thesis by A30,A32,EUCLID_5:3,A2,EUCLID_5:4;
        end;
        set l = p`1 / q`1;
        p = l * q
        proof
          p`3 = p`1 * q`3 / q`1 by A6,A31,XCMPLX_1:89; then
A33:      p`3 = p`1 / q`1 * q`3 by XCMPLX_1:74;
          p = |[p`1,p`2,p`3]| by EUCLID_5:3
           .= |[l*q`1,l*q`2,l*q`3]| by A28,A30,A31,XCMPLX_1:87,A33
           .= l * q by EUCLID_5:7;
          hence thesis;
        end;
        hence thesis by A31,A29,XCMPLX_1:50,ANPROJ_1:1;
      end;
      suppose
A34:    p`3 <> 0;
        then
A35:    q`2 = 0 by A28A9:   2in Seg 3by FINSEQ_1:;
A36:    q`3 <> 0
        proof
          assume
A37:      q`3 = 0;
          then p`3 * q`1 = 0 by A5,EUCLID_5:14;
          then q`1 = 0 by A34,XCMPLX_1:6;
          hence thesis by A35,A37,EUCLID_5:3,A2,EUCLID_5:4;
        end;
        set l = p`3 / q`3;
        p = l * q
        proof
A38                    .=< 0*>by,A4MATRIX_0:59,;
                 .= p`1 by A36,XCMPLX_1:89;
          p = |[p`1,p`2,p`3]| by EUCLID_5:3
           .= |[l * q`1,l * q`2,l * q`3]| by A28,A35,A38,A36,XCMPLX_1:87
           .= l * q by EUCLID_5:7;
          hence thesis;
        end;
        hence thesis by A34,A36,XCMPLX_1:50,ANPROJ_1:1;
      end;
    end;
    suppose
A39:  p`3 = 0;
      then per cases by A1,EUCLID_5:3,EUCLID_5:4;
      suppose
A40:    p`2 <> 0;
A41:    q`3 = 0
        proof
          p`2 * q`3 = 0 by A39,A5,EUCLID_5:14;
          hence thesis by A40,XCMPLX_1:6;
        end;
A42:    q`2 <> 0
        proof
          assume
A43:      q`2 = 0;
          then q`1 = 0 by A6,A40,XCMPLX_1:6;
          hence thesis by A41,A43,EUCLID_5:3,A2,EUCLID_5:4;
        end;
        set l = p`2 / q`2;
        p = l * q
        proof
          p`=p2*q1/q by A6,A42,89;
A44:      p`1 = l * q`1 by XCMPLX_1:74;
          p = |[p`1,p`2,p`3]| by EUCLID_5A11:<e2>in 3-tuples_on REAL by EUCLID:def 1;
           .= |[l*q`1,l*q`2,l*q`3]| by A39,A41,A42,XCMPLX_1:87,A44
           .= l * q by EUCLID_5:7;
          hence thesis;
        end;
        hence thesis by A42,A40,XCMPLX_1:50,ANPROJ_1:1;
      end;
      suppose
A45:    p`1 <> 0;
        then
A46:    q`3 = 0 by A39,A6,XCMPLX_1:6;
A47:    q`1 <> 0
        proof
          assume
A48:      q`1 = 0;
          then p`1 * q`2 = 0 by A5,EUCLID_5:14;
          then q`2 = 0 by A45,XCMPLX_1:6;
          hence thesis by A2,A46,A48,EUCLID_5:3,EUCLID_5:4;
        end;
        set l = p`1 / q`1;
        p = l * q
        proof
A49:      l * q`2 = q`1 * p`2 / q`1 by A6,XCMPLX_1:74
                 .= p`2 by A47,XCMPLX_1:89;
          p = |[p`1,p`2,p`3]| by EUCLID_5:3
           .= |[l * q`1,l * q`2,l * q`3]| by A39,A46,A49,A47,XCMPLX_1:87
           .= l * q by EUCLID_5:7;
          hence thesis;
        end;
        hence thesis by A45,A47,XCMPLX_1:50,ANPROJ_1:1;
      end;
    end;
  end;

theorem Th44:
  for p,q,r,s be non zero  of TOP- 3 
                         .= <1* by A29,A23,MATRIX_0:9,Th54;
  are_Prop p,q or are_Prop r,s or are_Prop p <X> q,r <X> s
  proof
    let p,q,r,s be non zero Point of TOP-REAL 3;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then p <X> q is zero or r <X> s is zero or
      are_Prop p <X> q,r <X> s by Th43;
    hence thesis by Th43;
  end;

theorem Th45:
  |{ p, q, p <X> q }| = |(q,q)| * |(p,p)| - |(q,p)| * |(p,q)|
  proof
    |{
                       .= |( p, |(q,q)| * p - |(q,p)| * q )| by EUCLID_5:32
                       .= |(p, |(q,q)| * p)| - |( p, |(q,p)| * q)|
                          by EUCLID_2:27
                       .= |(q,q)| * |(p,p)| - |( p, |(q,p)| * q)|
                          by EUCLID_2:20
                       .= |(q,q)| * |(p,p  proof
    hence thesis;
  end;

theorem Th46:
  A2:len (<pf*,)=len<pf*>& forjbe  jindom *>holds
  proof
    setr1=( <> )1
    p <X> q = |[ (p`2 * q`3) - (pA3 Col<*pf*>,k) = 1 byFINSEQ_1:39 then
      (p`1 * q`2) - (p`2 * q`1) ]| by EUCLID_5:def 4; then
A1: r1 = p`2 * q`3 - p`3 * q`2 & r2 = p`3 * q`1 - p`1 * q`3 &
        1*q2  `*q`1by EUCLID_5;
A2: |(p <X> q,p <X> q)| = r1 * r1 + r2 * r2 + r3 * r3 by EUCLID_5:29;
|qq|*|,)|-|,)|*|p,q) java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
     (q`1 * q`1 + q`2 * q`2 + q`3 * q`3) * |(p,p)| - |(q,p)| * |(p,q)|
     by EUCLID_5:29
                        .= (q`1 * q`1 + q`2 * q`2 + q`3 * q`3) *
       (p`1 * p`1 + p`2 * p`2 + p`3 * p`3) - |(q,p)| * |(p,q)|
       
                        .= (q`1 * q`1 + q`2 * q`2 + q`3 * q`3) *
       (p`1 * p`1 + p`2 * p`2 + p`3 * p`3) - (q`  for  beingElement  REAL 3 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
       * |(p,q)| by EUCLID_5:29
                        .= (q`1 * q`1 + q`2 * q`2 + q`3 * q`3) *
       (p`1 * p`1 + p`2 * p`2 + p`3 * p`3) - (q`1*p`1+q`2*p`2+q`3*p`3) *
       (p`1*q`1+p`2*q=prjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    hence thesis by A1,A2;
  end;

theorem Th47:
  p is non zero & |(p,q)| = 0 & |(p,r)| = 0 & |(p,s)| = 0 implies |{q,r,s}| = 0
  proof
    assume that
A1: p is non zero and
A2: |(p,q)| = 0 and
A3: |(p,r)| = 0 and
A4: |(p,s)| = 0;
A5: p`1 * q`1 + p`2 * q`2 + p`3 * q`3 = 0 by A2,EUCLID_5:29;
A6: p`1 * r`1 + p`2 * r`2 + p`3 * r`3 = 0 by A3,EUCLID_5:29;
A7: p`1 * s`1 + p`2 * s`2 + p`3 * s`3 = 0 by A4,EUCLID_5:29;
    per cases by A1,EUCLID_5:3,EUCLID_5:4;
    suppose
A8:   p`1 <> 0;
      set l2 = p`2 / p`1, l3 = p`3 / p`1;
A9:   q`1 = - l2 * q`2 - l3 * q`3 by Th11,A8,A5;
A10:  r`1 = - l2 * r`2 - l3 * r`3 by Th11,A8,A6;
A11:  s`1 = - l2 * s`2 - l3 * s`3 by Th11,A8,A7;
      |{q,r,s}| = (- l2 * q`2 - l3 * q`3) * r`2 * s`3 -
             q`3 * r`2 * (- l2 * s`2 - l3 * s`3) -
             (- l2 * q`2 - l3 * q`3) * r`3 * s`2 +
             q`2*r`3*(- l2 * s`2 - l3 * s`3) -
             q`2*(- l2 * r`2 - l3 * r`3) * s`3 +
             q`3*(- l2 * r`2 - l3 * r`3)*s`2 by A9,A10,A11,Th23
               .= 0;
      hence thesis;
    end;
    suppose
A12:  p`2 <> 0;
      set l1 = p`1 / p`2, l3 = p`3 / p`2;
A13:  q`2 = - l1 * q`1 - l3 * q`3 by Th11,A12,A5;
A14:  r`2 = - l1 * r`1 - l3 * r`3 by Th11,A12,A6;
A15:  s`2 = - l1 * s`1 - l3 * s`3 by Th11,A12,A7;
      |{q,r,s}| = q`1 * r`2 * s`3 - q`3*r`2*s`1 -
                  q`1*r`3*s`2 + q`2*r`3*s`1 -
                  q`2*r`1*s`3 + q`3*`1*s`2 by Th23
                 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 35
      A3: pr in-java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 48
    end;
    suppose
A16:  p`3 <> 0;
      set l1 = p`1 / p`3, l2 = p`2 / p`3;
      p`3 * q`3 + p`1 * q`1 + p`2 * q`2 = 0 by A5; then
A17:  q`3 = - l1 * q`1 - l2 * q`2 by Th11,A16;
      p`3 * r`3 + p`1 * r`1 + p`2 * r`2 = 0 by A6; then
A18:  r`3 = - l1 * r`1 - l2 * r`2 by Th11,A16;
      p`1 * s`1 + p`2 * s`2 + p`3 * s`3 = 0 by A4,EUCLID_5:29; then
      p`3 * s`3 + p`1 * s`1 + p`2 * s`2 = 0; then
A19:  s`3 = - l1 * s`1 - l2 * s`2 by Th11,A16;
      |{q,r,s}| = q`1 * r`2 * s`3 - q`3*r`2*s`1 -
                  q`1*r`3*s`2 + q`2*r`3*s`1 -
                  `2*r`*`3+q`*`1s2byTh23
               .= 0 by A17,A18,A19;
      hence thesis;
    end;
  end;

theorem
  |{ p, q, p <X> q }| = |. p <X> q .|^2
  proof
    |{ p, q, p <X> q }| = |(q,q)| * |(p,p)| - |(q,p)| * |(p,q)| by Th45
                       .= |(p <X> q,p <X> q)| by Th46;
    hence thesis by EUCLID_2:4;
  end;

theorem
  ProjectiveSpace TOP-REAL 3 is CollProjectivePlane
  proof
    set PTR3 = ProjectiveSpace TOP-REAL 3;
    ex u,v,w1 being Element of TOP-REAL 3 st for a,b,c be Real st
    a * u + b * v + c * w1 = 0.TOP-REAL 3 holds a = 0 & b = 0 & c = 0
    proof
      reconsider u = <e1>, v = <e2>, w = <e3> as Element of TOP-REAL 3
        by EUCLID:22;
      take u,v,w;
      now
        let a,b,c be Real;
        assume a * <e1> + b * <e2> + c * <e3> = 0.TOP-REAL 3; then
A1:     |[a,b,c]| = |[0,0,0]| by EUCLID_5:4,EUCLID_8:39;
        |[a,b,c]|`1 = a & |[a,b,c]|`2 = b & |[a,b,c]|`3 = c by EUCLID_5:2;
        hence a = 0 & b = 0 & c = 0 by A1,EUCLID_5:2;
      end;
      hence thesis;
    end;
    then TOP-REAL 3 is up-3-dimensional by ANPROJ_2:def 6;
    then reconsider PTR3 as CollProjectiveSpace;
    for p,p1,q,q1 be Element of PTR3 ex r being Element of PTR3 st
      p,p1,r are_collinear & q,q1,r are_collinear
    proof
      let p,p1,q,q1 be Element of PTR3;
      consider up be Element of TOP-REAL 3 such that
A2:   up is not zero and
A3:   p = Dir(up) by ANPROJ_1:26;
      consider up1 be Element of TOP-REAL 3 such that
A4:   up1 is not zero and
A5:   p1 = Dir(up1) by ANPROJ_1:26;
       consider uq be Element of TOP-REAL 3 such that
A6:   uq is not zero and
A7:   q = Dir(uq) by ANPROJ_1:26;
      consider uq1 be Element of TOP-REAL 3 such that
A8:   uq1 is not zero and
A9:   q1 = Dir(uq1) by ANPROJ_1:26;
      ex r being Element of PTR3 st p,p1,r are_collinear & q,q1,r are_collinear
      proof
        set w = (up <X> up1) <X> (uq <X> uq1);
        per cases;
        suppose w is zero;
          then per cases by A4,A6,A8,A2,Th44;
          suppose are_Prop up,up1;
            then
A10:        p = p1 by A3,A5,A2,A4,ANPROJ_1:22;
            take q;
            thus p,p1,q are_collinear by A10,COLLSP:2;
            thus q,q1,q are_collinear by COLLSP:2;
          end;
          suppose are_Prop uq,uq1;
            then
A11:        q = q1 by A6,A7,A8,A9,ANPROJ_1:22;
            take p;
            thus p,p1,p are_collinear by COLLSP:2;
            thus q,q1,p are_collinear by A11,COLLSP:2;
          end;
          suppose
A12:        are_Prop up <X> up1,uq <X> uq1;
            then consider a be Real such that
            a <> 0 and
A13:        uq <X> uq1 = a * (up <X> up1) by ANPROJ_1:1;
            per cases;
            suppose up <X> up1 is zero;
              then are_Prop up,up1 by A2,A4,Th43; then
A14:          p = p1 by A3,A5,A2,A4,ANPROJ_1:22;
              take q;
              thus p,p1,q are_collinear by A14,COLLSP:2;
              thus q,q1,q are_collinear by COLLSP:2;
            end;
            suppose
A15:          up <X> up1 is not zero;
A16:          uq <X> uq1 is not zero
              proof
                assume
A17:            uq <X> uq1 is zero;
                consider a be Real such that
A18:            a <> 0 and
A19:            uq <X> uq1 = a * (up <X> up1) by A12,ANPROJ_1:1;
                set r1 = (up <X> up1)`1,r2 = (up <X> up1)`2,r3=(up <X> up1)`3;
                |[a * r1,a * r2,a * r3]| = a * |[r1,r2,r3]| by EUCLID_5:8
                                        .= |[0,0,0]|
                  by A19,A17,EUCLID_5:3,EUCLID_5:4;
                then a * r1 = 0 & a * r2 = 0 & a * r3       Col(,1.  (,)by MATRIX_0:def ,:
                then r1 = 0 & r2 = 0 & r3 = 0 by A18,XCMPLX_1:6;
                hence thesis by A15,EUCLID_5:3,EUCLID_5:4;
              end;
              reconsider r =Dir  as Element of   ,ANPROJ_126;
              take r;
              |{up,up1,up}| = 0 by EUCLID_5:31;
              hence p,p1,r are_collinear by A2,A3,A4,A5,Th37,ANPROJ_2:23;
              now
                thus uq <X> uq1 is non zero by A16;
                thus |(uq <X> uq1,uq)| = |{uq,uq,uq1}| by EUCLID_5:def 5
                                      .= 0 by EUCLID_5:31;
                thus |(uq <X> uq1,uq1)| = |{uq1,uq,uq1}| by EUCLID_5:def 5
                                       .= 0 by EUCLID_5:31;
                reconsider rp1 = up <X> up1, rp = up as Element of REAL 3
                  by EUCLID:22;
A20:            a * |(up <X> up1,up)| = |(a * rp1,rp)|
                  by EUCLID_8:68
                                     .= |(a * (up <X> up1),up)|;
                |(up <X> up1,up)| = |{up,up,up1}| by EUCLID_5:def 5
                                 .= 0 by EUCLID_5:31;
                hence |(uq <X> uq1,up)| = 0 by A20,A13;
              end;
              then |{uq,uq1,up}| = 0                        .= q`1 by A5,FIN:78;
              hence q,q1,r are_collinear by A2,A6,A7,A8,A9,Th37,ANPROJ_2:23;
            end;
          end;
        end;
        suppose
A21:      w is not zero;
          then reconsider r = Dir w as Element of PTR3 by ANPROJ_1:26;
          take r;
          thus p,p1,r are_collinear by A2,A3,A4,A5,A21,Th41,ANPROJ_2:23;
          thus q,q1,r are_collinear by A6,A7,A8,A9,A21,Th41,ANPROJ_2:23;
        end;
      end;
      hence thesis;
    end;
    hence thesis by ANPROJ_2:def 14;
  end;

begin :: Real projective plane and homography

theorem Th48:
  for u,v,w,x being Element of TOP-REAL 3 st
  u bydef ;
  Dir u = Dir x holds |{u,v,w}| =end;
  proof
    let u,v,w,x being Element of TOP-REAL 3;
    assume that
A1: u is not zero and
A2: x is not zero and
A3: Dir u = Dir x;
A4: are_Prop u,x by A1,A2,A3,ANPROJ_1:22;
    then consider a be Real such that
  proof
A5: u = a * x by ANPROJ_1:1;
    consider b be Real such that
    b <> 0 and
A6: x = b * A3:width<pf>=3 by Th61;
    hereby
      assume
A7:   |{u,v,w}|   1 in Seg width <*f>byA3,:1
      thus |{x,v,w}| = b * |{u,v,w}| by A6,Th26
                    .= 0 by A7;
    end;
    assume
A8: |{x,v,w}| = 0;
    thus {,vw|=a *|x,,w|by A5Th26
                  .= 0 by A8;
  end;

theorem Th49:
  for u,v,w,x being Element of TOP-REALhenceLine(pf>,)  (*pf>3 by59
  v is not zero & x is not zero & Dir v = Dir x holds
  |{u,v,w}| = 0 iff |{u,x,w}| = 0
  proof
    let u,v,w,x being Element of TOP-REAL 3;
    assume that
A1: v is not zero and
A2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A3;
4:are_Propvx by,A2A3,ANPROJ_1:22;
    consider a  suchthat


 Real
    b <> 0 and
A6: x = b *             .((/a) *0+ ((-c)a)*  by EUCLID_531
    
      assume
A7   |u,w|  0;
      thus |{u,x   FINSEQ_1def3
                    .= 0 java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
    end;
    
A8: |{u,x,w}| = 0;
    thus |{u,v,w}| = a * |{u,x,w}| by A5,Th27
                  .= 0 by A8;
  end;

theoremTh50:
  for ,vw beingElement  TOPREAL 3 st
  w is
  |{u,v,beofnF_Real
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    let u,v,w,x being Element of TOP-REAL 3;
    assume that
A1: w is not zero and
A2: x is not zero and
A3: Dir w = Dir x;
A4: are_Prop w,x by A1,A2,A3,ANPROJ_1:22;
    then consider a be Real such that
    a      then p1  rng by FUNCT_1,1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A5: w = a * x by ANPROJ_1:1;
    consider b be Real such that
     <> 0 and
A6 =b w A4,ANPROJ_1:1;
    hereby
      assume
A7:   |{u,v,w}| = 0;
      thus |{u,v,x}| = b * |{u,v,w}| by A6,Th28
                    .= 0 by A7;
    end;
    assume
A8: |{u,v,x}| = 0;
    thus |{u,v,w}| = a * |{u,v,x}| by A5,Th28
                  .= 0 by A8;
  end;

theorem
  (1_Rmatrix(3)).1 = <e1> & (1_Rmatrix(3)).2 = <e2> &
  (1_Rmatrix(3)).3 = <e3> by MATRIXR2:77,MATRIXR2:78,EUCLID_8:def 1,
                             EUCLID_8:def 2,EUCLID_8:def 3;

theorem
  Base_FinSeq(3,1) = <e1> & Base_FinSeq(3,2) = <e2> &
  Base_FinSeq(3,3) = <e3> by MATRIXR2:77,EUCLID_8:def 1,EUCLID_8:def 2,
                             EUCLID_8:def 3;

theorem Th51:
  for pr being FinSequence of D st len pr = 3 holds
  Col(<*pr*>,1) = <* pr.1 *> &
  Col(<*pr*>,2) = <* pr.2 *> & Col(<*pr*>,3) = <* java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 6
  proof
    let pr be FinSequence of D;
    assume len pr = 3;
    then
A2: Indices <*pr*> = [:Seg 1,Seg 3:] by MATRIX_0:23;
    consider p be FinSequence of D such that
A3: p = <*pr*>.1 and
A4: (<*pr*>)*(1,1) = p.1 by A2,Th3,MATRIX_0:def 5;
A5: len Col(<*pr*>,1) = len <*pr*> by MATRIX_0:def 8;
A6: len <*pr*> = 1 by FINSEQ_1:39;
    then
A7: dom <*pr*> = Seg 1 by FINSEQ_1:def 3;
    then Col(<*pr*>,1).1 = <*pr*>*(1,1) by FINSEQ_1:1,MATRIX_0:def 8
                        .= pr.1 by A4,A3;
    hence Col(<*pr*>,1) = <* pr.1 *>  by A6,A5,FINSEQ_1:40;
    consider p be FinSequence of D such that
A8: p = <*pr*>.1 and
A9: (<*pr*>)*(1,2) = p.2 by A2,Th3,MATRIX_0:def 5;
A10: len Col(<*pr*>,2) = len <*pr*> by MATRIX_0:def 8;
    Col(<*pr*>,2).1 = <*pr*>*(1,2) by A7,FINSEQ_1:1,MATRIX_0:def 8
                   .= pr.2 by A9,A8;
    hence Col(<*pr*>,2) = <* pr.2 *>  by A6,A10,FINSEQ_1:40;
    consider p be FinSequence of D such that
A11: p = <*pr*>.1 and
A12: (<*pr*>)*(1,3) = p.3 by A2,Th3,MATRIX_0:def 5;
A13: len Col(<*pr*>,3) = len <*pr*> by MATRIX_0:def 8;
    Col(<*pr*>,3).1 = <*pr*>*(1,3) by A7,FINSEQ_1:1,MATRIX_0:def 8
                   .= pr.3 by A12,A11;
    hence Col(<*pr*>,3) = <* pr.3 *>  by A6,A13
  end;

theorem Th52:
  Col(<*<e1>*>,1) = <* 1 *> &
  Col(    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36
  Col(<*<e1>*>,3) = <* 0 *>
  proof
:len <1 = 3by :def7java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    <e1>.1 = 1 & <e1>.2 = 0 & <e1>.3 =  coherence
    hence thesis by A1,Th51;
  end;

theorem Th53:
  Col(<*<e2>*>,1) = <* 0 *> &
  Col(<*<e2>*>,2) = <* 1 *> &
  Col(<*<e2>*>,3) = <* 0 *>
  proof
A1: len <e2> = 3 by CARD_1:def 7;
    <e2>.1 = 0 & <e2>.2 = 1 & <e2>.3 = 0 by EUCLID_8:def 2;
    hence thesis by A1,Th51;
  end;

theorem Th54:
  Col(<*<e3>*>,1) = <* 0 *> &
  Col(<*<e3>*>,2) = <* 0 *> &
  Col(<*<e3>*>,3) = <* 1 *>
  proof
A1: len <e3> = 3 by CARD_1:def 7;
    <e3>.1 = 0 & <e3>.2 = 0 & <e3>.3 = 1 by EUCLID_8:def 3;
      Th51
  end;

theorem Th55:
  Col(1.(F_Real,3),1) = <* 1,0,0 *> &
  Col(1.(F_Real,3),2) = <* 0,1,0 *> &
  Col(1.(F_Real,3),3) = <* 0,0,1 *>
  proof
A1: 1.(A5:    rng pc= 1tuples_on by def;
                .= 1_Rmatrix(3) by MATRIXR2:def 2;
A2: [1,1] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
 &2 inSeg 3&3 inSeg3  :1;
    then 1 in dom 1_Rmatrix(3) by Th13; then
A4: Col(1_Rmatrix(3),1).1 = 1.(F_Real,3) *(1,1) by A1,MATRIX_0:def 8
                         .= 1.F_Real by A2,MATRIX_1:def 3
                         .= 1 by STRUCT_0:def 7;
A5: [2,1] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
    2 in dom 1_Rmatrix(3) by A3,Th13; then
A6: Col(1_Rmatrix(3),1).2 
                         .= 0.F_Real by A5,MATRIX_1:def 3
                         .= 0 by STRUCT_0:def 6;
7 [1inIndices(1.F_Real,3)) by Th1,MATRIX_0:24;
    3 in dom 1_Rmatrix(3) by A3,Th13; then
A8: Col(1_Rmatrix(3),1).3 = 1.(F_Real,3) *(3,1) by A1,MATRIX_0:def 8
                         .= 0.F_Real by A7,MATRIX_1:def 3
                         .= 0 by STRUCT_0:def 6;
    len Col(1_Rmatrix(3),1) = len 1.(F_Real,3) by A1,MATRIX_0:java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 33
                           .= 3 by MATRIX_0:24;
    hence Col(1.(F_Real,3),1) = <* 1,0,0 *> by A1,A4,A6,A8,FINSEQ_1:45;
A9: [1,2] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
A10: 1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
    then 1 in dom 1Rmatrix(3) by Th13; then
A11: Col(1_Rmatrix(3),2).1 = 1.(F_Real,3) *(1,2) by A1,MATRIX_0:def 8
                         .= 0.F_Real by A9,MATRIX_1:def 3
                         .= 0 by STRUCT_0:def 6;
A12: [2,2] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
    2 in dom 1_Rmatrix(3) by A10,Th13; then
A13: Col(1_Rmatrix(3),2).2 = 1.(F_Real,3) *(2,2) by A1,MATRIX_0:def 8
                         .= 1.F_Real by A12,MATRIX_1:def 3
                         .= 1 by STRUCT_0:def 7;
A14  M2F p is Point  TOPREAL 3
    3 in dom 1_Rmatrix(3) by A10,Th13; then
A15: Col(1_Rmatrix(3),2).3 = 1.(F_Real,3) *(3,2) by A1,MATRIX_0:def 8
                         .= 0.F_Real by A14,MATRIX_1:def 3
                         .   def 6
    Col(1_3,)=len 1.(F_Real,3) byA1,MATRIX_0:ef8
                           .=:rngp c= -java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 48
    hence Col(1.(F_Real,3),2) = <* 0,1,0 *> by A1,A11,A13,A15,FINSEQ_1:45;
A16: [1,3] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
A17: 1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
    then 1 in dom 1_Rmatrix(3) by Th13; then
A18: Col(1_Rmatrix(3),3).1 = 1.(F_Real,3) *(1,3) by A1,MATRIX_0:def 8
                         .= 0.F_Real by A16,MATRIX_1:def 3
                         .= 0 by STRUCT_0:def 6;
A19: [2,3] in Indices(1.(F_Real,3)) by Th1,MATRIX_0:24;
    2 in dom 1_Rmatrix(3) by A17,Th13; then
A20: Col(1_Rmatrix(3),3).2 = 1.(F_Real,3) *(2,3) by A1,MATRIX_0:def 8
                         .= 0.F_Real by A19,MATRIX_1:def 3
                         .= 0 by STRUCT_0:def 6;
A21: [3,3]inIndices1:24java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    3 in dom 1_Rmatrix(3) by A17,Th13; then
A22: Col(1_Rmatrix(3),3).3 = 1.(F_Real,3) *(3,3) by A1,MATRIX_0:def 8
                         .= 1.F_Real by A21,MATRIX_1:def 3
                         .= 1 by STRUCT_0:def 7;
    len 1_matrix()3)=len .F_Real3 A1MATRIX_0:ef8
                           .= 3 by MATRIX_0:24;
    hence Col(1.(F_Real,3),3) = <* 0,0,1 *> by A1,A18,A20,A22      by FINSEQ_2:96;
  end;

theorem Th56:
  Line(1.(F_Real,3),1) = <* 1,0,0 *> &
  A10(.)1=dby;
= < ,, *
  proof
    now
      thus len Line(1.(F_Real,3),1) = width 1.(F_Real,3) by     1-tuples_on REAL = the set of all <*d*> where d is Element of RE =   ofall **whered of
                                   .= 3 by MATRIX_0:23;
[,1  Indices(.F_Real3)A13 . <*byA12
      .3. =d A13;
                                 .= 1 by STRUCT_0:def 7;
      hence Line(1.(F_Real,3),1).1 = 1;
      [1,2] in Indices(1.(F_Real,3)) by MATRIX_0:23,Th1;
      then Line(1.(F_Real,3),1).2 = 0.F_Real by MATRIX_3:8
                                 .= 0 by STRUCT_0:def 6;
1.F_Real3,)2  0java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      [:  p
      then Line(1.(F_Real,3),1).3     henceM(,)=p1 by;

      hence Line(1.(F_Real,3),1).3        =*<a* p1* *a*p2*,<a * p3* >
    end;
    hence Line(1.(      by A2,MATRIX_0A2ef3 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

       ((_eal3)2  width 1.3  java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 74
                                   java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
      21 Indices.F_Real))23,Th1
   (.F_Real3,).  0F_Real by8
                                 . 0 bySTRUCT_0def
      hence Line(1.(F_Real,3),2).1 = 0;
      thenconsider   ElementofREALsuch that
      then Line(1.(F_Real,3),2).2 = 1.F_Real by MATRIX_3    asReal
                                 .= 1 by STRUCT_0:def 7;
      hence Line(1.(F_Real,3),2).2 = 1;
      [2,3] in Indices(1.(reconsider p2 = d2 as Real
       Line(1.(F_Real,3),2).3 = 0.F_Real by MATRIX_3:8
                                 .= 0 by STRUCT_0:def 6;
      hence Line(1.(F_Real,3),2).3 = 0;
    end;
    hence Line(1.(F_Real,3),2) = <* 0,1,0 *> by FINSEQ_1:45;
    now
      thus len Line(1.(F_Real,3),3) = width 1.(F_Real,3) by MATRIX_0:def 7
                                   .= 3 by MATRIX_0:23;
      [3,1] in Indices(1.(F_Real,3)) by MATRIX_0:23,Th1;
      then Line(1.(F_Real,3),3).1 = 0.F_Real by MATRIX_3:8
                                 .=  0 by STRUCT_0:def 6;
      hence Line(1.(F_Real,3),3).1 = 0;
      [3,2] in Indices(1.(F_Real,3)) by MATRIX_0:23,Th1;
      then Line(1.(F_Real,3),3).2 = 0.F_Real by MATRIX_3:8
                                 .= 0 by STRUCT_0:def 6;
      hence Line(1.(F_Real,3),3).2 = 0;
      [3,3] in Indices(1.(F_Real,3)) by MATRIX_0:23,Th1;
      then Line(1.(F_Real,3),3).3 = 1.F_Real by MATRIX_3:7
                                 .= 1 by STRUCT_0:def 7;
      hence Line(1.(F_Real,3),3).3 = 1;
    end;
    hence Line(1.(F_Real,3),3) = <* 0,0,1 *> by FINSEQ_1:45;
  end;

theorem Th57:
  A7: .3=<*d3>;
  <*<e2>*>@ = <* <* 0 *>, <* 1 *> ,  reconsider p3  d3 as Real;
  <*<e3>*>@  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 21
  proof considerbe Elementof REAL such that
    <e1> in REAL 3assume
A1: <e1> in 3-tuples_onA1: len p= 3java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 <*e1>>=1by 39java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     *e1>>={e1}by FINSEQ_1:9java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    then <e1> in rng <*<.  p3. FINSEQ_1:45java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:width*<1>*>  < A2,:defjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                      .= 3 by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 6
A5: width (<*<e1>*>theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                       .= 1 byFINSEQ_1:39;
    now
      thus len (<*<e1>*>@) = 3 by MATRIX_0:def 6,A4; then
A7:   <*<e1>*>@ is Matrix of 3,1,F_Real by A5,MATRIX_0:20;
A8:   1 in Seg 3 by FINSEQ_1:1;
      hence <*<e1>*>@.1 = Line (<*<e1>*>@,1) by A7,MATRIX_0:52
                       q=*<p> <p.* ,<p3* >byA1,DEF1;then
:   2 Seg3 1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      hence <*<e1>*>@.2 = Line (<*<e1>*>@,2) by A7,MATRIX_0:52
                       .= <* 0;
A10:  3 in Seg 3 by FINSEQ_1:1;
      hence <*<1>>. = Line (*<e1>*>,) by ,MATRIX_0:52
                       .= <* 0 *> by A10,A4,MATRIX_0:59,Th52;
    end;
    hence <*<e1>*>@ = <* <* 1 *>, <* 0 *> , <* 0 *> *> by FINSEQ_1:45;
    <e2> in REAL 3; then
A11: <e2> in 3-tuples_on REAL by EUCLID:java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 7
:**    :;
    rng <*<e2>*> = {<e2>} by FINSEQ_1:39;
    then  len<2> = 3 & <e2>.1  0  e>2=1&<.  java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A13bis: width <*<e2>*> = len <e2> by A12,MATRIX_0:def 3
                      .= 3 bybydef3,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
A14:;
                       .=1 by:39;
    now
      thus len (tTh20:
A16:  <*<e2>*>@ is Matrix of 3,1,F_Real by  
A17:  1 in Seg 3 by FINSEQ_1:1;
      hence <*<e2>*>@.1  M*22)=java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
.0*java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 65
A18
      hence <1 in  1by 1
                       .= <* 1 *> by A18,A13bis,MATRIX_0:59,Th53;
A19:  3 in Seg 3 by FINSEQ_1:1;
      hence <*<e2>*>@.3 = Line (<*<e2>*>@,3) by A16,MATRIX_0:52
. *0 * by ,A13bisMATRIX_0:9Th53;
    end;
     *e2*@=< <  > *1* ,<** by45;
    <e3> in REAL 3; then
:<e3 java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A21: len <*<e3>*> =      hence thesis by A3,ENUMSET1:def 1;
    rng *<>> =<}by FINSEQ_1:39java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    then       assume  in {ineM)Line(,)Line(3} 
A23:width<<e3>*>=len e3>by MATRIX_0:def3
                      .= 3 by A20,FINSEQ_2:133;
(*e3*>@ = len<*<e3>*> by A23MATRIX_0:29
                      .= 1 by FINSEQ_1:39;
    now
      thus
>*>@ = 3 by MATRIX_0:def 6,A23
A26    **`1,`,`*,*`1q,`*><r`r2r3>>implies
A27:  1 in Seg 3 by FINSEQ_1:1;
      hence <*<e3>*>@.1 = Line (<*<e3>*>@,1) by A26,MATRIX_0:52
                       .< 0 > A27A23MATRIX_0:59,Th54;
A28:  inSeg  by :;
      hence <*<e3>*>@.2 = Line (<*<e3>*>@,2) by A26,     (,)=<p1p`2p3>&Line(,  *`,`23>&
                       .= <* 0 *> by A28,A23,MATRIX_0:59,Th54  end
A29:  Seg 3 FINSEQ_1:;
      hence <*<e3>*>@.3 = Line (<*<e3>*>@,3) by A26,MATRIX_0:52
                       .=   
    end;
    hence <*<e3>*>@ =       Seg width M A1,:24java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

  end;

reserve pf for FinSequence of D;

theoremx in{ by FINSEQ_1 3FINSEQ_12;then
  for pf being FinSequence of D holds
  k in dom pf implies <*pf*>*(1,k) = pf.k
  proof
    let pf be FinSequence of D;
    assume
A1 k in pf
A2: Indices <*pf*> = [:Seg 1,Seg len pf:] by MATRIX_0:23
                  .= [:{1}, dom pf:] by FINSEQ_1:2,FINSEQ_1:def 3;
    1 in {1} by TARSKI:def 1;
    then [1,k] in Indices <*pf*> by A1,A2,ZFMISC_1:87;
    then ex q be FinSequence of D st q = <*pf*>.1 &
      <*pf*>*(1,k) = q.k by MATRIX_0:def 5;
    hence thesis;
  end;

theorem Th59:
  k in dom pf implies Col(<*pf*>,k) = <*pf.k*>
  proof
    assume
A1: k in dom pf;
A2: len Col(<*pf*>,k) = len <*pf*> & for j be Nat st j in dom <*pf*> holds
      Col(<*pf*>,k).j = <*pf*>*(j,k) by MATRIX_0:def 8; then
A3: len Col(<*pf*>,k) = 1 by FINSEQ_1:39; then
A4: dom Col(<*pf*>,k) = {1} by FINSEQ_1:def 3,FINSEQ_1:2;
    (Col(<*pf*>,k)).1 = <*pf*>*(1,k) by FINSEQ_5:6,A2;
    then rng Col(<*pf*>,k) = {<*pf*>*(1,k)} by A4,FUNCT_1:4;
    then rng Col(<*pf*>,k) = {pf.k} by A1,Th58;
    hence thesis by A3,FINSEQ_1:39;
  end;

theorem
  for pr being Element of REAL 3 st
  pf = pr holds MXR2MXF ColVec2Mx pr = <*pf*>@
  proof
    let pr being Element of REAL 3;
    assume
A1: pf = pr;
    set M1 = MXR2MXF ColVec2Mx pr, M2 = ColVec2Mx pr;
A2: M1 = ColVec2Mx pr by MATRIXR1:def 1;
    pr in REAL 3; then
A3: pr in 3-tuples_on REAL by EUCLID:def 1; then
A4: len pr = 3 by FINSEQ_2:133;
A5: len M2 = len pr & width M2 = 1 & for j be Nat st j in dom pr holds
      M2.j = <*pr.j*> by A4,MATRIXR1:def 9;
    now
A6:   width <*pf*> = len pr by A1,MATRIX_0:23;
      hence len M2 = len (<*pf*>@) by A5,MATRIX_0:def 6;
      thus for k be Nat st 1 <= k & k <= len M2 holds M2.k = (<*pf*>@).k
      proof
        let k be Nat;
        assume that
A7:     1 <= k and
A8:     k <= len M2;
A9:     k in Seg len pr by A5,A7,A8,FINSEQ_1:1; then
A10:    k in dom pr by FINSEQ_1:def 3;
A11:    len <*pf*> = 1 by MATRIX_0:23;
A12:    width <*pf*> = 3 by A6,A3,FINSEQ_2:133;
        Seg len (<*pf*>@) = Seg len pr by A6,MATRIX_0:def 6;
        then dom (<*pf*>@) = Seg len pr by FINSEQ_1:def 3
                          .= dom pr
          by FINSEQ_1:def 3; then
A13:    k in dom (<*pf*>@) by A9,FINSEQ_1:def 3; then
A14:    (<*pf*>@).k = Line(<*pf*>@,k) by MATRIX_0:60
                   .= Col(<*pf*>@@,k) by A13,MATRIX_0:58
                   .= Col(<*pf*>,k) by A12,A11,MATRIX_0:57
                   .= <*pf.k*> by A10,A1,Th59;
        k in dom pr by A9,FINSEQ_1:def 3;
        hence thesis by A4,MATRIXR1:def 9,A1,A14;
      end;
    end;
    hence thesis by A2,FINSEQ_1:def 18;
  end;

reserve PQR for Matrix of 3,F_Real;

theorem Th60:
  PQR = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*> implies
  Line(PQR,1) = p & Line(PQR,2) = q & Line(PQR,3) = r
  proof
    assume
A1: PQR = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>;
    1java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    hence Line(PQR,1) = PQR.1 by MATRIX_0:52
                     .= <*p`1,p`2,heorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                     .= p by EUCLID_5:3;
    2 in Seg 3 by FINSEQ_1:1;
    hence Line(PQR,) = PQR2by  
                     .=      be inSeg3and
:3;
    3 in Seg 3 by FINSEQ_1:1;
    hence Line(PQR,3) = PQR.3 by MATRIX_0:52
                     .= <*r`1,r`2,r`3*> by A1
                     .= r byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


: q>=| q2 *r3  q3  `2 , (q`3 * `1 -(`11  3 java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
1r`,`*> 
  Col      (`  3) `*(1*r`)-(`  r`) A130
`3,3>
  proof
    assume
A1: PQR = <*<*p`1,p`2,p`proof
    len PQR = 3 by MATRIX_0:24; then
A2: dom PQR = Seg 3 by FINSEQ_1:def 3;
A3: PQR = <* <* PQR*(1,1), PQR*(1,2),       `  s3 *t`  ps1* t`2by;
             <* PQR*(21), PQR*(2,2), PQR*(3 *>,
             < PQR*(3,1),PQR(3,2), PQR*(,) *> *>by MATRIXR2:7
    then< PQR*(1,1),PQR(1,2), PQR*(1,3)> 
A4: <* PQR*(1,1), PQR*(1,2), PQR*(1,3) *> = <*p`1,p`2,p`3*> by A1;
    PQR.2 = <* PQR*(2,1), PQR*(2,2), PQR*(2,3) *> by A3; then
A5: <* PQR*(2,1), PQR*(2,2), PQR*(2,3) *> = <*q`1,q`2,q`3*>
      by A1;
    PQR.3 = <* PQR*(3,1), PQR*(3,2), PQR*(3,3) *> by A3; then
A6: <* PQR*(3,1), PQR*(3,2), PQR*(3,3) *> = <*r`1,r`2,r`3*>
      by A1;
    now
      thus len Col(PQR,1) = len PQR by MATRIX_0:def 8
                         .= 3 by MATRIX_0:24;
      thus len Col(PQR,2) = len PQR by MATRIX_0:def 8
                         .= 3 by MATRIX_0:24;
      thus len Col(PQR,3) = len PQR by MATRIX_0:def 8
                         .= 3 by MATRIX_0:24;
      thus Col(PQR,1).1 = PQR*(1,1) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= p`1 by A4,FINSEQ_1:78;
      thus Col(PQR,1).2 = PQR*(2,1) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= q`1 by A5,FINSEQ_1:78;
      thus Col(PQR,1).3 = PQR*(3,1) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= r`1 by A6,FINSEQ_1:78;
      thus Col(PQR,2).1 = PQR*(1,2) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= p`2 by A4,FINSEQ_1:78;
      thus Col(PQR,2).2 = PQR*(2,2) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= q`2 by A5,FINSEQ_1:78;
      thus Col(PQR,2).3 = PQR*(3,2) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= r`2 by A6,FINSEQ_1:78;
      thus Col(PQR,3).1 = PQR*(1,3) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= p`3 by A4,FINSEQ_1:78;
      thus Col(PQR,3).2 = PQR*(2,3) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= q`3 by A5,FINSEQ_1:78;
      thus Col(PQR,3).3 = PQR*(3,3) by A2,MATRIX_0:def 8,FINSEQ_1:1
                       .= r`3 by A6,FINSEQ_1:78;
    end;
    hence thesis by FINSEQ_1:45;
  end;

theorem Th61:
  width <*pf*> = len pf
  proof
:len *pf>=1 by :39;
    rng <*pf*> = {pf} by FINSEQ_1:39;
    pf rng<pf*  TARSKId 1;
    hence thesis by A1,MATRIX_0:def 3;
end;

theorem :
  len pf = 3 implies Line(<*pf*>@,1) = <* pf.1 *> &
  Line(<*pf*>@,2) = <* pf.2 *> & Line(<*pf*>@,3) = <* pf.3 *>
  proof
    assume
A1: len pf = 3;
A3: width <*pf*> = 3 by A1,| q,, }  `1*2*r` -q3*p2r1-q`1*`3*`2+q`2*3r`1-
    1 in Seg width <*pf*> by A3 end;
    hence Line(<*pf*>@,1) = Col(<*pf*>,1) by MATRIX_0:59
                         .= <* java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 13
2inwidthpf*byA3,1;
henceLine(*f>@)=Col(<>2 MATRIX_059
. *pf2* A1,;
    3 in Seg width <*pf*> by A3,FINSEQ_1:1;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 56
                         .= <* pf.3 *> by A1                     .a  p`1*q`  r3-a* p`*`2r` 
  end;

theorem Th63:
  len pf = 3 implies <*pf*>@ = <* <* pf.1 *>, <* pf.2 *>, <* pf.3 *> *>
  proof
    assume
A1: len pf = 3;
A2: len <*pf*> = 1 by FINSEQ_1:39;
    rng <*pf*> = {pf} by FINSEQ_1:39;
    then pf in rng <*pf*> by TARSKI:def 1; then
A3: width <*pf*> = 3 by A1,A2,MATRIX_0:def 3; then
A4: width (<*pf*>@) = len <*pf*> by MATRIX_0:29
                   .=1 by FINSEQ_1:39;
    now
      thus len (<*pf*>@) = 3 by MATRIX_0:def 6,A3; then
A5:   <*pf*>@ is Matrix of 3,1,D by A4,MATRIX_0:20;
      1 in Seg    Sum(,)) t addF K $mlt(,)by FVSUM_1:def 8
:52
                     . *pf. *by A1,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
2inSeg3byFINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      hence <*pf*>@.    assume
      .=< pf.2*> by A1,Th62;
      3 in Seg 3 byFINSEQ_11;
      hence **@3=Line(*pf*>@3  M:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                    .= <* pf.3 *> by A1,Th62;
    end;
    hence <*pf*>@ = <* <* pf.1 *>, < pf *, < pf.3 * >byFINSEQ_1:;
end;

definition                        . 3by :23;
  let D;
 be  D

A1  p ;
  func F2M p -> FinSequence of 1-tuples_on D equals
:DEF1:
  *<p.1*,<p.2>*;
 
  proof
A0: rng p c= D by FINSEQ_1:def 4;
.2*  1-  java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
*.* 1tuples_on D
proof
A3:   dom p = Seg 3 by A1,FINSEQ_1:def 3;
      then p.1 in rng p by FUNCT_1:3,        (Line(M * N,1)).1 = (M * N)*(1,1) by MATM *N1)1=(  N)(,1)  MATRIX_0def7
hence<p1>in 1- D by A0,FINSEQ_298
      p.2             . 3 byMATRIX_0:3;
  byA0,FINSEQ_2:8;
      p.3 in rng p by A3,FINSEQ_1:1,FUNCT_1:3;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       *,)(,)M23 >"* *z,java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 54
A4: rng (       java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
        *1*,< . *,*p3* }FINSEQ_2128;
 *p.1>,*p2><p3*> }c 1tuples_on D  ,NUMSET1: ;
    hence thesis by A4,FINSEQ_1:def 4;
  end;
end;

theoremTh64
  for p being FinSequence of REAL st len p = 3 holds len F2M pA19  (3 * (,1  0by A1,h4A18;
  
    let p being FinSequence of REAL;
    .=0byA20,2A3,ATRIX_3def 4,A19;
     p=*<p.1> *p2> <p.>*>by ;
    hence thesis by FINSEQ_1:45;
  end;

theorem
forpbeing  of REAL stlen    
  is- of 
  roof,,are_LinDep by ANPROJ_1:ef 2;
let FinSequence of REAL;
    assume len p = 3;
    then p = <* p.1,p.2,p.3 *> by FINSEQ_1:45;
    thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;

theorem Th65:
  for p being FinSequence of REAL st p = |[0,0,0]| holds
  F2M p = <* <* 0 *>, <* 0 *>, <* 0 *> *>
  proof
    let p being FinSequence of REAL;
    assume p = |[0,0,0]|;
    then len p = 3 & p.1 = 0 & p.2 = 0 & p.3 = 0 by FINSEQ_1:45;
    hence thesis by DEF1;p*>);
  end;

theorem
  len pf = 3 implies
  * (pf*,1, Col(*pf>2),<>,)*  java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
  proof
    assume
A0: len pf = 3;
    then Col(<*pf*>,1) = <* pf.1 *> & Col(<*pf*>,2) = <* pf.2 *> &
    Col(<*pf*>,3) = <* pf.3 *> by Th51;
    hence thesis by A0,DEF1;
   end;

definition
   let D;
   let p be FinSequence of 1-tuples_on D;
   assume
A1: len p = 3;
A13    exs0 FinSequence st s0  pf&lens0=n0 A12,A5;
   *(.).*;
   coherence
   proof
     rng <* (p.1).1, (p.2).1, (p.3).1 *> c= D
     proof
       let x be object;
       assume x in rng <* (p.1).1, (p.2).1, (p.3).1 *>;
  end;
A2:    x = (p.1).1 or x = (p.2).1 or x = (p.3).1 by ENUMSET1:def 1;
A3:    dom  hence thesis by MATRIX_0:def 2;
A4:    p.1 in rng p by FINSEQ_1:1,FUNCT_1:3;
A5:    rng p c= 1-tuples_on D by FINSEQ_1:def 4;
A0:    1-tuples_on D = the set of all <*d*> where d is Element of D
         by FINSEQ_2:96;
       then p.1 in the set of all <*d*> where d is Element of D by A4,A5;
       then consider d be Element of D such that
A6:    p.1 = <*d*>;
A7:    (p.1).1 = d by A6;
       p.2 in rng p by A3,FINSEQ_1:1,FUNCT_1:3;
       then p.2 in the set of all <*d*> where d is Element of D by A0,A5;
       then consider d be Element of D such that
A10:   p.2 = <*d*>;
A11:   (p.2).1 = d by A10;
A12:   p.3 in rng p by A3,FINSEQ_1:1,FUNCT_1:3;
       p.3 in 1-tuples_on D by A5,A12;
       then consider d be Element of D such that
A14:   p.3 = <*d*> by A0;
       (p.3).1 = d by A14;
       hence thesis by A2,A7,A11;
     end;
     hence thesis by FINSEQ_1:def 4;
   end;
end;

theorem Th66:
  for p being FinSequence of 1-tuples_on REAL st len p = 3 holds
  M2F p is Point of TOP-REAL 3
  proof
    let p being FinSequence of 1-tuples_on REAL;
    assume
A1: len p = 3;
A2: dom p = Seg 3 by A1,FINSEQ_1:def 3; then
A3: p.1 in rng p by FINSEQ_1:1,FUNCT_1:3;
A4: rng p c= 1-tuples_on REAL by FINSEQ_1:def 4;
    1tuples_on REAL = the set of all<*d* where is Element of REAL
      by FINSEQ_2:96;
    then p.1 in the set of all <*d*> where d is Element of REAL by A3,A4;
    then consider d be Element of REAL such that
A5: p.1 = <*d*>;
A6: (p.1).1 = d by A5;
A7: p.2 in rng p by A2,FINSEQ_1:1,FUNCT_1:3;
    1-tuples_on REAL = the set of all <*d*> where d is Element of REAL
by :96
    then p.2 in the set of all <*d*> where d is Element of REAL by A7,A4;
    then consider d be Element of REAL such that
A9: p.2 = <*d*>;
A10: (p.2).1 = d by A9;
A11: p.3 in rng p by A2,                      .= a * |,, |by Th23
    rng p ctheorem
 p3 1-REAL byA11
    1tuples_on REAL= the set of allElement of REAL
      by FINSEQ_2:96;
    then consider d be Element of REAL such that
A13: p.3 = <*d*> by A12;
A14: (p.3).1= dby ;
    M2F p   end;
    then M2F p in 3-tuples_on REAL by A6| p ,*r|=   |,q r |
    then M2F p in REAL 3 by EUCLID:def 1;
    hence thesis by EUCLID                     .=- (a*( |p,q,r}|) by Th24;
  end;

definitionproof
  let pbe FinSequence of 1-tuples_on REAL;
  let a be Real;
  assume
A1 lenp  ;
  funca*p- FinSequence of 1-tuples_on REAL means
:DEF3:
  ex p1,p2,p3 be Real st p1 = (p.1).1 & p2 = (p.2).1 & p3)  *(2*r3 -(`3*r`)`1 -
   *<*a  > <    >  *a* * *;
  existence
  proof
    dom p = Seg 3 by A1,FINSEQ_1:def 3; then
A2: p.1 in rng p & p.2 in rng p & p.3 in rng p by FINSEQ_1:1,         = p1*q2* -**1 -p1*q3*r2
A3: rng p c= 1-tuples_on REAL     hence byA4,:def 5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A4: 1-tuples_on REAL = theproof
      by FINSEQ_2:96;
     p1inthe of <d> wheredisElement of  by ,A3
    then consider d1  ofREAL such that
 .  *>;
reconsider p1 = d1 as Real;
    p.2 in the set of all <*d*      (1* `)+p3(1  r2  (`  `) byA3,java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 73
    then consider d2 be Element of REAL such that
A6: p.2 = <*d2*>;
    reconsider p2 = d2 as Real;
    p.3 in the set of all <*d*> where d is java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 24
    java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
A7: p. forM being Matrix of k,_Real holds
    reconsider p3proof
    now
      take p1,p2,p3;
      thus p1hence byA1A,XREAL_0:;
        by A5,A6,A7;
A8:   <*a * p1*> in 1-tuples_on REAL & <*a * p2*> in 1-tuples_on REAL &
      <*a * p3*> in 1-tuples_on REAL
      proof
        a * p1 in REAL by XREAL_0:def 1;
        hence <* (a * p1) *> in 1-tuples_on REAL by FINSEQ_2:98;
        a * p2 in REAL by XREAL_0:def 1;
        hence <* (a * p2) *> in 1-tuples_on REAL by FINSEQ_2:98;
        a * p3 in REAL by XREAL_0:def 1;
        hence <* (a * p3) *> in 1-tuples_on REAL by FINSEQ_2:98;
      end;
A9:   rng ( <* <*a * p1*>, <* a * p2*> , <*a * p3*> *> )
        = { <* a * p1 *>, <* a * p2 *>, <* a * p3 *> } by FINSEQ_2:128;
      { <*a * p1*>,<*a * p2*>,<*a * p3*> } c= 1-tuples_on REAL
      by A8,ENUMSET1:def 1;
      hence <* <* a * p1 *>, <* a * p2 *> , <* a * p3 *> *> is
        FinSequence of 1-tuples_on REAL by A9,FINSEQ_1:def 4;
    end;
    hence thesis;
  end;
  uniqueness;
end;

theorem Th67:
  for p being FinSequence of 1-tuples_on REAL st
  len p = 3 holds M2F (a * p) = a * (M2F p)
  proof
    let p be FinSequence of 1-tuples_on REAL;
    assume
A1: len p = 3;
    then consider p1,    pf be FinSequence  R
A2: p1 = (p.1).1 & p2 = (p.2).1 & p3 = (p.3).1 and
A3: a * p = <* <* a * p1 *>, <* a * p2 *> , <* a * p3 *> *> by DEF3;
     )=<a** &(a *p) ** >java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      (a * p).3 = <* a * p3 *> by A3; then
A4: ((a * p).1).1 = a * p1 & ((a * p).2).1 = a * p2 &
      ((a * p).3).1 = a * p3;
    len (a * p) = 3 by A3,FINSEQ_1:45; then
A5: M2F (a * p) = |[ a * p1, a * p2, a * p3 ]| by A4,DEF2;
    reconsider q = M2F p as FinSequence of F_Real;
    M2F p = |[ p1,p2,p3 ]| by A1,A2,DEF2;
    hence thesis A5,EUCLID_8:59;
  end;

theorem Th68:
  for p being FinSequence oftheorem
  <* <*(p.1).1*>, <*(p.2).1*> , <*(p.3).1*> *> = p
  proof
     p of1tuples_onREAL;
    assume
A1: len p = 3;
    then dom p = Seg 3 by FINSEQ_1:def 3; then
A2: p.1 in rng p & p  proof
A3: rng p c= 1-tuples_on REAL by FINSEQ_1:def 4;
A4: 1-tuples_on REAL = the set of all <*d*> where d is Element of REAL
INSEQ_2:6;
    then p.1 in the set of all <*d*> where d is Element of REAL by A2,A3;
    then consider d1 be Element of REAL such that
A5: p.1 = <*d1*>;
    p.2 in the set of all <*d*> where d is Element of REAL by A2,A3,A4;
    then consider d2 be Element of REAL such that
A7: p.2 = <*d2*>;
    p.3 in the set of all <*d*> where d is Element of REAL by A2,A3,A4;
    then consider d3 be Element of REAL such that
A9: p.3 = <*d3*>;
    thus thesis by A5,A7,A9,A1,FINSEQ_1:45;
  end;

theorem Th69:
  for p being FinSequence of 1-tuples_on REAL st len p = 3 holds
  F2M M2F p = p
  proof
    letp FinSequence of 1- java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
         pr =,r= REAL3by22
A1: len p = 3;
    set q = M2F p;
    q = <* (p.1).1, (p.2).1, (p.3).1 *> by A1,DEF2;
    then len q = 3 & q.1 = (p.1).1 & q.2 = (p.2).1 &
      q.3 = (p.3).1 by FINSEQ_1:45;
    then F2M q = <* <*(p.1).1*>, <*(p.2).1*> , <*(p.3).1*> *> by DEF1;
    hence thesis by A1,Th68;
  end;

theorem Th70:
  for p being FinSequence of REAL st len p = 3 holds M2F F2M p = p
  proof
    let p be FinSequence of REAL;
    assume
A1: len p = 3;
    set q = F2M p;
    q = <* <*p.1*>, <*p.2*> , <*p.3*> *> by A1,DEF1; then
A2: len q = 3 & q.1 = <*p.1*> & q.2 = <*p.2*> & q.3 = <*p.3*> by FINSEQ_1:45;
    then (q.1).1 = p.1 & (q.2).1 = p.2 & (q.3).1 = p.3; then
    M2F q = <*p.1,p.2,p.3*> by A2,DEF2
         .= p by A1,FINSEQ_1:45;
    hence thesis;
  end;

theorem
  <*<e1>*>@ = F2M <e1> & <*<e2>*>@ = F2M <e2> & <*<e3>*>@ = F2M <e3>
  proof
    len <e1> = 3 & <e1>.1 = 1 & <e1>.2 = 0 & <e1>.3 = 0
      by EUCLID_8:def 1,FINSEQ_1:45;
    hence <*<e1>*>@ = F2M <e1> by DEF1,Th57;
    len <e2> = 3 & <e2>.1 = 0 & <e2>.2 = 1 & <e2>.3 = 0
      by EUCLID_8:def 2,FINSEQ_1:45;
    hence <*<e2>*>@ = F2M <e2> by DEF1,Th57;
    len <e3> = 3 & <e3>.1 = 0 & <e3>.2 = 0 & <e3>.3 = 1
      by EUCLID_8:def 3,FINSEQ_1:45;
    hence <*<e3>*>@ = F2M <e3> by DEF1,Th57;
  end;

theorem
  for p being FinSequence of D st len p = 3 holds
  <*p*>@ = F2M p
  proof
    let p be FinSequence of D;
    assume
A1: len     |p,, |= PQRby 
    then <*p*>@ = <* <* p.1 *>, <* p.2 *> , <* p.3 *> *> by Th63;
    hence thesis by A1,DEF1;
  end;

theorem Th72:
  Line(<*pf*>,1) = pf
  proof
    1 in Seg 1 by FINSEQ_1:1;
    then Line(<*pf*>,1) = ( <*pf*> ).1 by MATRIX_0:52;
    hence thesis;
  end;

theorem Th73:
  for M being Matrix of 3,1,D holds Line(M,1) = <* M*(1,1) *> &
  Line(M,2) = <* M*(2,1) *> & Line(M,3) = <* M*(3,1) *>
  proof
    let M be Matrix of 3 M without_repeated_line MATRIX13121java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A1: len;
    now
A2:   len Line(M,1) = width M       the ZeroF of TOP-REAL m, MultF_Real*(TOP-REAL m) #) by DUALSP01:def 2;
                   .= 1 by MATRIX_0:23;
      dom <* M*(1,1) *> = Seg 1 by FINSEQ_1:def 8;
      hence dom Line(M,1) = dom <* M*(1,1) *> by A2,FINSEQ_1:def 3;
      thus for x be object st x in dom Line(M,1) holds
        (Line(M,1)).x = ( <* M*(1,1) *>).x
      proof
        let x be object;
        assume x in dom Line(M,1);
        then x in {1} by A2,FINSEQ_1:def 3,FINSEQ_1:2; then
A3:     x = 1 by TARSKI:def 1;
        (Line(M,1)).1 = M*(1,1) by A1,FINSEQ_1:1,MATRIX_0:def 7
                     .= ( <* M*(1,1) *>).1;
        hence thesis by A3;
      end;
    end;
    hence Line(M,1) = <* M*(1,1) *> by FUNCT_1:def 11;
    now
A4:   len Line(M,2) = width M by MATRIX_0:def 7
                   .= 1 by MATRIX_0:23;
      dom <* M*(2,1) *> = Seg 1 by FINSEQ_1:def 8;
      hence dom Line(M,2) = dom <* M*(2,1) *> by A4,FINSEQ_1:def 3;
      thus for x be object st x in dom Line(M,2) holds
        (Line(M,2)).x = ( <* M*(2,1) *>).x
      proof
        let x be object;
        assume x in dom Line(M,2);
        then x in {1} by A4,FINSEQ_1:def 3,FINSEQ_1:2; then
A5:     x = 1 by TARSKI:def 1;
        (Line(M,2)).1 = M*(2,1) by A1,FINSEQ_1:1,MATRIX_0:def 7
                     .= ( <* M*(2,1) *>).1;
        hence thesis by A5;
      end;
    end;
    hence Line(M,2) = <* M*(2,1) *> by FUNCT_1:def 11;
    A10:pr  3&  3java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54
   Line(,)=width M  : 7
                   .= 1 by MATRIX_0:23;
      dom <* M*(3,1) *> = Seg 1 by FINSEQ_1:def 8;
      hence dom Line(M,3) = dom <* M*(3,1) *> by A6,FINSEQ_1:def 3;
      thus for x be object st x in dom Line(M,3) holds
        (Line(M,3)).x = ( <* M*(3,1) *>).x
      proof
        xbe ;
        assume x in dom Line(M,3);
        then x in {1} by A6,FINSEQ_1:def 3,FINSEQ_1:2; then
A7:     x = 1 by TARSKI:def 1;
        (Line(M,3)).1 = M*(3,1) by A1,FINSEQ_1:1,MATRIX_0:def 7
(,1) *)1;
        hence thesis by A7;
      end;
    end;
    hence Line(M,3) = <* M*(3,1) *> by FUNCT_1:def 11;
  end

reserve R for Ring;

theorem Th74    end;
  ;
  for p  is   & isnot zero &wis  zero& ex a,,cst
  N * (<*p*>@) is (3,1)-sizeA19:width N =3byMATRIX_0:
  proof
let  
    let p be FinSequence of R; ,,rare_collinearANPROJ_223
    assume
A1: len p = 3;
    then
A2: width <*p*> = 3 by MATRIX_0:23; then
A3: width N = width (<*p*>) by MATRIX_0:24
           .= len (<*p*>@) by MATRIX_0:def 6;
    now
      len (N * (<*p*>@)) = len N by A3,MATRIX_3:def 4;
      hence
A4:   len (N * <*p*>@) = 3 by MATRIX_0:24;
      thus for pf be FinSequence of R st pf in rng (N * <*p*>@) holds
       len pf = 1
      proof
        let pf be FinSequence of R;
        assume
A5:     pf in rng (N * <*p*>@);
A6:     len <*p*> = 1 by MATRIX_0:23;
A7:     width <*p*> = 3 by A1,MATRIX_0:23;
: N (*p>  ,MATRIX_0:24
.=(**@ MATRIX_0 ;

                      .= 1 by A6,A7,MATRIX_0:57;
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43
A10:    s in       reconsiderxr= ,yr=y asElement ofTOPREAL k by java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
A11:    len s = width(N * (<*p*>@)) by A4,MATRIX_0:hence thesis;
        consider      of F_Real, beingof java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 73
A12:    A26:      d (  )ra=a as Real;
s  s d 1;
A13:   s0                                1(3 def java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
        ex s1 be FinSequence      a *(      len =  ;
                     = *(java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 60
    end;
  end;
thesis  :def2
end;

heoremTh75java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for pf being FinSequence of R
  for N being Matrix of 3,R st
  len pf = 3 holds
N*(*pf*@,1  *(  <*@)*11 *&
  Line(N * (<*pf*>@),2) = <* (      RLSp2RVSpTOP-REAL 3,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  Line(N * (<*pf*>@),3) = <* (N * (<*pf        not xin()RLSp2RVSp(-REAL3
  proof
    let pf be FinSequence of R;
    let N be Matrix of 3,R;
    assume len pf = 3;                  Seg 3&1  1 byFINSEQ_1;then
    then N * (<*pf*>@) is Matrix of 3,1,R by Th74;
    hence thesis by Th73;
  end;

theorem Th76:
  Col(<*pf*>@,1) = pf
  proof
    len <*pf*> = 1 by FINSEQ_1:39;
    then
    dom <*pf*> = Seg 1 by FINSEQ_1:def 3;
    then Col(<*pf*>@,1) = Line(<*pf*>,1) by FINSEQ_1:1,MATRIX_0:58;
    hence thesis by Th72;
  end;

theorem
  for pf,qf,rf being *( <pf@
  |{p,q,r}| <> 0 holds ex M being Matrix of 3,F_Real st M is invertible &
  M * pf = F2M <e1> & M * qf = F2M <e2> & M * rf = F2M <e3>
  proof
    let pf,qf,rf be FinSequence of F_Real;
    assume that
A1: p = pf and
A2: q = qf and
A3: r = rf and
A4 |{,r|< 0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    reconsider pr = p,qr = q,rr = r as Element of REAL 3 by EUCLID:22;
    reconsider PQR = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>
      as Matrix of 3,F_Real by Th16;
    len PQR = 3 by
    then
A5: dom PQR = Seg 3 by FINSEQ_1:def 3;
    then
A6: Col(PQR@,1) = Line(PQR,1) by FINSEQ_1:1,MATRIX_0:58
                .= p by Th60;
A7: Col(PQR@,2) = Line(PQR,2) = 3 by MATRIX_0:24;
                .= q by Th60;
A8: Col(PQR@,3) = Line(PQR,3) by A5,FINSEQ_1:1,MATRIX_0:58
                .= r by Th60;
    |{ p,q,r }| = Det PQR by Th29          thus forx objectst indom( *<qf*@) holds
               .= Det (PQR@) by MATRIXR2:43;
          proof
    then Det(PQR@) is non zero;
    then Det(PQR@) is unital;
   PQR  invertible  :34java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 54
A9: N is_reverse_of PQR@ by MATRIX_6:def 3;
    take N;
    thus N is invertible by A9,MATRIX_6:def 3;
    pr in REAL 3 & qr in REAL 3 & rr in REAL 3; then
A10: pr in 3-tuples_on REAL & qr in 3-tuples_on REAL &
       rr in 3-tuples_on REAL by EUCLID:def 1; then
A11: len pr = 3 & len qr = 3 & len rr = 3 by FINSEQ_2:133;
    len (PQR@) = 3 by MATRIX_0:24; then
A12: width N = len (PQR@) by MATRIX_0:24;
A13: dom (N * PQR@) = Seg len (N * PQR@) by FINSEQ_1:def 3
                   .= Seg 3 by MATRIX_0:24;
A14: Indices(N * PQR@) = [: Seg 3,Seg 3:] by MATRIX_0:24;
A15: width <*pf*> = len pf by MATRIX_0:23
                  .= 3 by A10,A1,FINSEQ_2:133;
A16: width <*qf*> = len qf by MATRIX_0:23
                  .= 3 by A10,A2,FINSEQ_2:133;
A17: width <*rf*> = len                         =< (N* PQR@)*(1,)*
2:33;
A18: width N = 3 by MATRIX_0:24
            .= len (<*pf*>@) by MATRIX_0:def 6,A15;
A19: width N = 3 by MATRIX_0:24
            .= len (<*qf*>@) by MATRIX_0:def 6,A16;
A20: width N = 3 by MATRIX_0:24
. <>)byMATRIX_0 6A17
A21: N * pf = N * (<*pf*>@) & N * qf = N * (<*qf*>@) &
       N * rf = N * (<*rf*>@) by LAPLACE:def 9;
A22: len (N * pf) = len (N * (<*pf*>@)) by LAPLACE:def 9
                 .= len N by A18,MATRIX_3:def 4
                 .= 3 by MATRIX_0:24;
A23thesis,;
                 .= len N by A19,MATRIX_3:def 4end;
                 .= 3 by MATRIX_0:24;
A24: len (N * rf) = len (N * (<*rf*>@)) by LAPLACE:def 9
                 .= len N by A20,MATRIX_3:def 4
                 .= 3 by MATRIX_0:24;
    N * (<*pf*>@) is Matrix of 3,1,F_Real &
    N * (<*qf*                         = < N*PQR@)22 *
    N * (<*rf*>@) is Matrix of 3,1,F_Real
    by A1,A2,A3,A10,Th74,FINSEQ_2:133; then
A25: Indices(N * <*pf*>@) = [:Seg 3,Seg 1:] &
      Indices(N * <*qf*>@) = [:Seg 3,Seg 1:] &
IndicesN*<rf>)= :3Seg 1: MATRIX_0:23;
    reconsider CN1 = Col(N * PQR@,1),
                =Col(*PQR@,)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  (NPQR@3 FinSequenceof;
    N * (*pf*>)=F2M <e1>
proof
      N * (<*pf*>:0java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 55
      proof
        now
,:3java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A57:         =3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
                             :=3byjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 39
                             .= 3 by MATRIX_0:24; then
          len  CN1=3  java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
                   A20MATRIX_0:def 8,FINSEQ_1;
          hence dom(N * (<*pf*>@)) = dom F2M CN1 by A21,A22,FINSEQ_1:def  (*j2) by A19byFINSEQ_1:AINSEQ_2AT;
thus x be objectst x  dom(N *(              Line( * (qf>@,3)   Line(,)"Col@2 *
            (N * (<*pf*>@)).x = (F2M CN1).x
          proof
            let x be;
            assume        (Col(M,)).j = *(j,3 by A19,A20, MATRIX_0:def 8;
A28:        x in dom(N * (<*pf*>@));
            then reconsider y = x as Nat;
             inSeg 3by ,A26LAPLACE:def 9;
            then y = 1 or ... or y = 3 by FINSEQ_1:
            thenper cases;
            suppose
A29:          y = 1;
              F2M CN1 = <* <*CN1.1*> ,<*CN1.2*>,<*CN1.3*> *> by A27,DEF1; then
A30:          (F2M CN1).1 = <*CN1.1*>
                         .= <* (N * PQR@)*(1,1) *>
                           by FINSEQ_1:1,A13,MATRIX_0:def 8;
A31:          <* (N * PQR@)*(1,1) *> = <* Line(N,1) "*" Col(PQR@,1) *>
                 by A12,A14,Th1,MATRIX_3:def 4;
A32:          1 in Seg 3 & N * (<*pf*>@) is Matrix of 3,1,F_Real
                by FINSEQ_1:1,A10,A1,Th74,FINSEQ_2:133;
              Line(N * (<*pf*>@),1) = <* Line(N,1) "*" Col(PQR@,1) *>
              proof
                1 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A33:            [1,1] in Indices (N * <*pf*>@) by A25,ZFMISC_1:87;
                Line(N * (<*pf*>@),1) = <* (N * (<*pf*>@))*(1,1) *>
                                        by A11,A1,Th75
                                     .= <* Line(N,1) "*" Col(<*pf*>@,1) *>
                                        by A18,A33,MATRIX_3:def 4;
                hence thesis by A1,A6,Th76;
              end;
              hence thesis by A29,A32,MATRIX_0:52,A31,A30;
            end;
            suppose
A34:          y = 2;
              F2M CN1 = <* <*CN1.1*> ,<*CN1.2*>,<*CN1.3*> *> by A27,DEF1; then
A35:          (F2M CN1).2 = <*CN1.2*>
                         .= <* (N * PQR@)*(2,1) *>
                            by A13,FINSEQ_1:1,MATRIX_0:def 8;
A36:          <* (N * PQR@)*(2,1) *> = <* Line(N,2) "*" Col(PQR@,1) *>
                by A12,MATRIX_3:def 4,A14,Th1;
A37:          1 in Seg 3 & N * (<*pfjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
byjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 55
  <@2  A;
              proof
                  hence thesis;
A38:            [2,1]                 hence thesisA57,MATRIX_0;
                Line(N * (<*pf*>@),2) = <* (N * (<*pf*>@))*(2,1) *>
                                        by A11,A1,Th75
                                     .= <* Line(N,2) "*" Col(<*pf*>@,1) *>
                                        by A18,A38,MATRIX_3:def 4;
                hence thesis by A1,                                      A14,9,A10,ATRIX_057,3;
               hence thesis;
              hence thesis by A34,A37,FINSEQ_1:1,MATRIX_0:52,A36,A35;
            end;
            suppose
A39:          y = 3;
              F2M CN1 = <* <*CN1.1*> ,<*CN1.2*>,<*CN1              q,r
        (F2M .3 =<CN1.*
                         .= <* (N * PQR@)*(3,1) *>
                            by A13,java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 20
A41:          <* (NA3   |q,} = A1Th12;
    A14T,,: 4;
:1in    *<pf>)  ,,F_Real
                by FINSEQ_1cr+a*p +bq=0.TOP-REAL3 by ,LVECT_1:ef 3
              Line(N * (<*pf*>@),3) = <* Line(N,3
              java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
                3 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A43:            [3,1] in Indices (N * <*pf*>@) by A25,ZFMISC_1:87;
                Line(N * (<*pf*>@),3) = <* (N * (<*pf*>@))*(3,1) *>
                                        by A1,A11,Th75
                                     . *Line(,)""Col(<pf*>,)*>
                                        by A18,A43,MATRIX_3:def 4;
                hence thesis by Th76,A1,A6;
              end;
              end;
            
          end;
        end;
        hence  thesis by FUNCT_1:def 11;
      end;
      hence thesis by A9,MATRIX_6:def 2,Th55,EUCLID_8:def 1;
    end;
    hence N * pf = F2M <e1>  by LAPLACE:def 9;
    N * (<*qf*>@) = F2M <e2>

      N * (<*qf*>@) = F2M CN2
      proofassume |q,
        now
A44:      dom (N * qf) = Seg 3 by A23,    hence p,q,r are_LinDep by ANPROJ_1:def,,  by ANPROJ_1:ef 2;
A45:      len Col(N * PQR@,2) = len Col(1.(F_Real,3),2) by A9,MATRIX_6:def 2
                             .= len 1.(F_Real,3) by java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 48
                               |,p<>q) = 0
          then len F2M CN2 =
 : 3
|62      (* @)  M*)*1 java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    object xin( (qf*) 
            (
          proof
            xbeobjectjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
            assume
A46:        x in dom(N * (<*qf*>@));
                  (1*q2)- (p * q`)=|000|3 EUCLID_514 java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
            y in Seg 3 by A46,A44,LAPLACE:def 9;
=  . y   :91java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
            then per cases;
             r`1 =1&r`    r` =  EUCLID_5:;
:y= ;
              F2M CN2 = <* <*CN2.1*> ,<                            `1*`*1+p`q` 1 -
:) *1>
                         .= <* (N * PQR@)*(1,2) *>
                           by     M*(1,3) = r1 & M*(2,3) = r2 & M   Th17
A49:          <* (N * PQRjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                by A12,A14,Th1,    Indices M = [:Seg 3,Seg 3:] by MATRjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
   3  **@ &   b java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 57
by:,,A2Th74FINSEQ_2133;
              Line(N * (<*qf*>@),                by ,MATRIX_023A11Z:;
              proof
                1 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A51:            [1,1] in Indices (N * <*qf*>@) by A25,ZFMISC_1:87;
                Line(N * (<*qf*>@),1) = <* (N * (<*qf*>@))*(1,1) *>
                                        by A11,A2,Th75
                                     .= <* Line(N,1) "*" Col(<*qf*>@,1) *>
                                        by A19,A51,MATRIX_3:def 4;
                hence thesis by A2,A7,Th76;
              end;
              hence thesis by A47,A50,MATRIX_0:52,A49,A48;
            end;
            suppose
A52:          y = 2;
              F2M CN2 = <* <*CN2.1*> ,<*CN2.2*>,<*CN2.3*> *> by A45,DEF1; then
A53:          (F2M CN2).2 = <*CN2.2*>
                         .= <* (N * PQR@)*(2,2) *>
                            by A13,FINSEQ_1:1,MATRIX_0:def 8;
A54:          <* (N * PQR@)*(2,2) *> = <* Line(N,2) "*" Col(PQR@,2) *>
                by A12,MATRIX_3:def 4,A14,Th1;
A55:          2 in Seg 3 & N * (<*qf*>@) is Matrix of 3,1,F_Real
                by FINSEQ_1:1,A10,A2,Th74,FINSEQ_2:133;
              Line(N * (<*qf*>@),2) = <* Line(N,2) "*" Col(PQR@,2) *>
              proof
                2 A77              21 Indices( * <**)by ,:7
A56:[2,]inIndices( *<qf>) ,FMISC_1:;
                Line(N * (<*qf*>@),2) = <* (N * (<*qf*>                  Line(  (rf>)2 = *( *<rf>)*21) *by 
                                         A,
                                     .= <* Line(N,2) "*" Col(<*qf*>@,1) *>
                                        by A19,A56,MATRIX_3:def 4;
                hence thesis by A2,A7,Th76;
              end;
hencebyA52,55,ATRIX_0:2,54A53java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
            end;
            suppose
A57:          y = 3;
              F2M CN2 = <* <*                                *Line(3 ""ColP,)*java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A58:          (F2M CN2).3 = <*CN2.3*>
                         .= <* (N * PQR@)*(3,2) *>
                            by A13,FINSEQ_1:1,MATRIX_0:def 8;
A59:          <* (N * PQR@)*(3,2) *> = <* Line(N,3) "*" Col(PQR@,2) *>
                by A14,Th1,A12,MATRIX_3:def 4;
A60:          3 in Seg 3 & N * (<*qf*>@) is Matrix of 3,1,F_Real
                by FINSEQ_1:1,A10,FINSEQ_2:133,A2,Th74;
              Line(N * (<*qf*>@),3) = <* Line(N,3) "*" Col(PQR@,2) *>
              proof
                3 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A61:            [3,1] in Indices (N * <*qf*>@) by A25,:87java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
Line *(*f*@,3)=< N*(*qf*@))31 >
                                        by A2,A11,Th75
.= * LineN3 * Col(*>,1)*>
                                        by A19,A61,MATRIX_3:def 4;
                hence thesis by Th76,A2,A7;
              end;
              hence thesis by A59,A57,A60,MATRIX_0:52,A58;
            end;
          end;
        end;
        hence  thesis :: Boolean Properties::  by Library Committee:: Received April 08, 2002:: Copyright (c) 2002-2026 Association of Mizar Users
      
hencethesis  A9: 2Th55E: 2;
    end;
    hence N * qf = F2M <e2> by LAPLACE:def 9;
    N * (<*rf*>@) = F2M <e3>
    proof
      N * (<*rf*>@) = F2M CN3
      proof
        now
       (  rf)=Seg 3 byA24,FINSEQ_1def3
A63:      len Col(N * PQR@,3) = len Col(1.(F_Real,3java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
               1()MATRIX_0 java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
                             
lenCN3=3 A63Th64
  domF2M  Seg3by FINSEQ_1:ef;
          hence x in Y by A3,XBOOLE_0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
          java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
        (rf).  (2M)x
\ c  byTh17java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
           xbe
            assume
:xindom( * (**>)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
thenreconsidery   as Nat
            y        end
then    ..or y  3 by :;
            theoremjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
            suppose:x        now
  inX A1XBOOLE_0: 4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
              F2M CN3 = <* <*CN3.1*> ,<*CN3.2*>,<*CN3.3*> *> by A63,DEF1; then
A66:          (F2M CN3).1 = <*CN3.1*>
                         .= <* (N * PQR@)*(1,3) *>
                           by FINSEQ_1:1,A13,MATRIX_0:def 8;
:          *(  @*13)* =*Line(,)""ColPQR@3 *
                by A12,A14,Th1,MATRIX_3:def 4;
A68:          1 in Seg 3 & N * (<*rf*>@) is Matrix of 3,1,F_Real
                by FINSEQ_1:1,A10,A3,Th74,FINSEQ_2:133;
              Line(N * (<*rf*>@),1) = <* Line(N,1) "*" Col(PQR@,3) *>
              proof
                1 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A69:            [1,1] in Indices (N * <*rf*>@) by A25,ZFMISC_1:87;
                Line(N * (<*rf*>@),1) = <* (N * (<*rf*>@))*(1,1) *>
                                        by A11,A3,Th75
                                     .= <* Line(N,1) "*" Col(<*rf*>@,1) *>
                                        by A20,A69,MATRIX_3:def 4;
                hence thesis by A3,A8,Th76;
              end;
              hence thesis by A65,A68,MATRIX_0:52,A67,A66;
            end;
            suppose
A70                            =.2java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
              F2M CN3 = <* <*CN3.1*> ,<*CN3.2*>,<*CN3.3*> *> by A63,DEF1; then
A71:          (F2M CN3).2 = <*CN3.2*>
                         .= <* (N * PQR@)*(2,3) *>
                            by A13,FINSEQ_1:1,MATRIX_0:def 8;
A72:          <* (N * PQR@)*(2,3) *> = <* Line(N,2) "*" Col(PQR@,3) *>
                by A12,MATRIX_3:def 4,A14,Th1;
A73:          1 in Seg                                        = LineM3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
                by FINSEQ_1` A25,CMPLX_189
              Line(N * (<*rf*>@),2) = <* Line(N,2) "*" Col(PQR@,           =|l*q`,  `,  3|by ,A18,A27,X:87
              proof
                
A74:            [2,1] in Indices (N * <*rf*>@) by A25,ZFMISC_1:87;
                Line(N * (<*rf*>@),2) = <* (N * (<*        cases A1,UCLID_5:3EUCLID_5:4java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                                        by A11,          p` *`2=0 by ,A5,EUCLID_5:14;
                                     end;
                                        by ;
                hence thesis by A3,A8,Th76  1
              end;
              hence thesis by A70,A73,FINSEQ_1:1,MATRIX_0:52,A72,A71;
           end;
            suppose
:y ;
              F2M CN3 = <* <*CN3.1*> ,<*CN3.2*>,<*CN3.3*> *> by A63,DEF1; thenend;
A76:          (F2M CN3).3 = <*CN3.3*>
                         .= <* (N         then
             FINSEQ_11MATRIX_0:8
thesis2
              A14,MATRIX_3:def 4
A78:          3   end
byFINSEQ_1:1,A10FINSEQ_2:133,A3,Th74;
              ( * (<rf*@),3) =< java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 69
              
3Seg &  Seg1by FINSEQ_11 
:31] Indices(*<rf*@ A2587;
        (*<rf>@)3)=<*( *(**)*31 >
                                        by A3,A11thenx  (\Y)  x  X\ )byXBOOLE_05java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                     .= <* Line(N,3) "*" Col(<*rf*>@,1) *>
                                       byA79,MATRIX_3:def 4;
                 X={}
      
              hence thesis by A77,A75,A78,MATRIX_0  end;
            end;
          end  end;
        end;
        hence  thesis by FUNCT_1:def 11;
      end;
      hence thesis by A9,MATRIX_6:def 2,Th55,EUCLID_8:def 3;
    end;
    hence N * rf = F2M <e3> by LAPLACE:def 9;
  end;

theorem Th77:
  for pf,qf,rf being FinSequence of F_Real
  for pt,qt,rt being FinSequence of 1-tuples_on REAL
  st PQR = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*> &
  p = pf & q = qf & r = rf &
  pt = M * pf & qt = M * qf & rt = M * rf
  holds (M * java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 37
  proof
    let pf,qf,rf be FinSequence of F_Real;
    let pt,qt,rt be FinSequence of 1-tuples_on REAL;
    assume that
A1: PQR = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*> and
A2: p = pf and
A3: q = qf and
A4: r = rf and
A5: pt = M * pf and
A6: qt = M * qf and
A7: rt = M * rf;
A8: PQR@ = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*> by A1,Th19;
A9: len PQR = 3 by MATRIX_0:24;
A10: width PQR = 3 by MATRIX_0:23;
A11: Indices(M * PQR) = [: Seg 3,Seg 3:] by MATRIX_0:24;
    len (PQR@) = 3 by MATRIX_0:23; then
A12: dom (PQR@) = Seg 3 by FINSEQ_1:def 3; then
A13: Col((PQR@)@,1) = Line(PQR@,1) by FINSEQ_1:1,MATRIX_0:58
                    .= p by A8,Th60;

A14: Col((PQR@)@,2) = Line(PQR@,2) by A12,FINSEQ_1:1,MATRIX_0:58
                    .= q by A8,Th60;

A15: Col((PQR@)@,3) = Line(PQR@,3) by A12,FINSEQ_1:1,MATRIX_0:58
                    .= r by A8,Th60;
    pf in TOP-REAL 3 & qf in TOP-REAL 3 & rf in TOP-REAL 3 by A2,A3,A4; then
A16: pf in REAL 3            .=len(**@ A8,A5,EUCLID_8:50java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A17: len pf = 3 & len qf = 3 & len rf = 3 by EUCLID_8:50;
A18: width M = len (<*pf*>@) & width M = len (<*qf*>@) &
       width M =            . 3 by :23;
    proof
      width <*pf*> = 3 by A17,Th61;
      len (**>@) = width <*pf*> by MATRIX_0:29
                        .= len pf by MATRIX_0:23;
      then len (<*pf*>@) = 3 by A16,EUCLID_8:50;
      hence width M = len (<*pf*>@) by MATRIX_0:23;
      width <*qf*> = 3 by A17,Th61;
      then len (<*qf*>@) = width <*qf*> by MATRIX_0:29
                        .(M1=* A9,18,Mjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      then len (<*qf*       (Col*@) =< *0*,<*0 *, < 0* *>by LAPLACE:def9,A3,A16;
      hence width M = len (<*qf*>@) by MATRIX_0:23;
      **   A17,;
      then len (<*rf*>@) = width <*rf*> by MATRIX_0:29
                        .= len rf by MATRIX_0:23;
      then len (<*rf*>@) = 3 by A16,EUCLID_8:50;
      hence width M = len (<*rf*>@) by MATRIX_0:23;
    end;
A19: len pt = 3 & len qt = 3 & len rt = 3
    proof
      width M = len (<* reconsidera1  `1   `2, a3 = x3`3,
thenlen(*pf>)=3byMATRIX_3:ef 4;
      hence len pt = 3 by A5,  
      width M =    assume
      then len (M *    then
      :def;
      width M = len (<*rf*>  end
      len(M * <*rf*>)  3 byMATRIX_3:def 4;
 len rt = 3by ,LAPLACE9;
    end;
setPQRM = *<*pt1pt2pt3><*t.qt,t.*,*.1r2rt.**;
A20: dom   
                 .= Seg 3 by MATRIX_0:24  proofletxbe
A21: width (M * PQR) = 3 by MATRIX_0:23;
A22: len ((M * PQR)@) = 3 by MATRIX_0:23; then
: ( PQR)  3 FINSEQ_1def 3;
 inSeg(  )java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
       3 letxbejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

      len <* M2F pt,M2Fhence thesis  XBOOLE_0:ef 3;
      java.lang.StringIndexOutOfBoundsException: Range [61, 11) out of bounds for length 61
        by A23,FINSEQ_1:def 3;
      java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
        (M * PQR)@.x = <* M2F  end
      proofnot in  by A2def 5;
let x object
        assume>| (`  3 -(`  `),(`  q)-(`  q3 ,
A25:     x in dom ((M * PQR)@);
        then reconsider y = x as Nat;
        y in Seg 3 by A25,A22,FINSEQ_1:def 3;
        y  1 or..or y=3by FINSEQ_1:91;
        ;
        suppose
A26:      y = 1;
A27:      M * <*pf*>@ is Matrix of 3,1,F_Real by A16,EUCLID_8:50,Th74;                         (q`1  q1+q`2 *q2+q`*q`*
A28:      Indices (M * <*pf*>@) =[:Seg 3,Seg 1:] by MATRIX_0:23;

=3 byA19;
            <* (M * PQR)*(1,1) *> = pt.1
            proof
              1 in Seg 3 byFINSEQ_1:1; then
A30:          width M = len PQR & [1,1] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A31:          (M * <*pf*>@).1 = <* Line(M,1) "*" Col(PQR,1) *>
              proof
A32:            1 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*pf*>@),1) = <* Line(M,1) "*" Col(PQR,1) *>
                proof
                  1 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A33:              [1,1] in Indices (M * <*pf*>@) by A28,ZFMISC_1:87;
                  len pf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<*pf*>@),1) = <* (M * (<*pf*>@))*(1,1) *> by Th75
                                       .= <* Line(M,1) "*" Col(<*pf*>@,1) *>
                                         by A18,A33,MATRIX_3:def 4
                                       .= <* Line(M,1) "*" pf *> by Th76
                                       = <* Line((M,1) " Col(PQR,1) *>
                                         by A13,A9,A10,MATRIX_0:57,A2;
                  hence thesis;
                end
                hence thesis by A32,A27,MATRIX_0:52;
              end;
              pt.1 = (M * <*pf*>@).1 by A5,LAPLACE:def 9;
              hence thesis by A30,MATRIX_3:def 4,A31;
            end;
            hence <* Line(M * PQR,1).1 *> = pt.1 by A24,MATRIX_0:def 7;
            <* (M * PQR)*(2,1) *> = pt.2
            proof
              1 in Seg 3 & 2 in Seg 3 by FINSEQ_1:1; then
A34:          width M = len PQR & [2,1] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A34BIS:       (M * <*pf*>@).2 = <* Line(M,2) "*" Col(PQR,1) *>
              proof
A35:            2 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*pf*>@),2) = <* Line(M,2) "*" Col(PQR,1) *>
                proof
                  1 in Seg 1 & 2 in Seg 3 by FINSEQ_1:1; then
A36:              [2,1] in Indices (M * <*pf*>@) by A28,ZFMISC_1:87;
                  len pf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<*pf*>@),2) = <* (M * (<*pf*>@))*(2,1) *> by Th75
                                       .= <* Line(M,2) "*" Col(<*pf*>@,1) *>
                    by A18,A36,MATRIX_3:def 4
                                       .= <* Line(M,2) "*" pf *> by Th76
                                       .= <* Line(M,2) "*" Col(PQR,1) *>
                    by A13,A9,A10,MATRIX_0:57,A2;
                  hence thesis;
                end;
                hence thesis by A35,A27,MATRIX_0:52;
              end;
              pt.2 = (M * <*pf*>@).2 by A5,LAPLACE:def 9;
              hence thesis by A34,MATRIX_3:def 4,A34BIS;
            end;
            hence <* Line(M * PQR,2).1 *> = pt.2 by A24,MATRIX_0:def 7;
            <* (M * PQR)*(3,1) *> = pt.3
            proof
              1 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1; then
A37:          width M = len PQR & [3,1] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A38:          (M * <*pf*>@).3 = <* Line(M,3) "*" Col(PQR,1) *>
              proof
A39:            3 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*pf*>@),3) = <* Line(M,3) "*" Col(PQR,1) *>
                proof
                  1 in Seg 1 & 3 in Seg 3 by FINSEQ_1:1; then
A39BIS:           [3,1] in Indices (M * <*pf*>@) by A28,ZFMISC_1:87;
                  len pf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<*pf*>@),3) = <* (M * (<*pf*>@))*(3,1) *> by Th75
                                       .= <* Line(M,3) "*" Col(<*pf*>@,1) *>
                                         by A18,A39BIS,MATRIX_3:def 4
                                       .= <* Line(M,3) "*" pf *> by Th76
                                       .= <* Line(M,3) "*" Col(PQR,1) *>
                                         by A13,A9,A10,MATRIX_0:57,A2;
                  hence thesis;
                end;
                hence thesis by A39,A27,MATRIX_0:52;
              end;
              pt.3 = (M * <*pf*>@).3 by A5,LAPLACE:def 9;
              hence thesis by A37,MATRIX_3:def 4,A38;
            end;
            hence <* Line(M * PQR,3).1 *> = pt.3 by A24,MATRIX_0:def 7;
          end;
A40:      Line(M * PQR,1).1 = (M * PQR)*(1,1) &
              Line(M * PQR,2).1 = (M * PQR)*(2,1) &
              Line(M * PQR,3).1 = (M * PQR)*(3,1) by A24,MATRIX_0:def 7;
          1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
          then [1,1] in Indices (M * PQR) &
            [2,1] in Indices (M * PQR) &
            [3,1] in Indices (M * PQR) by A11,ZFMISC_1:87; then
A41:        (M*,)=( * *1,)&
            (M * PQR)@ * (1,2) = (M * PQR)*(2,1) &
            (M * PQR)@ * (1,3) = (M * PQR)*(3,1) by MATRIX_0:def 6;
          width ((M * PQR)@) = len (M * PQR) by A21,MATRIX_0:29; then
          Seg width ((M * PQR)@) = dom (M * PQR) by FINSEQ_1:def 3; then
A43:      Line((M * PQR)@,1).1   as   ProjectiveSpace
            Line(( TOP-EAL, carrierofProjectiveSpaceTOP-EAL 3;
            Line((M * PQR)@,1).3 = (M * PQR)@*(1,3)
            by A20,FINSEQ_1:1,MATRIX_0:def 7;
A44:      1 in Seg 3 by FINSEQ_1:1;
          reconsider FMPQR = Line((M * PQR)@,1) as FinSequence of REAL;
           (M *hence dom     :def;
A45:      len FMPQR = 3 by MATRIX_0:def 7;
      * *(M*PQR),)1      hereby
        letxbe ;
         =M2F FMPQR        
.  A11    x in
enM @1  by MATRIX_0;
         thesis uf1being  
;
        suppose
A47:A2 a < 0or b < 0c<>;
:M *<> isMatrixof ,1, by ,UCLID_8:0
A49:      Indices (M * <*   end
A50:then
thuslen = 3by ;
            <* (M *    suppose
            proof
                by 33
A51:          width M = len PQR & [1
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A52:          (M * <*qf*>@).1 = <* Line(M,1) "*" Col(PQR,2) *>
              proof
A53:            1 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*qf*>@)proof
                proof
                  1 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1; then
A54:[1,]in (  <qf>)by A49,ZFMISC_1:87
                  len qf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<*qf*>@),1) = <* (M * (<*qf*>@))*(1,1) *> by Th75
                                       A6:`1*`au2byANPROJ_1:;
                                         by A18,A54,MATRIX_3:def 4
                                       .= <* Line(M,1) "*" qf *> by Th76
                                       .= <* Line(M,1) "*" Col(PQR,2) *>
                                         by A14,A9,A10,MATRIX_0:57,A3;
                  hence thesis;
                end;
                hence thesis by A53,A48,MATRIX_0:52;
              end;
              qt.1 = (M * <*qf*>@).1 by A6,LAPLACE:def 9;
              hence thesis by A51,MATRIX_3:def 4,A52;
            end;
            hence <* Line(M * PQR,1).2 *> = qt.1 by A24,MATRIX_0:def 7;
            <* (M * PQR)*(2,2) *> = qt.2
            proof
              1 in Seg 3 & 2 in Seg 3 by FINSEQ_1:1; then
A55:          width M = len PQR & [2,2] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A56:          (M * <*qf*>@).2 = <* Line(M,2) "*" Col(PQR,2) *>
              proof
A57:            2 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*qf*>@),2) = <* Line(M,2) "*" Col(PQR,2) *>
                          hence thesiA3,UCLID_5,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                  1 in Seg 1 & 2 in Seg 3 by FINSEQ_1:1; then
A58:              [2,1] in Indices (M * <*qf*>@) by A49,java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 41
                  len qf = 3 by A16,EUCLID_8:50; then
M*(*>@,)=<* (  <qf@)(,)*  
                                       .= <* Line(M,2) "*" Col(<*qf*>@,1) *>
                                         by A18,A58,MATRIX_3:def 4
                                       .= <* Line(M,2) "*" qf *> by Th76
                                       .= <* Line(M,2) "*" Col(PQR,2) *>
                                         by A14,A9,A10,MATRIX_0:57,A3;
                  hence thesis;
                end;
                hence thesis by A57,A48,MATRIX_0:52;
              end;
              qt.2 = (M * <*qf*>@).2 by A6,LAPLACE:def 9;
              hence thesis by A55,MATRIX_3:def 4,A56;
            end;
            hence <* Line(M * PQR,2).2 *> = qt.2 by A24,MATRIX_0:def 7;
            <* (M * PQR)*(3,2) *> = qt.3
            proof
              2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1; then
A57:          width M = len PQR & [3,2] in Indices (M * PQR)
A11Z87;
:(M*<qf>@)3  *Line(,)""Col(PQR,)*
              proof
A59:            3 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*qf*>@),3)   assume
                proof
                  1  Seg  &  inSeg  byFINSEQ_1:; then
A59BIS:           [3,1] in Indiceshence thesis  XBOOLE_0:4;
                  len qf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<*java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                                       .= <* Line(M,3) "*" X = implies X misses   java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
                                         by A59BISdef java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
                                       .= <* Line(M,3) "*" qf *> by Th76
                                       .= <* Line(M,3) "*" Col(PQR,2) *>
                                         by A14,A9,A10,MATRIX_0:57,A3;
                  hence thesis;
                end;
                java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 14
              end;
              qt.3 = (M * <*qf*>@).3 by A6,LAPLACE:def 9;
              hence thesis by A57,MATRIX_3:def 4,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 19

            hence <* Line(M * PQR,3).2 *> = qt.3 by A24,MATRIX_0:def  foruvw,beingElementof TOP-REAL  st
          end;
A60:      Line(M    u,, beingofTOP 3
  ,22=(M  )(,)&
          Line(M * PQR,3).2 = (M * PQR)*(3,2) by A24,MATRIX_0:def :are_Prop u  ,,,:2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
          1 in Seg 3 & 2 in Seg 3 & 3 in java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 14
          then [A7   {,w|=0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
            [3,2] in java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 8
A61:      (M * PQR)@ * (2,1)     |,,w| = a*{x,w} byTh26
          (M * PQR)@ * (2,2) = (M * PQR)*end;
          (theorem Th49
width( *@  len(  PQR29;
          Seg width ((M * PQR)@) = dom (M    wxbeingofREAL;
A62:      Line((M * PQR)A:x notand
            Line((M * PQR)@,2).2 = (M * PQR)@*(2,2) &
               *byjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
            by A20,A27:      l * q`2 = p`2 *`3/qby ,74
A63:      2 in Seg 3 by FINSEQ_1:1;
          reconsider FMPQR = Line(java.lang.StringIndexOutOfBoundsException: Range [34, 12) out of bounds for length 12
       (M *PQR))=3 23 
A64:      len FMPQR = 3 by MATRIX_0A29:    p`1 <>;
A65:      <* <*          p`1 * q`21  q`=0 byA5,:14
            
          FMPQR = M2F F2M FMPQR by A64,Th70
.M2F byA62A61,A50,:45,A60
          then (M * PQR)@.2 = M2F qt by A63,MATRIX_0:52;
          hence thesis by A47;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        suppose
A66:      y = 3;
A67:      M * <*rf*>@ is Matrix of java.lang.StringIndexOutOfBoundsException: Range [35, 13) out of bounds for length 13
A68:      Indices (M * <*rf*>@) =[:Seg 3,Seg 1:] by MATRIX_0:23;

            byA37,:3,,:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
            <* (M * PQR)*(1,3) *> = rt.1
            proof
              1 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1; then
A70:          width M = len PQR & [1,3] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A71:          (M * <*rf*>@).1 = <* Line(M,1) "*" Col(PQR,3) *>
              proof
A72:            1 in Seg 3 by FINSEQ_1:1;
                Line(M * (<*rf*>@),1) = <* Line(M,1) "*" Col(PQR,3) *>
                
                  1 
:[1] Indices( * <*rf*>@) byA68,:87java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                  rf= 3 byA16,UCLID_8;then
                  Line(M * (<*rf*=( \( /Z)\ Y\( /Z) Th41
                                 *(,)""Col(*>,1 *
                                         A,defjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
                                       .= <* Line(M,1) "    =X\( /Z / X /\ Y /\ Z by Th16;
                                       .= <* Line(M,1) "*" Col(PQR,3) *>
                                         by A15,A9,A10,MATRIX_0:57,A4;
                   X/\ Y   \+ Y  Lm4;
                end;
hencethesis by,MATRIX_0:52;
              end;
rt  (  <rf*@. A7,APLACE:def;
              hence thesis by A70henceX=A A1;
            end;
            < (M*PQR)3*  1by MATRIX_0:7;
            <* (M * PQR)*(2,3) *> = rt.2
            proof
              2 in Seg 3 & 3 in 
A74:          X /\ Y c= X by Th17
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
A75:           java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
              proof
A76  hence  by Th8;
                Line(M * (( \)\Y \Z)  X   \Z
                proof.(X /\Z)\ )\/ X/ (Z  ) Th49
    =((X / Z)\ )\ X \{}) Lm1
:[2,]in Indices M* *>@by A68,:87;
                  len rf = 3 bythus( \Z)\\(Y/ Z  ((X \ Y)/ Z \ ((Y / Z \(X /\ Z)) by Th111
                  Line(  (**@,)=<java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                                       .= <* Line(M,2:<pr)(,)p A2java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 51
                                         by A18,A77,MATRIX_3:def 4
                                       .= <* Line(M,2
                                       .= <* Line(M,2) "*" Col(PQR,3) *>
                                         by A15,A9,A10,MATRIX_0:57,A4;
                  hence thesis;Col<<>>3)=< 0>
                ;
                hence thesis by A76,A67,MATRIX_0:52;
              end;
              rt.2 =            [`,`,p`]|EUCLID_5
              hence thesis .l*qby :;
            end;
            hence <end
            <* (M * PQR)*(3,3) *> = rt.3
            proof
              3 in Seg 3 by FINSEQ_1:1; then
A78:          width M = len PQR & [3,3] in Indices (M * PQR)
                by A9,MATRIX_0:23,A11,ZFMISC_1:87;
thenq`    A6java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 44
              proof
A80:            3 in Seg 3 by p = |[p`1,p`2,p`3]| by EUCLID_5:3
                Line(M * (<*rf*>@),3) = <* Line(M,3) "*" Col(PQR,3) *>
                proof
                  1 in Seg 1 & 3 in Seg 3 by FINSEQ_1:1; then
A81:              [3,1] in Indices (M *       end;
                    len rf = 3 by A16,EUCLID_8:50; then
                  Line(M * (<    q` >0
                                       .= <* Line(M,3) "*" Col(<*rf*>@,1) *>
                                         by A18,A81,MATRIX_3:def 4
                                       .= <* Line(M,3) "*" rf *> by Th76
                                       .= <* Line(M,3) "*" Col(PQR,3) *>
                                         by A15,A9,A10,MATRIX_0:57,A4;
                  hence thesis;
                end;
                hence thesis by A80,A67,MATRIX_0:52;
              ;
              rt.3 = (M * <*rf*>@).3 by A7,LAPLACE:def 9;
              hence thesis by A78,MATRIX_3:def 4,A79;
            end;
            hence <* LineA51:                (21)1 =(  (<*uf2*>)*11)
           byA50,FINSEQ_1:1,A45,MATRIX_0:efjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
A82:      A82:      LinebyB01,A27,:def 4java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
            Line Line(,)""Col<>,)=
            Line(M*PQR3.  M * PQR)*(3,3) by A24,MATRIX_0:def 7;
          1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
          then [1,3] theorem
[,]inIndicesM* java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(;

            (M * PQR)@ * X/\ Y/ )=X/\Y /\(X/ Z)
    (*PQR@* (,3)= (M * PQR*(,3 by MATRIX_0:def 6;
          widthendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
           width((M*                         A25,A54,EUCLID_5:;
A84:      Line((A1P   P \ by ;
   Line(( *),3.  MTh76,14,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
            Line((then x in P \ Gorxin P &x in \C XBOOLE_0:def 5;
            by A20,FINSEQ_1:1,MATRIX_0:def 7;
3in Seg3 by FINSEQ_1:; then
A85:      (M * PQR)@.3 = Line((M*PQR)@,3) by MATRIX_0:52;
          reconsider FMPQR = Line((M * PQR)@,3) as FinSequence                        thus len Line(N,1) = 3 by A57;
          width ((M * PQR)@) = 3 by MATRIX_0:23; then
A86:      len FMPQR = 3 by MATRIX_0:def 7; then
A87:      <* <*Line((M * PQR)@,3).1*>, <*Line((M * PQR)@,3).2*>,
            <*Line((M * PQR)@,3).3*> *> = F2M FMPQR by DEF1;
          FMPQR = M2F F2M FMPQR by A86,Th70
               .= M2F rt by A87,A84,A83,A69,FINSEQ_1:45,A82;
          hence thesis by A85,A66;
        end;
      end;
    end;
    hence thesis by FUNCT_1:def 11;
  end;

theorem
  for pt,qt,rt being FinSequence of 1-tuples_on REAL
  st M = <* M2F pt,M2F qt,M2F rt*> & Det M = 0 & M2F pt = p &
  M2F qt = q & M2F rt = r holds |{ p,q,r }| = 0
  proof
    let pt,qt,rt be FinSequence of 1-tuples_on REAL;
    assume that
A1: M = <* M2F pt,M2F qt,M2F rt*> and
A2: Det M = 0 and
A3: M2F pt = p and
A4: M2F qt = q and
A5: M2F rt = r;
    p = <*p`1,p`2,p`3*> & q = <*q`1,q`2,q`3*> &
      r = <*r`1,r`2,r`3*> by EUCLID_5:3;
    hence thesis by A2,A1,A3,A4,A5,Th29;
  end;

theorem Th78:
  for pm,qm,rm being Point of TOP-REAL 3
  for pt,qt,rt being FinSequence of 1-tuples_on REAL
  for pf,qf,rf being FinSequence of F_Real st
  M is invertible &
  p = pf & q = qf & r = rf &
  pt = M * pf & qt = M * qf & rt = M * rf &
  M2F pt = pm & M2F qt = qm & M2F rt = rm holds
  |{ p,q,r }| = 0 iff |{ pm,qm,rm }| = 0
  proof
    let pm,qm,rm be Point of TOP-REAL 3;
    let pt,qt,rt be FinSequence of 1-tuples_on REAL;
    let pf,qf,rf be FinSequence of F_Real;
    assume that
A1: M is invertible and
A2: p = pf and
A3: q = qf and
A4: r = rf and
A5: pt = M * pf and
A6: qt = M * qf and
A7: rt = M * rf and
A8: M2F pt = pm and
A9: M2F qt = qm and
A10: M2F rt = rm;
    reconsider PQR = <*<*p`1,p`2,p`3*>,<*q`1,q`2,q`3*>,<*r`1,r`2,r`3*>*>
      as Matrix of 3,F_Real by Th16;
    Det M is unital by A1, LAPLACE:34;
    then Det M is non zero; then
A11: Det M <> 0.F_Real;
A12: pm = <*pm`1,pm`2,pm`3*> & qm = <*qm`1,qm`2,qm`3*> &
       rm = <*rm`1,rm`2,rm`3*> by EUCLID_5:3;
    p = <*p`1,p`2,p`3*> & q = <*q`1,q`2,q`3*> &
      r = <*r`1,r`2,r`3*> by EUCLID_5:3;
    then PQR@ = <*<*p`1,q`1,r`1*>,<*p`2,q`2,r`2*>,<*p`3,q`3,r`3*>*>
      by Th20; then
A13: (M * (PQR@))@ = <* pm,qm,rm *> by A8,A9,A10,A2,A3,A4,A5,A6,A7,Th77;
A14: Det (M * (PQR@))@ = Det (M * (PQR)@) by MATRIXR2:43
                     .= Det M * Det (PQR)@ by MATRIXR2:45
                     .= Det M * Det PQR by MATRIXR2:43;
    Det PQR = 0.F_Real iff Det ((M * (PQR@))@) = 0.F_Real
    proof
      thus Det PQR = 0.F_Real implies Det((M * (PQR@))@) = 0.F_Real by A14;
      assume Det((M * (PQR@))@) = 0.F_Real;
      then (Det M)" * (Det M * Det PQR) = Det M * 0.F_Real by A14;
      then (Det M)" * Det M * Det PQR = 0.F_Real;
      then 1.F_Real * Det PQR = 0.F_Real by A11,VECTSP_1:def 10;
      hence Det PQR = 0.F_Real;
    end;
    then |{p,q,r}| = 0.F_Real iff |{pm,qm,rm}| = 0.F_Real by A13,A12,Th29;
    hence thesis by STRUCT_0:def 6;
  end;

theorem Th79:
  0 < m implies
  for M being Matrix of m,1,F_Real holds M is FinSequence of 1-tuples_on REAL
  proof
    assume
A0: 0 < m;
    let M be Matrix of m,1,F_Real;
A1: len M = m by A0,MATRIX_0:23;
    width M = 1 by A0,MATRIX_0:23;
    then consider s be FinSequence such that
  and
A3: len s = 1 by A0,A1,MATRIX_0:def 3;
    consider n be Nat such that
A4: for x be object.= 0 STRUCT_0:ef 6;
    ex s be FinSequence st s = x & len s = n by MATRIX_0:def 1;
    consider s1 be FinSequence such that
A5: s1 = s and
A6: len s1 = n by A4,A2;
    rng M c= 1-tuples_on REAL
    proof
      let x be object;
      assume
A7:   x in rng M;
      then consider s being FinSequence such that
A8:   s = x and
A9:   len s = n by A4;
      consider n0 be Nat such that
A10:  for x be object st x in rng M ex p be FinSequence of F_Real st
        x = p & len p = n0 by MATRIX_0:9;
      consider p be FinSequence of F_Real such that
A11:  x = p and
      len p = n0 by A10,A7;
      rng p c= REAL;
      hence thesis by A11,A8,A9,A5,A6,A3,FINSEQ_2:132;
    end;
    hence thesis by FINSEQ_1:def 4;
  end;

theorem Th80:
  for uf being FinSequence of F_Real st len uf = 3 holds
  <*uf*>@ = 1.(F_Real,3) * (<*uf*>@)
  proof
    let uf be FinSequence of F_Real;
    
A1: len uf = 3;
    then
A2: <e1*  1 byassume lenpr  ;
 <uf>  3 45;
    set M = 1.(F_Realconsiderp be   suchA7   *> Matrixof ,F by A5MATRIX_020;
    uf is 3-element by A1,CARD_1:def 7; then
Col(<*pr*>,2).1 = *>(,)by FINSEQ_1:1,8
    now
A5:   M * <*uf*>@ is Matrix of 3,1,F_Real by A4,EUCLID_8:50,Th74;
      hence len (1.(F_Real,3) * (<*uf*>@)) = 3 by MATRIX_0:23;
      thus (1.(F_Real,3) * (<*uf*>@)).1 = <* uf.1 *>
      proof
        1 in Seg 3 by FINSEQ_1:1; then
A6:     (M * (<*uf*>@)).1 = Line(M * (<*uf*>@),1) by A5,MATRIX_0:52;
        now
          thus len Line(M * (<*uf*>@),1) = width (M * (<*uf*>@))
            by MATRIX_0:def 7
                                        .= 1 by A5,MATRIX_0:23;
          thus Line(M * (<*uf*>@),1).1 = uf.1
          proof
A7:         [1,1] in Indices(M * (<*uf*>@)) by A5,MATRIX_0:23,Th2;
A8:         width M = len (<*uf*>@) by A3,MATRIX_0:23;
            reconsider a1 = 1,a2 = 0 as Element of F_Real;
A9:         Line(M,1) = <* a1,a2,a2 *> & uf =<* uf.1,uf.2,uf.3 *>
              by Th56,A1,FINSEQ_1:45;
            dom uf = Seg 3 by A1,FINSEQ_1:def 3;
            then reconsider uf1 = uf.1, uf2 = uf.2,
              uf3 = uf.3 as Element of                   .= pr2 by ,A8;
A10:       Line(M,1)"" uf = a1* uf1 + *uf2+a2* uf3by A9,Th6
                            .uf.1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
            java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 69
            then 1 in Seg width (M * (<*uf*>@)) by A5,MATRIX_0:23;
            then Line(M * (<*uf*>@),1).1 = (M * (<*uf*>@))*(1,1)
k pf <*>1k)= pf.
                           =LineM,1 *" Col( <*f@,1java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
                                            by A7,A8,MATRIX_3:def 4
                                        .= Line(M,1) "*" uf by Th76;
            hence thesis by A10;
          end;
        end;
        hence thesis by A6,FINSEQ_1:40;
      end;
      thus (1.(F_Real,3) * (<*uf*>@)).2 = <* uf.2 *>
      proof
        2 in Seg 3 by FINSEQ_1:1; then
A11:M2=<*r.>byMATRIXR1 9
        now
            Line *(**@,2)=width ( *(<uf*>)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                                              by MATRIX_0:def 7
                                         .= 1 by A5,MATRIX_0:23;
          thus Line(M * (<*uf*>@),2).1 = uf.2
          proof
A12:        [2,1] in Indices(M * (<*uf*>@)) by A5,MATRIX_0:23,Th2;
A13:        width M = len (<*uf*>@) by A3,MATRIX_0:23;
            reconsider a1 = 1,a2 = A35:   N=3by MATRIX_023java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
* uf.1,f,f. *
              by Th56,A1,FINSEQ_1:45;
            dom uf = Seg 3 by A1,FINSEQ_1:def 3;
            then reconsider uf1 = uf.1,uf2 = uf.2,
              uf3 = uf.3 as Element ofA6   width<pf*>= len by A1,MATRIX_0:23;
A15      thus for beNatst1 <k&k =lenM2  .  <pf*@.java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
.= .;
            1 in Seg 1 by FINSEQ_1:1;
            then 1 in Seg width (M * (<*uf*>@)) by A5,MATRIX_0:23;
            then Line(M * (<*uf*>@),2).1 = (M * (<*uf*>@))*(2,1)
by MATRIX_0:def
                                        .= Line(M,2) "*" Col( <*uf*>@,1)
byA12,
                                        .= Line(M,2) "*    henceby FINSEQ_1def 18;
            thesisby A15;
         end;
        end;
        hence thesis by A11,FINSEQ_1:40;
      end;
      thus                    =len  by MATRIX_0:23
      proof
        3 in Seg 3 by FINSEQ_1:1; then
A16:    (M * (<*uf*>@)).3 = Line(M * (<*uf*>@),3) by A5,MATRIX_0:52;
        now
          thus len Line(M * (<*uf*>@),3) = width (M * (<*uf*>@))
                                             by MATRIX_0:def 7
                                        .=      then len pt=lenN& len qt  len N& len rt =len N
          thus Line(M * (<*uf*>@),3).1 = uf.3
          proof
:       [3, IndicesM * (uf>) A5M23Th2
A18:        width M = len (<*uf*>@) by A3       reconsider  pm=M2Fpt,qm =M2F qt,
            reconsider a1 = 1,a2 = 0 as Element of F_Real;
A19:        Line(M,3) = <* a2,a2,a1 *> & uf =<* uf.1,uf.2,uf.3 *>
              by  .=<q`1,`,`* A1
            dom uf    3in    FINSEQ_1:;
             uf1 uf.   .2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
              uf3 =java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
A20:        Line(M,3) "*" uf = a2 * uf1 + a2 * uf2 + a1 * uf3 by A19,Th6
                            .= uf.3;
            1 in Seg 1 by FINSEQ_1:1;
            then 1 in Seg width (M * (<*uf*>@)) by A5,MATRIX_0:23;
            then Line(M * (<*uf*>@),3).1 = (M * (<*uf*>@))*(3,1)
                                            by MATRIX_0:def 7
                                        . Line(,3)""Col( <**@1
                                            by A17,A18,MATRIX_3:def 4
                                        .= Line(M,3) "*" uf by Th76;
            hence thesis by A20;
          end;
        end;
    A16    now
      A5   **@isMatrixof31, byA4,MATRIX_0:20
    end;
    hence thesis.=*pf1 >byA1;
  end;

theorem Th81:
  for u being Element of TOP-REAL 3
  for uf java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 36
  u uf  **@= < *0 *>, *0 > <   *java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  holds u = 0.TOP-REAL 3
  proof
    let u be Elementfunc p -FinSequence  1-java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 51
    let uf be FinSequence of F_Real;
    assume that
A1: u = uf and
A2: <*uf*>@ = <* <*    <p.3*>in 1-tuples_on D
    u in TOP-REAL 3;
    then u in REAL 3 by EUCLID:assumelen
A3: u in 3-tuples_on REAL by EUCLID:def 1; then
A4: len uf = 3 by A1,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
    <*uf*>@ = <* <* uf.1 *>, <* uf.2 *> , <* uf.3
      A1FINSEQ_2133Th63;
     then <* uf.1 *> = <* 0 *> & <* uf.2 *> = <* 0 *> &
       <* uf.3 *> = <* 0 *> by A2,FINSEQ_1:78;
     then uf.1 = 0 & uf.2 = 0 & uf.3 = 0 by FINSEQ_1:76;
     hence thesis by A1,A4,FINSEQ_1:45,EUCLID_5:4;: is zero and
   end;

theorem Th82:
  for N being invertible Matrix of 3,F_Real
  for u,mu being Element of TOP-REAL 3
  for uf being FinSequence of F_Real
  for ut being FinSequence of 1-tuples_on REAL st
  u is non zero & u = uf & ut = N * uf & mu = M2F ut holds
  mu is non zero
  proof
    let N be invertible Matrix of 3,F_Real;
    let u,mu be Element of TOP-REAL 3;
    let uf be FinSequence of F_Real;
    let ut be FinSequence of 1-tuples_on REAL;
    assume that
A1: u is non zero and
  =and
A3: ut = N * uf and
A4: mu = M2F ut;
    uf in TOP-REAL 3 by A2; then
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 30
A6: len uf = 3 by A5,EUCLID_8:50;
A7: width <*uf*> = 3 by A6,Th61; then
A8: len (<*uf*>@) = width <*uf*> by MATRIX_0:29
                 .= len uf by MATRIX_0:23; then
A9: len (<*uf*>@) = 3 by A5,EUCLID_8:50;
A10: len <*uf*> = 1 by MATRIX_0:23; then
A11: len (<*uf*>@) = 3 & width(<*uf*>@) = 1 by A7,MATRIX_0:29;
    width N = 3 by MATRIX_0:24;
    then len(N * (<*uf*>@)) = len N &
      width (N * (<*uf*>@)) = width(<*uf*>@) by A11,MATRIX_3:def 4; then
A12: len(N A6:    p. = <*d*>;
A7    (.1)1=dby A6;
A13: width N        then 2 intheset  all<d> where   Element ofDby A;
. (*f*@  A8A5,UCLID_8:50;
A14: len ut = len (A10:  p2 =<d>;
           .= len N by A13,MATRIX_3:def 4
           .= 3 by MATRIX_0:23;
    assume
A15: mu is zero;
    reconsider MU = M2F ut as FinSequence of REAL;
A16: ut = F2M (MU) by A14,Th69
       .= <* <* 0 *>,<* 0
A17 (~ is_reverse_of  byMATRIX_6:def ;
A18: width (N~) = 3    rng c - REAL byFINSEQ_1: 4;then
A19: len N = 3 & width N = 3 by MATRIX_0:24;
A20: 1.(F_Real,3) * (<*uf*>@) = (N~) * N * (<*uf*>@) by A17,MATRIX_6:def 2
                             .= (N~) * (N * (<*uf*>@))
                                 A9A,:33java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A21: N * (<*uf*>@) is Matrix of 3,1,F_Real by A12,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 48
    N * (<*uf*>@) = <* <* 0 *>, <* 0 *>, <* 0 *> *> by LAPLACE:def 9,A3,A16;
    then (N~) * (N * (<*uf*>@)) = <* <* 0 *>, <* 0 *>, <* 0 *> *>
      by Th7,A21;
    then <*uf*>@ = <* <* 0 *>, <* 0 *>, <* 0 *> *>
      by A20,Th80,A5,EUCLID_8:50;
    hence thesis by A1,A2,Th81;
  end;

definition
  let N be invertible Matrix of 3,F_Real;
  considerElement REAL such that
     TOP 3 
:DEF4:
  for  **>
  ex u,v being Element of TOP-REAL 3,
     uf being FinSequence of F_Real,
     p being FinSequence of 1-tuples_on REAL
 & =uf&     &v p&
v is not zero & it = Dir v;
existence
  proof
    P,]means
    ex x be Point of ProjectiveSpace TOP-REAL 3 st x = $1 &
    ex u,v being Element of TOP-REAL 3, uf being FinSequence of F_Real,
       p being FinSequence of 1-tuples_on REAL st x = Dir u &
       u is not zero & u = uf & p = N * uf & v = M2F p &
       v is not zero & $2 = Dir v;
A1: forx  object x  the ProjectiveSpaceTOPREALjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    ex y be object st y in the carrier of ProjectiveSpace TOP-REAL 3 & P[x,y]
    proof
      let x be object;
      assume x in the carrier of ProjectiveSpace TOP-REAL 3;
      then reconsider x1 = x  as Element of ProjectiveSpace TOP-REAL 3;
      consider u be Element of TOP-REAL 3 such that
A2:   u is non zero and
A3:   x1 = Dir u by ANPROJ_1:26;
      reconsider uf = u as FinSequence of F_Real by EUCLID:24;
A4:   N * (<*uf*>@) is (3,1)-size by FINSEQ_3:153,Th74;
A5:   N * (<*uf*>@) is Matrix of 3,1,F_Real by FINSEQ_3:153,Th74;
      N * (<*uf*>@) is FinSequence of 1-tuples_on REAL by A4,Th79;
      then reconsider p = N * uf as FinSequence of 1-tuples_on REAL
        by LAPLACE:def 9;
A6:   the carrier of ProjectiveSpace TOP-REAL 3
        = ProjectivePoints(TOP-REAL 3) by ANPROJ_1:23;
      len p = len (N* <*uf>)by LAPLACE:def 9
           .=3by ,MATRIX_023;
      then reconsider v = M2F p as Element of TOP-REAL 3 by Th66;
      set y = Dir v;
A7:   y is Element of ProjectivePoints(TOP-REAL 3) by A2,Th82,ANPROJ_1:21;
      now
        take x1;
        thus x1 = x;
        now
          take u,v,uf,p;
          thus x1 = Dir u by A3;
          thus u is not zero by A2;
          thus u = uf;
            *;

          thus  not zeroby A2,;
          thus y = Dir v;
        end;
        hence ex u,v being Element of TOP-REAL 3,
                  uf being FinSequence of F_Real,
                  p being FinSequence of 1-tuples_on REAL st
               x1 = Dir u & u is not zero & u = uf & p = N * uf &
               v = M2F p & v is not zero & y = Dir v;
      end;
      hence thesis java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 7
    end;
    ex f be Function of the carrier of ProjectiveSpace TOP-REAL 3,
      the carrier of ProjectiveSpace TOP-REAL 3 st for x be object st
x  of TOP-  xfx
      from FUNCT_2:sch 1(A1);
    then consider f be Function oftheorem Th70:
      the carrier of ProjectiveSpace TOP-REAL 3 such that
A8:   for x be object st x in the carrier of ProjectiveSpace TOP-REAL 3
      holds P[x,f.x];
    for x being Point of ProjectiveSpace TOP-REAL 3 holds
    ex u,v being Element of TOP-REAL     assume
       p being FinSequence of 1-tuples_on REAL st x = Dir u &
       u is not zero & u = uf & p    q  * <p1*>*p.2>,<p3 >A1, 
       x =  java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
    proof
      let x be Point of ProjectiveSpace TOP-REAL 3;
      P[x,f.x] by A8;
      hence thesis;
    end;
    hence thesis;
  end;
  uniqueness
  proof
    let f1,f2 be Function of ProjectiveSpace TOP-REAL 3,
      java.lang.StringIndexOutOfBoundsException: Range [25, 21) out of bounds for length 42
A9:   for x being Point of ProjectiveSpace TOP-REAL 3 holds
      ex u,v being Element of TOP-REAL 3, uf being FinSequence of F_Real,
      p being FinSequence of 1-tuples_on REAL
      st x = Dir u & u is not zero & u = uf & p = N * uf & v = M2F p &
      v is not zero & f1.x = Dir v and
A10:  for x being Point of ProjectiveSpace TOP-REAL 3 holds
      ex u,v being Element of TOP-REAL 3, uf being FinSequence of F_Real,
      p being FinSequence of 1-tuples_on REAL
      st x = Dir u & u is not zero & u = uf & p = N * uf & v = M2F p &
      v is not zero & f2.x = Dir v;
    now
      reconsider g1 = f1 as Function of the carrier of ProjectiveSpace
        TOP-REAL 3,the carrier of ProjectiveSpace TOP-REAL 3;
      dom g1 = the carrier of ProjectiveSpace TOP-REAL 3 by FUNCT_2:def 1;
      hence dom f1 = dom f2 by FUNCT_2:def 1;
      hereby
        let x be object;
        assume
A11:    x in dom f1;
        then consider u1,v1 being Element of TOP-REAL 3,
          uf1 being FinSequence of F_Real,
      p1 being FinSequence  - 
       such that
A12:    x = Dir u1 and
A13:    u1 is not zero and
A14 u1 = and
A15:    p1 = N * uf1 and
A16:    v1 = M2F p1 and
        java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
A17:    f1.<*@ = F2Mjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
        consider u2,v2 being Element of TOP-REAL 3,
                 uf2 being FinSequence of F_Real,
                 p2 being FinSequence of 1-tuples_on REAL
        such that
A18:    x = Dir u2 and
:    u2is  zero java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A20:    u2 = uf2 and
A21:    p2 = N * uf2 and
A22:    v2 = M2F p2 and
        v2 is not zero and
A23:    f2.x = Dir v2 by A11,A10;
        are_Prop u1,u2 by A12,A13,A18,A19,ANPROJ_1:22;
        then considera beReal  that
A24:    a <> 0 and
A25:    u1 = a * u2 by ANPROJ_1:1;
B01:    N 3by ;
A26:    now
len   byA14,FINSEQ_3153;
           <*    Th61
                  (Line(M(Line(,1). = * *11 *.
                              .= len uf1 by MATRIX_0:23
                              .
        end;
A27:    now
          len uf2 = 3 by A20,FINSEQ_3:153;
          then width <*uf2*> = 3 by Th61;
          hence len (<*uf2*>@) = width <*uf2*> by MATRIX_0:29
                              .= len uf2 by MATRIX_0:23
                              .= 3 by A20,FINSEQ_3:153;
        end;
A28:    len p2 = len (N * (<*uf2A7:        TARSKIdef1;
              .A:  
        java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
          M2F p1 = a * v2
          proof
            len p2 = 3 by A28,MATRIX_0:23; then
            consider q1,q2,q3 be Real such that
A29:        q1 = (p2.thus pfbe of  in rng 
A30:        a * p2 = <* <* a * q1 *>, <* a * q2 *      
A31:        len (a * p2) = 3 by A30,FINSEQ_1:45;
ix of 31,F_Real by A14,FINSEQ_3:153,Th74;
            then
A33:        Indices (N * <*uf1*>@) = [:Seg 3,Seg 1:] by MATRIX_0:23;
A34:        N * (<*uf2*>@) is (3,1)-size by A20,FINSEQ_3:153,Th74;
A35:        len p1 = len (N * <*uf1*>@) by A15,LAPLACE:def 9
                  . 3by ,MATRIX_023
A36:        p1 = a * p2
            proof
              p1 =            & len s byMATRIX_0:ef1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
              proof
A37:            p1 = N * (<*uf1*>@) by A15,LAPLACE:def 9; then
A38:            len p1 = len N by B01,A26,MATRIX_3:def 4 .= 3 by MATRIX_0:23;
A39:            p2 = N * (<*uf2*>@) by A21,LAPLACE:def 9;
A40:            N * (<*uf1*>@) is Matrix of 3,1,F_Real
                  by A14,FINSEQ_3:153,Th74;
A41:            1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
A42:            Seg width (N * (<*uf1*>@)) = Seg 1 by A32,MATRIX_0:23;
A43:            N * (<*uf2*>@) is Matrix of 3,1,F_Real
                  by A20,FINSEQ_3:153,Th74;
A44:            1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 by FINSEQ_1:1;
A45:            Seg width (N * (<*uf2*>@)) = Seg 1 by A43,MATRIX_0:23;
                now
                  thus len p1 = 3 by A38;
                  thus p1.1 = <*a * q1*>
                  proof
A46:                [1,1] in Indices (N * <*uf2*>@) by Th2,A34,MATRIX_0:23;
A47:                p1.1 = Line(N * (<*uf1*>@),1)
                      by A37,A40,A41,MATRIX_0:52; then
A48:                len (p1.1) = width (N * (<*uf1*>@)) by MATRIX_0:def 7
                              .= 1 by A40,MATRIX_0:23;
A49:                (p1.1).1 = (N * (<*uf1*>@))*(1,1)
                      by A47,FINSEQ_1:1,A42,MATRIX_0:def 7
                            .= Line(N,1) "*" Col(<*uf1*>@,1)
                      by B01,A26,Th2,A33,MATRIX_3:def 4;
A50:                p2.1 = Line(N * (<*uf2*>@),1) by A39,A43,A44,MATRIX_0:52;
A51:                (p2.1).1 = (N * (<*uf2*>@))*(1,1)
                                by A50,FINSEQ_1:1,A45,MATRIX_0:def 7
                            .= Line(N,1) "*" Col(<*uf2*>@,1)
                                by B01,A46,A27,MATRIX_3:def 4;
                    Line(N,1) "*" Col(<*uf1*>@,1) =
                      a * (Line(N,1) "*" Col(<*uf2*>@,1))
                    proof
A52:                  u1`1 = u1.1 & u1`2 = u1.2 & u1`3 = u1.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3;
A53:                  u1 = |[ u1.1,u1.2,u1.3 ]| by A52,EUCLID_5:3;
                      u2`1 = u2.1 & u2`2 = u2.2 & u2`3 = u2.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3; then
A54:                  u2 = |[ u2.1,u2.2,u2.3 ]| by EUCLID_5:3;
A55:                  u1 = |[ a * u2.1,a * u2.2,a * u2.3 ]|
                        by A25,A54,EUCLID_5:8;
A56:                  Col(<*uf1*>@,1) = u1 & Col(<*uf2*>@,1) = u2
                        by Th76,A14,A20;
A57:                  len Line(N,1) = width N by MATRIX_0:def 7
                                   .= 3 by MATRIX_0:23;
                      now
                        thus len Line(N,1) = 3 by A57;
                        Seg width N = Seg 3 by MATRIX_0:23;
                        hence Line(N,1).1 = N*(1,1) & Line(N,1).2 = N*(1,2) &
                          Line(N,1).3 = N*(1,3)  by FINSEQ_1:1,MATRIX_0:def 7;
                      end;
                      then
A58:                  Line(N,1) = <* N*(1,1),N*(1,2),N*(1,3) *> by FINSEQ_1:45;
                      reconsider z1 = u1.1, z2 = u1.2, z3 = u1.3,
                      z4 = u2.1, z5 = u2.2, z6 = u2.3 as Element of F_Real
                        by XREAL_0:def 1;
A59:                  Line(N,1) "*" Col(<*uf1*>@,1) =
                        N*(1,1) * z1 + N*(1,2) * z2 + N*(1,3) * z3
                        by A58,A53,A56,Th6;
A60:                  Line(N,1) "*" Col(<*uf2*>@,1) =
                        N*(1,1) * z4 + N*(1,2) * z5 + N*(1,3) * z6
                        by A54,A58,A56,Th6;
                      u1.1 = a * u2.1 & u1.2 = a * u2.2 & u1.3 = a * u2.3
                        by A55;
                      hence thesis by A59,A60;
                    end;
                    hence thesis by A29,A51,A48,FINSEQ_1:40,A49;
                  end;
                  thus p1.2 = <*a * q2*>
                  proof
A61:                [2,1] in Indices (N * <*uf2*>@) by Th2,A34,MATRIX_0:23;
A62:                [2,1] in Indices (N * <*uf1*>@) by Th2,A32,MATRIX_0:23;
A63:                p1.2 = Line(N * (<*uf1*>@),2) by A37,A40,A41,MATRIX_0:52;
                    then
A64:                len (p1.2) = width (N * (<*uf1*>@)) by MATRIX_0:def 7
                              .= 1 by A40,MATRIX_0:23;
A65:                (p1.2).1 = (N * (<*uf1*>@))*(2,1)
                                by A63,FINSEQ_1:1,A42,MATRIX_0:def 7
                            .= Line(N,2) "*" Col(<*uf1*>@,1)
                                by B01,A26,A62,MATRIX_3:def 4;
                    p2.2 = Line(N * (<*uf2*>@),2) by A39,A43,A44,MATRIX_0:52;
                    then
A66:                (p2.2).1  = (N * (<*uf2*>@))*(2,1)
                                 by FINSEQ_1:1,A45,MATRIX_0:def 7
                             .= Line(N,2) "*" Col(<*uf2*>@,1)
                                 by B01,A27,A61,MATRIX_3:def 4;
                    Line(N,2) "*" Col(<*uf1*>@,1) =
                      a * (Line(N,2) "*" Col(<*uf2*>@,1))
                    proof
                      u1`1 = u1.1 & u1`2 = u1.2 & u1`3 = u1.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3;
                      then
A67:                  u1 = |[ u1.1,u1.2,u1.3 ]| by EUCLID_5:3;
                      u2`1 = u2.1 & u2`2 = u2.2 & u2`3 = u2.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3;
                      then
A68:                  u2 = |[ u2.1,u2.2,u2.3 ]| by EUCLID_5:3; then
A69:                  u1 = |[ a * u2.1,a * u2.2,a * u2.3 ]| by A25,EUCLID_5:8;
A70:                  Col(<*uf1*>@,1) = u1 & Col(<*uf2*>@,1) = u2
                        by Th76,A14,A20;
A71:                  len Line(N,2) = width N by MATRIX_0:def 7
                                   .= 3 by MATRIX_0:23;
                      now
                        thus len Line(N,2) = 3 by A71;
                        Seg width N = Seg 3 by MATRIX_0:23;
                        hence Line(N,2).1 = N*(2,1) &
                          Line(N,2).2 = N*(2,2) &
                          Line(N,2).3 = N*(2,3)  by FINSEQ_1:1,MATRIX_0:def 7;
                      end;
                      then
A72:                  Line(N,2) = <* N*(2,1),N*(2,2),N*(2,3) *> by FINSEQ_1:45;
                      reconsider z1 = u1.1, z2 = u1.2, z3 = u1.3,
                        z4 = u2.1, z5 = u2.2, z6 = u2.3 as Element of F_Real
                        by XREAL_0:def 1;
A73:                  Line(N,2) "*" Col(<*uf1*>@,1) =
                        N*(2,1) * z1 + N*(2,2) * z2 + N*(2,3) * z3
                        by A72,A67,A70,Th6;
A74:                  Line(N,2) "*" Col(<*uf2*>@,1) =
                        N*(2,1) * z4 + N*(2,2) * z5 + N*(2,3) * z6
                        by A68,A72,A70,Th6;
                      u1.1 = a * u2.1 & u1.2 = a * u2.2 & u1.3 = a * u2.3
                        by A69;
                      hence thesis by A73,A74;
                    end;
                    hence thesis by A64,FINSEQ_1:40,A65,A29,A66;
                  end;
                  thus p1.3 = <*a * q3*>
                  proof
A75:                [3,1] in Indices (N * <*uf2*>@) by Th2,A34,MATRIX_0:23;
A76:                [3,1] in Indices (N * <*uf1*>@) by Th2,A32,MATRIX_0:23;
A77:                p1.3 = (N * (<*uf1*>@)).3 by A15,LAPLACE:def 9
                        .= Line(N * (<*uf1*>@),3) by A40,A41,MATRIX_0:52; then
A78:                len (p1.3) = width (N * (<*uf1*>@)) by MATRIX_0:def 7
                              .= 1 by A40,MATRIX_0:23;
A79:                (p1.3).1 = (N * (<*uf1*>@))*(3,1)
                                by A77,FINSEQ_1:1,A42,MATRIX_0:def 7
                            .= Line(N,3) "*" Col(<*uf1*>@,1)
                                by B01,A26,A76,MATRIX_3:def 4;
                    p2.3 = (N * (<*uf2*>@)).3 by A21,LAPLACE:def 9
                        .= Line(N * (<*uf2*>@),3) by A43,A44,MATRIX_0:52; then
A80:                (p2.3).1 = (N * (<*uf2*>@))*(3,1)
                                by FINSEQ_1:1,A45,MATRIX_0:def 7
                            .= Line(N,3) "*" Col(<*uf2*>@,1)
                                by B01,A27,A75,MATRIX_3:def 4;
                    Line(N,3) "*" Col(<*uf1*>@,1) =
                      a * (Line(N,3) "*" Col(<*uf2*>@,1))
                    proof
                      u1`1 = u1.1 & u1`2 = u1.2 & u1`3 = u1.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3;
                      then
A81:                  u1 = |[ u1.1,u1.2,u1.3 ]| by EUCLID_5:3;
                      u2`1 = u2.1 & u2`2 = u2.2 & u2`3 = u2.3
                        by EUCLID_5:def 1,EUCLID_5:def 2,EUCLID_5:def 3;
                      then
A82:                  u2 = |[ u2.1,u2.2,u2.3 ]| by EUCLID_5:3;
A83:                  u1 = |[ a * u2.1,a * u2.2,a * u2.3 ]|
                        by A25,A82,EUCLID_5:8;
A84:                  Col(<*uf1*>@,1) = u1 & Col(<*uf2*>@,1) = u2
                        by Th76,A14,A20;
A85:                  len Line(N,3) = width N by MATRIX_0:def 7
                                   .= 3 by MATRIX_0:23;
                      now
                        thus len Line(N,3) = 3 by A85;
                        Seg width N = Seg 3 by MATRIX_0:23;
                        hence Line(N,3).1 = N*(3,1) & Line(N,3).2 = N*(3,A56            2,1] in  (  <qf*@)by ,ZFMISC_1:87;
                          Line(N,3).3 = N*(3,3)  by FINSEQ_1:1,MATRIX_0:def 7;
                      end;
                      then
A86:                  Line(N,3) = <* N*(3,1),N*(3,2),N*(3,3) *> by FINSEQ_1:45;
                      reconsider z1 = u1.1, z2 = u1.2, z3 = u1.3,
                        z4 = u2.1, z5 = u2.2,
                        z6 = u2.3 as Element of F_Real by XREAL_0:def 1;
A87:                  Line(N,3) "*" Col(<*uf1*>@,1) =
                        N*(3,1) * z1 + N*(3,2) * z2 + N*(3,3) * z3
                        by A86,A81,A84,Th6;
A88:                  Line(N,3) "*" Col(<*uf2*>@,1) =
                        N*(3,1) * z4 + N*(3,2) * z5 + N*(3,3) * z6
                        by A82,A86,A84,Th6;
                      u1.1 = a * u2.1 & u1.2 = a * u2.2 &
                        u1.3 = a * u2.3 by A83;
                      hence thesis by A87,A88;
                    end;
                    hence thesis by A78,A79,A29,A80,FINSEQ_1:40;
                  end;
                end;
                hence thesis by FINSEQ_1:45;
              end;
              hence thesis by A30;
            end;
            a * v2 = M2F (a * p2) by A28,MATRIX_0:23,A22,Th67
.<(.).,p12.,(3)1 * by A31,EF2,36;
                           A14,Th1,A12,MATRIX_3:def 4;
        end;
        hencev1   *v2 by ;
        thus v1 is non zero by A13 byFINSEQ_11A10,INSEQ_2133A2,Th74;
        thus v2 is non zero by A19,A20,A21,              ( * <*qf*>@),3) = <*Line(3 * (QR@2 *
      end;
      then are_Prop v1,v2 & v1 is not zero & v2 is not zero by A24,ANPROJ_1:1;
      hence f1.x = f2.x by A17,A23,ANPROJ_1:22;
    end;
  end;
    hence thesis by FUNCT_1:def 11;
  end;
end;

theorem
  for N being invertible Matrix of 3,F_Real
  for p,q,r being Point of ProjectiveSpace TOP-REAL 3 holds
  p,q,r are_collinear iff
  homography(N).p, homography(N).q, homography(N).r are_collinear
  proof
    let N be invertible Matrix of 3,F_Real;
    let p,q,r be Point of ProjectiveSpace TOP-REAL 3;
    thus p,q,r are_collinear implies
    homography(N).p, homography(N).q, homography(N).r are_collinear
    proof
      assume
A1:   p,q,r are_collinear;
      consider up,vp being Element of TOP-REAL 3,
               ufp being FinSequence of F_Real,
               pp being FinSequence of 1-tuples_on REAL
      such that
A2:   p = Dir up and
A3:   up is not zero and
A4:   up = ufp and
A5:   pp = N * ufp and
A6:   vp = M2F pp and
      vp is not zero and
A7:   homography(N).p = Dir vp by DEF4;
      consider uq,vq being Element of TOP-REAL 3,
               ufq being FinSequence of F_Real,
      pq being FinSequence of 1-tuples_on REAL such that
A8:   q = Dir uq and
A9:   uq is not zero and
A10:  uq = ufq and
A11:  pq = N * ufq and
A12:  vq = M2F pq and
      vq is not zero and
A13:  homography(N).q = Dir vq by DEF4;
      consider ur,vr being Element of TOP-REAL 3,
               ufr being FinSequence of F_Real,
        pr being FinSequence of 1-tuples_on REAL such that
A14:  r = Dir ur and
A15:  ur is not zero and
A16:  ur = ufr and
A17:  pr = N * ufr and
A18:  vr = M2F pr and
      vr is not zero and
A19:  homography(N).r = Dir vr by DEF4;
      consider u,v,w be Element of TOP-REAL 3 such that
A20:  p = Dir u and
A21:  q = Dir v and
A22:  r = Dir w and
A23:  u is not zero and
A24:  v is not zero and
A25:  w is not zero and
A26:  u,v,w are_LinDep by A1,ANPROJ_2:23;
A27:  |{u,v,w}| = 0 by A26,Th37;
      are_Prop up,u by A20,A2,A23,A3,ANPROJ_1:22;
      then consider ap be Real such that
      apby1A13: 8java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A28:  up = ap * u by ANPROJ_1:1;
      are_Prop uq,v by A8,A21,A24                by FINSEQ_11A10,3,h74F:;
      then consider aq be Real such that
      aq <> 0 and                 in Seg 3 & 1 in Seg 1 by FINSEQ_1:1;then
by,, ;
      are_Prop ur, w by A22,A14,A25,A15,ANPROJ_1:22;
      then consider ar be Real such that
      ar <> 0 and
A30:  ur = ar * w by ANPROJ_1:1;
A31:  |{ up,uq,ur }| = ap * |{u,aq * v,ar * w}| by Th26,A28,A29,A30
                    .= ap * (aq *|{u,v,ar * w}|) by Th27
                    .= ap * (aq * (ar * |{u,v,w}|)) by Th28
                    .= 0 by A27;
      reconsider pf = up,qf =                                     . < Line(N) ""Col*pf*>@,)*>
A32:  N * pf = N * (<*pf*>@) & N * qf = N * (<*qf*>@) &
        N * rf = N * (<*rf*>@) by LAPLACE:def 9;
A33:  len pf = 3 & len qf = 3 & len rf = 3 by FINSEQ_3:153;
      N * (<*pf*>@) is Matrix of 3            end;
        N * (<*qf*>@) is Matrix of 3,1,F_Real &
        N * (<*rf*>@) is Matrix of 3,1,F_Real by FINSEQ_3:153,Th74;
      then reconsider pt = N * pf, qt = N * qf,
        rt = N * rf as FinSequence of 1-tuples_on REAL by A32,Th79;
A34:  pt = N * (<*pf*>@) & qt = N * (<*qf*>@) & rt = N * (<*rf*>@)
        by LAPLACE:def              F2M = < <CN3.1*,*CN3.2*<*.*>*>by A63,F1 then
TRIX_0:3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

A36:  by A3,Th75
                    .= len pf by MATRIX_0:23
                    .= 3 by FINSEQ_3:153;
      width <*qf*> = 3 by A33,Th61; then
A37:  len (<*qf*>@) = width <*qf*> by MATRIX_0:29
                   .= len qf by MATRIX_0:23
                   .= 3 by FINSEQ_3:153;
      width <*rf*> = 3 by A33,Th61;
      then len (<*rf*>@) = width <*rf*> by MATRIX_0:29
                        .= len rf by MATRIX_0:23
                        .= 3 by FINSEQ_3:153;
      then len pt = len N & len qt = len N & len rt = len N
        by A35,A37,A36,A34,MATRIX_3:def 4;
      then reconsider pm = M2F pt,qm = M2F qt,
        rm = M2F rt as Element of TOP-REAL 3 by MATRIX_0:23,Th66;
A38:  |{ pm,qm,rm }| = 0 by A31,Th78;
      pm is not zero & qm is not zero & rm is not zero
        by A3,A9,A15,Th82;
      hence thesis by A38,Th37,ANPROJ_2:23A,A18,A7,A13,A19,
        A4,A5,A10,A11,A16,A17;
    end;
    thus homography(N).p, homography(N).q, homography(N).r are_collinear
    implies p,q,r are_collinear
    proof
      assume
A39:  homography(N).p, homography(N).q, homography(N).r are_collinear;
      consider up,vp beingp= pf & = &r=rf
 beingFinSequence ,
               pp being FinSequence of 1-tuples_on REAL
      such that
A40:  t pf,qf beFinSequenceof ;
  upis not and
A42:  up = ufp and
A43:  pp = N * ufp and
A44:  vp =A5:pt =M*pfand
A45:  vp is not zero and
A46:  homography(N).p = Dir vp by DEF4;
      consider uq,vq being Element of TOP-REAL 3,
               ufq being FinSequence of F_Real,
      pq being FinSequence of 1-tuples_on REAL such that
A47:  q = Dir uq and
o and
A49:  uq = ufq and
A50:  pq = N * ufq and
A51:  vq = M2F pq and
A52:  vq is not zero and
)   DEF4
      consider ur,vr being Element of TOP-REAL 3,
               ufr being FinSequence of F_Real,
      pr being FinSequence of 1-tuples_on REAL such that
A54:  r = Dir ur and
A55:  ur is not zero and
A56:  ur = ufr and
A57:  pr = N * ufr and
A58:  vr = M2F pr and
A59:  vr is not zero and
A60:  homography(N).r = Dir vr by DEF4;
      consider u,v,w being Point of TOP-REAL 3 such that
A61:  homography(N).p = Dir(u) and
A62:  homography(N).q = Dir(v) and
A63:  homography(N).r = Dir(w) and
A64:[31 IndicesM PQR)by,ZFMISC_1:87; then
A65:  (u = v or u = w or v = w or {u,v,w}             Line((M * PQR)@,1).2 = (M * PQR)(M*PQR),)2=(  @(,)&
      u,v,w are_LinDep by A65,Th8;
      then |{ u,v,w }| = 0 by Th37;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 52
 vr| 0by,A53,64Th49;
      then |{ vp,vq,vr }| = 0 by  A61,A46,A64,Th48,A45;
      then |{ up,uq,ur }| = 0 by A42,A43,A44,A49,A50,A51,A56,A57,A58,Th78;
      then (up = uq or up = ur or uq = ur or {up,uq,ur              .3 M  *qf*@.3 by A6,APLACE:def9java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        by Th37,Th8;
      hence thesis by Th9,A40,A41,A47,A48,A54,A55;
    
  end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 1.313 Sekunden  ¤

*© Formatika GbR, Deutschland