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

Theorem difinfsn 7065
Description: An infinite set minus one element is infinite. We require that the set has decidable equality. (Contributed by Jim Kingdon, 8-Aug-2023.)
Assertion
Ref Expression
difinfsn ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ω ≼ (𝐴 ∖ {𝐵}))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem difinfsn
Dummy variables 𝑎 𝑓 𝑔 𝑛 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 omp1eom 7060 . . . . 5 (ω ⊔ 1o) ≈ ω
2 simp2 988 . . . . 5 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ω ≼ 𝐴)
3 endomtr 6756 . . . . 5 (((ω ⊔ 1o) ≈ ω ∧ ω ≼ 𝐴) → (ω ⊔ 1o) ≼ 𝐴)
41, 2, 3sylancr 411 . . . 4 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → (ω ⊔ 1o) ≼ 𝐴)
5 brdomi 6715 . . . 4 ((ω ⊔ 1o) ≼ 𝐴 → ∃𝑓 𝑓:(ω ⊔ 1o)–1-1𝐴)
64, 5syl 14 . . 3 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ∃𝑓 𝑓:(ω ⊔ 1o)–1-1𝐴)
7 inlresf1 7026 . . . . . . . 8 (inl ↾ ω):ω–1-1→(ω ⊔ 1o)
8 f1co 5405 . . . . . . . 8 ((𝑓:(ω ⊔ 1o)–1-1𝐴 ∧ (inl ↾ ω):ω–1-1→(ω ⊔ 1o)) → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
97, 8mpan2 422 . . . . . . 7 (𝑓:(ω ⊔ 1o)–1-1𝐴 → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
109ad2antlr 481 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
11 f1f 5393 . . . . . . . . . . . 12 ((𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴 → (𝑓 ∘ (inl ↾ ω)):ω⟶𝐴)
1210, 11syl 14 . . . . . . . . . . 11 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω⟶𝐴)
1312frnd 5347 . . . . . . . . . 10 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ran (𝑓 ∘ (inl ↾ ω)) ⊆ 𝐴)
1413sselda 3142 . . . . . . . . 9 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → 𝑠𝐴)
15 simpllr 524 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (𝑓‘(inr‘∅)) = 𝐵)
16 simpr 109 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
17 f1f 5393 . . . . . . . . . . . . . . . . . . . 20 ((inl ↾ ω):ω–1-1→(ω ⊔ 1o) → (inl ↾ ω):ω⟶(ω ⊔ 1o))
187, 17ax-mp 5 . . . . . . . . . . . . . . . . . . 19 (inl ↾ ω):ω⟶(ω ⊔ 1o)
19 simpr 109 . . . . . . . . . . . . . . . . . . 19 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → 𝑛 ∈ ω)
20 fvco3 5557 . . . . . . . . . . . . . . . . . . 19 (((inl ↾ ω):ω⟶(ω ⊔ 1o) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘((inl ↾ ω)‘𝑛)))
2118, 19, 20sylancr 411 . . . . . . . . . . . . . . . . . 18 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘((inl ↾ ω)‘𝑛)))
2219fvresd 5511 . . . . . . . . . . . . . . . . . . 19 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((inl ↾ ω)‘𝑛) = (inl‘𝑛))
2322fveq2d 5490 . . . . . . . . . . . . . . . . . 18 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → (𝑓‘((inl ↾ ω)‘𝑛)) = (𝑓‘(inl‘𝑛)))
2421, 23eqtrd 2198 . . . . . . . . . . . . . . . . 17 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘(inl‘𝑛)))
2524adantr 274 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘(inl‘𝑛)))
2615, 16, 253eqtr2rd 2205 . . . . . . . . . . . . . . 15 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (𝑓‘(inl‘𝑛)) = (𝑓‘(inr‘∅)))
27 simp-4r 532 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → 𝑓:(ω ⊔ 1o)–1-1𝐴)
28 djulcl 7016 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ ω → (inl‘𝑛) ∈ (ω ⊔ 1o))
2928ad2antlr 481 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inl‘𝑛) ∈ (ω ⊔ 1o))
30 0lt1o 6408 . . . . . . . . . . . . . . . . . 18 ∅ ∈ 1o
31 djurcl 7017 . . . . . . . . . . . . . . . . . 18 (∅ ∈ 1o → (inr‘∅) ∈ (ω ⊔ 1o))
3230, 31ax-mp 5 . . . . . . . . . . . . . . . . 17 (inr‘∅) ∈ (ω ⊔ 1o)
3332a1i 9 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inr‘∅) ∈ (ω ⊔ 1o))
34 f1veqaeq 5737 . . . . . . . . . . . . . . . 16 ((𝑓:(ω ⊔ 1o)–1-1𝐴 ∧ ((inl‘𝑛) ∈ (ω ⊔ 1o) ∧ (inr‘∅) ∈ (ω ⊔ 1o))) → ((𝑓‘(inl‘𝑛)) = (𝑓‘(inr‘∅)) → (inl‘𝑛) = (inr‘∅)))
3527, 29, 33, 34syl12anc 1226 . . . . . . . . . . . . . . 15 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ((𝑓‘(inl‘𝑛)) = (𝑓‘(inr‘∅)) → (inl‘𝑛) = (inr‘∅)))
3626, 35mpd 13 . . . . . . . . . . . . . 14 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inl‘𝑛) = (inr‘∅))
3719adantr 274 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → 𝑛 ∈ ω)
38 djune 7043 . . . . . . . . . . . . . . . 16 ((𝑛 ∈ ω ∧ ∅ ∈ 1o) → (inl‘𝑛) ≠ (inr‘∅))
3937, 30, 38sylancl 410 . . . . . . . . . . . . . . 15 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inl‘𝑛) ≠ (inr‘∅))
4039neneqd 2357 . . . . . . . . . . . . . 14 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ¬ (inl‘𝑛) = (inr‘∅))
4136, 40pm2.65da 651 . . . . . . . . . . . . 13 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
4241ralrimiva 2539 . . . . . . . . . . . 12 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ∀𝑛 ∈ ω ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
4312ffnd 5338 . . . . . . . . . . . . 13 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)) Fn ω)
44 eqeq1 2172 . . . . . . . . . . . . . . 15 (𝑠 = ((𝑓 ∘ (inl ↾ ω))‘𝑛) → (𝑠 = 𝐵 ↔ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4544notbid 657 . . . . . . . . . . . . . 14 (𝑠 = ((𝑓 ∘ (inl ↾ ω))‘𝑛) → (¬ 𝑠 = 𝐵 ↔ ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4645ralrn 5623 . . . . . . . . . . . . 13 ((𝑓 ∘ (inl ↾ ω)) Fn ω → (∀𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω)) ¬ 𝑠 = 𝐵 ↔ ∀𝑛 ∈ ω ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4743, 46syl 14 . . . . . . . . . . . 12 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (∀𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω)) ¬ 𝑠 = 𝐵 ↔ ∀𝑛 ∈ ω ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4842, 47mpbird 166 . . . . . . . . . . 11 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ∀𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω)) ¬ 𝑠 = 𝐵)
4948r19.21bi 2554 . . . . . . . . . 10 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → ¬ 𝑠 = 𝐵)
50 velsn 3593 . . . . . . . . . 10 (𝑠 ∈ {𝐵} ↔ 𝑠 = 𝐵)
5149, 50sylnibr 667 . . . . . . . . 9 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → ¬ 𝑠 ∈ {𝐵})
5214, 51eldifd 3126 . . . . . . . 8 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → 𝑠 ∈ (𝐴 ∖ {𝐵}))
5352ex 114 . . . . . . 7 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω)) → 𝑠 ∈ (𝐴 ∖ {𝐵})))
5453ssrdv 3148 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ran (𝑓 ∘ (inl ↾ ω)) ⊆ (𝐴 ∖ {𝐵}))
55 f1ssr 5400 . . . . . 6 (((𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴 ∧ ran (𝑓 ∘ (inl ↾ ω)) ⊆ (𝐴 ∖ {𝐵})) → (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}))
5610, 54, 55syl2anc 409 . . . . 5 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}))
57 f1f 5393 . . . . . . 7 ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → (𝑓 ∘ (inl ↾ ω)):ω⟶(𝐴 ∖ {𝐵}))
58 omex 4570 . . . . . . 7 ω ∈ V
59 fex 5714 . . . . . . 7 (((𝑓 ∘ (inl ↾ ω)):ω⟶(𝐴 ∖ {𝐵}) ∧ ω ∈ V) → (𝑓 ∘ (inl ↾ ω)) ∈ V)
6057, 58, 59sylancl 410 . . . . . 6 ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → (𝑓 ∘ (inl ↾ ω)) ∈ V)
61 f1eq1 5388 . . . . . . 7 (𝑔 = (𝑓 ∘ (inl ↾ ω)) → (𝑔:ω–1-1→(𝐴 ∖ {𝐵}) ↔ (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵})))
6261spcegv 2814 . . . . . 6 ((𝑓 ∘ (inl ↾ ω)) ∈ V → ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵})))
6360, 62mpcom 36 . . . . 5 ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
6456, 63syl 14 . . . 4 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
65 simpl1 990 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
6665adantr 274 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
67 simpl3 992 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → 𝐵𝐴)
6867adantr 274 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → 𝐵𝐴)
69 simpr 109 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → 𝑓:(ω ⊔ 1o)–1-1𝐴)
7069adantr 274 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → 𝑓:(ω ⊔ 1o)–1-1𝐴)
71 simpr 109 . . . . . . 7 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → ¬ (𝑓‘(inr‘∅)) = 𝐵)
7271neqned 2343 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓‘(inr‘∅)) ≠ 𝐵)
73 eqid 2165 . . . . . 6 (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) = (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎))))
7466, 68, 70, 72, 73difinfsnlem 7064 . . . . 5 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵}))
7558mptex 5711 . . . . . 6 (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) ∈ V
76 f1eq1 5388 . . . . . 6 (𝑔 = (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) → (𝑔:ω–1-1→(𝐴 ∖ {𝐵}) ↔ (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵})))
7775, 76spcev 2821 . . . . 5 ((𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵}) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
7874, 77syl 14 . . . 4 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
79 f1f 5393 . . . . . . . . 9 (𝑓:(ω ⊔ 1o)–1-1𝐴𝑓:(ω ⊔ 1o)⟶𝐴)
8069, 79syl 14 . . . . . . . 8 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → 𝑓:(ω ⊔ 1o)⟶𝐴)
8132a1i 9 . . . . . . . 8 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → (inr‘∅) ∈ (ω ⊔ 1o))
8280, 81ffvelrnd 5621 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → (𝑓‘(inr‘∅)) ∈ 𝐴)
8382, 67jca 304 . . . . . 6 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ((𝑓‘(inr‘∅)) ∈ 𝐴𝐵𝐴))
84 eqeq12 2178 . . . . . . . 8 ((𝑥 = (𝑓‘(inr‘∅)) ∧ 𝑦 = 𝐵) → (𝑥 = 𝑦 ↔ (𝑓‘(inr‘∅)) = 𝐵))
8584dcbid 828 . . . . . . 7 ((𝑥 = (𝑓‘(inr‘∅)) ∧ 𝑦 = 𝐵) → (DECID 𝑥 = 𝑦DECID (𝑓‘(inr‘∅)) = 𝐵))
8685rspc2gv 2842 . . . . . 6 (((𝑓‘(inr‘∅)) ∈ 𝐴𝐵𝐴) → (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦DECID (𝑓‘(inr‘∅)) = 𝐵))
8783, 65, 86sylc 62 . . . . 5 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → DECID (𝑓‘(inr‘∅)) = 𝐵)
88 exmiddc 826 . . . . 5 (DECID (𝑓‘(inr‘∅)) = 𝐵 → ((𝑓‘(inr‘∅)) = 𝐵 ∨ ¬ (𝑓‘(inr‘∅)) = 𝐵))
8987, 88syl 14 . . . 4 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ((𝑓‘(inr‘∅)) = 𝐵 ∨ ¬ (𝑓‘(inr‘∅)) = 𝐵))
9064, 78, 89mpjaodan 788 . . 3 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
916, 90exlimddv 1886 . 2 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
92 reldom 6711 . . . . . 6 Rel ≼
9392brrelex2i 4648 . . . . 5 (ω ≼ 𝐴𝐴 ∈ V)
94 difexg 4123 . . . . 5 (𝐴 ∈ V → (𝐴 ∖ {𝐵}) ∈ V)
9593, 94syl 14 . . . 4 (ω ≼ 𝐴 → (𝐴 ∖ {𝐵}) ∈ V)
96953ad2ant2 1009 . . 3 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → (𝐴 ∖ {𝐵}) ∈ V)
97 brdomg 6714 . . 3 ((𝐴 ∖ {𝐵}) ∈ V → (ω ≼ (𝐴 ∖ {𝐵}) ↔ ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵})))
9896, 97syl 14 . 2 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → (ω ≼ (𝐴 ∖ {𝐵}) ↔ ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵})))
9991, 98mpbird 166 1 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ω ≼ (𝐴 ∖ {𝐵}))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wex 1480  wcel 2136  wne 2336  wral 2444  Vcvv 2726  cdif 3113  wss 3116  c0 3409  ifcif 3520  {csn 3576   class class class wbr 3982  cmpt 4043  ωcom 4567  ran crn 4605  cres 4606  ccom 4608   Fn wfn 5183  wf 5184  1-1wf1 5185  cfv 5188  1oc1o 6377  cen 6704  cdom 6705  cdju 7002  inlcinl 7010  inrcinr 7011
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-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-dc 825  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-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109  df-1o 6384  df-er 6501  df-en 6707  df-dom 6708  df-dju 7003  df-inl 7012  df-inr 7013  df-case 7049
This theorem is referenced by:  difinfinf  7066
  Copyright terms: Public domain W3C validator