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

Theorem ordtypecbv 9541
Description: Lemma for ordtype 9556. (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 5109 . . . . . . . . . 10 (𝑢 = 𝑟 → (𝑢𝑅𝑣 ↔ 𝑟𝑅𝑣))
43notbid 321 . . . . . . . . 9 (𝑢 = 𝑟 → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝑟𝑅𝑣))
54cbvralvw 3244 . . . . . . . 8 (∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑣)
6 breq2 5110 . . . . . . . . . 10 (𝑣 = 𝑠 → (𝑟𝑅𝑣 ↔ 𝑟𝑅𝑠))
76notbid 321 . . . . . . . . 9 (𝑣 = 𝑠 → (¬ 𝑟𝑅𝑣 ↔ ¬ 𝑟𝑅𝑠))
87ralbidv 3189 . . . . . . . 8 (𝑣 = 𝑠 → (∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠))
95, 8bitrid 286 . . . . . . 7 (𝑣 = 𝑠 → (∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠))
109cbvriotavw 7413 . . . . . 6 (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣) = (℩𝑠 ∈ 𝐶 ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠)
11 ordtypelem.2 . . . . . . . . 9 𝐶 = {𝑤 ∈ 𝐴 ∣ ∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤}
12 breq1 5109 . . . . . . . . . . . 12 (𝑗 = 𝑖 → (𝑗𝑅𝑤 ↔ 𝑖𝑅𝑤))
1312cbvralvw 3244 . . . . . . . . . . 11 (∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑤)
14 breq2 5110 . . . . . . . . . . . 12 (𝑤 = 𝑦 → (𝑖𝑅𝑤 ↔ 𝑖𝑅𝑦))
1514ralbidv 3189 . . . . . . . . . . 11 (𝑤 = 𝑦 → (∀𝑖 ∈ ran ℎ 𝑖𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦))
1613, 15bitrid 286 . . . . . . . . . 10 (𝑤 = 𝑦 → (∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦))
1716cbvrabv 3426 . . . . . . . . 9 {𝑤 ∈ 𝐴 ∣ ∀𝑗 ∈ ran ℎ 𝑗𝑅𝑤} = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦}
1811, 17eqtri 2786 . . . . . . . 8 𝐶 = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦}
19 rneq 5926 . . . . . . . . . 10 (ℎ = 𝑓 → ran ℎ = ran 𝑓)
2019raleqdv 3323 . . . . . . . . 9 (ℎ = 𝑓 → (∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦 ↔ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦))
2120rabbidv 3423 . . . . . . . 8 (ℎ = 𝑓 → {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran ℎ 𝑖𝑅𝑦} = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2218, 21eqtrid 2810 . . . . . . 7 (ℎ = 𝑓 → 𝐶 = {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2322raleqdv 3323 . . . . . . 7 (ℎ = 𝑓 → (∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠 ↔ ∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2422, 23riotaeqbidv 7406 . . . . . 6 (ℎ = 𝑓 → (℩𝑠 ∈ 𝐶 ∀𝑟 ∈ 𝐶 ¬ 𝑟𝑅𝑠) = (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2510, 24eqtrid 2810 . . . . 5 (ℎ = 𝑓 → (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣) = (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2625cbvmptv 5213 . . . 4 (ℎ ∈ V ↦ (℩𝑣 ∈ 𝐶 ∀𝑢 ∈ 𝐶 ¬ 𝑢𝑅𝑣)) = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
272, 26eqtri 2786 . . 3 𝐺 = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
28 recseq 8412 . . 3 (𝐺 = (𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)) → recs(𝐺) = recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))))
2927, 28ax-mp 5 . 2 recs(𝐺) = recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)))
301, 29eqtr2i 2787 1 recs((𝑓 ∈ V ↦ (℩𝑠 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦 ∈ 𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570  ∀wral 3080  {crab 3416  Vcvv 3454   class class class wbr 5106   ↦ cmpt 5190  ran crn 5657  ℩crio 7402  recscrecs 8409
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-xp 5662  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6325  df-iota 6515  df-fv 6569  df-riota 7403  df-ov 7449  df-frecs 8330  df-wrecs 8361  df-recs 8410
This theorem is used by:  oicl  9553  oif  9554  oiiso2  9555  ordtype  9556  oiiniseg  9557  ordtype2  9558
  Copyright terms: Public domain W3C validator