let n be Nat; for K being commutative Ring
for A being Matrix of n,K st n >= 1 holds
Det A = Det (A @)
let K be commutative Ring; for A being Matrix of n,K st n >= 1 holds
Det A = Det (A @)
let A be Matrix of n,K; ( n >= 1 implies Det A = Det (A @) )
set f = Path_product A;
set f2 = Path_product (A @);
set F = the addF of K;
set Y = the carrier of K;
set X = Permutations n;
set B = In ((Permutations n),(Fin (Permutations n)));
set I = the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product (A @)));
A1:
Det A = the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product A))
by MATRIX_3:def 9;
Permutations n in Fin (Permutations n)
by FINSUB_1:def 5;
then A2:
In ((Permutations n),(Fin (Permutations n))) = Permutations n
by SUBSET_1:def 8;
A3:
{ (p ") where p is Permutation of (Seg n) : p in In ((Permutations n),(Fin (Permutations n))) } c= In ((Permutations n),(Fin (Permutations n)))
A4:
In ((Permutations n),(Fin (Permutations n))) c= { (p ") where p is Permutation of (Seg n) : p in In ((Permutations n),(Fin (Permutations n))) }
Permutations n in Fin (Permutations n)
by FINSUB_1:def 5;
then A5:
( In ((Permutations n),(Fin (Permutations n))) <> {} or the addF of K is having_a_unity )
by SUBSET_1:def 8;
then consider G0 being Function of (Fin (Permutations n)), the carrier of K such that
A6:
the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product (A @))) = G0 . (In ((Permutations n),(Fin (Permutations n))))
and
A7:
for e being Element of the carrier of K st e is_a_unity_wrt the addF of K holds
G0 . {} = e
and
A8:
for x being Element of Permutations n holds G0 . {x} = (Path_product (A @)) . x
and
A9:
for B9 being Element of Fin (Permutations n) st B9 c= In ((Permutations n),(Fin (Permutations n))) & B9 <> {} holds
for x being Element of Permutations n st x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 holds
G0 . (B9 \/ {x}) = the addF of K . ((G0 . B9),((Path_product (A @)) . x))
by SETWISEO:def 3;
deffunc H1( set ) -> set = G0 . { (p ") where p is Permutation of (Seg n) : p in $1 } ;
A10:
for x2 being set st x2 in Fin (Permutations n) holds
H1(x2) in the carrier of K
consider G1 being Function of (Fin (Permutations n)), the carrier of K such that
A11:
for x5 being set st x5 in Fin (Permutations n) holds
G1 . x5 = H1(x5)
from FUNCT_2:sch 11(A10);
assume A12:
n >= 1
; Det A = Det (A @)
A13:
for x being Element of Permutations n holds G1 . {x} = (Path_product A) . x
A18:
for B9 being Element of Fin (Permutations n) st B9 c= In ((Permutations n),(Fin (Permutations n))) & B9 <> {} holds
for x being Element of Permutations n st x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 holds
G1 . (B9 \/ {x}) = the addF of K . ((G1 . B9),((Path_product A) . x))
proof
let B9 be
Element of
Fin (Permutations n);
( B9 c= In ((Permutations n),(Fin (Permutations n))) & B9 <> {} implies for x being Element of Permutations n st x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 holds
G1 . (B9 \/ {x}) = the addF of K . ((G1 . B9),((Path_product A) . x)) )
assume that A19:
B9 c= In (
(Permutations n),
(Fin (Permutations n)))
and A20:
B9 <> {}
;
for x being Element of Permutations n st x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 holds
G1 . (B9 \/ {x}) = the addF of K . ((G1 . B9),((Path_product A) . x))
thus
for
x being
Element of
Permutations n st
x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 holds
G1 . (B9 \/ {x}) = the
addF of
K . (
(G1 . B9),
((Path_product A) . x))
verumproof
{ (p ") where p is Permutation of (Seg n) : p in B9 } c= Permutations n
then reconsider B2 =
{ (p ") where p is Permutation of (Seg n) : p in B9 } as
Element of
Fin (Permutations n) by FINSUB_1:17;
set d = the
Element of
B9;
let x be
Element of
Permutations n;
( x in (In ((Permutations n),(Fin (Permutations n)))) \ B9 implies G1 . (B9 \/ {x}) = the addF of K . ((G1 . B9),((Path_product A) . x)) )
reconsider px =
x as
Permutation of
(Seg n) by MATRIX_1:def 12;
reconsider y =
px " as
Element of
Permutations n by MATRIX_1:def 12;
A21:
B2 \/ {y} c= { (p ") where p is Permutation of (Seg n) : p in B9 \/ {x} }
A26:
B2 c= In (
(Permutations n),
(Fin (Permutations n)))
assume
x in (In ((Permutations n),(Fin (Permutations n)))) \ B9
;
G1 . (B9 \/ {x}) = the addF of K . ((G1 . B9),((Path_product A) . x))
then A27:
not
x in B9
by XBOOLE_0:def 5;
then A30:
y in (In ((Permutations n),(Fin (Permutations n)))) \ B2
by A2, XBOOLE_0:def 5;
the
Element of
B9 in In (
(Permutations n),
(Fin (Permutations n)))
by A19, A20;
then reconsider pd = the
Element of
B9 as
Permutation of
(Seg n) by A2, MATRIX_1:def 12;
A31:
pd " in B2
by A20;
A32:
(
G1 . (B9 \/ {.x.}) = G0 . { (p ") where p is Permutation of (Seg n) : p in B9 \/ {x} } &
G0 . B2 = G1 . B9 )
by A11;
{ (p ") where p is Permutation of (Seg n) : p in B9 \/ {x} } c= B2 \/ {y}
then
B2 \/ {y} = { (p ") where p is Permutation of (Seg n) : p in B9 \/ {x} }
by A21;
then
G0 . { (p ") where p is Permutation of (Seg n) : p in B9 \/ {x} } = the
addF of
K . (
(G0 . B2),
((Path_product (A @)) . y))
by A9, A26, A31, A30;
hence
G1 . (B9 \/ {x}) = the
addF of
K . (
(G1 . B9),
((Path_product A) . x))
by A12, A32, Th35;
verum
end;
end;
A35:
for e being Element of the carrier of K st e is_a_unity_wrt the addF of K holds
G1 . {} = e
G1 . (In ((Permutations n),(Fin (Permutations n)))) = G0 . { (p ") where p is Permutation of (Seg n) : p in In ((Permutations n),(Fin (Permutations n))) }
by A11;
then
the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product (A @))) = G1 . (In ((Permutations n),(Fin (Permutations n))))
by A6, A3, A4, XBOOLE_0:def 10;
then
the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product A)) = the addF of K $$ ((In ((Permutations n),(Fin (Permutations n)))),(Path_product (A @)))
by A5, A35, A13, A18, SETWISEO:def 3;
hence
Det A = Det (A @)
by A1, MATRIX_3:def 9; verum