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

Theorem ctmlemr 7085
Description: Lemma for ctm 7086. One of the directions of the biconditional. (Contributed by Jim Kingdon, 16-Mar-2023.)
Assertion
Ref Expression
ctmlemr (∃𝑥 𝑥𝐴 → (∃𝑓 𝑓:ω–onto𝐴 → ∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o)))
Distinct variable groups:   𝐴,𝑓   𝑥,𝑓
Allowed substitution hint:   𝐴(𝑥)

Proof of Theorem ctmlemr
Dummy variables 𝑔 𝑛 𝑢 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0lt1o 6419 . . . . . . . . . 10 ∅ ∈ 1o
2 djurcl 7029 . . . . . . . . . 10 (∅ ∈ 1o → (inr‘∅) ∈ (𝐴 ⊔ 1o))
31, 2ax-mp 5 . . . . . . . . 9 (inr‘∅) ∈ (𝐴 ⊔ 1o)
43a1i 9 . . . . . . . 8 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ 𝑛 = ∅) → (inr‘∅) ∈ (𝐴 ⊔ 1o))
5 simpllr 529 . . . . . . . . . . 11 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ ¬ 𝑛 = ∅) → 𝑓:ω–onto𝐴)
6 fof 5420 . . . . . . . . . . 11 (𝑓:ω–onto𝐴𝑓:ω⟶𝐴)
75, 6syl 14 . . . . . . . . . 10 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ ¬ 𝑛 = ∅) → 𝑓:ω⟶𝐴)
8 nnpredcl 4607 . . . . . . . . . . 11 (𝑛 ∈ ω → 𝑛 ∈ ω)
98ad2antlr 486 . . . . . . . . . 10 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ ¬ 𝑛 = ∅) → 𝑛 ∈ ω)
107, 9ffvelrnd 5632 . . . . . . . . 9 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ ¬ 𝑛 = ∅) → (𝑓 𝑛) ∈ 𝐴)
11 djulcl 7028 . . . . . . . . 9 ((𝑓 𝑛) ∈ 𝐴 → (inl‘(𝑓 𝑛)) ∈ (𝐴 ⊔ 1o))
1210, 11syl 14 . . . . . . . 8 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) ∧ ¬ 𝑛 = ∅) → (inl‘(𝑓 𝑛)) ∈ (𝐴 ⊔ 1o))
13 nndceq0 4602 . . . . . . . . 9 (𝑛 ∈ ω → DECID 𝑛 = ∅)
1413adantl 275 . . . . . . . 8 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) → DECID 𝑛 = ∅)
154, 12, 14ifcldadc 3555 . . . . . . 7 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑛 ∈ ω) → if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))) ∈ (𝐴 ⊔ 1o))
1615fmpttd 5651 . . . . . 6 ((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) → (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω⟶(𝐴 ⊔ 1o))
17 simpllr 529 . . . . . . . . . . 11 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) → 𝑓:ω–onto𝐴)
18 simprl 526 . . . . . . . . . . 11 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) → 𝑤𝐴)
19 foelrn 5732 . . . . . . . . . . 11 ((𝑓:ω–onto𝐴𝑤𝐴) → ∃𝑢 ∈ ω 𝑤 = (𝑓𝑢))
2017, 18, 19syl2anc 409 . . . . . . . . . 10 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) → ∃𝑢 ∈ ω 𝑤 = (𝑓𝑢))
21 peano2 4579 . . . . . . . . . . . 12 (𝑢 ∈ ω → suc 𝑢 ∈ ω)
2221ad2antrl 487 . . . . . . . . . . 11 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → suc 𝑢 ∈ ω)
23 simplrr 531 . . . . . . . . . . . . . 14 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑦 = (inl‘𝑤))
24 simprl 526 . . . . . . . . . . . . . . . . . . 19 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑢 ∈ ω)
25 nnord 4596 . . . . . . . . . . . . . . . . . . 19 (𝑢 ∈ ω → Ord 𝑢)
26 ordtr 4363 . . . . . . . . . . . . . . . . . . 19 (Ord 𝑢 → Tr 𝑢)
2724, 25, 263syl 17 . . . . . . . . . . . . . . . . . 18 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → Tr 𝑢)
28 unisucg 4399 . . . . . . . . . . . . . . . . . . 19 (𝑢 ∈ ω → (Tr 𝑢 suc 𝑢 = 𝑢))
2928ad2antrl 487 . . . . . . . . . . . . . . . . . 18 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → (Tr 𝑢 suc 𝑢 = 𝑢))
3027, 29mpbid 146 . . . . . . . . . . . . . . . . 17 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → suc 𝑢 = 𝑢)
3130fveq2d 5500 . . . . . . . . . . . . . . . 16 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → (𝑓 suc 𝑢) = (𝑓𝑢))
32 simprr 527 . . . . . . . . . . . . . . . 16 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑤 = (𝑓𝑢))
3331, 32eqtr4d 2206 . . . . . . . . . . . . . . 15 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → (𝑓 suc 𝑢) = 𝑤)
3433fveq2d 5500 . . . . . . . . . . . . . 14 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → (inl‘(𝑓 suc 𝑢)) = (inl‘𝑤))
3523, 34eqtr4d 2206 . . . . . . . . . . . . 13 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑦 = (inl‘(𝑓 suc 𝑢)))
36 peano3 4580 . . . . . . . . . . . . . . . 16 (𝑢 ∈ ω → suc 𝑢 ≠ ∅)
3736neneqd 2361 . . . . . . . . . . . . . . 15 (𝑢 ∈ ω → ¬ suc 𝑢 = ∅)
3837ad2antrl 487 . . . . . . . . . . . . . 14 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → ¬ suc 𝑢 = ∅)
3938iffalsed 3536 . . . . . . . . . . . . 13 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → if(suc 𝑢 = ∅, (inr‘∅), (inl‘(𝑓 suc 𝑢))) = (inl‘(𝑓 suc 𝑢)))
4035, 39eqtr4d 2206 . . . . . . . . . . . 12 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑦 = if(suc 𝑢 = ∅, (inr‘∅), (inl‘(𝑓 suc 𝑢))))
41 eqid 2170 . . . . . . . . . . . . 13 (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))) = (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))
42 eqeq1 2177 . . . . . . . . . . . . . 14 (𝑛 = suc 𝑢 → (𝑛 = ∅ ↔ suc 𝑢 = ∅))
43 unieq 3805 . . . . . . . . . . . . . . . 16 (𝑛 = suc 𝑢 𝑛 = suc 𝑢)
4443fveq2d 5500 . . . . . . . . . . . . . . 15 (𝑛 = suc 𝑢 → (𝑓 𝑛) = (𝑓 suc 𝑢))
4544fveq2d 5500 . . . . . . . . . . . . . 14 (𝑛 = suc 𝑢 → (inl‘(𝑓 𝑛)) = (inl‘(𝑓 suc 𝑢)))
4642, 45ifbieq2d 3550 . . . . . . . . . . . . 13 (𝑛 = suc 𝑢 → if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))) = if(suc 𝑢 = ∅, (inr‘∅), (inl‘(𝑓 suc 𝑢))))
47 simpllr 529 . . . . . . . . . . . . . 14 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑦 ∈ (𝐴 ⊔ 1o))
4840, 47eqeltrrd 2248 . . . . . . . . . . . . 13 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → if(suc 𝑢 = ∅, (inr‘∅), (inl‘(𝑓 suc 𝑢))) ∈ (𝐴 ⊔ 1o))
4941, 46, 22, 48fvmptd3 5589 . . . . . . . . . . . 12 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘suc 𝑢) = if(suc 𝑢 = ∅, (inr‘∅), (inl‘(𝑓 suc 𝑢))))
5040, 49eqtr4d 2206 . . . . . . . . . . 11 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘suc 𝑢))
51 fveq2 5496 . . . . . . . . . . . 12 (𝑧 = suc 𝑢 → ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧) = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘suc 𝑢))
5251rspceeqv 2852 . . . . . . . . . . 11 ((suc 𝑢 ∈ ω ∧ 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘suc 𝑢)) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
5322, 50, 52syl2anc 409 . . . . . . . . . 10 (((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) ∧ (𝑢 ∈ ω ∧ 𝑤 = (𝑓𝑢))) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
5420, 53rexlimddv 2592 . . . . . . . . 9 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤𝐴𝑦 = (inl‘𝑤))) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
5554rexlimdvaa 2588 . . . . . . . 8 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) → (∃𝑤𝐴 𝑦 = (inl‘𝑤) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧)))
56 peano1 4578 . . . . . . . . . 10 ∅ ∈ ω
57 simprr 527 . . . . . . . . . . . . 13 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑦 = (inr‘𝑤))
58 simprl 526 . . . . . . . . . . . . . . 15 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑤 ∈ 1o)
59 el1o 6416 . . . . . . . . . . . . . . 15 (𝑤 ∈ 1o𝑤 = ∅)
6058, 59sylib 121 . . . . . . . . . . . . . 14 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑤 = ∅)
6160fveq2d 5500 . . . . . . . . . . . . 13 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → (inr‘𝑤) = (inr‘∅))
6257, 61eqtrd 2203 . . . . . . . . . . . 12 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑦 = (inr‘∅))
63 eqid 2170 . . . . . . . . . . . . 13 ∅ = ∅
6463iftruei 3532 . . . . . . . . . . . 12 if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))) = (inr‘∅)
6562, 64eqtr4di 2221 . . . . . . . . . . 11 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑦 = if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))))
6664, 3eqeltri 2243 . . . . . . . . . . . . 13 if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))) ∈ (𝐴 ⊔ 1o)
6766a1i 9 . . . . . . . . . . . 12 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))) ∈ (𝐴 ⊔ 1o))
68 eqeq1 2177 . . . . . . . . . . . . . 14 (𝑛 = ∅ → (𝑛 = ∅ ↔ ∅ = ∅))
69 unieq 3805 . . . . . . . . . . . . . . . 16 (𝑛 = ∅ → 𝑛 = ∅)
7069fveq2d 5500 . . . . . . . . . . . . . . 15 (𝑛 = ∅ → (𝑓 𝑛) = (𝑓 ∅))
7170fveq2d 5500 . . . . . . . . . . . . . 14 (𝑛 = ∅ → (inl‘(𝑓 𝑛)) = (inl‘(𝑓 ∅)))
7268, 71ifbieq2d 3550 . . . . . . . . . . . . 13 (𝑛 = ∅ → if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))) = if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))))
7372, 41fvmptg 5572 . . . . . . . . . . . 12 ((∅ ∈ ω ∧ if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))) ∈ (𝐴 ⊔ 1o)) → ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘∅) = if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))))
7456, 67, 73sylancr 412 . . . . . . . . . . 11 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘∅) = if(∅ = ∅, (inr‘∅), (inl‘(𝑓 ∅))))
7565, 74eqtr4d 2206 . . . . . . . . . 10 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘∅))
76 fveq2 5496 . . . . . . . . . . 11 (𝑧 = ∅ → ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧) = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘∅))
7776rspceeqv 2852 . . . . . . . . . 10 ((∅ ∈ ω ∧ 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘∅)) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
7856, 75, 77sylancr 412 . . . . . . . . 9 ((((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) ∧ (𝑤 ∈ 1o𝑦 = (inr‘𝑤))) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
7978rexlimdvaa 2588 . . . . . . . 8 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) → (∃𝑤 ∈ 1o 𝑦 = (inr‘𝑤) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧)))
80 djur 7046 . . . . . . . . . 10 (𝑦 ∈ (𝐴 ⊔ 1o) ↔ (∃𝑤𝐴 𝑦 = (inl‘𝑤) ∨ ∃𝑤 ∈ 1o 𝑦 = (inr‘𝑤)))
8180biimpi 119 . . . . . . . . 9 (𝑦 ∈ (𝐴 ⊔ 1o) → (∃𝑤𝐴 𝑦 = (inl‘𝑤) ∨ ∃𝑤 ∈ 1o 𝑦 = (inr‘𝑤)))
8281adantl 275 . . . . . . . 8 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) → (∃𝑤𝐴 𝑦 = (inl‘𝑤) ∨ ∃𝑤 ∈ 1o 𝑦 = (inr‘𝑤)))
8355, 79, 82mpjaod 713 . . . . . . 7 (((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) ∧ 𝑦 ∈ (𝐴 ⊔ 1o)) → ∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
8483ralrimiva 2543 . . . . . 6 ((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) → ∀𝑦 ∈ (𝐴 ⊔ 1o)∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧))
85 dffo3 5643 . . . . . 6 ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω–onto→(𝐴 ⊔ 1o) ↔ ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω⟶(𝐴 ⊔ 1o) ∧ ∀𝑦 ∈ (𝐴 ⊔ 1o)∃𝑧 ∈ ω 𝑦 = ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛))))‘𝑧)))
8616, 84, 85sylanbrc 415 . . . . 5 ((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) → (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω–onto→(𝐴 ⊔ 1o))
87 omex 4577 . . . . . . 7 ω ∈ V
8887mptex 5722 . . . . . 6 (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))) ∈ V
89 foeq1 5416 . . . . . 6 (𝑔 = (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))) → (𝑔:ω–onto→(𝐴 ⊔ 1o) ↔ (𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω–onto→(𝐴 ⊔ 1o)))
9088, 89spcev 2825 . . . . 5 ((𝑛 ∈ ω ↦ if(𝑛 = ∅, (inr‘∅), (inl‘(𝑓 𝑛)))):ω–onto→(𝐴 ⊔ 1o) → ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o))
9186, 90syl 14 . . . 4 ((∃𝑥 𝑥𝐴𝑓:ω–onto𝐴) → ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o))
9291ex 114 . . 3 (∃𝑥 𝑥𝐴 → (𝑓:ω–onto𝐴 → ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o)))
9392exlimdv 1812 . 2 (∃𝑥 𝑥𝐴 → (∃𝑓 𝑓:ω–onto𝐴 → ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o)))
94 foeq1 5416 . . 3 (𝑓 = 𝑔 → (𝑓:ω–onto→(𝐴 ⊔ 1o) ↔ 𝑔:ω–onto→(𝐴 ⊔ 1o)))
9594cbvexv 1911 . 2 (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) ↔ ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o))
9693, 95syl6ibr 161 1 (∃𝑥 𝑥𝐴 → (∃𝑓 𝑓:ω–onto𝐴 → ∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  DECID wdc 829   = wceq 1348  wex 1485  wcel 2141  wral 2448  wrex 2449  c0 3414  ifcif 3526   cuni 3796  cmpt 4050  Tr wtr 4087  Ord word 4347  suc csuc 4350  ωcom 4574  wf 5194  ontowfo 5196  cfv 5198  1oc1o 6388  cdju 7014  inlcinl 7022  inrcinr 7023
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-1st 6119  df-2nd 6120  df-1o 6395  df-dju 7015  df-inl 7024  df-inr 7025
This theorem is referenced by:  ctm  7086
  Copyright terms: Public domain W3C validator