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

Theorem wfrlem16 7475
Description: Lemma for well-founded recursion. If 𝑧 is 𝑅 minimal in (𝐴 ∖ dom 𝐹), then 𝐶 is acceptable and thus a subset of 𝐹, but dom 𝐶 is bigger than dom 𝐹. Thus, 𝑧 cannot be minimal, so (𝐴 ∖ dom 𝐹) must be empty, and (due to wfrdmss 7466), dom 𝐹 = 𝐴. (Contributed by Scott Fenton, 21-Apr-2011.)
Hypotheses
Ref Expression
wfrlem13.1 𝑅 We 𝐴
wfrlem13.2 𝑅 Se 𝐴
wfrlem13.3 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
wfrlem13.4 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
Assertion
Ref Expression
wfrlem16 dom 𝐹 = 𝐴
Distinct variable groups:   𝑧,𝐴   𝑧,𝐹   𝑧,𝑅
Allowed substitution hints:   𝐶(𝑧)   𝐺(𝑧)

Proof of Theorem wfrlem16
Dummy variables 𝑓 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wfrlem13.3 . . 3 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
21wfrdmss 7466 . 2 dom 𝐹𝐴
3 eldifn 3766 . . . . . 6 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → ¬ 𝑧 ∈ dom 𝐹)
4 ssun2 3810 . . . . . . . . 9 {𝑧} ⊆ (dom 𝐹 ∪ {𝑧})
5 vsnid 4242 . . . . . . . . 9 𝑧 ∈ {𝑧}
64, 5sselii 3633 . . . . . . . 8 𝑧 ∈ (dom 𝐹 ∪ {𝑧})
7 wfrlem13.4 . . . . . . . . . 10 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
87dmeqi 5357 . . . . . . . . 9 dom 𝐶 = dom (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
9 dmun 5363 . . . . . . . . 9 dom (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) = (dom 𝐹 ∪ dom {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
10 fvex 6239 . . . . . . . . . . 11 (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∈ V
1110dmsnop 5645 . . . . . . . . . 10 dom {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} = {𝑧}
1211uneq2i 3797 . . . . . . . . 9 (dom 𝐹 ∪ dom {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) = (dom 𝐹 ∪ {𝑧})
138, 9, 123eqtri 2677 . . . . . . . 8 dom 𝐶 = (dom 𝐹 ∪ {𝑧})
146, 13eleqtrri 2729 . . . . . . 7 𝑧 ∈ dom 𝐶
15 wfrlem13.1 . . . . . . . . . . . 12 𝑅 We 𝐴
16 wfrlem13.2 . . . . . . . . . . . 12 𝑅 Se 𝐴
1715, 16, 1, 7wfrlem15 7474 . . . . . . . . . . 11 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})
18 elssuni 4499 . . . . . . . . . . 11 (𝐶 ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} → 𝐶 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})
1917, 18syl 17 . . . . . . . . . 10 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})
20 df-wrecs 7452 . . . . . . . . . . 11 wrecs(𝑅, 𝐴, 𝐺) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
211, 20eqtri 2673 . . . . . . . . . 10 𝐹 = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
2219, 21syl6sseqr 3685 . . . . . . . . 9 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶𝐹)
23 dmss 5355 . . . . . . . . 9 (𝐶𝐹 → dom 𝐶 ⊆ dom 𝐹)
2422, 23syl 17 . . . . . . . 8 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → dom 𝐶 ⊆ dom 𝐹)
2524sseld 3635 . . . . . . 7 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (𝑧 ∈ dom 𝐶𝑧 ∈ dom 𝐹))
2614, 25mpi 20 . . . . . 6 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝑧 ∈ dom 𝐹)
273, 26mtand 692 . . . . 5 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → ¬ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
2827nrex 3029 . . . 4 ¬ ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅
29 df-ne 2824 . . . . 5 ((𝐴 ∖ dom 𝐹) ≠ ∅ ↔ ¬ (𝐴 ∖ dom 𝐹) = ∅)
30 difss 3770 . . . . . 6 (𝐴 ∖ dom 𝐹) ⊆ 𝐴
3115, 16tz6.26i 5750 . . . . . 6 (((𝐴 ∖ dom 𝐹) ⊆ 𝐴 ∧ (𝐴 ∖ dom 𝐹) ≠ ∅) → ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
3230, 31mpan 706 . . . . 5 ((𝐴 ∖ dom 𝐹) ≠ ∅ → ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
3329, 32sylbir 225 . . . 4 (¬ (𝐴 ∖ dom 𝐹) = ∅ → ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
3428, 33mt3 192 . . 3 (𝐴 ∖ dom 𝐹) = ∅
35 ssdif0 3975 . . 3 (𝐴 ⊆ dom 𝐹 ↔ (𝐴 ∖ dom 𝐹) = ∅)
3634, 35mpbir 221 . 2 𝐴 ⊆ dom 𝐹
372, 36eqssi 3652 1 dom 𝐹 = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383  w3a 1054   = wceq 1523  wex 1744  wcel 2030  {cab 2637  wne 2823  wral 2941  wrex 2942  cdif 3604  cun 3605  wss 3607  c0 3948  {csn 4210  cop 4216   cuni 4468   Se wse 5100   We wwe 5101  dom cdm 5143  cres 5145  Predcpred 5717   Fn wfn 5921  cfv 5926  wrecscwrecs 7451
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-wrecs 7452
This theorem is referenced by:  wfr1  7478  wfr2  7479
  Copyright terms: Public domain W3C validator