ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  tfrcllemsucaccv GIF version

Theorem tfrcllemsucaccv 6322
Description: Lemma for tfrcl 6332. We can extend an acceptable function by one element to produce an acceptable function. (Contributed by Jim Kingdon, 24-Mar-2022.)
Hypotheses
Ref Expression
tfrcl.f 𝐹 = recs(𝐺)
tfrcl.g (𝜑 → Fun 𝐺)
tfrcl.x (𝜑 → Ord 𝑋)
tfrcl.ex ((𝜑𝑥𝑋𝑓:𝑥𝑆) → (𝐺𝑓) ∈ 𝑆)
tfrcllemsucfn.1 𝐴 = {𝑓 ∣ ∃𝑥𝑋 (𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦)))}
tfrcllemsucaccv.yx (𝜑𝑌𝑋)
tfrcllemsucaccv.zy (𝜑𝑧𝑌)
tfrcllemsucaccv.u ((𝜑𝑥 𝑋) → suc 𝑥𝑋)
tfrcllemsucaccv.gfn (𝜑𝑔:𝑧𝑆)
tfrcllemsucaccv.gacc (𝜑𝑔𝐴)
Assertion
Ref Expression
tfrcllemsucaccv (𝜑 → (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ 𝐴)
Distinct variable groups:   𝑓,𝐺,𝑥,𝑦   𝑆,𝑓,𝑥   𝑓,𝑋,𝑥   𝑓,𝑔,𝑥,𝑦   𝜑,𝑓,𝑥,𝑦   𝑧,𝑓,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧,𝑔)   𝐴(𝑥,𝑦,𝑧,𝑓,𝑔)   𝑆(𝑦,𝑧,𝑔)   𝐹(𝑥,𝑦,𝑧,𝑓,𝑔)   𝐺(𝑧,𝑔)   𝑋(𝑦,𝑧,𝑔)   𝑌(𝑥,𝑦,𝑧,𝑓,𝑔)

