Users' Mathboxes Mathbox for Norm Megill < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  renegclALT Structured version   Visualization version   GIF version

Theorem renegclALT 40288
Description: Closure law for negative of reals. Demonstrates use of weak deduction theorem with explicit substitution. The proof is much longer than that of renegcl 11660. (Contributed by NM, 15-Jun-2019.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
renegclALT (𝐴 ∈ ℝ → -𝐴 ∈ ℝ)

Proof of Theorem renegclALT
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 negeq 11588 . . 3 (𝑥 = 𝐴 → -𝑥 = -𝐴)
21eleq1d 2852 . 2 (𝑥 = 𝐴 → ( -𝑥 ∈ ℝ ↔ -𝐴 ∈ ℝ))
3 vex 3457 . . . . . . 7 𝑥 ∈ V
4 c0ex 11339 . . . . . . 7 0 ∈ V
53, 4ifex 4535 . . . . . 6 if(𝑥 ∈ ℝ, 𝑥, 0) ∈ V
6 csbnegg 11593 . . . . . 6 (if(𝑥 ∈ ℝ, 𝑥, 0) ∈ V → ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌ -𝑥 = -⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥)
75, 6ax-mp 5 . . . . 5 ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌ -𝑥 = -⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥
8 csbvarg 4394 . . . . . . . . . . 11 (0 ∈ V → ⦋0 / 𝑥⦌𝑥 = 0)
94, 8ax-mp 5 . . . . . . . . . 10 ⦋0 / 𝑥⦌𝑥 = 0
10 0re 11349 . . . . . . . . . 10 0 ∈ ℝ
119, 10eqeltri 2863 . . . . . . . . 9 ⦋0 / 𝑥⦌𝑥 ∈ ℝ
12 sbcel1g 4376 . . . . . . . . . 10 (0 ∈ V → ([0 / 𝑥]𝑥 ∈ ℝ ↔ ⦋0 / 𝑥⦌𝑥 ∈ ℝ))
134, 12ax-mp 5 . . . . . . . . 9 ([0 / 𝑥]𝑥 ∈ ℝ ↔ ⦋0 / 𝑥⦌𝑥 ∈ ℝ)
1411, 13mpbir 234 . . . . . . . 8 [0 / 𝑥]𝑥 ∈ ℝ
1514elimhyps 40286 . . . . . . 7 [if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥]𝑥 ∈ ℝ
16 sbcel1g 4376 . . . . . . . 8 (if(𝑥 ∈ ℝ, 𝑥, 0) ∈ V → ([if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥]𝑥 ∈ ℝ ↔ ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥 ∈ ℝ))
175, 16ax-mp 5 . . . . . . 7 ([if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥]𝑥 ∈ ℝ ↔ ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥 ∈ ℝ)
1815, 17mpbi 233 . . . . . 6 ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥 ∈ ℝ
1918renegcli 11658 . . . . 5 -⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌𝑥 ∈ ℝ
207, 19eqeltri 2863 . . . 4 ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌ -𝑥 ∈ ℝ
21 sbcel1g 4376 . . . . 5 (if(𝑥 ∈ ℝ, 𝑥, 0) ∈ V → ([if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥] -𝑥 ∈ ℝ ↔ ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌ -𝑥 ∈ ℝ))
225, 21ax-mp 5 . . . 4 ([if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥] -𝑥 ∈ ℝ ↔ ⦋if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥⦌ -𝑥 ∈ ℝ)
2320, 22mpbir 234 . . 3 [if(𝑥 ∈ ℝ, 𝑥, 0) / 𝑥] -𝑥 ∈ ℝ
2423dedths 40287 . 2 (𝑥 ∈ ℝ → -𝑥 ∈ ℝ)
252, 24vtoclga 3539 1 (𝐴 ∈ ℝ → -𝐴 ∈ ℝ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572   ∈ wcel 2150  Vcvv 3453  [wsbc 3741  ⦋csb 3850  ifcif 4484  ℝcr 11238  0cc0 11239   -cneg 11581
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-po 5565  df-so 5566  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-pnf 11384  df-mnf 11385  df-ltxr 11387  df-sub 11582  df-neg 11583
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator