MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  pfxccat3 Structured version   Visualization version   GIF version

Theorem pfxccat3 14087
Description: The subword of a concatenation is either a subword of the first concatenated word or a subword of the second concatenated word or a concatenation of a suffix of the first word with a prefix of the second word. (Contributed by Alexander van der Vekens, 30-Mar-2018.) (Revised by AV, 10-May-2020.)
Hypothesis
Ref Expression
swrdccatin2.l 𝐿 = (♯‘𝐴)
Assertion
Ref Expression
pfxccat3 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = if(𝑁𝐿, (𝐴 substr ⟨𝑀, 𝑁⟩), if(𝐿𝑀, (𝐵 substr ⟨(𝑀𝐿), (𝑁𝐿)⟩), ((𝐴 substr ⟨𝑀, 𝐿⟩) ++ (𝐵 prefix (𝑁𝐿)))))))

Proof of Theorem pfxccat3
StepHypRef Expression
1 simpll 766 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ 𝑁𝐿) → (𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉))
2 simplrl 776 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ 𝑁𝐿) → 𝑀 ∈ (0...𝑁))
3 lencl 13876 . . . . . . . . 9 (𝐴 ∈ Word 𝑉 → (♯‘𝐴) ∈ ℕ0)
4 elfznn0 12995 . . . . . . . . . . . . . 14 (𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) → 𝑁 ∈ ℕ0)
54adantr 484 . . . . . . . . . . . . 13 ((𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ∧ (♯‘𝐴) ∈ ℕ0) → 𝑁 ∈ ℕ0)
65adantr 484 . . . . . . . . . . . 12 (((𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ∧ (♯‘𝐴) ∈ ℕ0) ∧ 𝑁𝐿) → 𝑁 ∈ ℕ0)
7 simplr 768 . . . . . . . . . . . 12 (((𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ∧ (♯‘𝐴) ∈ ℕ0) ∧ 𝑁𝐿) → (♯‘𝐴) ∈ ℕ0)
8 swrdccatin2.l . . . . . . . . . . . . . . 15 𝐿 = (♯‘𝐴)
98breq2i 5038 . . . . . . . . . . . . . 14 (𝑁𝐿𝑁 ≤ (♯‘𝐴))
109biimpi 219 . . . . . . . . . . . . 13 (𝑁𝐿𝑁 ≤ (♯‘𝐴))
1110adantl 485 . . . . . . . . . . . 12 (((𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ∧ (♯‘𝐴) ∈ ℕ0) ∧ 𝑁𝐿) → 𝑁 ≤ (♯‘𝐴))
12 elfz2nn0 12993 . . . . . . . . . . . 12 (𝑁 ∈ (0...(♯‘𝐴)) ↔ (𝑁 ∈ ℕ0 ∧ (♯‘𝐴) ∈ ℕ0𝑁 ≤ (♯‘𝐴)))
136, 7, 11, 12syl3anbrc 1340 . . . . . . . . . . 11 (((𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ∧ (♯‘𝐴) ∈ ℕ0) ∧ 𝑁𝐿) → 𝑁 ∈ (0...(♯‘𝐴)))
1413exp31 423 . . . . . . . . . 10 (𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) → ((♯‘𝐴) ∈ ℕ0 → (𝑁𝐿𝑁 ∈ (0...(♯‘𝐴)))))
1514adantl 485 . . . . . . . . 9 ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((♯‘𝐴) ∈ ℕ0 → (𝑁𝐿𝑁 ∈ (0...(♯‘𝐴)))))
163, 15syl5com 31 . . . . . . . 8 (𝐴 ∈ Word 𝑉 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝑁𝐿𝑁 ∈ (0...(♯‘𝐴)))))
1716adantr 484 . . . . . . 7 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝑁𝐿𝑁 ∈ (0...(♯‘𝐴)))))
1817imp 410 . . . . . 6 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (𝑁𝐿𝑁 ∈ (0...(♯‘𝐴))))
1918imp 410 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ 𝑁𝐿) → 𝑁 ∈ (0...(♯‘𝐴)))
202, 19jca 515 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ 𝑁𝐿) → (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(♯‘𝐴))))
21 swrdccatin1 14078 . . . 4 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(♯‘𝐴))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = (𝐴 substr ⟨𝑀, 𝑁⟩)))
221, 20, 21sylc 65 . . 3 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ 𝑁𝐿) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = (𝐴 substr ⟨𝑀, 𝑁⟩))
23 simp1l 1194 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿𝐿𝑀) → (𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉))
248eleq1i 2880 . . . . . . . . . . 11 (𝐿 ∈ ℕ0 ↔ (♯‘𝐴) ∈ ℕ0)
25 elfz2nn0 12993 . . . . . . . . . . . . . 14 (𝑀 ∈ (0...𝑁) ↔ (𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁))
26 nn0z 11993 . . . . . . . . . . . . . . . . . . 19 (𝐿 ∈ ℕ0𝐿 ∈ ℤ)
2726adantl 485 . . . . . . . . . . . . . . . . . 18 (((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) → 𝐿 ∈ ℤ)
28 nn0z 11993 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
29283ad2ant2 1131 . . . . . . . . . . . . . . . . . . 19 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) → 𝑁 ∈ ℤ)
3029adantr 484 . . . . . . . . . . . . . . . . . 18 (((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) → 𝑁 ∈ ℤ)
31 nn0z 11993 . . . . . . . . . . . . . . . . . . . 20 (𝑀 ∈ ℕ0𝑀 ∈ ℤ)
32313ad2ant1 1130 . . . . . . . . . . . . . . . . . . 19 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) → 𝑀 ∈ ℤ)
3332adantr 484 . . . . . . . . . . . . . . . . . 18 (((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) → 𝑀 ∈ ℤ)
3427, 30, 333jca 1125 . . . . . . . . . . . . . . . . 17 (((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) → (𝐿 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ))
3534adantr 484 . . . . . . . . . . . . . . . 16 ((((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) ∧ 𝐿𝑀) → (𝐿 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ))
36 simpl3 1190 . . . . . . . . . . . . . . . . 17 (((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) → 𝑀𝑁)
3736anim1ci 618 . . . . . . . . . . . . . . . 16 ((((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) ∧ 𝐿𝑀) → (𝐿𝑀𝑀𝑁))
38 elfz2 12892 . . . . . . . . . . . . . . . 16 (𝑀 ∈ (𝐿...𝑁) ↔ ((𝐿 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝐿𝑀𝑀𝑁)))
3935, 37, 38sylanbrc 586 . . . . . . . . . . . . . . 15 ((((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) ∧ 𝐿 ∈ ℕ0) ∧ 𝐿𝑀) → 𝑀 ∈ (𝐿...𝑁))
4039exp31 423 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) → (𝐿 ∈ ℕ0 → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4125, 40sylbi 220 . . . . . . . . . . . . 13 (𝑀 ∈ (0...𝑁) → (𝐿 ∈ ℕ0 → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4241adantr 484 . . . . . . . . . . . 12 ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝐿 ∈ ℕ0 → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4342com12 32 . . . . . . . . . . 11 (𝐿 ∈ ℕ0 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4424, 43sylbir 238 . . . . . . . . . 10 ((♯‘𝐴) ∈ ℕ0 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
453, 44syl 17 . . . . . . . . 9 (𝐴 ∈ Word 𝑉 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4645adantr 484 . . . . . . . 8 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
4746imp 410 . . . . . . 7 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (𝐿𝑀𝑀 ∈ (𝐿...𝑁)))
4847a1d 25 . . . . . 6 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿 → (𝐿𝑀𝑀 ∈ (𝐿...𝑁))))
49483imp 1108 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿𝐿𝑀) → 𝑀 ∈ (𝐿...𝑁))
50 elfz2nn0 12993 . . . . . . . . . . . 12 (𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) ↔ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))))
51 nn0z 11993 . . . . . . . . . . . . . . . . . 18 ((♯‘𝐴) ∈ ℕ0 → (♯‘𝐴) ∈ ℤ)
528, 51eqeltrid 2894 . . . . . . . . . . . . . . . . 17 ((♯‘𝐴) ∈ ℕ0𝐿 ∈ ℤ)
5352adantr 484 . . . . . . . . . . . . . . . 16 (((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿) → 𝐿 ∈ ℤ)
5453adantl 485 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → 𝐿 ∈ ℤ)
55 nn0z 11993 . . . . . . . . . . . . . . . . 17 ((𝐿 + (♯‘𝐵)) ∈ ℕ0 → (𝐿 + (♯‘𝐵)) ∈ ℤ)
56553ad2ant2 1131 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → (𝐿 + (♯‘𝐵)) ∈ ℤ)
5756adantr 484 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → (𝐿 + (♯‘𝐵)) ∈ ℤ)
58283ad2ant1 1130 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → 𝑁 ∈ ℤ)
5958adantr 484 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → 𝑁 ∈ ℤ)
6054, 57, 593jca 1125 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → (𝐿 ∈ ℤ ∧ (𝐿 + (♯‘𝐵)) ∈ ℤ ∧ 𝑁 ∈ ℤ))
618eqcomi 2807 . . . . . . . . . . . . . . . . . . 19 (♯‘𝐴) = 𝐿
6261eleq1i 2880 . . . . . . . . . . . . . . . . . 18 ((♯‘𝐴) ∈ ℕ0𝐿 ∈ ℕ0)
63 nn0re 11894 . . . . . . . . . . . . . . . . . . . . . 22 (𝐿 ∈ ℕ0𝐿 ∈ ℝ)
64 nn0re 11894 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
65 ltnle 10709 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐿 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝐿 < 𝑁 ↔ ¬ 𝑁𝐿))
6663, 64, 65syl2anr 599 . . . . . . . . . . . . . . . . . . . . 21 ((𝑁 ∈ ℕ0𝐿 ∈ ℕ0) → (𝐿 < 𝑁 ↔ ¬ 𝑁𝐿))
6766bicomd 226 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝐿 ∈ ℕ0) → (¬ 𝑁𝐿𝐿 < 𝑁))
68 ltle 10718 . . . . . . . . . . . . . . . . . . . . 21 ((𝐿 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝐿 < 𝑁𝐿𝑁))
6963, 64, 68syl2anr 599 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝐿 ∈ ℕ0) → (𝐿 < 𝑁𝐿𝑁))
7067, 69sylbid 243 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ0𝐿 ∈ ℕ0) → (¬ 𝑁𝐿𝐿𝑁))
7170ex 416 . . . . . . . . . . . . . . . . . 18 (𝑁 ∈ ℕ0 → (𝐿 ∈ ℕ0 → (¬ 𝑁𝐿𝐿𝑁)))
7262, 71syl5bi 245 . . . . . . . . . . . . . . . . 17 (𝑁 ∈ ℕ0 → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝑁𝐿𝐿𝑁)))
73723ad2ant1 1130 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝑁𝐿𝐿𝑁)))
7473imp32 422 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → 𝐿𝑁)
75 simpl3 1190 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → 𝑁 ≤ (𝐿 + (♯‘𝐵)))
7674, 75jca 515 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → (𝐿𝑁𝑁 ≤ (𝐿 + (♯‘𝐵))))
77 elfz2 12892 . . . . . . . . . . . . . 14 (𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))) ↔ ((𝐿 ∈ ℤ ∧ (𝐿 + (♯‘𝐵)) ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ (𝐿𝑁𝑁 ≤ (𝐿 + (♯‘𝐵)))))
7860, 76, 77sylanbrc 586 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) ∧ ((♯‘𝐴) ∈ ℕ0 ∧ ¬ 𝑁𝐿)) → 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))
7978exp32 424 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
8050, 79sylbi 220 . . . . . . . . . . 11 (𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
8180adantl 485 . . . . . . . . . 10 ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
823, 81syl5com 31 . . . . . . . . 9 (𝐴 ∈ Word 𝑉 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
8382adantr 484 . . . . . . . 8 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
8483imp 410 . . . . . . 7 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
8584a1dd 50 . . . . . 6 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿 → (𝐿𝑀𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
86853imp 1108 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿𝐿𝑀) → 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))
8749, 86jca 515 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿𝐿𝑀) → (𝑀 ∈ (𝐿...𝑁) ∧ 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
888swrdccatin2 14082 . . . 4 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (𝐿...𝑁) ∧ 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = (𝐵 substr ⟨(𝑀𝐿), (𝑁𝐿)⟩)))
8923, 87, 88sylc 65 . . 3 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿𝐿𝑀) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = (𝐵 substr ⟨(𝑀𝐿), (𝑁𝐿)⟩))
90 simp1l 1194 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿 ∧ ¬ 𝐿𝑀) → (𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉))
91 nn0re 11894 . . . . . . . . . . . . . . . . . . 19 (𝑀 ∈ ℕ0𝑀 ∈ ℝ)
9291adantr 484 . . . . . . . . . . . . . . . . . 18 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0) → 𝑀 ∈ ℝ)
93 ltnle 10709 . . . . . . . . . . . . . . . . . 18 ((𝑀 ∈ ℝ ∧ 𝐿 ∈ ℝ) → (𝑀 < 𝐿 ↔ ¬ 𝐿𝑀))
9492, 63, 93syl2anr 599 . . . . . . . . . . . . . . . . 17 ((𝐿 ∈ ℕ0 ∧ (𝑀 ∈ ℕ0𝑁 ∈ ℕ0)) → (𝑀 < 𝐿 ↔ ¬ 𝐿𝑀))
9594bicomd 226 . . . . . . . . . . . . . . . 16 ((𝐿 ∈ ℕ0 ∧ (𝑀 ∈ ℕ0𝑁 ∈ ℕ0)) → (¬ 𝐿𝑀𝑀 < 𝐿))
96 simpll 766 . . . . . . . . . . . . . . . . . . . 20 (((𝑀 ∈ ℕ0𝐿 ∈ ℕ0) ∧ 𝑀 < 𝐿) → 𝑀 ∈ ℕ0)
97 simplr 768 . . . . . . . . . . . . . . . . . . . 20 (((𝑀 ∈ ℕ0𝐿 ∈ ℕ0) ∧ 𝑀 < 𝐿) → 𝐿 ∈ ℕ0)
98 ltle 10718 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑀 ∈ ℝ ∧ 𝐿 ∈ ℝ) → (𝑀 < 𝐿𝑀𝐿))
9991, 63, 98syl2an 598 . . . . . . . . . . . . . . . . . . . . 21 ((𝑀 ∈ ℕ0𝐿 ∈ ℕ0) → (𝑀 < 𝐿𝑀𝐿))
10099imp 410 . . . . . . . . . . . . . . . . . . . 20 (((𝑀 ∈ ℕ0𝐿 ∈ ℕ0) ∧ 𝑀 < 𝐿) → 𝑀𝐿)
101 elfz2nn0 12993 . . . . . . . . . . . . . . . . . . . 20 (𝑀 ∈ (0...𝐿) ↔ (𝑀 ∈ ℕ0𝐿 ∈ ℕ0𝑀𝐿))
10296, 97, 100, 101syl3anbrc 1340 . . . . . . . . . . . . . . . . . . 19 (((𝑀 ∈ ℕ0𝐿 ∈ ℕ0) ∧ 𝑀 < 𝐿) → 𝑀 ∈ (0...𝐿))
103102exp31 423 . . . . . . . . . . . . . . . . . 18 (𝑀 ∈ ℕ0 → (𝐿 ∈ ℕ0 → (𝑀 < 𝐿𝑀 ∈ (0...𝐿))))
104103adantr 484 . . . . . . . . . . . . . . . . 17 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐿 ∈ ℕ0 → (𝑀 < 𝐿𝑀 ∈ (0...𝐿))))
105104impcom 411 . . . . . . . . . . . . . . . 16 ((𝐿 ∈ ℕ0 ∧ (𝑀 ∈ ℕ0𝑁 ∈ ℕ0)) → (𝑀 < 𝐿𝑀 ∈ (0...𝐿)))
10695, 105sylbid 243 . . . . . . . . . . . . . . 15 ((𝐿 ∈ ℕ0 ∧ (𝑀 ∈ ℕ0𝑁 ∈ ℕ0)) → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿)))
107106expcom 417 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐿 ∈ ℕ0 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
1081073adant3 1129 . . . . . . . . . . . . 13 ((𝑀 ∈ ℕ0𝑁 ∈ ℕ0𝑀𝑁) → (𝐿 ∈ ℕ0 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
10925, 108sylbi 220 . . . . . . . . . . . 12 (𝑀 ∈ (0...𝑁) → (𝐿 ∈ ℕ0 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
11062, 109syl5bi 245 . . . . . . . . . . 11 (𝑀 ∈ (0...𝑁) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
111110adantr 484 . . . . . . . . . 10 ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((♯‘𝐴) ∈ ℕ0 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
1123, 111syl5com 31 . . . . . . . . 9 (𝐴 ∈ Word 𝑉 → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
113112adantr 484 . . . . . . . 8 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
114113imp 410 . . . . . . 7 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿)))
115114a1d 25 . . . . . 6 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿 → (¬ 𝐿𝑀𝑀 ∈ (0...𝐿))))
1161153imp 1108 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿 ∧ ¬ 𝐿𝑀) → 𝑀 ∈ (0...𝐿))
117643ad2ant1 1130 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → 𝑁 ∈ ℝ)
11865bicomd 226 . . . . . . . . . . . . . . . . 17 ((𝐿 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (¬ 𝑁𝐿𝐿 < 𝑁))
11963, 117, 118syl2an 598 . . . . . . . . . . . . . . . 16 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (¬ 𝑁𝐿𝐿 < 𝑁))
12026adantr 484 . . . . . . . . . . . . . . . . . . . 20 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → 𝐿 ∈ ℤ)
12156adantl 485 . . . . . . . . . . . . . . . . . . . 20 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (𝐿 + (♯‘𝐵)) ∈ ℤ)
12258adantl 485 . . . . . . . . . . . . . . . . . . . 20 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → 𝑁 ∈ ℤ)
123120, 121, 1223jca 1125 . . . . . . . . . . . . . . . . . . 19 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (𝐿 ∈ ℤ ∧ (𝐿 + (♯‘𝐵)) ∈ ℤ ∧ 𝑁 ∈ ℤ))
124123adantr 484 . . . . . . . . . . . . . . . . . 18 (((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) ∧ 𝐿 < 𝑁) → (𝐿 ∈ ℤ ∧ (𝐿 + (♯‘𝐵)) ∈ ℤ ∧ 𝑁 ∈ ℤ))
12563, 117, 68syl2an 598 . . . . . . . . . . . . . . . . . . . 20 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (𝐿 < 𝑁𝐿𝑁))
126125imp 410 . . . . . . . . . . . . . . . . . . 19 (((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) ∧ 𝐿 < 𝑁) → 𝐿𝑁)
127 simplr3 1214 . . . . . . . . . . . . . . . . . . 19 (((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) ∧ 𝐿 < 𝑁) → 𝑁 ≤ (𝐿 + (♯‘𝐵)))
128126, 127jca 515 . . . . . . . . . . . . . . . . . 18 (((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) ∧ 𝐿 < 𝑁) → (𝐿𝑁𝑁 ≤ (𝐿 + (♯‘𝐵))))
129124, 128, 77sylanbrc 586 . . . . . . . . . . . . . . . . 17 (((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) ∧ 𝐿 < 𝑁) → 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))
130129ex 416 . . . . . . . . . . . . . . . 16 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (𝐿 < 𝑁𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
131119, 130sylbid 243 . . . . . . . . . . . . . . 15 ((𝐿 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵)))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
132131ex 416 . . . . . . . . . . . . . 14 (𝐿 ∈ ℕ0 → ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
13362, 132sylbi 220 . . . . . . . . . . . . 13 ((♯‘𝐴) ∈ ℕ0 → ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
1343, 133syl 17 . . . . . . . . . . . 12 (𝐴 ∈ Word 𝑉 → ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
135134adantr 484 . . . . . . . . . . 11 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
136135com12 32 . . . . . . . . . 10 ((𝑁 ∈ ℕ0 ∧ (𝐿 + (♯‘𝐵)) ∈ ℕ0𝑁 ≤ (𝐿 + (♯‘𝐵))) → ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
13750, 136sylbi 220 . . . . . . . . 9 (𝑁 ∈ (0...(𝐿 + (♯‘𝐵))) → ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
138137adantl 485 . . . . . . . 8 ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
139138impcom 411 . . . . . . 7 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
140139a1dd 50 . . . . . 6 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → (¬ 𝑁𝐿 → (¬ 𝐿𝑀𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))))
1411403imp 1108 . . . . 5 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿 ∧ ¬ 𝐿𝑀) → 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵))))
142116, 141jca 515 . . . 4 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿 ∧ ¬ 𝐿𝑀) → (𝑀 ∈ (0...𝐿) ∧ 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))))
1438pfxccatin12 14086 . . . 4 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝐿) ∧ 𝑁 ∈ (𝐿...(𝐿 + (♯‘𝐵)))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = ((𝐴 substr ⟨𝑀, 𝐿⟩) ++ (𝐵 prefix (𝑁𝐿)))))
14490, 142, 143sylc 65 . . 3 ((((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) ∧ ¬ 𝑁𝐿 ∧ ¬ 𝐿𝑀) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = ((𝐴 substr ⟨𝑀, 𝐿⟩) ++ (𝐵 prefix (𝑁𝐿))))
14522, 89, 1442if2 4478 . 2 (((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) ∧ (𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵))))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = if(𝑁𝐿, (𝐴 substr ⟨𝑀, 𝑁⟩), if(𝐿𝑀, (𝐵 substr ⟨(𝑀𝐿), (𝑁𝐿)⟩), ((𝐴 substr ⟨𝑀, 𝐿⟩) ++ (𝐵 prefix (𝑁𝐿))))))
146145ex 416 1 ((𝐴 ∈ Word 𝑉𝐵 ∈ Word 𝑉) → ((𝑀 ∈ (0...𝑁) ∧ 𝑁 ∈ (0...(𝐿 + (♯‘𝐵)))) → ((𝐴 ++ 𝐵) substr ⟨𝑀, 𝑁⟩) = if(𝑁𝐿, (𝐴 substr ⟨𝑀, 𝑁⟩), if(𝐿𝑀, (𝐵 substr ⟨(𝑀𝐿), (𝑁𝐿)⟩), ((𝐴 substr ⟨𝑀, 𝐿⟩) ++ (𝐵 prefix (𝑁𝐿)))))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  ifcif 4425  cop 4531   class class class wbr 5030  cfv 6324  (class class class)co 7135  cr 10525  0cc0 10526   + caddc 10529   < clt 10664  cle 10665  cmin 10859  0cn0 11885  cz 11969  ...cfz 12885  chash 13686  Word cword 13857   ++ cconcat 13913   substr csubstr 13993   prefix cpfx 14023
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-oadd 8089  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-card 9352  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232  df-fz 12886  df-fzo 13029  df-hash 13687  df-word 13858  df-concat 13914  df-substr 13994  df-pfx 14024
This theorem is referenced by:  swrdccat  14088  swrdccat3b  14093
  Copyright terms: Public domain W3C validator