 Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  dfmpq2 GIF version

Theorem dfmpq2 6453
 Description: Alternative definition of pre-multiplication on positive fractions. (Contributed by Jim Kingdon, 13-Sep-2019.)
Assertion
Ref Expression
dfmpq2 ·pQ = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩))}
Distinct variable group:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢,𝑓

Proof of Theorem dfmpq2
StepHypRef Expression
1 df-mpt2 5517 . 2 (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)}
2 df-mpq 6443 . 2 ·pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)
3 1st2nd2 5801 . . . . . . . . . 10 (𝑥 ∈ (N × N) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
43eqeq1d 2048 . . . . . . . . 9 (𝑥 ∈ (N × N) → (𝑥 = ⟨𝑤, 𝑣⟩ ↔ ⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩))
5 1st2nd2 5801 . . . . . . . . . 10 (𝑦 ∈ (N × N) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
65eqeq1d 2048 . . . . . . . . 9 (𝑦 ∈ (N × N) → (𝑦 = ⟨𝑢, 𝑓⟩ ↔ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩))
74, 6bi2anan9 538 . . . . . . . 8 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ↔ (⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩)))
87anbi1d 438 . . . . . . 7 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ ((⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩)))
98bicomd 129 . . . . . 6 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (((⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ ((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩)))
1094exbidv 1750 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (∃𝑤𝑣𝑢𝑓((⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ ∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩)))
11 xp1st 5792 . . . . . . 7 (𝑥 ∈ (N × N) → (1st𝑥) ∈ N)
12 xp2nd 5793 . . . . . . 7 (𝑥 ∈ (N × N) → (2nd𝑥) ∈ N)
1311, 12jca 290 . . . . . 6 (𝑥 ∈ (N × N) → ((1st𝑥) ∈ N ∧ (2nd𝑥) ∈ N))
14 xp1st 5792 . . . . . . 7 (𝑦 ∈ (N × N) → (1st𝑦) ∈ N)
15 xp2nd 5793 . . . . . . 7 (𝑦 ∈ (N × N) → (2nd𝑦) ∈ N)
1614, 15jca 290 . . . . . 6 (𝑦 ∈ (N × N) → ((1st𝑦) ∈ N ∧ (2nd𝑦) ∈ N))
17 simpll 481 . . . . . . . . . 10 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → 𝑤 = (1st𝑥))
18 simprl 483 . . . . . . . . . 10 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → 𝑢 = (1st𝑦))
1917, 18oveq12d 5530 . . . . . . . . 9 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → (𝑤 ·N 𝑢) = ((1st𝑥) ·N (1st𝑦)))
20 simplr 482 . . . . . . . . . 10 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → 𝑣 = (2nd𝑥))
21 simprr 484 . . . . . . . . . 10 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → 𝑓 = (2nd𝑦))
2220, 21oveq12d 5530 . . . . . . . . 9 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → (𝑣 ·N 𝑓) = ((2nd𝑥) ·N (2nd𝑦)))
2319, 22opeq12d 3557 . . . . . . . 8 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩ = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)
2423eqeq2d 2051 . . . . . . 7 (((𝑤 = (1st𝑥) ∧ 𝑣 = (2nd𝑥)) ∧ (𝑢 = (1st𝑦) ∧ 𝑓 = (2nd𝑦))) → (𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩ ↔ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩))
2524copsex4g 3984 . . . . . 6 ((((1st𝑥) ∈ N ∧ (2nd𝑥) ∈ N) ∧ ((1st𝑦) ∈ N ∧ (2nd𝑦) ∈ N)) → (∃𝑤𝑣𝑢𝑓((⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩))
2613, 16, 25syl2an 273 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (∃𝑤𝑣𝑢𝑓((⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑤, 𝑣⟩ ∧ ⟨(1st𝑦), (2nd𝑦)⟩ = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩))
2710, 26bitr3d 179 . . . 4 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩) ↔ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩))
2827pm5.32i 427 . . 3 (((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩)) ↔ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩))
2928oprabbii 5560 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ 𝑧 = ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)}
301, 2, 293eqtr4i 2070 1 ·pQ = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = ⟨𝑤, 𝑣⟩ ∧ 𝑦 = ⟨𝑢, 𝑓⟩) ∧ 𝑧 = ⟨(𝑤 ·N 𝑢), (𝑣 ·N 𝑓)⟩))}
 Colors of variables: wff set class Syntax hints:   ∧ wa 97   ↔ wb 98   = wceq 1243  ∃wex 1381   ∈ wcel 1393  ⟨cop 3378   × cxp 4343  ‘cfv 4902  (class class class)co 5512  {coprab 5513   ↦ cmpt2 5514  1st c1st 5765  2nd c2nd 5766  Ncnpi 6370   ·N cmi 6372   ·pQ cmpq 6375 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-13 1404  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944  ax-un 4170 This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-iota 4867  df-fun 4904  df-fv 4910  df-ov 5515  df-oprab 5516  df-mpt2 5517  df-1st 5767  df-2nd 5768  df-mpq 6443 This theorem is referenced by:  mulpipqqs  6471
 Copyright terms: Public domain W3C validator