Proof of Theorem tfrcllemsucaccv
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 suceq 4380 . . . . 5 (𝑥 = 𝑧 → suc 𝑥 = suc 𝑧)
21eleq1d 2235 . . . 4 (𝑥 = 𝑧 → (suc 𝑥𝑋 ↔ suc 𝑧𝑋))
3 tfrcllemsucaccv.u . . . . 5 ((𝜑𝑥 𝑋) → suc 𝑥𝑋)
43ralrimiva 2539 . . . 4 (𝜑 → ∀𝑥 𝑋 suc 𝑥𝑋)
5 tfrcllemsucaccv.zy . . . . 5 (𝜑𝑧𝑌)
6 tfrcllemsucaccv.yx . . . . 5 (𝜑𝑌𝑋)
7 elunii 3794 . . . . 5 ((𝑧𝑌𝑌𝑋) → 𝑧 𝑋)
85, 6, 7syl2anc 409 . . . 4 (𝜑𝑧 𝑋)
92, 4, 8rspcdva 2835 . . 3 (𝜑 → suc 𝑧𝑋)
10 tfrcl.f . . . 4 𝐹 = recs(𝐺)
11 tfrcl.g . . . 4 (𝜑 → Fun 𝐺)
12 tfrcl.x . . . 4 (𝜑 → Ord 𝑋)
13 tfrcl.ex . . . 4 ((𝜑𝑥𝑋𝑓:𝑥𝑆) → (𝐺𝑓) ∈ 𝑆)
14 tfrcllemsucfn.1 . . . 4 𝐴 = {𝑓 ∣ ∃𝑥𝑋 (𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦)))}
155, 6jca 304 . . . . 5 (𝜑 → (𝑧𝑌𝑌𝑋))
16 ordtr1 4366 . . . . 5 (Ord 𝑋 → ((𝑧𝑌𝑌𝑋) → 𝑧𝑋))
1712, 15, 16sylc 62 . . . 4 (𝜑𝑧𝑋)
18 tfrcllemsucaccv.gfn . . . 4 (𝜑𝑔:𝑧𝑆)
19 tfrcllemsucaccv.gacc . . . 4 (𝜑𝑔𝐴)
2010, 11, 12, 13, 14, 17, 18, 19tfrcllemsucfn 6321 . . 3 (𝜑 → (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):suc 𝑧𝑆)
21 vex 2729 . . . . . 6 𝑦 ∈ V
2221elsuc 4384 . . . . 5 (𝑦 ∈ suc 𝑧 ↔ (𝑦𝑧𝑦 = 𝑧))
23 vex 2729 . . . . . . . . . . 11 𝑔 ∈ V
24 feq1 5320 . . . . . . . . . . . . 13 (𝑓 = 𝑔 → (𝑓:𝑥𝑆𝑔:𝑥𝑆))
25 fveq1 5485 . . . . . . . . . . . . . . 15 (𝑓 = 𝑔 → (𝑓𝑦) = (𝑔𝑦))
26 reseq1 4878 . . . . . . . . . . . . . . . 16 (𝑓 = 𝑔 → (𝑓𝑦) = (𝑔𝑦))
2726fveq2d 5490 . . . . . . . . . . . . . . 15 (𝑓 = 𝑔 → (𝐺‘(𝑓𝑦)) = (𝐺‘(𝑔𝑦)))
2825, 27eqeq12d 2180 . . . . . . . . . . . . . 14 (𝑓 = 𝑔 → ((𝑓𝑦) = (𝐺‘(𝑓𝑦)) ↔ (𝑔𝑦) = (𝐺‘(𝑔𝑦))))
2928ralbidv 2466 . . . . . . . . . . . . 13 (𝑓 = 𝑔 → (∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦)) ↔ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))
3024, 29anbi12d 465 . . . . . . . . . . . 12 (𝑓 = 𝑔 → ((𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦))) ↔ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦)))))
3130rexbidv 2467 . . . . . . . . . . 11 (𝑓 = 𝑔 → (∃𝑥𝑋 (𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦))) ↔ ∃𝑥𝑋 (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦)))))
3223, 31, 14elab2 2874 . . . . . . . . . 10 (𝑔𝐴 ↔ ∃𝑥𝑋 (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))
3319, 32sylib 121 . . . . . . . . 9 (𝜑 → ∃𝑥𝑋 (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))
34 simprrr 530 . . . . . . . . . 10 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦)))
35 simprrl 529 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → 𝑔:𝑥𝑆)
36 ffn 5337 . . . . . . . . . . . . 13 (𝑔:𝑥𝑆𝑔 Fn 𝑥)
3735, 36syl 14 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → 𝑔 Fn 𝑥)
3818adantr 274 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → 𝑔:𝑧𝑆)
39 ffn 5337 . . . . . . . . . . . . 13 (𝑔:𝑧𝑆𝑔 Fn 𝑧)
4038, 39syl 14 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → 𝑔 Fn 𝑧)
41 fndmu 5289 . . . . . . . . . . . 12 ((𝑔 Fn 𝑥𝑔 Fn 𝑧) → 𝑥 = 𝑧)
4237, 40, 41syl2anc 409 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → 𝑥 = 𝑧)
4342raleqdv 2667 . . . . . . . . . 10 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → (∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦)) ↔ ∀𝑦𝑧 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))
4434, 43mpbid 146 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝑋 ∧ (𝑔:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐺‘(𝑔𝑦))))) → ∀𝑦𝑧 (𝑔𝑦) = (𝐺‘(𝑔𝑦)))
4533, 44rexlimddv 2588 . . . . . . . 8 (𝜑 → ∀𝑦𝑧 (𝑔𝑦) = (𝐺‘(𝑔𝑦)))
4645r19.21bi 2554 . . . . . . 7 ((𝜑𝑦𝑧) → (𝑔𝑦) = (𝐺‘(𝑔𝑦)))
47 ordelon 4361 . . . . . . . . . . . . 13 ((Ord 𝑋𝑧𝑋) → 𝑧 ∈ On)
4812, 17, 47syl2anc 409 . . . . . . . . . . . 12 (𝜑𝑧 ∈ On)
49 onelon 4362 . . . . . . . . . . . 12 ((𝑧 ∈ On ∧ 𝑦𝑧) → 𝑦 ∈ On)
5048, 49sylan 281 . . . . . . . . . . 11 ((𝜑𝑦𝑧) → 𝑦 ∈ On)
51 eloni 4353 . . . . . . . . . . 11 (𝑦 ∈ On → Ord 𝑦)
52 ordirr 4519 . . . . . . . . . . 11 (Ord 𝑦 → ¬ 𝑦𝑦)
5350, 51, 523syl 17 . . . . . . . . . 10 ((𝜑𝑦𝑧) → ¬ 𝑦𝑦)
54 elequ2 2141 . . . . . . . . . . . 12 (𝑧 = 𝑦 → (𝑦𝑧𝑦𝑦))
5554biimpcd 158 . . . . . . . . . . 11 (𝑦𝑧 → (𝑧 = 𝑦𝑦𝑦))
5655adantl 275 . . . . . . . . . 10 ((𝜑𝑦𝑧) → (𝑧 = 𝑦𝑦𝑦))
5753, 56mtod 653 . . . . . . . . 9 ((𝜑𝑦𝑧) → ¬ 𝑧 = 𝑦)
5857neqned 2343 . . . . . . . 8 ((𝜑𝑦𝑧) → 𝑧𝑦)
59 fvunsng 5679 . . . . . . . 8 ((𝑦 ∈ V ∧ 𝑧𝑦) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝑔𝑦))
6021, 58, 59sylancr 411 . . . . . . 7 ((𝜑𝑦𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝑔𝑦))
61 eloni 4353 . . . . . . . . . . . 12 (𝑧 ∈ On → Ord 𝑧)
6248, 61syl 14 . . . . . . . . . . 11 (𝜑 → Ord 𝑧)
63 ordelss 4357 . . . . . . . . . . 11 ((Ord 𝑧𝑦𝑧) → 𝑦𝑧)
6462, 63sylan 281 . . . . . . . . . 10 ((𝜑𝑦𝑧) → 𝑦𝑧)
65 resabs1 4913 . . . . . . . . . 10 (𝑦𝑧 → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) ↾ 𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))
6664, 65syl 14 . . . . . . . . 9 ((𝜑𝑦𝑧) → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) ↾ 𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))
6718, 39syl 14 . . . . . . . . . . . 12 (𝜑𝑔 Fn 𝑧)
68 ordirr 4519 . . . . . . . . . . . . 13 (Ord 𝑧 → ¬ 𝑧𝑧)
6962, 68syl 14 . . . . . . . . . . . 12 (𝜑 → ¬ 𝑧𝑧)
70 fsnunres 5687 . . . . . . . . . . . 12 ((𝑔 Fn 𝑧 ∧ ¬ 𝑧𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) = 𝑔)
7167, 69, 70syl2anc 409 . . . . . . . . . . 11 (𝜑 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) = 𝑔)
7271reseq1d 4883 . . . . . . . . . 10 (𝜑 → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) ↾ 𝑦) = (𝑔𝑦))
7372adantr 274 . . . . . . . . 9 ((𝜑𝑦𝑧) → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧) ↾ 𝑦) = (𝑔𝑦))
7466, 73eqtr3d 2200 . . . . . . . 8 ((𝜑𝑦𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦) = (𝑔𝑦))
7574fveq2d 5490 . . . . . . 7 ((𝜑𝑦𝑧) → (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)) = (𝐺‘(𝑔𝑦)))
7646, 60, 753eqtr4d 2208 . . . . . 6 ((𝜑𝑦𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
77 feq2 5321 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → (𝑓:𝑥𝑆𝑓:𝑧𝑆))
7877imbi1d 230 . . . . . . . . . . . 12 (𝑥 = 𝑧 → ((𝑓:𝑥𝑆 → (𝐺𝑓) ∈ 𝑆) ↔ (𝑓:𝑧𝑆 → (𝐺𝑓) ∈ 𝑆)))
7978albidv 1812 . . . . . . . . . . 11 (𝑥 = 𝑧 → (∀𝑓(𝑓:𝑥𝑆 → (𝐺𝑓) ∈ 𝑆) ↔ ∀𝑓(𝑓:𝑧𝑆 → (𝐺𝑓) ∈ 𝑆)))
80133expia 1195 . . . . . . . . . . . . 13 ((𝜑𝑥𝑋) → (𝑓:𝑥𝑆 → (𝐺𝑓) ∈ 𝑆))
8180alrimiv 1862 . . . . . . . . . . . 12 ((𝜑𝑥𝑋) → ∀𝑓(𝑓:𝑥𝑆 → (𝐺𝑓) ∈ 𝑆))
8281ralrimiva 2539 . . . . . . . . . . 11 (𝜑 → ∀𝑥𝑋𝑓(𝑓:𝑥𝑆 → (𝐺𝑓) ∈ 𝑆))
8379, 82, 17rspcdva 2835 . . . . . . . . . 10 (𝜑 → ∀𝑓(𝑓:𝑧𝑆 → (𝐺𝑓) ∈ 𝑆))
84 feq1 5320 . . . . . . . . . . . 12 (𝑓 = 𝑔 → (𝑓:𝑧𝑆𝑔:𝑧𝑆))
85 fveq2 5486 . . . . . . . . . . . . 13 (𝑓 = 𝑔 → (𝐺𝑓) = (𝐺𝑔))
8685eleq1d 2235 . . . . . . . . . . . 12 (𝑓 = 𝑔 → ((𝐺𝑓) ∈ 𝑆 ↔ (𝐺𝑔) ∈ 𝑆))
8784, 86imbi12d 233 . . . . . . . . . . 11 (𝑓 = 𝑔 → ((𝑓:𝑧𝑆 → (𝐺𝑓) ∈ 𝑆) ↔ (𝑔:𝑧𝑆 → (𝐺𝑔) ∈ 𝑆)))
8887spv 1848 . . . . . . . . . 10 (∀𝑓(𝑓:𝑧𝑆 → (𝐺𝑓) ∈ 𝑆) → (𝑔:𝑧𝑆 → (𝐺𝑔) ∈ 𝑆))
8983, 18, 88sylc 62 . . . . . . . . 9 (𝜑 → (𝐺𝑔) ∈ 𝑆)
90 fndm 5287 . . . . . . . . . . 11 (𝑔 Fn 𝑧 → dom 𝑔 = 𝑧)
9167, 90syl 14 . . . . . . . . . 10 (𝜑 → dom 𝑔 = 𝑧)
9269, 91neleqtrrd 2265 . . . . . . . . 9 (𝜑 → ¬ 𝑧 ∈ dom 𝑔)
93 fsnunfv 5686 . . . . . . . . 9 ((𝑧𝑌 ∧ (𝐺𝑔) ∈ 𝑆 ∧ ¬ 𝑧 ∈ dom 𝑔) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑧) = (𝐺𝑔))
945, 89, 92, 93syl3anc 1228 . . . . . . . 8 (𝜑 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑧) = (𝐺𝑔))
9594adantr 274 . . . . . . 7 ((𝜑𝑦 = 𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑧) = (𝐺𝑔))
96 simpr 109 . . . . . . . 8 ((𝜑𝑦 = 𝑧) → 𝑦 = 𝑧)
9796fveq2d 5490 . . . . . . 7 ((𝜑𝑦 = 𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑧))
98 reseq2 4879 . . . . . . . . 9 (𝑦 = 𝑧 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑧))
9998, 71sylan9eqr 2221 . . . . . . . 8 ((𝜑𝑦 = 𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦) = 𝑔)
10099fveq2d 5490 . . . . . . 7 ((𝜑𝑦 = 𝑧) → (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)) = (𝐺𝑔))
10195, 97, 1003eqtr4d 2208 . . . . . 6 ((𝜑𝑦 = 𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
10276, 101jaodan 787 . . . . 5 ((𝜑 ∧ (𝑦𝑧𝑦 = 𝑧)) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
10322, 102sylan2b 285 . . . 4 ((𝜑𝑦 ∈ suc 𝑧) → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
104103ralrimiva 2539 . . 3 (𝜑 → ∀𝑦 ∈ suc 𝑧((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
105 feq2 5321 . . . . . 6 (𝑤 = suc 𝑧 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ↔ (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):suc 𝑧𝑆))
106 raleq 2661 . . . . . 6 (𝑤 = suc 𝑧 → (∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)) ↔ ∀𝑦 ∈ suc 𝑧((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
107105, 106anbi12d 465 . . . . 5 (𝑤 = suc 𝑧 → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ∧ ∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))) ↔ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):suc 𝑧𝑆 ∧ ∀𝑦 ∈ suc 𝑧((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
108107rspcev 2830 . . . 4 ((suc 𝑧𝑋 ∧ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):suc 𝑧𝑆 ∧ ∀𝑦 ∈ suc 𝑧((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))) → ∃𝑤𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ∧ ∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
109 feq2 5321 . . . . . 6 (𝑤 = 𝑥 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ↔ (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆))
110 raleq 2661 . . . . . 6 (𝑤 = 𝑥 → (∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)) ↔ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
111109, 110anbi12d 465 . . . . 5 (𝑤 = 𝑥 → (((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ∧ ∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))) ↔ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
112111cbvrexv 2693 . . . 4 (∃𝑤𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑤𝑆 ∧ ∀𝑦𝑤 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))) ↔ ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
113108, 112sylib 121 . . 3 ((suc 𝑧𝑋 ∧ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):suc 𝑧𝑆 ∧ ∀𝑦 ∈ suc 𝑧((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))) → ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
1149, 20, 104, 113syl12anc 1226 . 2 (𝜑 → ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
115 vex 2729 . . . . . 6 𝑧 ∈ V
116 opexg 4206 . . . . . 6 ((𝑧 ∈ V ∧ (𝐺𝑔) ∈ 𝑆) → ⟨𝑧, (𝐺𝑔)⟩ ∈ V)
117115, 89, 116sylancr 411 . . . . 5 (𝜑 → ⟨𝑧, (𝐺𝑔)⟩ ∈ V)
118 snexg 4163 . . . . 5 (⟨𝑧, (𝐺𝑔)⟩ ∈ V → {⟨𝑧, (𝐺𝑔)⟩} ∈ V)
119117, 118syl 14 . . . 4 (𝜑 → {⟨𝑧, (𝐺𝑔)⟩} ∈ V)
120 unexg 4421 . . . 4 ((𝑔 ∈ V ∧ {⟨𝑧, (𝐺𝑔)⟩} ∈ V) → (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ V)
12123, 119, 120sylancr 411 . . 3 (𝜑 → (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ V)
122 feq1 5320 . . . . . 6 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (𝑓:𝑥𝑆 ↔ (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆))
123 fveq1 5485 . . . . . . . 8 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (𝑓𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦))
124 reseq1 4878 . . . . . . . . 9 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (𝑓𝑦) = ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))
125124fveq2d 5490 . . . . . . . 8 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (𝐺‘(𝑓𝑦)) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))
126123, 125eqeq12d 2180 . . . . . . 7 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → ((𝑓𝑦) = (𝐺‘(𝑓𝑦)) ↔ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
127126ralbidv 2466 . . . . . 6 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦)) ↔ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦))))
128122, 127anbi12d 465 . . . . 5 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → ((𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦))) ↔ ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
129128rexbidv 2467 . . . 4 (𝑓 = (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) → (∃𝑥𝑋 (𝑓:𝑥𝑆 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓𝑦))) ↔ ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
130129, 14elab2g 2873 . . 3 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ V → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ 𝐴 ↔ ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
131121, 130syl 14 . 2 (𝜑 → ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ 𝐴 ↔ ∃𝑥𝑋 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}):𝑥𝑆 ∧ ∀𝑦𝑥 ((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩})‘𝑦) = (𝐺‘((𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ↾ 𝑦)))))
132114, 131mpbird 166 1 (𝜑 → (𝑔 ∪ {⟨𝑧, (𝐺𝑔)⟩}) ∈ 𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  w3a 968  wal 1341   = wceq 1343  wcel 2136  {cab 2151  wne 2336  wral 2444  wrex 2445  Vcvv 2726  cun 3114  wss 3116  {csn 3576  cop 3579   cuni 3789  Ord word 4340  Oncon0 4341  suc csuc 4343  dom cdm 4604  cres 4606  Fun wfun 5182   Fn wfn 5183  wf 5184  cfv 5188  recscrecs 6272
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196
This theorem is referenced by:  tfrcllembacc  6323  tfrcllemres  6330
  Copyright terms: Public domain W3C validator