Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  projf1o Structured version   Visualization version   GIF version

Theorem projf1o 38381
Description: A biijection from a set to a projection in a two dimensional space. (Contributed by Glauco Siliprandi, 11-Oct-2020.)
Hypotheses
Ref Expression
projf1o.1 (𝜑𝐴𝑉)
projf1o.2 𝐹 = (𝑥𝐵 ↦ ⟨𝐴, 𝑥⟩)
Assertion
Ref Expression
projf1o (𝜑𝐹:𝐵1-1-onto→({𝐴} × 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝐹(𝑥)   𝑉(𝑥)

Proof of Theorem projf1o
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 projf1o.1 . . . . . . . . 9 (𝜑𝐴𝑉)
2 snidg 4153 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴})
31, 2syl 17 . . . . . . . 8 (𝜑𝐴 ∈ {𝐴})
43adantr 480 . . . . . . 7 ((𝜑𝑦𝐵) → 𝐴 ∈ {𝐴})
5 simpr 476 . . . . . . 7 ((𝜑𝑦𝐵) → 𝑦𝐵)
6 opelxpi 5072 . . . . . . 7 ((𝐴 ∈ {𝐴} ∧ 𝑦𝐵) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
74, 5, 6syl2anc 691 . . . . . 6 ((𝜑𝑦𝐵) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
8 projf1o.2 . . . . . . 7 𝐹 = (𝑥𝐵 ↦ ⟨𝐴, 𝑥⟩)
9 opeq2 4341 . . . . . . . 8 (𝑥 = 𝑦 → ⟨𝐴, 𝑥⟩ = ⟨𝐴, 𝑦⟩)
109cbvmptv 4678 . . . . . . 7 (𝑥𝐵 ↦ ⟨𝐴, 𝑥⟩) = (𝑦𝐵 ↦ ⟨𝐴, 𝑦⟩)
118, 10eqtri 2632 . . . . . 6 𝐹 = (𝑦𝐵 ↦ ⟨𝐴, 𝑦⟩)
127, 11fmptd 6292 . . . . 5 (𝜑𝐹:𝐵⟶({𝐴} × 𝐵))
13 simpl1 1057 . . . . . . . . 9 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → 𝜑)
147elexd 3187 . . . . . . . . . . . . . 14 ((𝜑𝑦𝐵) → ⟨𝐴, 𝑦⟩ ∈ V)
1511fvmpt2 6200 . . . . . . . . . . . . . 14 ((𝑦𝐵 ∧ ⟨𝐴, 𝑦⟩ ∈ V) → (𝐹𝑦) = ⟨𝐴, 𝑦⟩)
165, 14, 15syl2anc 691 . . . . . . . . . . . . 13 ((𝜑𝑦𝐵) → (𝐹𝑦) = ⟨𝐴, 𝑦⟩)
1716eqcomd 2616 . . . . . . . . . . . 12 ((𝜑𝑦𝐵) → ⟨𝐴, 𝑦⟩ = (𝐹𝑦))
18173adant3 1074 . . . . . . . . . . 11 ((𝜑𝑦𝐵𝑧𝐵) → ⟨𝐴, 𝑦⟩ = (𝐹𝑦))
1918adantr 480 . . . . . . . . . 10 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → ⟨𝐴, 𝑦⟩ = (𝐹𝑦))
20 simpr 476 . . . . . . . . . 10 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → (𝐹𝑦) = (𝐹𝑧))
2111a1i 11 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝐹 = (𝑦𝐵 ↦ ⟨𝐴, 𝑦⟩))
22 opeq2 4341 . . . . . . . . . . . . . 14 (𝑦 = 𝑧 → ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩)
2322adantl 481 . . . . . . . . . . . . 13 (((𝜑𝑧𝐵) ∧ 𝑦 = 𝑧) → ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩)
24 simpr 476 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑧𝐵)
25 opex 4859 . . . . . . . . . . . . . 14 𝐴, 𝑧⟩ ∈ V
2625a1i 11 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → ⟨𝐴, 𝑧⟩ ∈ V)
2721, 23, 24, 26fvmptd 6197 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → (𝐹𝑧) = ⟨𝐴, 𝑧⟩)
28273adant2 1073 . . . . . . . . . . 11 ((𝜑𝑦𝐵𝑧𝐵) → (𝐹𝑧) = ⟨𝐴, 𝑧⟩)
2928adantr 480 . . . . . . . . . 10 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → (𝐹𝑧) = ⟨𝐴, 𝑧⟩)
3019, 20, 293eqtrd 2648 . . . . . . . . 9 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩)
31 simpr 476 . . . . . . . . . . 11 ((𝜑 ∧ ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩) → ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩)
32 vex 3176 . . . . . . . . . . . . . 14 𝑧 ∈ V
3332a1i 11 . . . . . . . . . . . . 13 (𝜑𝑧 ∈ V)
34 opthg2 4874 . . . . . . . . . . . . 13 ((𝐴𝑉𝑧 ∈ V) → (⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩ ↔ (𝐴 = 𝐴𝑦 = 𝑧)))
351, 33, 34syl2anc 691 . . . . . . . . . . . 12 (𝜑 → (⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩ ↔ (𝐴 = 𝐴𝑦 = 𝑧)))
3635adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩) → (⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩ ↔ (𝐴 = 𝐴𝑦 = 𝑧)))
3731, 36mpbid 221 . . . . . . . . . 10 ((𝜑 ∧ ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩) → (𝐴 = 𝐴𝑦 = 𝑧))
3837simprd 478 . . . . . . . . 9 ((𝜑 ∧ ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝑧⟩) → 𝑦 = 𝑧)
3913, 30, 38syl2anc 691 . . . . . . . 8 (((𝜑𝑦𝐵𝑧𝐵) ∧ (𝐹𝑦) = (𝐹𝑧)) → 𝑦 = 𝑧)
4039ex 449 . . . . . . 7 ((𝜑𝑦𝐵𝑧𝐵) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
41403expb 1258 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
4241ralrimivva 2954 . . . . 5 (𝜑 → ∀𝑦𝐵𝑧𝐵 ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
4312, 42jca 553 . . . 4 (𝜑 → (𝐹:𝐵⟶({𝐴} × 𝐵) ∧ ∀𝑦𝐵𝑧𝐵 ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧)))
44 dff13 6416 . . . 4 (𝐹:𝐵1-1→({𝐴} × 𝐵) ↔ (𝐹:𝐵⟶({𝐴} × 𝐵) ∧ ∀𝑦𝐵𝑧𝐵 ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧)))
4543, 44sylibr 223 . . 3 (𝜑𝐹:𝐵1-1→({𝐴} × 𝐵))
46 simpr 476 . . . . . . . 8 ((𝜑𝑧 ∈ ({𝐴} × 𝐵)) → 𝑧 ∈ ({𝐴} × 𝐵))
47 elsnxp 5594 . . . . . . . . . 10 (𝐴𝑉 → (𝑧 ∈ ({𝐴} × 𝐵) ↔ ∃𝑦𝐵 𝑧 = ⟨𝐴, 𝑦⟩))
481, 47syl 17 . . . . . . . . 9 (𝜑 → (𝑧 ∈ ({𝐴} × 𝐵) ↔ ∃𝑦𝐵 𝑧 = ⟨𝐴, 𝑦⟩))
4948adantr 480 . . . . . . . 8 ((𝜑𝑧 ∈ ({𝐴} × 𝐵)) → (𝑧 ∈ ({𝐴} × 𝐵) ↔ ∃𝑦𝐵 𝑧 = ⟨𝐴, 𝑦⟩))
5046, 49mpbid 221 . . . . . . 7 ((𝜑𝑧 ∈ ({𝐴} × 𝐵)) → ∃𝑦𝐵 𝑧 = ⟨𝐴, 𝑦⟩)
5116adantr 480 . . . . . . . . . . 11 (((𝜑𝑦𝐵) ∧ 𝑧 = ⟨𝐴, 𝑦⟩) → (𝐹𝑦) = ⟨𝐴, 𝑦⟩)
52 id 22 . . . . . . . . . . . . 13 (𝑧 = ⟨𝐴, 𝑦⟩ → 𝑧 = ⟨𝐴, 𝑦⟩)
5352eqcomd 2616 . . . . . . . . . . . 12 (𝑧 = ⟨𝐴, 𝑦⟩ → ⟨𝐴, 𝑦⟩ = 𝑧)
5453adantl 481 . . . . . . . . . . 11 (((𝜑𝑦𝐵) ∧ 𝑧 = ⟨𝐴, 𝑦⟩) → ⟨𝐴, 𝑦⟩ = 𝑧)
5551, 54eqtr2d 2645 . . . . . . . . . 10 (((𝜑𝑦𝐵) ∧ 𝑧 = ⟨𝐴, 𝑦⟩) → 𝑧 = (𝐹𝑦))
5655ex 449 . . . . . . . . 9 ((𝜑𝑦𝐵) → (𝑧 = ⟨𝐴, 𝑦⟩ → 𝑧 = (𝐹𝑦)))
5756adantlr 747 . . . . . . . 8 (((𝜑𝑧 ∈ ({𝐴} × 𝐵)) ∧ 𝑦𝐵) → (𝑧 = ⟨𝐴, 𝑦⟩ → 𝑧 = (𝐹𝑦)))
5857reximdva 3000 . . . . . . 7 ((𝜑𝑧 ∈ ({𝐴} × 𝐵)) → (∃𝑦𝐵 𝑧 = ⟨𝐴, 𝑦⟩ → ∃𝑦𝐵 𝑧 = (𝐹𝑦)))
5950, 58mpd 15 . . . . . 6 ((𝜑𝑧 ∈ ({𝐴} × 𝐵)) → ∃𝑦𝐵 𝑧 = (𝐹𝑦))
6059ralrimiva 2949 . . . . 5 (𝜑 → ∀𝑧 ∈ ({𝐴} × 𝐵)∃𝑦𝐵 𝑧 = (𝐹𝑦))
6112, 60jca 553 . . . 4 (𝜑 → (𝐹:𝐵⟶({𝐴} × 𝐵) ∧ ∀𝑧 ∈ ({𝐴} × 𝐵)∃𝑦𝐵 𝑧 = (𝐹𝑦)))
62 dffo3 6282 . . . 4 (𝐹:𝐵onto→({𝐴} × 𝐵) ↔ (𝐹:𝐵⟶({𝐴} × 𝐵) ∧ ∀𝑧 ∈ ({𝐴} × 𝐵)∃𝑦𝐵 𝑧 = (𝐹𝑦)))
6361, 62sylibr 223 . . 3 (𝜑𝐹:𝐵onto→({𝐴} × 𝐵))
6445, 63jca 553 . 2 (𝜑 → (𝐹:𝐵1-1→({𝐴} × 𝐵) ∧ 𝐹:𝐵onto→({𝐴} × 𝐵)))
65 df-f1o 5811 . 2 (𝐹:𝐵1-1-onto→({𝐴} × 𝐵) ↔ (𝐹:𝐵1-1→({𝐴} × 𝐵) ∧ 𝐹:𝐵onto→({𝐴} × 𝐵)))
6664, 65sylibr 223 1 (𝜑𝐹:𝐵1-1-onto→({𝐴} × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wral 2896  wrex 2897  Vcvv 3173  {csn 4125  cop 4131  cmpt 4643   × cxp 5036  wf 5800  1-1wf1 5801  ontowfo 5802  1-1-ontowf1o 5803  cfv 5804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812
This theorem is referenced by:  sge0xp  39322
  Copyright terms: Public domain W3C validator