Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  clrellem Structured version   Visualization version   GIF version

Theorem clrellem 39972
Description: When the property 𝜓 holds for a relation substituted for 𝑥, then the closure on that property is a relation if the base set is a relation. (Contributed by RP, 30-Jul-2020.)
Hypotheses
Ref Expression
clrellem.y (𝜑𝑌 ∈ V)
clrellem.rel (𝜑 → Rel 𝑋)
clrellem.sub (𝑥 = 𝑌 → (𝜓𝜒))
clrellem.sup (𝜑𝑋𝑌)
clrellem.maj (𝜑𝜒)
Assertion
Ref Expression
clrellem (𝜑 → Rel {𝑥 ∣ (𝑋𝑥𝜓)})
Distinct variable groups:   𝑥,𝑋   𝑥,𝑌   𝜑,𝑥   𝜒,𝑥
Allowed substitution hint:   𝜓(𝑥)

Proof of Theorem clrellem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 clrellem.y . . . 4 (𝜑𝑌 ∈ V)
2 cnvexg 7621 . . . 4 (𝑌 ∈ V → 𝑌 ∈ V)
3 cnvexg 7621 . . . 4 (𝑌 ∈ V → 𝑌 ∈ V)
41, 2, 33syl 18 . . 3 (𝜑𝑌 ∈ V)
5 clrellem.rel . . . . . 6 (𝜑 → Rel 𝑋)
6 dfrel2 6039 . . . . . 6 (Rel 𝑋𝑋 = 𝑋)
75, 6sylib 220 . . . . 5 (𝜑𝑋 = 𝑋)
8 clrellem.sup . . . . . 6 (𝜑𝑋𝑌)
9 cnvss 5736 . . . . . 6 (𝑋𝑌𝑋𝑌)
10 cnvss 5736 . . . . . 6 (𝑋𝑌𝑋𝑌)
118, 9, 103syl 18 . . . . 5 (𝜑𝑋𝑌)
127, 11eqsstrrd 4004 . . . 4 (𝜑𝑋𝑌)
13 clrellem.maj . . . 4 (𝜑𝜒)
14 relcnv 5960 . . . . 5 Rel 𝑌
1514a1i 11 . . . 4 (𝜑 → Rel 𝑌)
1612, 13, 15jca31 517 . . 3 (𝜑 → ((𝑋𝑌𝜒) ∧ Rel 𝑌))
17 clrellem.sub . . . . 5 (𝑥 = 𝑌 → (𝜓𝜒))
1817cleq2lem 39958 . . . 4 (𝑥 = 𝑌 → ((𝑋𝑥𝜓) ↔ (𝑋𝑌𝜒)))
19 releq 5644 . . . 4 (𝑥 = 𝑌 → (Rel 𝑥 ↔ Rel 𝑌))
2018, 19anbi12d 632 . . 3 (𝑥 = 𝑌 → (((𝑋𝑥𝜓) ∧ Rel 𝑥) ↔ ((𝑋𝑌𝜒) ∧ Rel 𝑌)))
214, 16, 20spcedv 3597 . 2 (𝜑 → ∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥))
22 releq 5644 . . . 4 (𝑦 = 𝑥 → (Rel 𝑦 ↔ Rel 𝑥))
2322rexab2 3689 . . 3 (∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦 ↔ ∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥))
2423biimpri 230 . 2 (∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥) → ∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦)
25 relint 5685 . 2 (∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦 → Rel {𝑥 ∣ (𝑋𝑥𝜓)})
2621, 24, 253syl 18 1 (𝜑 → Rel {𝑥 ∣ (𝑋𝑥𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1530  wex 1773  wcel 2107  {cab 2797  wrex 3137  Vcvv 3493  wss 3934   cint 4867  ccnv 5547  Rel wrel 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-int 4868  df-iin 4913  df-br 5058  df-opab 5120  df-xp 5554  df-rel 5555  df-cnv 5556  df-dm 5558  df-rn 5559
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator