:: FINSEQ_7 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem Th1: :: FINSEQ_7:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm1:
for j, i being Nat holds (j -' i) -' 1 = (j -' 1) -' i
:: deftheorem Def1 defines Replace FINSEQ_7:def 1 :
theorem :: FINSEQ_7:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: FINSEQ_7:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th7: :: FINSEQ_7:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm2:
for D being non empty set
for f being FinSequence of D
for p being Element of D
for i being Nat st 1 <= i & i <= len f holds
(Replace f,i,p) . i = p
theorem :: FINSEQ_7:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th12: :: FINSEQ_7:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th13: :: FINSEQ_7:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: FINSEQ_7:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th16: :: FINSEQ_7:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: FINSEQ_7:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th18: :: FINSEQ_7:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: FINSEQ_7:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let D be non
empty set ;
let f be
FinSequence of
D;
let i,
j be
Nat;
func Swap f,
i,
j -> FinSequence of
D equals :
Def2:
:: FINSEQ_7:def 2
Replace (Replace f,i,(f /. j)),
j,
(f /. i) if ( 1
<= i &
i <= len f & 1
<= j &
j <= len f )
otherwise f;
correctness
coherence
( ( 1 <= i & i <= len f & 1 <= j & j <= len f implies Replace (Replace f,i,(f /. j)),j,(f /. i) is FinSequence of D ) & ( ( not 1 <= i or not i <= len f or not 1 <= j or not j <= len f ) implies f is FinSequence of D ) );
consistency
for b1 being FinSequence of D holds verum;
;
end;
:: deftheorem Def2 defines Swap FINSEQ_7:def 2 :
theorem Th20: :: FINSEQ_7:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm3:
for D being non empty set
for f being FinSequence of D
for i, j being Nat st 1 <= i & i <= len f & 1 <= j & j <= len f holds
( (Swap f,i,j) . i = f . j & (Swap f,i,j) . j = f . i )
theorem Th21: :: FINSEQ_7:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th23: :: FINSEQ_7:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th29: :: FINSEQ_7:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: FINSEQ_7:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm4:
for D being non empty set
for f being FinSequence of D
for i, k, j being Nat st i <> k & j <> k holds
(Swap f,i,j) . k = f . k
theorem Th32: :: FINSEQ_7:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th33: :: FINSEQ_7:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th34: :: FINSEQ_7:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th35: :: FINSEQ_7:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
D being non
empty set for
f being
FinSequence of
D for
p being
Element of
D for
i,
k,
j being
Nat st
i <> k &
j <> k & 1
<= i &
i <= len f & 1
<= j &
j <= len f & 1
<= k &
k <= len f holds
Swap (Replace f,k,p),
i,
j = Replace (Swap f,i,j),
k,
p
theorem :: FINSEQ_7:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
D being non
empty set for
f being
FinSequence of
D for
i,
k,
j being
Nat st
i <> k &
j <> k & 1
<= i &
i <= len f & 1
<= j &
j <= len f & 1
<= k &
k <= len f holds
Swap (Swap f,i,j),
j,
k = Swap (Swap f,i,k),
i,
j
theorem :: FINSEQ_7:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
D being non
empty set for
f being
FinSequence of
D for
i,
k,
j,
l being
Nat st
i <> k &
j <> k &
l <> i &
l <> j & 1
<= i &
i <= len f & 1
<= j &
j <= len f & 1
<= k &
k <= len f & 1
<= l &
l <= len f holds
Swap (Swap f,i,j),
k,
l = Swap (Swap f,k,l),
i,
j