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

Theorem negfi 12017
Description: The negation of a finite set of real numbers is finite. (Contributed by AV, 9-Aug-2020.)
Assertion
Ref Expression
negfi ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin) → {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴} ∈ Fin)
Distinct variable group:   𝐴,𝑛

Proof of Theorem negfi
Dummy variables 𝑎 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3242 . . . . . . . . . 10 (𝐴 ⊆ ℝ → (𝑎 ∈ 𝐴 → 𝑎 ∈ ℝ))
2 renegcl 8594 . . . . . . . . . 10 (𝑎 ∈ ℝ → -𝑎 ∈ ℝ)
31, 2syl6 33 . . . . . . . . 9 (𝐴 ⊆ ℝ → (𝑎 ∈ 𝐴 → -𝑎 ∈ ℝ))
43imp 124 . . . . . . . 8 ((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) → -𝑎 ∈ ℝ)
54ralrimiva 2623 . . . . . . 7 (𝐴 ⊆ ℝ → ∀𝑎 ∈ 𝐴 -𝑎 ∈ ℝ)
6 dmmptg 5288 . . . . . . 7 (∀𝑎 ∈ 𝐴 -𝑎 ∈ ℝ → dom (𝑎 ∈ 𝐴 ↦ -𝑎) = 𝐴)
75, 6syl 14 . . . . . 6 (𝐴 ⊆ ℝ → dom (𝑎 ∈ 𝐴 ↦ -𝑎) = 𝐴)
87eqcomd 2244 . . . . 5 (𝐴 ⊆ ℝ → 𝐴 = dom (𝑎 ∈ 𝐴 ↦ -𝑎))
98eleq1d 2307 . . . 4 (𝐴 ⊆ ℝ → (𝐴 ∈ Fin ↔ dom (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
10 funmpt 5418 . . . . 5 Fun (𝑎 ∈ 𝐴 ↦ -𝑎)
11 fundmfibi 7256 . . . . 5 (Fun (𝑎 ∈ 𝐴 ↦ -𝑎) → ((𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin ↔ dom (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
1210, 11mp1i 10 . . . 4 (𝐴 ⊆ ℝ → ((𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin ↔ dom (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
139, 12bitr4d 191 . . 3 (𝐴 ⊆ ℝ → (𝐴 ∈ Fin ↔ (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
14 reex 8319 . . . . . 6 ℝ ∈ V
1514ssex 4272 . . . . 5 (𝐴 ⊆ ℝ → 𝐴 ∈ V)
16 mptexg 5945 . . . . 5 (𝐴 ∈ V → (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ V)
1715, 16syl 14 . . . 4 (𝐴 ⊆ ℝ → (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ V)
18 eqid 2238 . . . . . 6 (𝑎 ∈ 𝐴 ↦ -𝑎) = (𝑎 ∈ 𝐴 ↦ -𝑎)
1918negf1o 8716 . . . . 5 (𝐴 ⊆ ℝ → (𝑎 ∈ 𝐴 ↦ -𝑎):𝐴–1-1-onto→{𝑥 ∈ ℝ ∣ -𝑥 ∈ 𝐴})
20 f1of1 5641 . . . . 5 ((𝑎 ∈ 𝐴 ↦ -𝑎):𝐴–1-1-onto→{𝑥 ∈ ℝ ∣ -𝑥 ∈ 𝐴} → (𝑎 ∈ 𝐴 ↦ -𝑎):𝐴–1-1→{𝑥 ∈ ℝ ∣ -𝑥 ∈ 𝐴})
2119, 20syl 14 . . . 4 (𝐴 ⊆ ℝ → (𝑎 ∈ 𝐴 ↦ -𝑎):𝐴–1-1→{𝑥 ∈ ℝ ∣ -𝑥 ∈ 𝐴})
22 f1vrnfibi 7263 . . . 4 (((𝑎 ∈ 𝐴 ↦ -𝑎) ∈ V ∧ (𝑎 ∈ 𝐴 ↦ -𝑎):𝐴–1-1→{𝑥 ∈ ℝ ∣ -𝑥 ∈ 𝐴}) → ((𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin ↔ ran (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
2317, 21, 22syl2anc 415 . . 3 (𝐴 ⊆ ℝ → ((𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin ↔ ran (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin))
241imp 124 . . . . . . . . . 10 ((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ ℝ)
252adantl 277 . . . . . . . . . . 11 (((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) ∧ 𝑎 ∈ ℝ) → -𝑎 ∈ ℝ)
26 recn 8318 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ ℝ → 𝑎 ∈ ℂ)
2726negnegd 8635 . . . . . . . . . . . . . . . 16 (𝑎 ∈ ℝ → - -𝑎 = 𝑎)
2827eqcomd 2244 . . . . . . . . . . . . . . 15 (𝑎 ∈ ℝ → 𝑎 = - -𝑎)
2928eleq1d 2307 . . . . . . . . . . . . . 14 (𝑎 ∈ ℝ → (𝑎 ∈ 𝐴 ↔ - -𝑎 ∈ 𝐴))
3029biimpcd 159 . . . . . . . . . . . . 13 (𝑎 ∈ 𝐴 → (𝑎 ∈ ℝ → - -𝑎 ∈ 𝐴))
3130adantl 277 . . . . . . . . . . . 12 ((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) → (𝑎 ∈ ℝ → - -𝑎 ∈ 𝐴))
3231imp 124 . . . . . . . . . . 11 (((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) ∧ 𝑎 ∈ ℝ) → - -𝑎 ∈ 𝐴)
3325, 32jca 306 . . . . . . . . . 10 (((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) ∧ 𝑎 ∈ ℝ) → ( -𝑎 ∈ ℝ ∧ - -𝑎 ∈ 𝐴))
3424, 33mpdan 425 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) → ( -𝑎 ∈ ℝ ∧ - -𝑎 ∈ 𝐴))
35 eleq1 2301 . . . . . . . . . 10 (𝑛 = -𝑎 → (𝑛 ∈ ℝ ↔ -𝑎 ∈ ℝ))
36 negeq 8526 . . . . . . . . . . 11 (𝑛 = -𝑎 → -𝑛 = - -𝑎)
3736eleq1d 2307 . . . . . . . . . 10 (𝑛 = -𝑎 → ( -𝑛 ∈ 𝐴 ↔ - -𝑎 ∈ 𝐴))
3835, 37anbi12d 477 . . . . . . . . 9 (𝑛 = -𝑎 → ((𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴) ↔ ( -𝑎 ∈ ℝ ∧ - -𝑎 ∈ 𝐴)))
3934, 38syl5ibrcom 157 . . . . . . . 8 ((𝐴 ⊆ ℝ ∧ 𝑎 ∈ 𝐴) → (𝑛 = -𝑎 → (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)))
4039rexlimdva 2668 . . . . . . 7 (𝐴 ⊆ ℝ → (∃𝑎 ∈ 𝐴 𝑛 = -𝑎 → (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)))
41 simprr 537 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)) → -𝑛 ∈ 𝐴)
42 negeq 8526 . . . . . . . . . . 11 (𝑎 = -𝑛 → -𝑎 = - -𝑛)
4342eqeq2d 2250 . . . . . . . . . 10 (𝑎 = -𝑛 → (𝑛 = -𝑎 ↔ 𝑛 = - -𝑛))
4443adantl 277 . . . . . . . . 9 (((𝐴 ⊆ ℝ ∧ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)) ∧ 𝑎 = -𝑛) → (𝑛 = -𝑎 ↔ 𝑛 = - -𝑛))
45 recn 8318 . . . . . . . . . . 11 (𝑛 ∈ ℝ → 𝑛 ∈ ℂ)
46 negneg 8583 . . . . . . . . . . . 12 (𝑛 ∈ ℂ → - -𝑛 = 𝑛)
4746eqcomd 2244 . . . . . . . . . . 11 (𝑛 ∈ ℂ → 𝑛 = - -𝑛)
4845, 47syl 14 . . . . . . . . . 10 (𝑛 ∈ ℝ → 𝑛 = - -𝑛)
4948ad2antrl 494 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)) → 𝑛 = - -𝑛)
5041, 44, 49rspcedvd 2935 . . . . . . . 8 ((𝐴 ⊆ ℝ ∧ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)) → ∃𝑎 ∈ 𝐴 𝑛 = -𝑎)
5150ex 115 . . . . . . 7 (𝐴 ⊆ ℝ → ((𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴) → ∃𝑎 ∈ 𝐴 𝑛 = -𝑎))
5240, 51impbid 129 . . . . . 6 (𝐴 ⊆ ℝ → (∃𝑎 ∈ 𝐴 𝑛 = -𝑎 ↔ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)))
5352abbidv 2358 . . . . 5 (𝐴 ⊆ ℝ → {𝑛 ∣ ∃𝑎 ∈ 𝐴 𝑛 = -𝑎} = {𝑛 ∣ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)})
5418rnmpt 5032 . . . . 5 ran (𝑎 ∈ 𝐴 ↦ -𝑎) = {𝑛 ∣ ∃𝑎 ∈ 𝐴 𝑛 = -𝑎}
55 df-rab 2537 . . . . 5 {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴} = {𝑛 ∣ (𝑛 ∈ ℝ ∧ -𝑛 ∈ 𝐴)}
5653, 54, 553eqtr4g 2296 . . . 4 (𝐴 ⊆ ℝ → ran (𝑎 ∈ 𝐴 ↦ -𝑎) = {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴})
5756eleq1d 2307 . . 3 (𝐴 ⊆ ℝ → (ran (𝑎 ∈ 𝐴 ↦ -𝑎) ∈ Fin ↔ {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴} ∈ Fin))
5813, 23, 573bitrd 214 . 2 (𝐴 ⊆ ℝ → (𝐴 ∈ Fin ↔ {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴} ∈ Fin))
5958biimpa 296 1 ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin) → {𝑛 ∈ ℝ ∣ -𝑛 ∈ 𝐴} ∈ Fin)
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  {cab 2224  ∀wral 2528  ∃wrex 2529  {crab 2532  Vcvv 2821   ⊆ wss 3220   ↦ cmpt 4193  dom cdm 4776  ran crn 4777  Fun wfun 5374  –1-1→wf1 5377  –1-1-onto→wf1o 5379  Fincfn 7026  ℂcc 8183  ℝcr 8184   -cneg 8505
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-iinf 4737  ax-cnex 8276  ax-resscn 8277  ax-1cn 8278  ax-icn 8280  ax-addcl 8281  ax-addrcl 8282  ax-mulcl 8283  ax-addcom 8285  ax-addass 8287  ax-distr 8289  ax-i2m1 8290  ax-0id 8293  ax-rnegex 8294  ax-cnre 8296
This proof depends on definitions:  df-bi 117  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-riota 6041  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379  df-1o 6691  df-er 6811  df-en 7027  df-fin 7029  df-sub 8506  df-neg 8507
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator