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

Theorem zorn2g 9925
Description: Zorn's Lemma of [Monk1] p. 117. This version of zorn2 9928 avoids the Axiom of Choice by assuming that 𝐴 is well-orderable. (Contributed by NM, 6-Apr-1997.) (Revised by Mario Carneiro, 9-May-2015.)
Assertion
Ref Expression
zorn2g ((𝐴 ∈ dom card ∧ 𝑅 Po 𝐴 ∧ ∀𝑤((𝑤𝐴𝑅 Or 𝑤) → ∃𝑥𝐴𝑧𝑤 (𝑧𝑅𝑥𝑧 = 𝑥))) → ∃𝑥𝐴𝑦𝐴 ¬ 𝑥𝑅𝑦)
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑅   𝑥,𝐴,𝑦,𝑧,𝑤

Proof of Theorem zorn2g
Dummy variables 𝑣 𝑢 𝑔 𝑡 𝑠 𝑟 𝑞 𝑑 𝑘 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq1 5069 . . . . . . . . 9 (𝑔 = 𝑘 → (𝑔𝑞𝑛𝑘𝑞𝑛))
21notbid 320 . . . . . . . 8 (𝑔 = 𝑘 → (¬ 𝑔𝑞𝑛 ↔ ¬ 𝑘𝑞𝑛))
32cbvralvw 3449 . . . . . . 7 (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛)
4 breq2 5070 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑘𝑞𝑛𝑘𝑞𝑚))
54notbid 320 . . . . . . . 8 (𝑛 = 𝑚 → (¬ 𝑘𝑞𝑛 ↔ ¬ 𝑘𝑞𝑚))
65ralbidv 3197 . . . . . . 7 (𝑛 = 𝑚 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
73, 6syl5bb 285 . . . . . 6 (𝑛 = 𝑚 → (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
87cbvriotavw 7124 . . . . 5 (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚)
9 rneq 5806 . . . . . . . 8 ( = 𝑑 → ran = ran 𝑑)
109raleqdv 3415 . . . . . . 7 ( = 𝑑 → (∀𝑞 ∈ ran 𝑞𝑅𝑣 ↔ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣))
1110rabbidv 3480 . . . . . 6 ( = 𝑑 → {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} = {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣})
1211raleqdv 3415 . . . . . 6 ( = 𝑑 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1311, 12riotaeqbidv 7117 . . . . 5 ( = 𝑑 → (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
148, 13syl5eq 2868 . . . 4 ( = 𝑑 → (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1514cbvmptv 5169 . . 3 ( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛)) = (𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
16 recseq 8010 . . 3 (( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛)) = (𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚)) → recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) = recs((𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))))
1715, 16ax-mp 5 . 2 recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) = recs((𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚)))
18 breq1 5069 . . . . 5 (𝑞 = 𝑠 → (𝑞𝑅𝑣𝑠𝑅𝑣))
1918cbvralvw 3449 . . . 4 (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣)
20 breq2 5070 . . . . 5 (𝑣 = 𝑟 → (𝑠𝑅𝑣𝑠𝑅𝑟))
2120ralbidv 3197 . . . 4 (𝑣 = 𝑟 → (∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2219, 21syl5bb 285 . . 3 (𝑣 = 𝑟 → (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2322cbvrabv 3491 . 2 {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} = {𝑟𝐴 ∣ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟}
24 eqid 2821 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟}
25 eqid 2821 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟}
2617, 23, 24, 25zorn2lem7 9924 1 ((𝐴 ∈ dom card ∧ 𝑅 Po 𝐴 ∧ ∀𝑤((𝑤𝐴𝑅 Or 𝑤) → ∃𝑥𝐴𝑧𝑤 (𝑧𝑅𝑥𝑧 = 𝑥))) → ∃𝑥𝐴𝑦𝐴 ¬ 𝑥𝑅𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wo 843  w3a 1083  wal 1535   = wceq 1537  wcel 2114  wral 3138  wrex 3139  {crab 3142  Vcvv 3494  wss 3936   class class class wbr 5066  cmpt 5146   Po wpo 5472   Or wor 5473  dom cdm 5555  ran crn 5556  cima 5558  crio 7113  recscrecs 8007  cardccrd 9364
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-se 5515  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-isom 6364  df-riota 7114  df-wrecs 7947  df-recs 8008  df-en 8510  df-card 9368
This theorem is referenced by:  zorng  9926  zorn2  9928
  Copyright terms: Public domain W3C validator