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

Theorem zorn2g 9208
Description: Zorn's Lemma of [Monk1] p. 117. This version of zorn2 9211 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 4586 . . . . . . . . 9 (𝑔 = 𝑘 → (𝑔𝑞𝑛𝑘𝑞𝑛))
21notbid 307 . . . . . . . 8 (𝑔 = 𝑘 → (¬ 𝑔𝑞𝑛 ↔ ¬ 𝑘𝑞𝑛))
32cbvralv 3147 . . . . . . 7 (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛)
4 breq2 4587 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑘𝑞𝑛𝑘𝑞𝑚))
54notbid 307 . . . . . . . 8 (𝑛 = 𝑚 → (¬ 𝑘𝑞𝑛 ↔ ¬ 𝑘𝑞𝑚))
65ralbidv 2969 . . . . . . 7 (𝑛 = 𝑚 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
73, 6syl5bb 271 . . . . . 6 (𝑛 = 𝑚 → (∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
87cbvriotav 6522 . . . . 5 (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚)
9 rneq 5272 . . . . . . . 8 ( = 𝑑 → ran = ran 𝑑)
109raleqdv 3121 . . . . . . 7 ( = 𝑑 → (∀𝑞 ∈ ran 𝑞𝑅𝑣 ↔ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣))
1110rabbidv 3164 . . . . . 6 ( = 𝑑 → {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} = {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣})
1211raleqdv 3121 . . . . . 6 ( = 𝑑 → (∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚 ↔ ∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1311, 12riotaeqbidv 6514 . . . . 5 ( = 𝑑 → (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
148, 13syl5eq 2656 . . . 4 ( = 𝑑 → (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛) = (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
1514cbvmptv 4678 . . 3 ( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛)) = (𝑑 ∈ V ↦ (𝑚 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣}∀𝑘 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} ¬ 𝑘𝑞𝑚))
16 recseq 7357 . . 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 4586 . . . . 5 (𝑞 = 𝑠 → (𝑞𝑅𝑣𝑠𝑅𝑣))
1918cbvralv 3147 . . . 4 (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣)
20 breq2 4587 . . . . 5 (𝑣 = 𝑟 → (𝑠𝑅𝑣𝑠𝑅𝑟))
2120ralbidv 2969 . . . 4 (𝑣 = 𝑟 → (∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2219, 21syl5bb 271 . . 3 (𝑣 = 𝑟 → (∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣 ↔ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟))
2322cbvrabv 3172 . 2 {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑑 𝑞𝑅𝑣} = {𝑟𝐴 ∣ ∀𝑠 ∈ ran 𝑑 𝑠𝑅𝑟}
24 eqid 2610 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑢)𝑠𝑅𝑟}
25 eqid 2610 . 2 {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟} = {𝑟𝐴 ∣ ∀𝑠 ∈ (recs(( ∈ V ↦ (𝑛 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣}∀𝑔 ∈ {𝑣𝐴 ∣ ∀𝑞 ∈ ran 𝑞𝑅𝑣} ¬ 𝑔𝑞𝑛))) “ 𝑡)𝑠𝑅𝑟}
2617, 23, 24, 25zorn2lem7 9207 1 ((𝐴 ∈ dom card ∧ 𝑅 Po 𝐴 ∧ ∀𝑤((𝑤𝐴𝑅 Or 𝑤) → ∃𝑥𝐴𝑧𝑤 (𝑧𝑅𝑥𝑧 = 𝑥))) → ∃𝑥𝐴𝑦𝐴 ¬ 𝑥𝑅𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 382  wa 383  w3a 1031  wal 1473   = wceq 1475  wcel 1977  wral 2896  wrex 2897  {crab 2900  Vcvv 3173  wss 3540   class class class wbr 4583  cmpt 4643   Po wpo 4957   Or wor 4958  dom cdm 5038  ran crn 5039  cima 5041  crio 6510  recscrecs 7354  cardccrd 8644
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-se 4998  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-isom 5813  df-riota 6511  df-wrecs 7294  df-recs 7355  df-en 7842  df-card 8648
This theorem is referenced by:  zorng  9209  zorn2  9211
  Copyright terms: Public domain W3C validator