MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  relopabi Structured version   Visualization version   GIF version

Theorem relopabi 5817
Description: A class of ordered pairs is a relation. (Contributed by Mario Carneiro, 21-Dec-2013.) Remove dependency on ax-sep 5263, ax-nul 5274, ax-pr 5406. (Revised by KP, 25-Oct-2021.) Avoid ax-11 2206 and ax-12 2225. (Revised by SN, 26-Oct-2026.)
Hypothesis
Ref Expression
relopabi.1 𝐴 = {⟨𝑥, 𝑦⟩ ∣ 𝜑}
Assertion
Ref Expression
relopabi Rel 𝐴

Proof of Theorem relopabi
Dummy variables 𝑧 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relopabi.1 . . 3 𝐴 = {⟨𝑥, 𝑦⟩ ∣ 𝜑}
2 vex 3465 . . . . . . 7 𝑥 ∈ V
3 vex 3465 . . . . . . 7 𝑦 ∈ V
42, 3pm3.2i 476 . . . . . 6 (𝑥 ∈ V ∧ 𝑦 ∈ V)
54a1i 11 . . . . 5 (𝜑 → (𝑥 ∈ V ∧ 𝑦 ∈ V))
65ssopab2i 5540 . . . 4 {⟨𝑥, 𝑦⟩ ∣ 𝜑} ⊆ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ V ∧ 𝑦 ∈ V)}
7 ax6evr 2057 . . . . . . . . . . 11 ∃𝑢 𝑥 = 𝑢
8 ax6evr 2057 . . . . . . . . . . . . 13 ∃𝑣 𝑦 = 𝑣
9 opeq12 4855 . . . . . . . . . . . . . . . . 17 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → ⟨𝑥, 𝑦⟩ = ⟨𝑢, 𝑣⟩)
109eqeq2d 2785 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑧 = ⟨𝑢, 𝑣⟩))
1110biimpd 232 . . . . . . . . . . . . . . 15 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → (𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧 = ⟨𝑢, 𝑣⟩))
1211ex 418 . . . . . . . . . . . . . 14 (𝑥 = 𝑢 → (𝑦 = 𝑣 → (𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧 = ⟨𝑢, 𝑣⟩)))
1312eximdv 1959 . . . . . . . . . . . . 13 (𝑥 = 𝑢 → (∃𝑣 𝑦 = 𝑣 → ∃𝑣(𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧 = ⟨𝑢, 𝑣⟩)))
148, 13mpi 21 . . . . . . . . . . . 12 (𝑥 = 𝑢 → ∃𝑣(𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧 = ⟨𝑢, 𝑣⟩))
15 19.37imv 1989 . . . . . . . . . . . 12 (∃𝑣(𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧 = ⟨𝑢, 𝑣⟩) → (𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩))
1614, 15syl 18 . . . . . . . . . . 11 (𝑥 = 𝑢 → (𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩))
177, 16eximii 1876 . . . . . . . . . 10 ∃𝑢(𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩)
181719.37iv 1990 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑢∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩)
1918exlimivv 1974 . . . . . . . 8 (∃𝑥∃𝑦 𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑢∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩)
2019ss2abi 4001 . . . . . . 7 {𝑧 ∣ ∃𝑥∃𝑦 𝑧 = ⟨𝑥, 𝑦⟩} ⊆ {𝑧 ∣ ∃𝑢∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩}
214biantru 539 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ V ∧ 𝑦 ∈ V)))
22212exbii 1888 . . . . . . . 8 (∃𝑥∃𝑦 𝑧 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ V ∧ 𝑦 ∈ V)))
2322abbii 2841 . . . . . . 7 {𝑧 ∣ ∃𝑥∃𝑦 𝑧 = ⟨𝑥, 𝑦⟩} = {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ V ∧ 𝑦 ∈ V))}
24 vex 3465 . . . . . . . . . . 11 𝑢 ∈ V
25 vex 3465 . . . . . . . . . . 11 𝑣 ∈ V
2624, 25pm3.2i 476 . . . . . . . . . 10 (𝑢 ∈ V ∧ 𝑣 ∈ V)
2726biantru 539 . . . . . . . . 9 (𝑧 = ⟨𝑢, 𝑣⟩ ↔ (𝑧 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ V ∧ 𝑣 ∈ V)))
28272exbii 1888 . . . . . . . 8 (∃𝑢∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑢∃𝑣(𝑧 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ V ∧ 𝑣 ∈ V)))
2928abbii 2841 . . . . . . 7 {𝑧 ∣ ∃𝑢∃𝑣 𝑧 = ⟨𝑢, 𝑣⟩} = {𝑧 ∣ ∃𝑢∃𝑣(𝑧 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ V ∧ 𝑣 ∈ V))}
3020, 23, 293sstr3i 3970 . . . . . 6 {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ V ∧ 𝑦 ∈ V))} ⊆ {𝑧 ∣ ∃𝑢∃𝑣(𝑧 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ V ∧ 𝑣 ∈ V))}
31 df-opab 5182 . . . . . 6 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ V ∧ 𝑦 ∈ V)} = {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ V ∧ 𝑦 ∈ V))}
32 df-opab 5182 . . . . . 6 {⟨𝑢, 𝑣⟩ ∣ (𝑢 ∈ V ∧ 𝑣 ∈ V)} = {𝑧 ∣ ∃𝑢∃𝑣(𝑧 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ V ∧ 𝑣 ∈ V))}
3330, 31, 323sstr4i 3971 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ V ∧ 𝑦 ∈ V)} ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢 ∈ V ∧ 𝑣 ∈ V)}
34 df-xp 5672 . . . . 5 (V × V) = {⟨𝑢, 𝑣⟩ ∣ (𝑢 ∈ V ∧ 𝑣 ∈ V)}
3533, 34sseqtrri 3969 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ V ∧ 𝑦 ∈ V)} ⊆ (V × V)
366, 35sstri 3929 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} ⊆ (V × V)
371, 36eqsstri 3966 . 2 𝐴 ⊆ (V × V)
38 df-rel 5673 . 2 (Rel 𝐴 ↔ 𝐴 ⊆ (V × V))
3937, 38mpbir 234 1 Rel 𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  {cab 2752  Vcvv 3461   ⊆ wss 3907  ⟨cop 4848  {copab 5181   × cxp 5664  Rel wrel 5671
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-opab 5182  df-xp 5672  df-rel 5673
This theorem is used by:  relopab  5820  mptrel  5821  reli  5822  rele  5823  relcnv  6127  relco  6131  brfvopabrbr  7039  reloprab  7529  reldmoprab  7577  relrpss  7791  eqer  8811  ecopover  8899  relen  9035  reldom  9036  relfsupp  9412  relwdom  9616  relttrcl  9769  fpwwe2lem2  10775  fpwwe2lem3  10776  fpwwe2lem5  10778  fpwwe2lem6  10779  fpwwe2lem8  10781  fpwwe2lem10  10783  fpwwe2lem11  10784  fpwwe2lem12  10785  fpwwelem  10788  climrel  15725  rlimrel  15726  brstruct  17395  sscrel  18067  gaorber  19604  sylow2a  19915  efgrelexlemb  20046  efgcpbllemb  20051  rellindf  22215  psrbaglesupp  22333  2ndcctbss  23883  refrel  23936  vitalilem1  26038  lgsquadlem1  27858  lgsquadlem2  27859  dmcuts  28328  relsubgr  30017  erclwwlkrel  30775  erclwwlknrel  30824  vcrel  31329  h2hlm  31749  hlimi  31957  erler  34059  relfldext  34481  finextfldext  34501  relmntop  34861  relae  35078  fineqvnttrclse  36035  fnerel  37449  filnetlem3  37491  brabg2  39030  heiborlem3  39124  heiborlem4  39125  relrngo  39207  isdivrngo  39261  drngoi  39262  isdrngo1  39267  riscer  39299  relsucmap  39776  relcoss  39822  relssr  39889  prter1  40313  prter3  40316  prjsper  44010  reldvds  45728  nelbrim  48784  rellininds  50158
  Copyright terms: Public domain W3C validator