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 31746
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 8637 . . . . . . . 8 (𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))) → 𝐴:((1...𝑀) × (1...𝑁))⟶𝐵)
3 ffun 6603 . . . . . . . 8 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → Fun 𝐴)
41, 2, 33syl 18 . . . . . . 7 (𝜑 → Fun 𝐴)
5 eqid 2738 . . . . . . . . 9 (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) = (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
65mpofun 7398 . . . . . . . 8 Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
76a1i 11 . . . . . . 7 (𝜑 → Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩))
8 funco 6474 . . . . . . 7 ((Fun 𝐴 ∧ Fun (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) → Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
94, 7, 8syl2anc 584 . . . . . 6 (𝜑 → Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
10 smat.s . . . . . . . 8 𝑆 = (𝐾(subMat1‘𝐴)𝐿)
11 fz1ssnn 13287 . . . . . . . . . 10 (1...𝑀) ⊆ ℕ
12 smat.k . . . . . . . . . 10 (𝜑𝐾 ∈ (1...𝑀))
1311, 12sselid 3919 . . . . . . . . 9 (𝜑𝐾 ∈ ℕ)
14 fz1ssnn 13287 . . . . . . . . . 10 (1...𝑁) ⊆ ℕ
15 smat.l . . . . . . . . . 10 (𝜑𝐿 ∈ (1...𝑁))
1614, 15sselid 3919 . . . . . . . . 9 (𝜑𝐿 ∈ ℕ)
17 smatfval 31745 . . . . . . . . 9 ((𝐾 ∈ ℕ ∧ 𝐿 ∈ ℕ ∧ 𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁)))) → (𝐾(subMat1‘𝐴)𝐿) = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
1813, 16, 1, 17syl3anc 1370 . . . . . . . 8 (𝜑 → (𝐾(subMat1‘𝐴)𝐿) = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
1910, 18eqtrid 2790 . . . . . . 7 (𝜑𝑆 = (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
2019funeqd 6456 . . . . . 6 (𝜑 → (Fun 𝑆 ↔ Fun (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩))))
219, 20mpbird 256 . . . . 5 (𝜑 → Fun 𝑆)
22 fdmrn 6632 . . . . 5 (Fun 𝑆𝑆:dom 𝑆⟶ran 𝑆)
2321, 22sylib 217 . . . 4 (𝜑𝑆:dom 𝑆⟶ran 𝑆)
2419dmeqd 5814 . . . . . 6 (𝜑 → dom 𝑆 = dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
25 dmco 6158 . . . . . . 7 dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴)
26 fdm 6609 . . . . . . . . . . . 12 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → dom 𝐴 = ((1...𝑀) × (1...𝑁)))
271, 2, 263syl 18 . . . . . . . . . . 11 (𝜑 → dom 𝐴 = ((1...𝑀) × (1...𝑁)))
2827imaeq2d 5969 . . . . . . . . . 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 5379 . . . . . . . . . . . 12 ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ ∈ V
315, 30fnmpoi 7910 . . . . . . . . . . 11 (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) Fn (ℕ × ℕ)
32 elpreima 6935 . . . . . . . . . . 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 766 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
3635fveq2d 6778 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘⟨(1st𝑥), (2nd𝑥)⟩))
37 df-ov 7278 . . . . . . . . . . . . . . . . . 18 ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)) = ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘⟨(1st𝑥), (2nd𝑥)⟩)
3836, 37eqtr4di 2796 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) = ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)))
39 breq1 5077 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → (𝑖 < 𝐾 ↔ (1st𝑥) < 𝐾))
40 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → 𝑖 = (1st𝑥))
41 oveq1 7282 . . . . . . . . . . . . . . . . . . . . 21 (𝑖 = (1st𝑥) → (𝑖 + 1) = ((1st𝑥) + 1))
4239, 40, 41ifbieq12d 4487 . . . . . . . . . . . . . . . . . . . 20 (𝑖 = (1st𝑥) → if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)) = if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)))
4342opeq1d 4810 . . . . . . . . . . . . . . . . . . 19 (𝑖 = (1st𝑥) → ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)
44 breq1 5077 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → (𝑗 < 𝐿 ↔ (2nd𝑥) < 𝐿))
45 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → 𝑗 = (2nd𝑥))
46 oveq1 7282 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = (2nd𝑥) → (𝑗 + 1) = ((2nd𝑥) + 1))
4744, 45, 46ifbieq12d 4487 . . . . . . . . . . . . . . . . . . . 20 (𝑗 = (2nd𝑥) → if(𝑗 < 𝐿, 𝑗, (𝑗 + 1)) = if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)))
4847opeq2d 4811 . . . . . . . . . . . . . . . . . . 19 (𝑗 = (2nd𝑥) → ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩ = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
49 opex 5379 . . . . . . . . . . . . . . . . . . 19 ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩ ∈ V
5043, 48, 5, 49ovmpo 7433 . . . . . . . . . . . . . . . . . 18 (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) → ((1st𝑥)(𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)(2nd𝑥)) = ⟨if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)), if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1))⟩)
5150adantl 482 . . . . . . . . . . . . . . . . 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 5625 . . . . . . . . . . . . . . 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 287 . . . . . . . . . . . . . 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 4503 . . . . . . . . . . . . . . . 16 (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))))
57 simplrl 774 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ∈ ℕ)
5857nnred 11988 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ∈ ℝ)
5913nnred 11988 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐾 ∈ ℝ)
6059ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝐾 ∈ ℝ)
61 smat.m . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑𝑀 ∈ ℕ)
6261nnred 11988 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑀 ∈ ℝ)
6362ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝑀 ∈ ℝ)
64 simpr 485 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) < 𝐾)
6558, 60, 64ltled 11123 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ≤ 𝐾)
66 elfzle2 13260 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐾 ∈ (1...𝑀) → 𝐾𝑀)
6712, 66syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐾𝑀)
6867ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝐾𝑀)
6958, 60, 63, 65, 68letrd 11132 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) ≤ 𝑀)
7057, 69jca 512 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀))
7161nnzd 12425 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑𝑀 ∈ ℤ)
72 fznn 13324 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑀 ∈ ℤ → ((1st𝑥) ∈ (1...𝑀) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀)))
7371, 72syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((1st𝑥) ∈ (1...𝑀) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ 𝑀)))
7473ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . 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 11135 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → (1st𝑥) < 𝑀)
7761ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (1st𝑥) < 𝐾) → 𝑀 ∈ ℕ)
78 nnltlem1 12387 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℕ ∧ 𝑀 ∈ ℕ) → ((1st𝑥) < 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
7957, 77, 78syl2anc 584 . . . . . . . . . . . . . . . . . . . . 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 579 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ↔ ((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
83 fznn 13324 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℤ → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8471, 83syl 17 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8584ad2antrr 723 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
86 simprl 768 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (1st𝑥) ∈ ℕ)
8786peano2nnd 11990 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((1st𝑥) + 1) ∈ ℕ)
8887biantrurd 533 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (((1st𝑥) + 1) ∈ ℕ ∧ ((1st𝑥) + 1) ≤ 𝑀)))
8986nnzd 12425 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (1st𝑥) ∈ ℤ)
9071ad2antrr 723 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑀 ∈ ℤ)
91 zltp1le 12370 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((1st𝑥) < 𝑀 ↔ ((1st𝑥) + 1) ≤ 𝑀))
92 zltlem1 12373 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((1st𝑥) < 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9391, 92bitr3d 280 . . . . . . . . . . . . . . . . . . . . 21 (((1st𝑥) ∈ ℤ ∧ 𝑀 ∈ ℤ) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9489, 90, 93syl2anc 584 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ≤ 𝑀 ↔ (1st𝑥) ≤ (𝑀 − 1)))
9585, 88, 943bitr2d 307 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((1st𝑥) + 1) ∈ (1...𝑀) ↔ (1st𝑥) ≤ (𝑀 − 1)))
9695anbi2d 629 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀)) ↔ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1))))
9782, 96orbi12d 916 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))) ↔ (((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)) ∨ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))))
98 pm4.42 1051 . . . . . . . . . . . . . . . . . 18 ((1st𝑥) ≤ (𝑀 − 1) ↔ (((1st𝑥) ≤ (𝑀 − 1) ∧ (1st𝑥) < 𝐾) ∨ ((1st𝑥) ≤ (𝑀 − 1) ∧ ¬ (1st𝑥) < 𝐾)))
99 ancom 461 . . . . . . . . . . . . . . . . . . 19 (((1st𝑥) ≤ (𝑀 − 1) ∧ (1st𝑥) < 𝐾) ↔ ((1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))
100 ancom 461 . . . . . . . . . . . . . . . . . . 19 (((1st𝑥) ≤ (𝑀 − 1) ∧ ¬ (1st𝑥) < 𝐾) ↔ (¬ (1st𝑥) < 𝐾 ∧ (1st𝑥) ≤ (𝑀 − 1)))
10199, 100orbi12i 912 . . . . . . . . . . . . . . . . . 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 289 . . . . . . . . . . . . . . . 16 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((1st𝑥) < 𝐾 ∧ (1st𝑥) ∈ (1...𝑀)) ∨ (¬ (1st𝑥) < 𝐾 ∧ ((1st𝑥) + 1) ∈ (1...𝑀))) ↔ (1st𝑥) ≤ (𝑀 − 1)))
10456, 103syl5bb 283 . . . . . . . . . . . . . . 15 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (if((1st𝑥) < 𝐾, (1st𝑥), ((1st𝑥) + 1)) ∈ (1...𝑀) ↔ (1st𝑥) ≤ (𝑀 − 1)))
105 ifel 4503 . . . . . . . . . . . . . . . 16 (if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))))
106 simplrr 775 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ∈ ℕ)
107106nnred 11988 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ∈ ℝ)
10816nnred 11988 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐿 ∈ ℝ)
109108ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝐿 ∈ ℝ)
110 smat.n . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑𝑁 ∈ ℕ)
111110nnred 11988 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑁 ∈ ℝ)
112111ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝑁 ∈ ℝ)
113 simpr 485 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) < 𝐿)
114107, 109, 113ltled 11123 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ≤ 𝐿)
115 elfzle2 13260 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐿 ∈ (1...𝑁) → 𝐿𝑁)
11615, 115syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝐿𝑁)
117116ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝐿𝑁)
118107, 109, 112, 114, 117letrd 11132 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) ≤ 𝑁)
119106, 118jca 512 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁))
120110nnzd 12425 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑𝑁 ∈ ℤ)
121 fznn 13324 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℤ → ((2nd𝑥) ∈ (1...𝑁) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁)))
122120, 121syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((2nd𝑥) ∈ (1...𝑁) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ 𝑁)))
123122ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . 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 11135 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → (2nd𝑥) < 𝑁)
126110ad3antrrr 727 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ (2nd𝑥) < 𝐿) → 𝑁 ∈ ℕ)
127 nnltlem1 12387 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((2nd𝑥) < 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
128106, 126, 127syl2anc 584 . . . . . . . . . . . . . . . . . . . . 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 579 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ↔ ((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
132 fznn 13324 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℤ → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
133120, 132syl 17 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
134133ad2antrr 723 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
135 simprr 770 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (2nd𝑥) ∈ ℕ)
136135peano2nnd 11990 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((2nd𝑥) + 1) ∈ ℕ)
137136biantrurd 533 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (((2nd𝑥) + 1) ∈ ℕ ∧ ((2nd𝑥) + 1) ≤ 𝑁)))
138135nnzd 12425 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (2nd𝑥) ∈ ℤ)
139120ad2antrr 723 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → 𝑁 ∈ ℤ)
140 zltp1le 12370 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((2nd𝑥) < 𝑁 ↔ ((2nd𝑥) + 1) ≤ 𝑁))
141 zltlem1 12373 . . . . . . . . . . . . . . . . . . . . . 22 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((2nd𝑥) < 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
142140, 141bitr3d 280 . . . . . . . . . . . . . . . . . . . . 21 (((2nd𝑥) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
143138, 139, 142syl2anc 584 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ≤ 𝑁 ↔ (2nd𝑥) ≤ (𝑁 − 1)))
144134, 137, 1433bitr2d 307 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (((2nd𝑥) + 1) ∈ (1...𝑁) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
145144anbi2d 629 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁)) ↔ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1))))
146131, 145orbi12d 916 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))) ↔ (((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
147 pm4.42 1051 . . . . . . . . . . . . . . . . . 18 ((2nd𝑥) ≤ (𝑁 − 1) ↔ (((2nd𝑥) ≤ (𝑁 − 1) ∧ (2nd𝑥) < 𝐿) ∨ ((2nd𝑥) ≤ (𝑁 − 1) ∧ ¬ (2nd𝑥) < 𝐿)))
148 ancom 461 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑥) ≤ (𝑁 − 1) ∧ (2nd𝑥) < 𝐿) ↔ ((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))
149 ancom 461 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑥) ≤ (𝑁 − 1) ∧ ¬ (2nd𝑥) < 𝐿) ↔ (¬ (2nd𝑥) < 𝐿 ∧ (2nd𝑥) ≤ (𝑁 − 1)))
150148, 149orbi12i 912 . . . . . . . . . . . . . . . . . 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 289 . . . . . . . . . . . . . . . 16 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → ((((2nd𝑥) < 𝐿 ∧ (2nd𝑥) ∈ (1...𝑁)) ∨ (¬ (2nd𝑥) < 𝐿 ∧ ((2nd𝑥) + 1) ∈ (1...𝑁))) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
153105, 152syl5bb 283 . . . . . . . . . . . . . . 15 (((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) → (if((2nd𝑥) < 𝐿, (2nd𝑥), ((2nd𝑥) + 1)) ∈ (1...𝑁) ↔ (2nd𝑥) ≤ (𝑁 − 1)))
154104, 153anbi12d 631 . . . . . . . . . . . . . 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 579 . . . . . . . . . . . 12 ((𝜑𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩) → ((((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
157 1zzd 12351 . . . . . . . . . . . . . . . . 17 (𝜑 → 1 ∈ ℤ)
15871, 157zsubcld 12431 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑀 − 1) ∈ ℤ)
159 fznn 13324 . . . . . . . . . . . . . . . 16 ((𝑀 − 1) ∈ ℤ → ((1st𝑥) ∈ (1...(𝑀 − 1)) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1))))
160158, 159syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ((1st𝑥) ∈ (1...(𝑀 − 1)) ↔ ((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1))))
161120, 157zsubcld 12431 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑁 − 1) ∈ ℤ)
162 fznn 13324 . . . . . . . . . . . . . . . 16 ((𝑁 − 1) ∈ ℤ → ((2nd𝑥) ∈ (1...(𝑁 − 1)) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))))
163161, 162syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ((2nd𝑥) ∈ (1...(𝑁 − 1)) ↔ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))))
164160, 163anbi12d 631 . . . . . . . . . . . . . 14 (𝜑 → (((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1)) ∧ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
165 an4 653 . . . . . . . . . . . . . 14 ((((1st𝑥) ∈ ℕ ∧ (1st𝑥) ≤ (𝑀 − 1)) ∧ ((2nd𝑥) ∈ ℕ ∧ (2nd𝑥) ≤ (𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1))))
166164, 165bitrdi 287 . . . . . . . . . . . . 13 (𝜑 → (((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))) ↔ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((1st𝑥) ≤ (𝑀 − 1) ∧ (2nd𝑥) ≤ (𝑁 − 1)))))
167166adantr 481 . . . . . . . . . . . 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 579 . . . . . . . . . 10 (𝜑 → ((𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ (((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁)))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1))))))
170 elxp6 7865 . . . . . . . . . . . 12 (𝑥 ∈ (ℕ × ℕ) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)))
171170anbi1i 624 . . . . . . . . . . 11 ((𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ ((𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ ℕ ∧ (2nd𝑥) ∈ ℕ)) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))))
172 anass 469 . . . . . . . . . . 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 7865 . . . . . . . . . 10 (𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ↔ (𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩ ∧ ((1st𝑥) ∈ (1...(𝑀 − 1)) ∧ (2nd𝑥) ∈ (1...(𝑁 − 1)))))
175169, 173, 1743bitr4g 314 . . . . . . . . 9 (𝜑 → ((𝑥 ∈ (ℕ × ℕ) ∧ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)‘𝑥) ∈ ((1...𝑀) × (1...𝑁))) ↔ 𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))
17629, 34, 1753bitrd 305 . . . . . . . 8 (𝜑 → (𝑥 ∈ ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) ↔ 𝑥 ∈ ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))))
177176eqrdv 2736 . . . . . . 7 (𝜑 → ((𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩) “ dom 𝐴) = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
17825, 177eqtrid 2790 . . . . . 6 (𝜑 → dom (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
17924, 178eqtrd 2778 . . . . 5 (𝜑 → dom 𝑆 = ((1...(𝑀 − 1)) × (1...(𝑁 − 1))))
180179feq2d 6586 . . . 4 (𝜑 → (𝑆:dom 𝑆⟶ran 𝑆𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆))
18123, 180mpbid 231 . . 3 (𝜑𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆)
18219rneqd 5847 . . . . 5 (𝜑 → ran 𝑆 = ran (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)))
183 rncoss 5881 . . . . 5 ran (𝐴 ∘ (𝑖 ∈ ℕ, 𝑗 ∈ ℕ ↦ ⟨if(𝑖 < 𝐾, 𝑖, (𝑖 + 1)), if(𝑗 < 𝐿, 𝑗, (𝑗 + 1))⟩)) ⊆ ran 𝐴
184182, 183eqsstrdi 3975 . . . 4 (𝜑 → ran 𝑆 ⊆ ran 𝐴)
185 frn 6607 . . . . 5 (𝐴:((1...𝑀) × (1...𝑁))⟶𝐵 → ran 𝐴𝐵)
1861, 2, 1853syl 18 . . . 4 (𝜑 → ran 𝐴𝐵)
187184, 186sstrd 3931 . . 3 (𝜑 → ran 𝑆𝐵)
188 fss 6617 . . 3 ((𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶ran 𝑆 ∧ ran 𝑆𝐵) → 𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵)
189181, 187, 188syl2anc 584 . 2 (𝜑𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵)
190 reldmmap 8624 . . . . . 6 Rel dom ↑m
191190ovrcl 7316 . . . . 5 (𝐴 ∈ (𝐵m ((1...𝑀) × (1...𝑁))) → (𝐵 ∈ V ∧ ((1...𝑀) × (1...𝑁)) ∈ V))
1921, 191syl 17 . . . 4 (𝜑 → (𝐵 ∈ V ∧ ((1...𝑀) × (1...𝑁)) ∈ V))
193192simpld 495 . . 3 (𝜑𝐵 ∈ V)
194 ovex 7308 . . . 4 (1...(𝑀 − 1)) ∈ V
195 ovex 7308 . . . 4 (1...(𝑁 − 1)) ∈ V
196194, 195xpex 7603 . . 3 ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ∈ V
197 elmapg 8628 . . 3 ((𝐵 ∈ V ∧ ((1...(𝑀 − 1)) × (1...(𝑁 − 1))) ∈ V) → (𝑆 ∈ (𝐵m ((1...(𝑀 − 1)) × (1...(𝑁 − 1)))) ↔ 𝑆:((1...(𝑀 − 1)) × (1...(𝑁 − 1)))⟶𝐵))
198193, 196, 197sylancl 586 . 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 396  wo 844   = wceq 1539  wcel 2106  Vcvv 3432  wss 3887  ifcif 4459  cop 4567   class class class wbr 5074   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cima 5592  ccom 5593  Fun wfun 6427   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830  m cmap 8615  cr 10870  1c1 10872   + caddc 10874   < clt 11009  cle 11010  cmin 11205  cn 11973  cz 12319  ...cfz 13239  subMat1csmat 31743
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-smat 31744
This theorem is referenced by:  smatcl  31752  1smat1  31754
  Copyright terms: Public domain W3C validator