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

Theorem ordtypecbv 9559
Description: Lemma for ordtype 9574. (Contributed by Mario Carneiro, 26-Jun-2015.)
Hypotheses
Ref Expression
ordtypelem.1 𝐹 = recs(𝐺)
ordtypelem.2 𝐶 = {𝑤 ∈ 𝐴 ∣ ∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤}
ordtypelem.3 𝐺 = (ℎ ∈ V ↦ (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣))
Assertion
Ref Expression
ordtypecbv recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Distinct variable groups:   𝑓,𝑟,𝑠,𝑢,𝑣,𝐶   ℎ,𝑗,𝑢,𝑣,𝑤,𝑓,𝑖,𝑦,𝑅,𝑟,𝑠   𝐴,ℎ,𝑗,𝑟,𝑠,𝑢,𝑣,𝑤,𝑦
Allowed substitution hints:   𝐴(𝑓, 𝑖)   𝐶(𝑦, 𝑤, ℎ, 𝑖, 𝑗)   𝐹(𝑦, 𝑤, 𝑣, 𝑢, 𝑓, ℎ, 𝑖, 𝑗, 𝑠, 𝑟)   𝐺(𝑦, 𝑤, 𝑣, 𝑢, 𝑓, ℎ, 𝑖, 𝑗, 𝑠, 𝑟)

Proof of Theorem ordtypecbv
StepHypRef Expression
1 ordtypelem.1 . 2 𝐹 = recs(𝐺)
2 ordtypelem.3 . . . 4 𝐺 = (ℎ ∈ V ↦ (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣))
3 breq1 5114 . . . . . . . . . 10 (𝑢 = 𝑟 → (𝑢𝑅𝑣 ↔ 𝑟𝑅𝑣))
43notbid 321 . . . . . . . . 9 (𝑢 = 𝑟 → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝑟𝑅𝑣))
54cbvralvw 3247 . . . . . . . 8 (∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑣)
6 breq2 5115 . . . . . . . . . 10 (𝑣 = 𝑠 → (𝑟𝑅𝑣 ↔ 𝑟𝑅𝑠))
76notbid 321 . . . . . . . . 9 (𝑣 = 𝑠 → (¬ 𝑟𝑅𝑣 ↔ ¬ 𝑟𝑅𝑠))
87ralbidv 3195 . . . . . . . 8 (𝑣 = 𝑠 → (∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠))
95, 8bitrid 286 . . . . . . 7 (𝑣 = 𝑠 → (∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠))
109cbvriotavw 7428 . . . . . 6 (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣) = (℩𝑠 ∈ 𝐶 ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠)
11 ordtypelem.2 . . . . . . . . 9 𝐶 = {𝑤 ∈ 𝐴 ∣ ∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤}
12 breq1 5114 . . . . . . . . . . . 12 (𝑗 = 𝑖 → (𝑗𝑅𝑤 ↔ 𝑖𝑅𝑤))
1312cbvralvw 3247 . . . . . . . . . . 11 (∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑤)
14 breq2 5115 . . . . . . . . . . . 12 (𝑤 = 𝑦 → (𝑖𝑅𝑤 ↔ 𝑖𝑅𝑦))
1514ralbidv 3195 . . . . . . . . . . 11 (𝑤 = 𝑦 → (∀𝑖 ∈ ran ℎ 𝑖𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦))
1613, 15bitrid 286 . . . . . . . . . 10 (𝑤 = 𝑦 → (∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦))
1716cbvrabv 3428 . . . . . . . . 9 {𝑤 ∈ 𝐴 ∣ ∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤} = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦}
1811, 17eqtri 2792 . . . . . . . 8 𝐶 = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦}
19 rneq 5933 . . . . . . . . . 10 (ℎ = 𝑓 → ran ℎ = ran 𝑓)
2019raleqdv 3326 . . . . . . . . 9 (ℎ = 𝑓 → (∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦 ↔ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦))
2120rabbidv 3425 . . . . . . . 8 (ℎ = 𝑓 → {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦} = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2218, 21eqtrid 2816 . . . . . . 7 (ℎ = 𝑓 → 𝐶 = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2322raleqdv 3326 . . . . . . 7 (ℎ = 𝑓 → (∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠 ↔ ∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2422, 23riotaeqbidv 7421 . . . . . 6 (ℎ = 𝑓 → (℩𝑠 ∈ 𝐶 ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠) = (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2510, 24eqtrid 2816 . . . . 5 (ℎ = 𝑓 → (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣) = (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2625cbvmptv 5218 . . . 4 (ℎ ∈ V ↦ (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣)) = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
272, 26eqtri 2792 . . 3 𝐺 = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
28 recseq 8430 . . 3 (𝐺 = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)) → recs(𝐺) = recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))))
2927, 28ax-mp 5 . 2 recs(𝐺) = recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)))
301, 29eqtr2i 2793 1 recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572  ∀wral 3086  {crab 3418  Vcvv 3456   class class class wbr 5111   ↦ cmpt 5195  ran crn 5662  ℩crio 7417  recscrecs 8427
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-ext 2741
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-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-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-xp 5667  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-iota 6527  df-fv 6581  df-riota 7418  df-ov 7465  df-frecs 8348  df-wrecs 8379  df-recs 8428
This theorem is used by:  oicl  9571  oif  9572  oiiso2  9573  ordtype  9574  oiiniseg  9575  ordtype2  9576
  Copyright terms: Public domain W3C validator