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

Theorem ordtypecbv 9276
Description: Lemma for ordtype 9291. (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 5077 . . . . . . . . . 10 (𝑢 = 𝑟 → (𝑢𝑅𝑣𝑟𝑅𝑣))
43notbid 318 . . . . . . . . 9 (𝑢 = 𝑟 → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝑟𝑅𝑣))
54cbvralvw 3383 . . . . . . . 8 (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑣)
6 breq2 5078 . . . . . . . . . 10 (𝑣 = 𝑠 → (𝑟𝑅𝑣𝑟𝑅𝑠))
76notbid 318 . . . . . . . . 9 (𝑣 = 𝑠 → (¬ 𝑟𝑅𝑣 ↔ ¬ 𝑟𝑅𝑠))
87ralbidv 3112 . . . . . . . 8 (𝑣 = 𝑠 → (∀𝑟𝐶 ¬ 𝑟𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑠))
95, 8bitrid 282 . . . . . . 7 (𝑣 = 𝑠 → (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑠))
109cbvriotavw 7242 . . . . . 6 (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑠𝐶𝑟𝐶 ¬ 𝑟𝑅𝑠)
11 ordtypelem.2 . . . . . . . . 9 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
12 breq1 5077 . . . . . . . . . . . 12 (𝑗 = 𝑖 → (𝑗𝑅𝑤𝑖𝑅𝑤))
1312cbvralvw 3383 . . . . . . . . . . 11 (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑤)
14 breq2 5078 . . . . . . . . . . . 12 (𝑤 = 𝑦 → (𝑖𝑅𝑤𝑖𝑅𝑦))
1514ralbidv 3112 . . . . . . . . . . 11 (𝑤 = 𝑦 → (∀𝑖 ∈ ran 𝑖𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑦))
1613, 15bitrid 282 . . . . . . . . . 10 (𝑤 = 𝑦 → (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑦))
1716cbvrabv 3426 . . . . . . . . 9 {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤} = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦}
1811, 17eqtri 2766 . . . . . . . 8 𝐶 = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦}
19 rneq 5845 . . . . . . . . . 10 ( = 𝑓 → ran = ran 𝑓)
2019raleqdv 3348 . . . . . . . . 9 ( = 𝑓 → (∀𝑖 ∈ ran 𝑖𝑅𝑦 ↔ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦))
2120rabbidv 3414 . . . . . . . 8 ( = 𝑓 → {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦} = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2218, 21eqtrid 2790 . . . . . . 7 ( = 𝑓𝐶 = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2322raleqdv 3348 . . . . . . 7 ( = 𝑓 → (∀𝑟𝐶 ¬ 𝑟𝑅𝑠 ↔ ∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2422, 23riotaeqbidv 7235 . . . . . 6 ( = 𝑓 → (𝑠𝐶𝑟𝐶 ¬ 𝑟𝑅𝑠) = (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2510, 24eqtrid 2790 . . . . 5 ( = 𝑓 → (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2625cbvmptv 5187 . . . 4 ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣)) = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
272, 26eqtri 2766 . . 3 𝐺 = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
28 recseq 8205 . . 3 (𝐺 = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)) → recs(𝐺) = recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))))
2927, 28ax-mp 5 . 2 recs(𝐺) = recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)))
301, 29eqtr2i 2767 1 recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1539  wral 3064  {crab 3068  Vcvv 3432   class class class wbr 5074  cmpt 5157  ran crn 5590  crio 7231  recscrecs 8201
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-xp 5595  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-iota 6391  df-fv 6441  df-riota 7232  df-ov 7278  df-frecs 8097  df-wrecs 8128  df-recs 8202
This theorem is referenced by:  oicl  9288  oif  9289  oiiso2  9290  ordtype  9291  oiiniseg  9292  ordtype2  9293
  Copyright terms: Public domain W3C validator