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

Theorem zorn2g 9913
Description: Zorn's Lemma of [Monk1] p. 117. This version of zorn2 9916 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 5060 . . . . . . . . 9 (𝑔 = 𝑘 → (𝑔𝑞𝑛𝑘𝑞𝑛))
21notbid 319 . . . . . . . 8 (𝑔 = 𝑘 → (¬ 𝑔𝑞𝑛 ↔ ¬ 𝑘𝑞𝑛))
32cbvralvw 3447 . . . . . . 7 (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛)
4 breq2 5061 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑘𝑞𝑛𝑘𝑞𝑚))
54notbid 319 . . . . . . . 8 (𝑛 = 𝑚 → (¬ 𝑘𝑞𝑛 ↔ ¬ 𝑘𝑞𝑚))
65ralbidv 3194 . . . . . . 7 (𝑛 = 𝑚 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
73, 6syl5bb 284 . . . . . 6 (𝑛 = 𝑚 → (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
87cbvriotavw 7113 . . . . 5 (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚)
9 rneq 5799 . . . . . . . 8 ( = 𝑑 → ran = ran 𝑑)
109raleqdv 3413 . . . . . . 7 ( = 𝑑 → (∀𝑞 ∈ ran 𝑞𝑅𝑣 ↔ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣))
1110rabbidv 3478 . . . . . 6 ( = 𝑑 → {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} = {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣})
1211raleqdv 3413 . . . . . 6 ( = 𝑑 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1311, 12riotaeqbidv 7106 . . . . 5 ( = 𝑑 → (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
148, 13syl5eq 2865 . . . 4 ( = 𝑑 → (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1514cbvmptv 5160 . . 3 ( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛)) = (𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
16 recseq 7999 . . 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 5060 . . . . 5 (𝑞 = 𝑠 → (𝑞𝑅𝑣𝑠𝑅𝑣))
1918cbvralvw 3447 . . . 4 (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣)
20 breq2 5061 . . . . 5 (𝑣 = 𝑟 → (𝑠𝑅𝑣𝑠𝑅𝑟))
2120ralbidv 3194 . . . 4 (𝑣 = 𝑟 → (∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2219, 21syl5bb 284 . . 3 (𝑣 = 𝑟 → (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2322cbvrabv 3489 . 2 {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} = {𝑟𝐴 ∣ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟}
24 eqid 2818 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟}
25 eqid 2818 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟}
2617, 23, 24, 25zorn2lem7 9912 1 ((𝐴 ∈ dom card ∧ 𝑅 Po 𝐴 ∧ ∀𝑤((𝑤𝐴𝑅 Or 𝑤) → ∃𝑥𝐴𝑧𝑤 (𝑧𝑅𝑥𝑧 = 𝑥))) → ∃𝑥𝐴𝑦𝐴 ¬ 𝑥𝑅𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 841  w3a 1079  wal 1526   = wceq 1528  wcel 2105  wral 3135  wrex 3136  {crab 3139  Vcvv 3492  wss 3933   class class class wbr 5057  cmpt 5137   Po wpo 5465   Or wor 5466  dom cdm 5548  ran crn 5549  cima 5551  crio 7102  recscrecs 7996  cardccrd 9352
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rmo 3143  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-pss 3951  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-se 5508  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-isom 6357  df-riota 7103  df-wrecs 7936  df-recs 7997  df-en 8498  df-card 9356
This theorem is referenced by:  zorng  9914  zorn2  9916
  Copyright terms: Public domain W3C validator