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

Theorem difinfsn 7077
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 7072 . . . . 5 (ω ⊔ 1o) ≈ ω
2 simp2 993 . . . . 5 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ω ≼ 𝐴)
3 endomtr 6768 . . . . 5 (((ω ⊔ 1o) ≈ ω ∧ ω ≼ 𝐴) → (ω ⊔ 1o) ≼ 𝐴)
41, 2, 3sylancr 412 . . . 4 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → (ω ⊔ 1o) ≼ 𝐴)
5 brdomi 6727 . . . 4 ((ω ⊔ 1o) ≼ 𝐴 → ∃𝑓 𝑓:(ω ⊔ 1o)–1-1𝐴)
64, 5syl 14 . . 3 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ∃𝑓 𝑓:(ω ⊔ 1o)–1-1𝐴)
7 inlresf1 7038 . . . . . . . 8 (inl ↾ ω):ω–1-1→(ω ⊔ 1o)
8 f1co 5415 . . . . . . . 8 ((𝑓:(ω ⊔ 1o)–1-1𝐴 ∧ (inl ↾ ω):ω–1-1→(ω ⊔ 1o)) → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
97, 8mpan2 423 . . . . . . 7 (𝑓:(ω ⊔ 1o)–1-1𝐴 → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
109ad2antlr 486 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴)
11 f1f 5403 . . . . . . . . . . . 12 ((𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴 → (𝑓 ∘ (inl ↾ ω)):ω⟶𝐴)
1210, 11syl 14 . . . . . . . . . . 11 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω⟶𝐴)
1312frnd 5357 . . . . . . . . . 10 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ran (𝑓 ∘ (inl ↾ ω)) ⊆ 𝐴)
1413sselda 3147 . . . . . . . . 9 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → 𝑠𝐴)
15 simpllr 529 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (𝑓‘(inr‘∅)) = 𝐵)
16 simpr 109 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
17 f1f 5403 . . . . . . . . . . . . . . . . . . . 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 5567 . . . . . . . . . . . . . . . . . . 19 (((inl ↾ ω):ω⟶(ω ⊔ 1o) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘((inl ↾ ω)‘𝑛)))
2118, 19, 20sylancr 412 . . . . . . . . . . . . . . . . . 18 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘((inl ↾ ω)‘𝑛)))
2219fvresd 5521 . . . . . . . . . . . . . . . . . . 19 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((inl ↾ ω)‘𝑛) = (inl‘𝑛))
2322fveq2d 5500 . . . . . . . . . . . . . . . . . 18 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → (𝑓‘((inl ↾ ω)‘𝑛)) = (𝑓‘(inl‘𝑛)))
2421, 23eqtrd 2203 . . . . . . . . . . . . . . . . 17 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘(inl‘𝑛)))
2524adantr 274 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ((𝑓 ∘ (inl ↾ ω))‘𝑛) = (𝑓‘(inl‘𝑛)))
2615, 16, 253eqtr2rd 2210 . . . . . . . . . . . . . . 15 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (𝑓‘(inl‘𝑛)) = (𝑓‘(inr‘∅)))
27 simp-4r 537 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → 𝑓:(ω ⊔ 1o)–1-1𝐴)
28 djulcl 7028 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ ω → (inl‘𝑛) ∈ (ω ⊔ 1o))
2928ad2antlr 486 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inl‘𝑛) ∈ (ω ⊔ 1o))
30 0lt1o 6419 . . . . . . . . . . . . . . . . . 18 ∅ ∈ 1o
31 djurcl 7029 . . . . . . . . . . . . . . . . . 18 (∅ ∈ 1o → (inr‘∅) ∈ (ω ⊔ 1o))
3230, 31ax-mp 5 . . . . . . . . . . . . . . . . 17 (inr‘∅) ∈ (ω ⊔ 1o)
3332a1i 9 . . . . . . . . . . . . . . . 16 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inr‘∅) ∈ (ω ⊔ 1o))
34 f1veqaeq 5748 . . . . . . . . . . . . . . . 16 ((𝑓:(ω ⊔ 1o)–1-1𝐴 ∧ ((inl‘𝑛) ∈ (ω ⊔ 1o) ∧ (inr‘∅) ∈ (ω ⊔ 1o))) → ((𝑓‘(inl‘𝑛)) = (𝑓‘(inr‘∅)) → (inl‘𝑛) = (inr‘∅)))
3527, 29, 33, 34syl12anc 1231 . . . . . . . . . . . . . . 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 7055 . . . . . . . . . . . . . . . 16 ((𝑛 ∈ ω ∧ ∅ ∈ 1o) → (inl‘𝑛) ≠ (inr‘∅))
3937, 30, 38sylancl 411 . . . . . . . . . . . . . . 15 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → (inl‘𝑛) ≠ (inr‘∅))
4039neneqd 2361 . . . . . . . . . . . . . 14 ((((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) ∧ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵) → ¬ (inl‘𝑛) = (inr‘∅))
4136, 40pm2.65da 656 . . . . . . . . . . . . 13 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑛 ∈ ω) → ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
4241ralrimiva 2543 . . . . . . . . . . . 12 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ∀𝑛 ∈ ω ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵)
4312ffnd 5348 . . . . . . . . . . . . 13 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)) Fn ω)
44 eqeq1 2177 . . . . . . . . . . . . . . 15 (𝑠 = ((𝑓 ∘ (inl ↾ ω))‘𝑛) → (𝑠 = 𝐵 ↔ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4544notbid 662 . . . . . . . . . . . . . 14 (𝑠 = ((𝑓 ∘ (inl ↾ ω))‘𝑛) → (¬ 𝑠 = 𝐵 ↔ ¬ ((𝑓 ∘ (inl ↾ ω))‘𝑛) = 𝐵))
4645ralrn 5634 . . . . . . . . . . . . 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 2558 . . . . . . . . . 10 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → ¬ 𝑠 = 𝐵)
50 velsn 3600 . . . . . . . . . 10 (𝑠 ∈ {𝐵} ↔ 𝑠 = 𝐵)
5149, 50sylnibr 672 . . . . . . . . 9 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → ¬ 𝑠 ∈ {𝐵})
5214, 51eldifd 3131 . . . . . . . 8 (((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) ∧ 𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω))) → 𝑠 ∈ (𝐴 ∖ {𝐵}))
5352ex 114 . . . . . . 7 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑠 ∈ ran (𝑓 ∘ (inl ↾ ω)) → 𝑠 ∈ (𝐴 ∖ {𝐵})))
5453ssrdv 3153 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → ran (𝑓 ∘ (inl ↾ ω)) ⊆ (𝐴 ∖ {𝐵}))
55 f1ssr 5410 . . . . . 6 (((𝑓 ∘ (inl ↾ ω)):ω–1-1𝐴 ∧ ran (𝑓 ∘ (inl ↾ ω)) ⊆ (𝐴 ∖ {𝐵})) → (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}))
5610, 54, 55syl2anc 409 . . . . 5 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}))
57 f1f 5403 . . . . . . 7 ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → (𝑓 ∘ (inl ↾ ω)):ω⟶(𝐴 ∖ {𝐵}))
58 omex 4577 . . . . . . 7 ω ∈ V
59 fex 5725 . . . . . . 7 (((𝑓 ∘ (inl ↾ ω)):ω⟶(𝐴 ∖ {𝐵}) ∧ ω ∈ V) → (𝑓 ∘ (inl ↾ ω)) ∈ V)
6057, 58, 59sylancl 411 . . . . . 6 ((𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵}) → (𝑓 ∘ (inl ↾ ω)) ∈ V)
61 f1eq1 5398 . . . . . . 7 (𝑔 = (𝑓 ∘ (inl ↾ ω)) → (𝑔:ω–1-1→(𝐴 ∖ {𝐵}) ↔ (𝑓 ∘ (inl ↾ ω)):ω–1-1→(𝐴 ∖ {𝐵})))
6261spcegv 2818 . . . . . 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 995 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
6665adantr 274 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
67 simpl3 997 . . . . . . 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 2347 . . . . . 6 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → (𝑓‘(inr‘∅)) ≠ 𝐵)
73 eqid 2170 . . . . . 6 (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) = (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎))))
7466, 68, 70, 72, 73difinfsnlem 7076 . . . . 5 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵}))
7558mptex 5722 . . . . . 6 (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) ∈ V
76 f1eq1 5398 . . . . . 6 (𝑔 = (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))) → (𝑔:ω–1-1→(𝐴 ∖ {𝐵}) ↔ (𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵})))
7775, 76spcev 2825 . . . . 5 ((𝑎 ∈ ω ↦ if((𝑓‘(inl‘𝑎)) = 𝐵, (𝑓‘(inr‘∅)), (𝑓‘(inl‘𝑎)))):ω–1-1→(𝐴 ∖ {𝐵}) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
7874, 77syl 14 . . . 4 ((((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) ∧ ¬ (𝑓‘(inr‘∅)) = 𝐵) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
79 f1f 5403 . . . . . . . . 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 5632 . . . . . . 7 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → (𝑓‘(inr‘∅)) ∈ 𝐴)
8382, 67jca 304 . . . . . 6 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ((𝑓‘(inr‘∅)) ∈ 𝐴𝐵𝐴))
84 eqeq12 2183 . . . . . . . 8 ((𝑥 = (𝑓‘(inr‘∅)) ∧ 𝑦 = 𝐵) → (𝑥 = 𝑦 ↔ (𝑓‘(inr‘∅)) = 𝐵))
8584dcbid 833 . . . . . . 7 ((𝑥 = (𝑓‘(inr‘∅)) ∧ 𝑦 = 𝐵) → (DECID 𝑥 = 𝑦DECID (𝑓‘(inr‘∅)) = 𝐵))
8685rspc2gv 2846 . . . . . 6 (((𝑓‘(inr‘∅)) ∈ 𝐴𝐵𝐴) → (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦DECID (𝑓‘(inr‘∅)) = 𝐵))
8783, 65, 86sylc 62 . . . . 5 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → DECID (𝑓‘(inr‘∅)) = 𝐵)
88 exmiddc 831 . . . . 5 (DECID (𝑓‘(inr‘∅)) = 𝐵 → ((𝑓‘(inr‘∅)) = 𝐵 ∨ ¬ (𝑓‘(inr‘∅)) = 𝐵))
8987, 88syl 14 . . . 4 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ((𝑓‘(inr‘∅)) = 𝐵 ∨ ¬ (𝑓‘(inr‘∅)) = 𝐵))
9064, 78, 89mpjaodan 793 . . 3 (((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) ∧ 𝑓:(ω ⊔ 1o)–1-1𝐴) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
916, 90exlimddv 1891 . 2 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → ∃𝑔 𝑔:ω–1-1→(𝐴 ∖ {𝐵}))
92 reldom 6723 . . . . . 6 Rel ≼
9392brrelex2i 4655 . . . . 5 (ω ≼ 𝐴𝐴 ∈ V)
94 difexg 4130 . . . . 5 (𝐴 ∈ V → (𝐴 ∖ {𝐵}) ∈ V)
9593, 94syl 14 . . . 4 (ω ≼ 𝐴 → (𝐴 ∖ {𝐵}) ∈ V)
96953ad2ant2 1014 . . 3 ((∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ω ≼ 𝐴𝐵𝐴) → (𝐴 ∖ {𝐵}) ∈ V)
97 brdomg 6726 . . 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 703  DECID wdc 829  w3a 973   = wceq 1348  wex 1485  wcel 2141  wne 2340  wral 2448  Vcvv 2730  cdif 3118  wss 3121  c0 3414  ifcif 3526  {csn 3583   class class class wbr 3989  cmpt 4050  ωcom 4574  ran crn 4612  cres 4613  ccom 4615   Fn wfn 5193  wf 5194  1-1wf1 5195  cfv 5198  1oc1o 6388  cen 6716  cdom 6717  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-setind 4521  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-er 6513  df-en 6719  df-dom 6720  df-dju 7015  df-inl 7024  df-inr 7025  df-case 7061
This theorem is referenced by:  difinfinf  7078
  Copyright terms: Public domain W3C validator