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

Theorem brwitnlem 7983
Description: Lemma for relations which assert the existence of a witness in a two-parameter set. (Contributed by Stefan O'Rear, 25-Jan-2015.) (Revised by Mario Carneiro, 23-Aug-2015.)
Hypotheses
Ref Expression
brwitnlem.r 𝑅 = (𝑂 “ (V ∖ 1o))
brwitnlem.o 𝑂 Fn 𝑋
Assertion
Ref Expression
brwitnlem (𝐴𝑅𝐵 ↔ (𝐴𝑂𝐵) ≠ ∅)

Proof of Theorem brwitnlem
StepHypRef Expression
1 fvex 6551 . . . . 5 (𝑂‘⟨𝐴, 𝐵⟩) ∈ V
2 dif1o 7976 . . . . 5 ((𝑂‘⟨𝐴, 𝐵⟩) ∈ (V ∖ 1o) ↔ ((𝑂‘⟨𝐴, 𝐵⟩) ∈ V ∧ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅))
31, 2mpbiran 705 . . . 4 ((𝑂‘⟨𝐴, 𝐵⟩) ∈ (V ∖ 1o) ↔ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅)
43anbi2i 622 . . 3 ((⟨𝐴, 𝐵⟩ ∈ 𝑋 ∧ (𝑂‘⟨𝐴, 𝐵⟩) ∈ (V ∖ 1o)) ↔ (⟨𝐴, 𝐵⟩ ∈ 𝑋 ∧ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅))
5 brwitnlem.o . . . 4 𝑂 Fn 𝑋
6 elpreima 6693 . . . 4 (𝑂 Fn 𝑋 → (⟨𝐴, 𝐵⟩ ∈ (𝑂 “ (V ∖ 1o)) ↔ (⟨𝐴, 𝐵⟩ ∈ 𝑋 ∧ (𝑂‘⟨𝐴, 𝐵⟩) ∈ (V ∖ 1o))))
75, 6ax-mp 5 . . 3 (⟨𝐴, 𝐵⟩ ∈ (𝑂 “ (V ∖ 1o)) ↔ (⟨𝐴, 𝐵⟩ ∈ 𝑋 ∧ (𝑂‘⟨𝐴, 𝐵⟩) ∈ (V ∖ 1o)))
8 ndmfv 6568 . . . . . 6 (¬ ⟨𝐴, 𝐵⟩ ∈ dom 𝑂 → (𝑂‘⟨𝐴, 𝐵⟩) = ∅)
98necon1ai 3011 . . . . 5 ((𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅ → ⟨𝐴, 𝐵⟩ ∈ dom 𝑂)
10 fndm 6325 . . . . . 6 (𝑂 Fn 𝑋 → dom 𝑂 = 𝑋)
115, 10ax-mp 5 . . . . 5 dom 𝑂 = 𝑋
129, 11syl6eleq 2893 . . . 4 ((𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅ → ⟨𝐴, 𝐵⟩ ∈ 𝑋)
1312pm4.71ri 561 . . 3 ((𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅ ↔ (⟨𝐴, 𝐵⟩ ∈ 𝑋 ∧ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅))
144, 7, 133bitr4i 304 . 2 (⟨𝐴, 𝐵⟩ ∈ (𝑂 “ (V ∖ 1o)) ↔ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅)
15 brwitnlem.r . . . 4 𝑅 = (𝑂 “ (V ∖ 1o))
1615breqi 4968 . . 3 (𝐴𝑅𝐵𝐴(𝑂 “ (V ∖ 1o))𝐵)
17 df-br 4963 . . 3 (𝐴(𝑂 “ (V ∖ 1o))𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑂 “ (V ∖ 1o)))
1816, 17bitri 276 . 2 (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑂 “ (V ∖ 1o)))
19 df-ov 7019 . . 3 (𝐴𝑂𝐵) = (𝑂‘⟨𝐴, 𝐵⟩)
2019neeq1i 3048 . 2 ((𝐴𝑂𝐵) ≠ ∅ ↔ (𝑂‘⟨𝐴, 𝐵⟩) ≠ ∅)
2114, 18, 203bitr4i 304 1 (𝐴𝑅𝐵 ↔ (𝐴𝑂𝐵) ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  wb 207  wa 396   = wceq 1522  wcel 2081  wne 2984  Vcvv 3437  cdif 3856  c0 4211  cop 4478   class class class wbr 4962  ccnv 5442  dom cdm 5443  cima 5446   Fn wfn 6220  cfv 6225  (class class class)co 7016  1oc1o 7946
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1777  ax-4 1791  ax-5 1888  ax-6 1947  ax-7 1992  ax-8 2083  ax-9 2091  ax-10 2112  ax-11 2126  ax-12 2141  ax-13 2344  ax-ext 2769  ax-sep 5094  ax-nul 5101  ax-pow 5157  ax-pr 5221
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-3an 1082  df-tru 1525  df-ex 1762  df-nf 1766  df-sb 2043  df-mo 2576  df-eu 2612  df-clab 2776  df-cleq 2788  df-clel 2863  df-nfc 2935  df-ne 2985  df-ral 3110  df-rex 3111  df-rab 3114  df-v 3439  df-sbc 3707  df-dif 3862  df-un 3864  df-in 3866  df-ss 3874  df-nul 4212  df-if 4382  df-sn 4473  df-pr 4475  df-op 4479  df-uni 4746  df-br 4963  df-opab 5025  df-id 5348  df-xp 5449  df-rel 5450  df-cnv 5451  df-co 5452  df-dm 5453  df-rn 5454  df-res 5455  df-ima 5456  df-suc 6072  df-iota 6189  df-fun 6227  df-fn 6228  df-fv 6233  df-ov 7019  df-1o 7953
This theorem is referenced by:  brgic  18150  brric  19189  brlmic  19530  hmph  22068
  Copyright terms: Public domain W3C validator