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

Theorem isref 22660
Description: The property of being a refinement of a cover. Dr. Nyikos once commented in class that the term "refinement" is actually misleading and that people are inclined to confuse it with the notion defined in isfne 34528. On the other hand, the two concepts do seem to have a dual relationship. (Contributed by Jeff Hankins, 18-Jan-2010.) (Revised by Thierry Arnoux, 3-Feb-2020.)
Hypotheses
Ref Expression
isref.1 𝑋 = 𝐴
isref.2 𝑌 = 𝐵
Assertion
Ref Expression
isref (𝐴𝐶 → (𝐴Ref𝐵 ↔ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵
Allowed substitution hints:   𝐴(𝑦)   𝐶(𝑥,𝑦)   𝑋(𝑥,𝑦)   𝑌(𝑥,𝑦)

Proof of Theorem isref
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 refrel 22659 . . . 4 Rel Ref
21brrelex2i 5644 . . 3 (𝐴Ref𝐵𝐵 ∈ V)
32anim2i 617 . 2 ((𝐴𝐶𝐴Ref𝐵) → (𝐴𝐶𝐵 ∈ V))
4 simpl 483 . . 3 ((𝐴𝐶 ∧ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)) → 𝐴𝐶)
5 simpr 485 . . . . . . 7 ((𝐴𝐶𝑌 = 𝑋) → 𝑌 = 𝑋)
6 isref.2 . . . . . . 7 𝑌 = 𝐵
7 isref.1 . . . . . . 7 𝑋 = 𝐴
85, 6, 73eqtr3g 2801 . . . . . 6 ((𝐴𝐶𝑌 = 𝑋) → 𝐵 = 𝐴)
9 uniexg 7593 . . . . . . 7 (𝐴𝐶 𝐴 ∈ V)
109adantr 481 . . . . . 6 ((𝐴𝐶𝑌 = 𝑋) → 𝐴 ∈ V)
118, 10eqeltrd 2839 . . . . 5 ((𝐴𝐶𝑌 = 𝑋) → 𝐵 ∈ V)
12 uniexb 7614 . . . . 5 (𝐵 ∈ V ↔ 𝐵 ∈ V)
1311, 12sylibr 233 . . . 4 ((𝐴𝐶𝑌 = 𝑋) → 𝐵 ∈ V)
1413adantrr 714 . . 3 ((𝐴𝐶 ∧ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)) → 𝐵 ∈ V)
154, 14jca 512 . 2 ((𝐴𝐶 ∧ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)) → (𝐴𝐶𝐵 ∈ V))
16 unieq 4850 . . . . . 6 (𝑎 = 𝐴 𝑎 = 𝐴)
1716, 7eqtr4di 2796 . . . . 5 (𝑎 = 𝐴 𝑎 = 𝑋)
1817eqeq2d 2749 . . . 4 (𝑎 = 𝐴 → ( 𝑏 = 𝑎 𝑏 = 𝑋))
19 raleq 3342 . . . 4 (𝑎 = 𝐴 → (∀𝑥𝑎𝑦𝑏 𝑥𝑦 ↔ ∀𝑥𝐴𝑦𝑏 𝑥𝑦))
2018, 19anbi12d 631 . . 3 (𝑎 = 𝐴 → (( 𝑏 = 𝑎 ∧ ∀𝑥𝑎𝑦𝑏 𝑥𝑦) ↔ ( 𝑏 = 𝑋 ∧ ∀𝑥𝐴𝑦𝑏 𝑥𝑦)))
21 unieq 4850 . . . . . 6 (𝑏 = 𝐵 𝑏 = 𝐵)
2221, 6eqtr4di 2796 . . . . 5 (𝑏 = 𝐵 𝑏 = 𝑌)
2322eqeq1d 2740 . . . 4 (𝑏 = 𝐵 → ( 𝑏 = 𝑋𝑌 = 𝑋))
24 rexeq 3343 . . . . 5 (𝑏 = 𝐵 → (∃𝑦𝑏 𝑥𝑦 ↔ ∃𝑦𝐵 𝑥𝑦))
2524ralbidv 3112 . . . 4 (𝑏 = 𝐵 → (∀𝑥𝐴𝑦𝑏 𝑥𝑦 ↔ ∀𝑥𝐴𝑦𝐵 𝑥𝑦))
2623, 25anbi12d 631 . . 3 (𝑏 = 𝐵 → (( 𝑏 = 𝑋 ∧ ∀𝑥𝐴𝑦𝑏 𝑥𝑦) ↔ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)))
27 df-ref 22656 . . 3 Ref = {⟨𝑎, 𝑏⟩ ∣ ( 𝑏 = 𝑎 ∧ ∀𝑥𝑎𝑦𝑏 𝑥𝑦)}
2820, 26, 27brabg 5452 . 2 ((𝐴𝐶𝐵 ∈ V) → (𝐴Ref𝐵 ↔ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)))
293, 15, 28pm5.21nd 799 1 (𝐴𝐶 → (𝐴Ref𝐵 ↔ (𝑌 = 𝑋 ∧ ∀𝑥𝐴𝑦𝐵 𝑥𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  wrex 3065  Vcvv 3432  wss 3887   cuni 4839   class class class wbr 5074  Refcref 22653
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-ref 22656
This theorem is referenced by:  refbas  22661  refssex  22662  ssref  22663  refref  22664  reftr  22665  refun0  22666  dissnref  22679  reff  31789  locfinreflem  31790  cmpcref  31800  fnessref  34546  refssfne  34547
  Copyright terms: Public domain W3C validator