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 44966
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 7981 . . . 4 (𝑌 ∈ V → ◡𝑌 ∈ V)
3 cnvexg 7981 . . . 4 (◡𝑌 ∈ V → ◡◡𝑌 ∈ V)
41, 2, 33syl 19 . . 3 (𝜑 → ◡◡𝑌 ∈ V)
5 clrellem.rel . . . . . 6 (𝜑 → Rel 𝑋)
6 dfrel2 6203 . . . . . 6 (Rel 𝑋 ↔ ◡◡𝑋 = 𝑋)
75, 6sylib 221 . . . . 5 (𝜑 → ◡◡𝑋 = 𝑋)
8 clrellem.sup . . . . . 6 (𝜑 → 𝑋 ⊆ 𝑌)
9 cnvss 5865 . . . . . 6 (𝑋 ⊆ 𝑌 → ◡𝑋 ⊆ ◡𝑌)
10 cnvss 5865 . . . . . 6 (◡𝑋 ⊆ ◡𝑌 → ◡◡𝑋 ⊆ ◡◡𝑌)
118, 9, 103syl 19 . . . . 5 (𝜑 → ◡◡𝑋 ⊆ ◡◡𝑌)
127, 11eqsstrrd 3950 . . . 4 (𝜑 → 𝑋 ⊆ ◡◡𝑌)
13 clrellem.maj . . . 4 (𝜑 → 𝜒)
14 relcnv 6122 . . . . 5 Rel ◡◡𝑌
1514a1i 11 . . . 4 (𝜑 → Rel ◡◡𝑌)
1612, 13, 15jca31 524 . . 3 (𝜑 → ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌))
17 clrellem.sub . . . . 5 (𝑥 = ◡◡𝑌 → (𝜓 ↔ 𝜒))
1817cleq2lem 44952 . . . 4 (𝑥 = ◡◡𝑌 → ((𝑋 ⊆ 𝑥 ∧ 𝜓) ↔ (𝑋 ⊆ ◡◡𝑌 ∧ 𝜒)))
19 releq 5764 . . . 4 (𝑥 = ◡◡𝑌 → (Rel 𝑥 ↔ Rel ◡◡𝑌))
2018, 19anbi12d 644 . . 3 (𝑥 = ◡◡𝑌 → (((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) ↔ ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌)))
214, 16, 20spcedv 3558 . 2 (𝜑 → ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
22 releq 5764 . . . 4 (𝑦 = 𝑥 → (Rel 𝑦 ↔ Rel 𝑥))
2322rexab2 3662 . . 3 (∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦 ↔ ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
2423biimpri 231 . 2 (∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) → ∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦)
25 relint 5809 . 2 (∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦 → Rel ∩ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)})
2621, 24, 253syl 19 1 (𝜑 → Rel ∩ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  {cab 2747  ∃wrex 3096  Vcvv 3456   ⊆ wss 3902  ∩ cint 4915  ◡ccnv 5660  Rel wrel 5666
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pow 5337  ax-pr 5401  ax-un 7794
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 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-int 4916  df-iin 4962  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-cnv 5669  df-dm 5671  df-rn 5672
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator