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

Theorem fimaproj 29062
Description: Image of a cartesian product for a function on pairs, given two projections 𝐹 and 𝐺. (Contributed by Thierry Arnoux, 30-Dec-2019.)
Hypotheses
Ref Expression
fvproj.h 𝐻 = (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩)
fimaproj.f (𝜑𝐹 Fn 𝐴)
fimaproj.g (𝜑𝐺 Fn 𝐵)
fimaproj.x (𝜑𝑋𝐴)
fimaproj.y (𝜑𝑌𝐵)
Assertion
Ref Expression
fimaproj (𝜑 → (𝐻 “ (𝑋 × 𝑌)) = ((𝐹𝑋) × (𝐺𝑌)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦   𝑥,𝐻,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝑋(𝑥,𝑦)   𝑌(𝑥,𝑦)

Proof of Theorem fimaproj
Dummy variables 𝑎 𝑏 𝑧 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opex 4853 . . . . 5 ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩ ∈ V
2 fvproj.h . . . . . 6 𝐻 = (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩)
3 vex 3175 . . . . . . . . . 10 𝑥 ∈ V
4 vex 3175 . . . . . . . . . 10 𝑦 ∈ V
53, 4op1std 7047 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (1st𝑧) = 𝑥)
65fveq2d 6092 . . . . . . . 8 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐹‘(1st𝑧)) = (𝐹𝑥))
73, 4op2ndd 7048 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (2nd𝑧) = 𝑦)
87fveq2d 6092 . . . . . . . 8 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐺‘(2nd𝑧)) = (𝐺𝑦))
96, 8opeq12d 4342 . . . . . . 7 (𝑧 = ⟨𝑥, 𝑦⟩ → ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩ = ⟨(𝐹𝑥), (𝐺𝑦)⟩)
109mpt2mpt 6628 . . . . . 6 (𝑧 ∈ (𝐴 × 𝐵) ↦ ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩) = (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩)
112, 10eqtr4i 2634 . . . . 5 𝐻 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩)
121, 11fnmpti 5921 . . . 4 𝐻 Fn (𝐴 × 𝐵)
13 fimaproj.x . . . . 5 (𝜑𝑋𝐴)
14 fimaproj.y . . . . 5 (𝜑𝑌𝐵)
15 xpss12 5137 . . . . 5 ((𝑋𝐴𝑌𝐵) → (𝑋 × 𝑌) ⊆ (𝐴 × 𝐵))
1613, 14, 15syl2anc 690 . . . 4 (𝜑 → (𝑋 × 𝑌) ⊆ (𝐴 × 𝐵))
17 fvelimab 6148 . . . 4 ((𝐻 Fn (𝐴 × 𝐵) ∧ (𝑋 × 𝑌) ⊆ (𝐴 × 𝐵)) → (𝑐 ∈ (𝐻 “ (𝑋 × 𝑌)) ↔ ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐))
1812, 16, 17sylancr 693 . . 3 (𝜑 → (𝑐 ∈ (𝐻 “ (𝑋 × 𝑌)) ↔ ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐))
19 simp-4r 802 . . . . . . . 8 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑎𝑋)
20 simplr 787 . . . . . . . 8 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑏𝑌)
21 opelxpi 5062 . . . . . . . 8 ((𝑎𝑋𝑏𝑌) → ⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌))
2219, 20, 21syl2anc 690 . . . . . . 7 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → ⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌))
23 simpllr 794 . . . . . . . . 9 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → (𝐹𝑎) = (1st𝑐))
24 simpr 475 . . . . . . . . 9 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → (𝐺𝑏) = (2nd𝑐))
2523, 24opeq12d 4342 . . . . . . . 8 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → ⟨(𝐹𝑎), (𝐺𝑏)⟩ = ⟨(1st𝑐), (2nd𝑐)⟩)
2613ad5antr 765 . . . . . . . . . 10 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑋𝐴)
2726, 19sseldd 3568 . . . . . . . . 9 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑎𝐴)
2814ad5antr 765 . . . . . . . . . 10 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑌𝐵)
2928, 20sseldd 3568 . . . . . . . . 9 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑏𝐵)
302, 27, 29fvproj 29061 . . . . . . . 8 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → (𝐻‘⟨𝑎, 𝑏⟩) = ⟨(𝐹𝑎), (𝐺𝑏)⟩)
31 1st2nd2 7074 . . . . . . . . 9 (𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)) → 𝑐 = ⟨(1st𝑐), (2nd𝑐)⟩)
3231ad5antlr 766 . . . . . . . 8 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → 𝑐 = ⟨(1st𝑐), (2nd𝑐)⟩)
3325, 30, 323eqtr4d 2653 . . . . . . 7 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → (𝐻‘⟨𝑎, 𝑏⟩) = 𝑐)
34 fveq2 6088 . . . . . . . . 9 (𝑧 = ⟨𝑎, 𝑏⟩ → (𝐻𝑧) = (𝐻‘⟨𝑎, 𝑏⟩))
3534eqeq1d 2611 . . . . . . . 8 (𝑧 = ⟨𝑎, 𝑏⟩ → ((𝐻𝑧) = 𝑐 ↔ (𝐻‘⟨𝑎, 𝑏⟩) = 𝑐))
3635rspcev 3281 . . . . . . 7 ((⟨𝑎, 𝑏⟩ ∈ (𝑋 × 𝑌) ∧ (𝐻‘⟨𝑎, 𝑏⟩) = 𝑐) → ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐)
3722, 33, 36syl2anc 690 . . . . . 6 ((((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) ∧ 𝑏𝑌) ∧ (𝐺𝑏) = (2nd𝑐)) → ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐)
38 fimaproj.g . . . . . . . . 9 (𝜑𝐺 Fn 𝐵)
3938ad3antrrr 761 . . . . . . . 8 ((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) → 𝐺 Fn 𝐵)
40 fnfun 5888 . . . . . . . 8 (𝐺 Fn 𝐵 → Fun 𝐺)
4139, 40syl 17 . . . . . . 7 ((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) → Fun 𝐺)
42 xp2nd 7068 . . . . . . . 8 (𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)) → (2nd𝑐) ∈ (𝐺𝑌))
4342ad3antlr 762 . . . . . . 7 ((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) → (2nd𝑐) ∈ (𝐺𝑌))
44 fvelima 6143 . . . . . . 7 ((Fun 𝐺 ∧ (2nd𝑐) ∈ (𝐺𝑌)) → ∃𝑏𝑌 (𝐺𝑏) = (2nd𝑐))
4541, 43, 44syl2anc 690 . . . . . 6 ((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) → ∃𝑏𝑌 (𝐺𝑏) = (2nd𝑐))
4637, 45r19.29a 3059 . . . . 5 ((((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) ∧ 𝑎𝑋) ∧ (𝐹𝑎) = (1st𝑐)) → ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐)
47 fimaproj.f . . . . . . . 8 (𝜑𝐹 Fn 𝐴)
4847adantr 479 . . . . . . 7 ((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) → 𝐹 Fn 𝐴)
49 fnfun 5888 . . . . . . 7 (𝐹 Fn 𝐴 → Fun 𝐹)
5048, 49syl 17 . . . . . 6 ((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) → Fun 𝐹)
51 xp1st 7067 . . . . . . 7 (𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)) → (1st𝑐) ∈ (𝐹𝑋))
5251adantl 480 . . . . . 6 ((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) → (1st𝑐) ∈ (𝐹𝑋))
53 fvelima 6143 . . . . . 6 ((Fun 𝐹 ∧ (1st𝑐) ∈ (𝐹𝑋)) → ∃𝑎𝑋 (𝐹𝑎) = (1st𝑐))
5450, 52, 53syl2anc 690 . . . . 5 ((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) → ∃𝑎𝑋 (𝐹𝑎) = (1st𝑐))
5546, 54r19.29a 3059 . . . 4 ((𝜑𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))) → ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐)
56 simpr 475 . . . . . 6 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝐻𝑧) = 𝑐)
5716ad2antrr 757 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝑋 × 𝑌) ⊆ (𝐴 × 𝐵))
58 simplr 787 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝑧 ∈ (𝑋 × 𝑌))
5957, 58sseldd 3568 . . . . . . . 8 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝑧 ∈ (𝐴 × 𝐵))
6011fvmpt2 6185 . . . . . . . 8 ((𝑧 ∈ (𝐴 × 𝐵) ∧ ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩ ∈ V) → (𝐻𝑧) = ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩)
6159, 1, 60sylancl 692 . . . . . . 7 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝐻𝑧) = ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩)
6247ad2antrr 757 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝐹 Fn 𝐴)
6313ad2antrr 757 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝑋𝐴)
64 xp1st 7067 . . . . . . . . . 10 (𝑧 ∈ (𝑋 × 𝑌) → (1st𝑧) ∈ 𝑋)
6558, 64syl 17 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (1st𝑧) ∈ 𝑋)
66 fnfvima 6378 . . . . . . . . 9 ((𝐹 Fn 𝐴𝑋𝐴 ∧ (1st𝑧) ∈ 𝑋) → (𝐹‘(1st𝑧)) ∈ (𝐹𝑋))
6762, 63, 65, 66syl3anc 1317 . . . . . . . 8 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝐹‘(1st𝑧)) ∈ (𝐹𝑋))
6838ad2antrr 757 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝐺 Fn 𝐵)
6914ad2antrr 757 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝑌𝐵)
70 xp2nd 7068 . . . . . . . . . 10 (𝑧 ∈ (𝑋 × 𝑌) → (2nd𝑧) ∈ 𝑌)
7158, 70syl 17 . . . . . . . . 9 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (2nd𝑧) ∈ 𝑌)
72 fnfvima 6378 . . . . . . . . 9 ((𝐺 Fn 𝐵𝑌𝐵 ∧ (2nd𝑧) ∈ 𝑌) → (𝐺‘(2nd𝑧)) ∈ (𝐺𝑌))
7368, 69, 71, 72syl3anc 1317 . . . . . . . 8 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝐺‘(2nd𝑧)) ∈ (𝐺𝑌))
74 opelxpi 5062 . . . . . . . 8 (((𝐹‘(1st𝑧)) ∈ (𝐹𝑋) ∧ (𝐺‘(2nd𝑧)) ∈ (𝐺𝑌)) → ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩ ∈ ((𝐹𝑋) × (𝐺𝑌)))
7567, 73, 74syl2anc 690 . . . . . . 7 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → ⟨(𝐹‘(1st𝑧)), (𝐺‘(2nd𝑧))⟩ ∈ ((𝐹𝑋) × (𝐺𝑌)))
7661, 75eqeltrd 2687 . . . . . 6 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → (𝐻𝑧) ∈ ((𝐹𝑋) × (𝐺𝑌)))
7756, 76eqeltrrd 2688 . . . . 5 (((𝜑𝑧 ∈ (𝑋 × 𝑌)) ∧ (𝐻𝑧) = 𝑐) → 𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)))
7877r19.29an 3058 . . . 4 ((𝜑 ∧ ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐) → 𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)))
7955, 78impbida 872 . . 3 (𝜑 → (𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌)) ↔ ∃𝑧 ∈ (𝑋 × 𝑌)(𝐻𝑧) = 𝑐))
8018, 79bitr4d 269 . 2 (𝜑 → (𝑐 ∈ (𝐻 “ (𝑋 × 𝑌)) ↔ 𝑐 ∈ ((𝐹𝑋) × (𝐺𝑌))))
8180eqrdv 2607 1 (𝜑 → (𝐻 “ (𝑋 × 𝑌)) = ((𝐹𝑋) × (𝐺𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1976  wrex 2896  Vcvv 3172  wss 3539  cop 4130  cmpt 4637   × cxp 5026  cima 5031  Fun wfun 5784   Fn wfn 5785  cfv 5790  cmpt2 6529  1st c1st 7035  2nd c2nd 7036
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6825
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-id 4943  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-iota 5754  df-fun 5792  df-fn 5793  df-fv 5798  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-1st 7037  df-2nd 7038
This theorem is referenced by:  txomap  29063
  Copyright terms: Public domain W3C validator