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

Theorem wfrlem15OLD 8154
Description: Lemma for well-ordered recursion. When 𝑧 is 𝑅 minimal, 𝐶 is an acceptable function. This step is where the Axiom of Replacement becomes required. Obsolete as of 18-Nov-2024. (New usage is discouraged.) (Proof modification is discouraged.) (Contributed by Scott Fenton, 21-Apr-2011.)
Hypotheses
Ref Expression
wfrlem13OLD.1 𝑅 We 𝐴
wfrlem13OLD.2 𝑅 Se 𝐴
wfrlem13OLD.3 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
wfrlem13OLD.4 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
Assertion
Ref Expression
wfrlem15OLD ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})
Distinct variable groups:   𝐴,𝑓,𝑥,𝑦,𝑧   𝑓,𝐹,𝑥,𝑦,𝑧   𝑓,𝐺,𝑥,𝑦   𝑅,𝑓,𝑥,𝑦,𝑧   𝐶,𝑓,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑧)   𝐺(𝑧)

Proof of Theorem wfrlem15OLD
StepHypRef Expression
1 wfrlem13OLD.1 . . . . 5 𝑅 We 𝐴
2 wfrlem13OLD.2 . . . . 5 𝑅 Se 𝐴
3 wfrlem13OLD.3 . . . . 5 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
4 wfrlem13OLD.4 . . . . 5 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
51, 2, 3, 4wfrlem13OLD 8152 . . . 4 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → 𝐶 Fn (dom 𝐹 ∪ {𝑧}))
65adantr 481 . . 3 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 Fn (dom 𝐹 ∪ {𝑧}))
71, 3wfrlem10OLD 8149 . . . 4 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → Pred(𝑅, 𝐴, 𝑧) = dom 𝐹)
8 eldifi 4061 . . . . . 6 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → 𝑧𝐴)
9 setlikespec 6228 . . . . . 6 ((𝑧𝐴𝑅 Se 𝐴) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
108, 2, 9sylancl 586 . . . . 5 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
1110adantr 481 . . . 4 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
127, 11eqeltrrd 2840 . . 3 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → dom 𝐹 ∈ V)
13 snex 5354 . . . . 5 {𝑧} ∈ V
14 unexg 7599 . . . . 5 ((dom 𝐹 ∈ V ∧ {𝑧} ∈ V) → (dom 𝐹 ∪ {𝑧}) ∈ V)
1513, 14mpan2 688 . . . 4 (dom 𝐹 ∈ V → (dom 𝐹 ∪ {𝑧}) ∈ V)
16 fnex 7093 . . . 4 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ (dom 𝐹 ∪ {𝑧}) ∈ V) → 𝐶 ∈ V)
1715, 16sylan2 593 . . 3 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ dom 𝐹 ∈ V) → 𝐶 ∈ V)
186, 12, 17syl2anc 584 . 2 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 ∈ V)
1912, 13, 14sylancl 586 . . 3 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (dom 𝐹 ∪ {𝑧}) ∈ V)
203wfrdmssOLD 8146 . . . . . . 7 dom 𝐹𝐴
218snssd 4742 . . . . . . 7 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → {𝑧} ⊆ 𝐴)
22 unss 4118 . . . . . . . 8 ((dom 𝐹𝐴 ∧ {𝑧} ⊆ 𝐴) ↔ (dom 𝐹 ∪ {𝑧}) ⊆ 𝐴)
2322biimpi 215 . . . . . . 7 ((dom 𝐹𝐴 ∧ {𝑧} ⊆ 𝐴) → (dom 𝐹 ∪ {𝑧}) ⊆ 𝐴)
2420, 21, 23sylancr 587 . . . . . 6 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → (dom 𝐹 ∪ {𝑧}) ⊆ 𝐴)
2524adantr 481 . . . . 5 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (dom 𝐹 ∪ {𝑧}) ⊆ 𝐴)
26 elun 4083 . . . . . . . 8 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}))
27 velsn 4577 . . . . . . . . 9 (𝑦 ∈ {𝑧} ↔ 𝑦 = 𝑧)
2827orbi2i 910 . . . . . . . 8 ((𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
2926, 28bitri 274 . . . . . . 7 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
303wfrdmclOLD 8148 . . . . . . . . . 10 (𝑦 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹)
31 ssun3 4108 . . . . . . . . . 10 (Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧}))
3230, 31syl 17 . . . . . . . . 9 (𝑦 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧}))
3332a1i 11 . . . . . . . 8 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (𝑦 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
34 ssun1 4106 . . . . . . . . . 10 dom 𝐹 ⊆ (dom 𝐹 ∪ {𝑧})
357, 34eqsstrdi 3975 . . . . . . . . 9 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → Pred(𝑅, 𝐴, 𝑧) ⊆ (dom 𝐹 ∪ {𝑧}))
36 predeq3 6206 . . . . . . . . . 10 (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑧))
3736sseq1d 3952 . . . . . . . . 9 (𝑦 = 𝑧 → (Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧}) ↔ Pred(𝑅, 𝐴, 𝑧) ⊆ (dom 𝐹 ∪ {𝑧})))
3835, 37syl5ibrcom 246 . . . . . . . 8 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
3933, 38jaod 856 . . . . . . 7 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → ((𝑦 ∈ dom 𝐹𝑦 = 𝑧) → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
4029, 39syl5bi 241 . . . . . 6 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) → Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
4140ralrimiv 3102 . . . . 5 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧}))
4225, 41jca 512 . . . 4 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → ((dom 𝐹 ∪ {𝑧}) ⊆ 𝐴 ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
431, 2, 3, 4wfrlem14OLD 8153 . . . . . 6 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
4443ralrimiv 3102 . . . . 5 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})(𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))
4544adantr 481 . . . 4 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})(𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))
466, 42, 453jca 1127 . . 3 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → (𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ ((dom 𝐹 ∪ {𝑧}) ⊆ 𝐴 ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})) ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})(𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
47 fneq2 6525 . . . 4 (𝑥 = (dom 𝐹 ∪ {𝑧}) → (𝐶 Fn 𝑥𝐶 Fn (dom 𝐹 ∪ {𝑧})))
48 sseq1 3946 . . . . 5 (𝑥 = (dom 𝐹 ∪ {𝑧}) → (𝑥𝐴 ↔ (dom 𝐹 ∪ {𝑧}) ⊆ 𝐴))
49 sseq2 3947 . . . . . 6 (𝑥 = (dom 𝐹 ∪ {𝑧}) → (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
5049raleqbi1dv 3340 . . . . 5 (𝑥 = (dom 𝐹 ∪ {𝑧}) → (∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})))
5148, 50anbi12d 631 . . . 4 (𝑥 = (dom 𝐹 ∪ {𝑧}) → ((𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ↔ ((dom 𝐹 ∪ {𝑧}) ⊆ 𝐴 ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧}))))
52 raleq 3342 . . . 4 (𝑥 = (dom 𝐹 ∪ {𝑧}) → (∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})(𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
5347, 51, 523anbi123d 1435 . . 3 (𝑥 = (dom 𝐹 ∪ {𝑧}) → ((𝐶 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ ((dom 𝐹 ∪ {𝑧}) ⊆ 𝐴 ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})Pred(𝑅, 𝐴, 𝑦) ⊆ (dom 𝐹 ∪ {𝑧})) ∧ ∀𝑦 ∈ (dom 𝐹 ∪ {𝑧})(𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))))
5419, 46, 53spcedv 3537 . 2 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → ∃𝑥(𝐶 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
55 fneq1 6524 . . . 4 (𝑓 = 𝐶 → (𝑓 Fn 𝑥𝐶 Fn 𝑥))
56 fveq1 6773 . . . . . 6 (𝑓 = 𝐶 → (𝑓𝑦) = (𝐶𝑦))
57 reseq1 5885 . . . . . . 7 (𝑓 = 𝐶 → (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))
5857fveq2d 6778 . . . . . 6 (𝑓 = 𝐶 → (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))
5956, 58eqeq12d 2754 . . . . 5 (𝑓 = 𝐶 → ((𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
6059ralbidv 3112 . . . 4 (𝑓 = 𝐶 → (∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
6155, 603anbi13d 1437 . . 3 (𝑓 = 𝐶 → ((𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝐶 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))))
6261exbidv 1924 . 2 (𝑓 = 𝐶 → (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑥(𝐶 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))))
6318, 54, 62elabd 3612 1 ((𝑧 ∈ (𝐴 ∖ dom 𝐹) ∧ Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅) → 𝐶 ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wo 844  w3a 1086   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wral 3064  Vcvv 3432  cdif 3884  cun 3885  wss 3887  c0 4256  {csn 4561  cop 4567   Se wse 5542   We wwe 5543  dom cdm 5589  cres 5591  Predcpred 6201   Fn wfn 6428  cfv 6433  wrecscwrecs 8127
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-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  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-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128
This theorem is referenced by:  wfrlem16OLD  8155
  Copyright terms: Public domain W3C validator