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 39980
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 7628 . . . 4 (𝑌 ∈ V → 𝑌 ∈ V)
3 cnvexg 7628 . . . 4 (𝑌 ∈ V → 𝑌 ∈ V)
41, 2, 33syl 18 . . 3 (𝜑𝑌 ∈ V)
5 clrellem.rel . . . . . 6 (𝜑 → Rel 𝑋)
6 dfrel2 6045 . . . . . 6 (Rel 𝑋𝑋 = 𝑋)
75, 6sylib 220 . . . . 5 (𝜑𝑋 = 𝑋)
8 clrellem.sup . . . . . 6 (𝜑𝑋𝑌)
9 cnvss 5742 . . . . . 6 (𝑋𝑌𝑋𝑌)
10 cnvss 5742 . . . . . 6 (𝑋𝑌𝑋𝑌)
118, 9, 103syl 18 . . . . 5 (𝜑𝑋𝑌)
127, 11eqsstrrd 4005 . . . 4 (𝜑𝑋𝑌)
13 clrellem.maj . . . 4 (𝜑𝜒)
14 relcnv 5966 . . . . 5 Rel 𝑌
1514a1i 11 . . . 4 (𝜑 → Rel 𝑌)
1612, 13, 15jca31 517 . . 3 (𝜑 → ((𝑋𝑌𝜒) ∧ Rel 𝑌))
17 clrellem.sub . . . . 5 (𝑥 = 𝑌 → (𝜓𝜒))
1817cleq2lem 39966 . . . 4 (𝑥 = 𝑌 → ((𝑋𝑥𝜓) ↔ (𝑋𝑌𝜒)))
19 releq 5650 . . . 4 (𝑥 = 𝑌 → (Rel 𝑥 ↔ Rel 𝑌))
2018, 19anbi12d 632 . . 3 (𝑥 = 𝑌 → (((𝑋𝑥𝜓) ∧ Rel 𝑥) ↔ ((𝑋𝑌𝜒) ∧ Rel 𝑌)))
214, 16, 20spcedv 3598 . 2 (𝜑 → ∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥))
22 releq 5650 . . . 4 (𝑦 = 𝑥 → (Rel 𝑦 ↔ Rel 𝑥))
2322rexab2 3690 . . 3 (∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦 ↔ ∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥))
2423biimpri 230 . 2 (∃𝑥((𝑋𝑥𝜓) ∧ Rel 𝑥) → ∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦)
25 relint 5691 . 2 (∃𝑦 ∈ {𝑥 ∣ (𝑋𝑥𝜓)}Rel 𝑦 → Rel {𝑥 ∣ (𝑋𝑥𝜓)})
2621, 24, 253syl 18 1 (𝜑 → Rel {𝑥 ∣ (𝑋𝑥𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wcel 2110  {cab 2799  wrex 3139  Vcvv 3494  wss 3935   cint 4875  ccnv 5553  Rel wrel 5559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pow 5265  ax-pr 5329  ax-un 7460
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-int 4876  df-iin 4921  df-br 5066  df-opab 5128  df-xp 5560  df-rel 5561  df-cnv 5562  df-dm 5564  df-rn 5565
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator