Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  smatrcl Structured version   Visualization version   GIF version

Theorem smatrcl 31648
Description: Closure of the rectangular submatrix. (Contributed by Thierry Arnoux, 19-Aug-2020.)
Hypotheses
Ref Expression
smat.s 𝑆 = (𝐾(subMat1‘𝐴)𝐿)
smat.m (𝜑𝑀 ∈ ℕ)
smat.n (𝜑𝑁 ∈ ℕ)
smat.k (𝜑𝐾 ∈ (1...𝑀))
smat.l (𝜑𝐿 ∈ (1...𝑁))
smat.a (𝜑𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))))
Assertion
Ref Expression
smatrcl (𝜑𝑆 ∈ (𝐵m ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))

Proof of Theorem smatrcl
Dummy variables 𝑖 𝑗 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 smat.a . . . . . . . 8 (𝜑𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))))
2 elmapi 8595 . . . . . . . 8 (𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))) → 𝐴:((1...𝑀) × (1...𝑁))⟶𝐵)
3 ffun 6587 . . . . . . . 8 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → Fun 𝐴)
41, 2, 33syl 18 . . . . . . 7 (𝜑 → Fun 𝐴)
5 eqid 2738 . . . . . . . . 9 (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) = (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
65mpofun 7376 . . . . . . . 8 Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
76a1i 11 . . . . . . 7 (𝜑 → Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩))
8 funco 6458 . . . . . . 7 ((Fun 𝐴 ∧ Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) → Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
94, 7, 8syl2anc 583 . . . . . 6 (𝜑 → Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
10 smat.s . . . . . . . 8 𝑆 = (𝐾(subMat1‘𝐴)𝐿)
11 fz1ssnn 13216 . . . . . . . . . 10 (1...𝑀) ⊆ ℕ
12 smat.k . . . . . . . . . 10 (𝜑𝐾 ∈ (1...𝑀))
1311, 12sselid 3915 . . . . . . . . 9 (𝜑𝐾 ∈ ℕ)
14 fz1ssnn 13216 . . . . . . . . . 10 (1...𝑁) ⊆ ℕ
15 smat.l . . . . . . . . . 10 (𝜑𝐿 ∈ (1...𝑁))
1614, 15sselid 3915 . . . . . . . . 9 (𝜑𝐿 ∈ ℕ)
17 smatfval 31647 . . . . . . . . 9 ((𝐾 ∈ ℕ ∧ 𝐿 ∈ ℕ ∧ 𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁)))) → (𝐾(subMat1‘𝐴)𝐿) = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
1813, 16, 1, 17syl3anc 1369 . . . . . . . 8 (𝜑 → (𝐾(subMat1‘𝐴)𝐿) = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
1910, 18syl5eq 2791 . . . . . . 7 (𝜑𝑆 = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
2019funeqd 6440 . . . . . 6 (𝜑 → (Fun 𝑆 ↔ Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩))))
219, 20mpbird 256 . . . . 5 (𝜑 → Fun 𝑆)
22 fdmrn 6616 . . . . 5 (Fun 𝑆𝑆:dom 𝑆⟶ran 𝑆)
2321, 22sylib 217 . . . 4 (𝜑𝑆:dom 𝑆⟶ran 𝑆)
2419dmeqd 5803 . . . . . 6 (𝜑 → dom 𝑆 = dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
25 dmco 6147 . . . . . . 7 dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴)
26 fdm 6593 . . . . . . . . . . . 12 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → dom 𝐴 = ((1...𝑀) × (1...𝑁)))
271, 2, 263syl 18 . . . . . . . . . . 11 (𝜑 → dom 𝐴 = ((1...𝑀) × (1...𝑁)))
2827imaeq2d 5958 . . . . . . . . . 10 (𝜑 → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ ((1...𝑀) × (1...𝑁))))
2928eleq2d 2824 . . . . . . . . 9 (𝜑 → (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) ↔ 𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ ((1...𝑀) × (1...𝑁)))))
30 opex 5373 . . . . . . . . . . . 12 ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ ∈ V
315, 30fnmpoi 7883 . . . . . . . . . . 11 (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) Fn (ℕ × ℕ)
32 elpreima 6917 . . . . . . . . . . 11 ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) Fn (ℕ × ℕ) → (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ ((1...𝑀) × (1...𝑁))) ↔ (𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))))
3331, 32ax-mp 5 . . . . . . . . . 10 (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ ((1...𝑀) × (1...𝑁))) ↔ (𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))))
3433a1i 11 . . . . . . . . 9 (𝜑 → (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ ((1...𝑀) × (1...𝑁))) ↔ (𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))))
35 simplr 765 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
3635fveq2d 6760 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘⟨(1st𝑥), (2nd𝑥)⟩))
37 df-ov 7258 . . . . . . . . . . . . . . . . . 18 ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘⟨(1st𝑥), (2nd𝑥)⟩)
3836, 37eqtr4di 2797 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) = ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)))
39 breq1 5073 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → (𝑖 < 𝐾 ↔ (1st𝑥) < 𝐾))
40 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → 𝑖 = (1st𝑥))
41 oveq1 7262 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → (𝑖 + 1) = ((1st𝑥) + 1))
4239, 40, 41ifbieq12d 4484 . . . . . . . . . . . . . . . . . . . 20 (𝑖 = (1st𝑥) → if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)) = if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)))
4342opeq1d 4807 . . . . . . . . . . . . . . . . . . 19 (𝑖 = (1st𝑥) → ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
44 breq1 5073 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → (𝑗 < 𝐿 ↔ (2nd𝑥) < 𝐿))
45 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → 𝑗 = (2nd𝑥))
46 oveq1 7262 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → (𝑗 + 1) = ((2nd𝑥) + 1))
4744, 45, 46ifbieq12d 4484 . . . . . . . . . . . . . . . . . . . 20 (𝑗 = (2nd𝑥) → if(𝑗 < 𝐿, 𝑗, (𝑗 + 1)) = if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)))
4847opeq2d 4808 . . . . . . . . . . . . . . . . . . 19 (𝑗 = (2nd𝑥) → ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
49 opex 5373 . . . . . . . . . . . . . . . . . . 19 ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩ ∈ V
5043, 48, 5, 49ovmpo 7411 . . . . . . . . . . . . . . . . . 18 (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) → ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)) = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
5150adantl 481 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)) = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
5238, 51eqtrd 2778 . . . . . . . . . . . . . . . 16 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
5352eleq1d 2823 . . . . . . . . . . . . . . 15 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)) ↔ ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩ ∈ ((1...𝑀) × (1...𝑁))))
54 opelxp 5616 . . . . . . . . . . . . . . 15 (⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩ ∈ ((1...𝑀) × (1...𝑁)) ↔ (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ∧ if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁)))
5553, 54bitrdi 286 . . . . . . . . . . . . . 14 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)) ↔ (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ∧ if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁))))
56 ifel 4500 . . . . . . . . . . . . . . . 16 (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))))
57 simplrl 773 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ∈ ℕ)
5857nnred 11918 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ∈ ℝ)
5913nnred 11918 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐾 ∈ ℝ)
6059ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝐾 ∈ ℝ)
61 smat.m . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑𝑀 ∈ ℕ)
6261nnred 11918 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑀 ∈ ℝ)
6362ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝑀 ∈ ℝ)
64 simpr 484 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) < 𝐾)
6558, 60, 64ltled 11053 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ≤ 𝐾)
66 elfzle2 13189 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐾 ∈ (1...𝑀) → 𝐾𝑀)
6712, 66syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐾𝑀)
6867ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝐾𝑀)
6958, 60, 63, 65, 68letrd 11062 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ≤ 𝑀)
7057, 69jca 511 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀))
7161nnzd 12354 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑𝑀 ∈ ℤ)
72 fznn 13253 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑀 ∈ ℤ → ((1st𝑥) ∈ (1...𝑀) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀)))
7371, 72syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((1st𝑥) ∈ (1...𝑀) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀)))
7473ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → ((1st𝑥) ∈ (1...𝑀) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀)))
7570, 74mpbird 256 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ∈ (1...𝑀))
7658, 60, 63, 64, 68ltletrd 11065 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) < 𝑀)
7761ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝑀 ∈ ℕ)
78 nnltlem1 12317 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℕ ∧ 𝑀 ∈ ℕ) → ((1st𝑥) < 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
7957, 77, 78syl2anc 583 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → ((1st𝑥) < 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
8076, 79mpbid 231 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ≤ (𝑀 − 1))
8175, 802thd 264 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → ((1st𝑥) ∈ (1...𝑀) ↔ (1st𝑥) ≤ (𝑀 − 1)))
8281pm5.32da 578 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ↔ ((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
83 fznn 13253 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℤ → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8471, 83syl 17 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8584ad2antrr 722 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
86 simprl 767 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (1st𝑥) ∈ ℕ)
8786peano2nnd 11920 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((1st𝑥) + 1) ∈ ℕ)
8887biantrurd 532 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8986nnzd 12354 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (1st𝑥) ∈ ℤ)
9071ad2antrr 722 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑀 ∈ ℤ)
91 zltp1le 12300 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((1st𝑥) < 𝑀 ↔ ((1st𝑥) + 1) ≤ 𝑀))
92 zltlem1 12303 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((1st𝑥) < 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9391, 92bitr3d 280 . . . . . . . . . . . . . . . . . . . . 21 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9489, 90, 93syl2anc 583 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9585, 88, 943bitr2d 306 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (1st𝑥) ≤ (𝑀 − 1)))
9695anbi2d 628 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀)) ↔ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
9782, 96orbi12d 915 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)) ∨ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))))
98 pm4.42 1050 . . . . . . . . . . . . . . . . . 18 ((1st𝑥) ≤ (𝑀 − 1) ↔ (((1st𝑥) ≤ (𝑀 − 1) ∧ (1st𝑥) < 𝐾) ∨ ((1st𝑥) ≤ (𝑀 − 1) ∧ ¬ (1st𝑥) < 𝐾)))
99 ancom 460 . . . . . . . . . . . . . . . . . . 19 (((1st𝑥) ≤ (𝑀 − 1) ∧ (1st𝑥) < 𝐾) ↔ ((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))
100 ancom 460 . . . . . . . . . . . . . . . . . . 19 (((1st𝑥) ≤ (𝑀 − 1) ∧ ¬ (1st𝑥) < 𝐾) ↔ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))
10199, 100orbi12i 911 . . . . . . . . . . . . . . . . . 18 ((((1st𝑥) ≤ (𝑀 − 1) ∧ (1st𝑥) < 𝐾) ∨ ((1st𝑥) ≤ (𝑀 − 1) ∧ ¬ (1st𝑥) < 𝐾)) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)) ∨ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
10298, 101bitri 274 . . . . . . . . . . . . . . . . 17 ((1st𝑥) ≤ (𝑀 − 1) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)) ∨ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
10397, 102bitr4di 288 . . . . . . . . . . . . . . . 16 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))) ↔ (1st𝑥) ≤ (𝑀 − 1)))
10456, 103syl5bb 282 . . . . . . . . . . . . . . 15 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ↔ (1st𝑥) ≤ (𝑀 − 1)))
105 ifel 4500 . . . . . . . . . . . . . . . 16 (if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))))
106 simplrr 774 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ∈ ℕ)
107106nnred 11918 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ∈ ℝ)
10816nnred 11918 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐿 ∈ ℝ)
109108ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝐿 ∈ ℝ)
110 smat.n . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑𝑁 ∈ ℕ)
111110nnred 11918 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑁 ∈ ℝ)
112111ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝑁 ∈ ℝ)
113 simpr 484 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) < 𝐿)
114107, 109, 113ltled 11053 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ≤ 𝐿)
115 elfzle2 13189 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐿 ∈ (1...𝑁) → 𝐿𝑁)
11615, 115syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐿𝑁)
117116ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝐿𝑁)
118107, 109, 112, 114, 117letrd 11062 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ≤ 𝑁)
119106, 118jca 511 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁))
120110nnzd 12354 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑𝑁 ∈ ℤ)
121 fznn 13253 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℤ → ((2nd𝑥) ∈ (1...𝑁) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁)))
122120, 121syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((2nd𝑥) ∈ (1...𝑁) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁)))
123122ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → ((2nd𝑥) ∈ (1...𝑁) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁)))
124119, 123mpbird 256 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ∈ (1...𝑁))
125107, 109, 112, 113, 117ltletrd 11065 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) < 𝑁)
126110ad3antrrr 726 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝑁 ∈ ℕ)
127 nnltlem1 12317 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((2nd𝑥) < 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
128106, 126, 127syl2anc 583 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → ((2nd𝑥) < 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
129125, 128mpbid 231 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ≤ (𝑁 − 1))
130124, 1292thd 264 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → ((2nd𝑥) ∈ (1...𝑁) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
131130pm5.32da 578 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ↔ ((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
132 fznn 13253 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℤ → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
133120, 132syl 17 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
134133ad2antrr 722 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
135 simprr 769 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (2nd𝑥) ∈ ℕ)
136135peano2nnd 11920 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((2nd𝑥) + 1) ∈ ℕ)
137136biantrurd 532 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
138135nnzd 12354 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (2nd𝑥) ∈ ℤ)
139120ad2antrr 722 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑁 ∈ ℤ)
140 zltp1le 12300 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((2nd𝑥) < 𝑁 ↔ ((2nd𝑥) + 1) ≤ 𝑁))
141 zltlem1 12303 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((2nd𝑥) < 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
142140, 141bitr3d 280 . . . . . . . . . . . . . . . . . . . . 21 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
143138, 139, 142syl2anc 583 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
144134, 137, 1433bitr2d 306 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
145144anbi2d 628 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁)) ↔ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
146131, 145orbi12d 915 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
147 pm4.42 1050 . . . . . . . . . . . . . . . . . 18 ((2nd𝑥) ≤ (𝑁 − 1) ↔ (((2nd𝑥) ≤ (𝑁 − 1) ∧ (2nd𝑥) < 𝐿) ∨ ((2nd𝑥) ≤ (𝑁 − 1) ∧ ¬ (2nd𝑥) < 𝐿)))
148 ancom 460 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑥) ≤ (𝑁 − 1) ∧ (2nd𝑥) < 𝐿) ↔ ((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))
149 ancom 460 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑥) ≤ (𝑁 − 1) ∧ ¬ (2nd𝑥) < 𝐿) ↔ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))
150148, 149orbi12i 911 . . . . . . . . . . . . . . . . . 18 ((((2nd𝑥) ≤ (𝑁 − 1) ∧ (2nd𝑥) < 𝐿) ∨ ((2nd𝑥) ≤ (𝑁 − 1) ∧ ¬ (2nd𝑥) < 𝐿)) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
151147, 150bitri 274 . . . . . . . . . . . . . . . . 17 ((2nd𝑥) ≤ (𝑁 − 1) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
152146, 151bitr4di 288 . . . . . . . . . . . . . . . 16 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
153105, 152syl5bb 282 . . . . . . . . . . . . . . 15 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
154104, 153anbi12d 630 . . . . . . . . . . . . . 14 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ∧ if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁)) ↔ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1))))
15555, 154bitrd 278 . . . . . . . . . . . . 13 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)) ↔ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1))))
156155pm5.32da 578 . . . . . . . . . . . 12 ((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) → ((((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
157 1zzd 12281 . . . . . . . . . . . . . . . . 17 (𝜑 → 1 ∈ ℤ)
15871, 157zsubcld 12360 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑀 − 1) ∈ ℤ)
159 fznn 13253 . . . . . . . . . . . . . . . 16 ((𝑀 − 1) ∈ ℤ → ((1st𝑥) ∈ (1...(𝑀 − 1)) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1))))
160158, 159syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ((1st𝑥) ∈ (1...(𝑀 − 1)) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1))))
161120, 157zsubcld 12360 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑁 − 1) ∈ ℤ)
162 fznn 13253 . . . . . . . . . . . . . . . 16 ((𝑁 − 1) ∈ ℤ → ((2nd𝑥) ∈ (1...(𝑁 − 1)) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))))
163161, 162syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ((2nd𝑥) ∈ (1...(𝑁 − 1)) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))))
164160, 163anbi12d 630 . . . . . . . . . . . . . 14 (𝜑 → (((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1)) ∧ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
165 an4 652 . . . . . . . . . . . . . 14 ((((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1)) ∧ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1))))
166164, 165bitrdi 286 . . . . . . . . . . . . 13 (𝜑 → (((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
167166adantr 480 . . . . . . . . . . . 12 ((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) → (((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
168156, 167bitr4d 281 . . . . . . . . . . 11 ((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) → ((((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ ((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1)))))
169168pm5.32da 578 . . . . . . . . . 10 (𝜑 → ((𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))))))
170 elxp6 7838 . . . . . . . . . . . 12 (𝑥 ∈ (ℕ × ℕ) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)))
171170anbi1i 623 . . . . . . . . . . 11 ((𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ ((𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))))
172 anass 468 . . . . . . . . . . 11 (((𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))))
173171, 172bitri 274 . . . . . . . . . 10 ((𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))))
174 elxp6 7838 . . . . . . . . . 10 (𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1)))))
175169, 173, 1743bitr4g 313 . . . . . . . . 9 (𝜑 → ((𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ 𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))
17629, 34, 1753bitrd 304 . . . . . . . 8 (𝜑 → (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) ↔ 𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))
177176eqrdv 2736 . . . . . . 7 (𝜑 → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
17825, 177syl5eq 2791 . . . . . 6 (𝜑 → dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
17924, 178eqtrd 2778 . . . . 5 (𝜑 → dom 𝑆 = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
180179feq2d 6570 . . . 4 (𝜑 → (𝑆:dom 𝑆⟶ran 𝑆𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆))
18123, 180mpbid 231 . . 3 (𝜑𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆)
18219rneqd 5836 . . . . 5 (𝜑 → ran 𝑆 = ran (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
183 rncoss 5870 . . . . 5 ran (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) ⊆ ran 𝐴
184182, 183eqsstrdi 3971 . . . 4 (𝜑 → ran 𝑆 ⊆ ran 𝐴)
185 frn 6591 . . . . 5 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → ran 𝐴𝐵)
1861, 2, 1853syl 18 . . . 4 (𝜑 → ran 𝐴𝐵)
187184, 186sstrd 3927 . . 3 (𝜑 → ran 𝑆𝐵)
188 fss 6601 . . 3 ((𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆 ∧ ran 𝑆𝐵) → 𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵)
189181, 187, 188syl2anc 583 . 2 (𝜑𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵)
190 reldmmap 8582 . . . . . 6 Rel dom ↑m
191190ovrcl 7296 . . . . 5 (𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))) → (𝐵 ∈ V ∧ ((1...𝑀) × (1...𝑁)) ∈ V))
1921, 191syl 17 . . . 4 (𝜑 → (𝐵 ∈ V ∧ ((1...𝑀) × (1...𝑁)) ∈ V))
193192simpld 494 . . 3 (𝜑𝐵 ∈ V)
194 ovex 7288 . . . 4 (1...(𝑀 − 1)) ∈ V
195 ovex 7288 . . . 4 (1...(𝑁 − 1)) ∈ V
196194, 195xpex 7581 . . 3 ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ∈ V
197 elmapg 8586 . . 3 ((𝐵 ∈ V ∧ ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ∈ V) → (𝑆 ∈ (𝐵m ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))) ↔ 𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵))
198193, 196, 197sylancl 585 . 2 (𝜑 → (𝑆 ∈ (𝐵m ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))) ↔ 𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵))
199189, 198mpbird 256 1 (𝜑𝑆 ∈ (𝐵m ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  Vcvv 3422  wss 3883  ifcif 4456  cop 4564   class class class wbr 5070   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cima 5583  ccom 5584  Fun wfun 6412   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  1st c1st 7802  2nd c2nd 7803  m cmap 8573  cr 10801  1c1 10803   + caddc 10805   < clt 10940  cle 10941  cmin 11135  cn 11903  cz 12249  ...cfz 13168  subMat1csmat 31645
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-smat 31646
This theorem is referenced by:  smatcl  31654  1smat1  31656
  Copyright terms: Public domain W3C validator