MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mulscan2d Structured version   Visualization version   GIF version

Theorem mulscan2d 28689
Description: Cancellation of surreal multiplication when the right term is nonzero. (Contributed by Scott Fenton, 10-Mar-2025.)
Hypotheses
Ref Expression
mulscan2d.1 (𝜑 → 𝐴 ∈ No)
mulscan2d.2 (𝜑 → 𝐵 ∈ No)
mulscan2d.3 (𝜑 → 𝐶 ∈ No)
mulscan2d.4 (𝜑 → 𝐶 ≠ 0s )
Assertion
Ref Expression
mulscan2d (𝜑 → ((𝐴 ·s 𝐶) = (𝐵 ·s 𝐶) ↔ 𝐴 = 𝐵))

Proof of Theorem mulscan2d
StepHypRef Expression
1 mulscan2d.3 . . . . 5 (𝜑 → 𝐶 ∈ No)
2 0no 28319 . . . . 5 0s ∈ No
3 ltnegs 28555 . . . . 5 ((𝐶 ∈ No ∧ 0s ∈ No) → (𝐶 <s 0s ↔ ( -s‘ 0s ) <s ( -s‘𝐶)))
41, 2, 3sylancl 598 . . . 4 (𝜑 → (𝐶 <s 0s ↔ ( -s‘ 0s ) <s ( -s‘𝐶)))
5 neg0s 28536 . . . . 5 ( -s‘ 0s ) = 0s
65breq1i 5118 . . . 4 (( -s‘ 0s ) <s ( -s‘𝐶) ↔ 0s <s ( -s‘𝐶))
74, 6bitrdi 290 . . 3 (𝜑 → (𝐶 <s 0s ↔ 0s <s ( -s‘𝐶)))
8 mulscan2d.1 . . . . . . . 8 (𝜑 → 𝐴 ∈ No)
98, 1mulnegs2d 28671 . . . . . . 7 (𝜑 → (𝐴 ·s ( -s‘𝐶)) = ( -s‘(𝐴 ·s 𝐶)))
10 mulscan2d.2 . . . . . . . 8 (𝜑 → 𝐵 ∈ No)
1110, 1mulnegs2d 28671 . . . . . . 7 (𝜑 → (𝐵 ·s ( -s‘𝐶)) = ( -s‘(𝐵 ·s 𝐶)))
129, 11eqeq12d 2785 . . . . . 6 (𝜑 → ((𝐴 ·s ( -s‘𝐶)) = (𝐵 ·s ( -s‘𝐶)) ↔ ( -s‘(𝐴 ·s 𝐶)) = ( -s‘(𝐵 ·s 𝐶))))
138, 1mulscld 28645 . . . . . . 7 (𝜑 → (𝐴 ·s 𝐶) ∈ No)
1410, 1mulscld 28645 . . . . . . 7 (𝜑 → (𝐵 ·s 𝐶) ∈ No)
15 negs11 28559 . . . . . . 7 (((𝐴 ·s 𝐶) ∈ No ∧ (𝐵 ·s 𝐶) ∈ No) → (( -s‘(𝐴 ·s 𝐶)) = ( -s‘(𝐵 ·s 𝐶)) ↔ (𝐴 ·s 𝐶) = (𝐵 ·s 𝐶)))
1613, 14, 15syl2anc 596 . . . . . 6 (𝜑 → (( -s‘(𝐴 ·s 𝐶)) = ( -s‘(𝐵 ·s 𝐶)) ↔ (𝐴 ·s 𝐶) = (𝐵 ·s 𝐶)))
1712, 16bitrd 282 . . . . 5 (𝜑 → ((𝐴 ·s ( -s‘𝐶)) = (𝐵 ·s ( -s‘𝐶)) ↔ (𝐴 ·s 𝐶) = (𝐵 ·s 𝐶)))
1817adantr 486 . . . 4 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → ((𝐴 ·s ( -s‘𝐶)) = (𝐵 ·s ( -s‘𝐶)) ↔ (𝐴 ·s 𝐶) = (𝐵 ·s 𝐶)))
198adantr 486 . . . . 5 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → 𝐴 ∈ No)
2010adantr 486 . . . . 5 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → 𝐵 ∈ No)
211negscld 28547 . . . . . 6 (𝜑 → ( -s‘𝐶) ∈ No)
2221adantr 486 . . . . 5 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → ( -s‘𝐶) ∈ No)
23 simpr 490 . . . . 5 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → 0s <s ( -s‘𝐶))
2419, 20, 22, 23mulscan2dlem 28688 . . . 4 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → ((𝐴 ·s ( -s‘𝐶)) = (𝐵 ·s ( -s‘𝐶)) ↔ 𝐴 = 𝐵))
2518, 24bitr3d 284 . . 3 ((𝜑 ∧ 0s <s ( -s‘𝐶)) → ((𝐴 ·s 𝐶) = (𝐵 ·s 𝐶) ↔ 𝐴 = 𝐵))
267, 25sylbida 604 . 2 ((𝜑 ∧ 𝐶 <s 0s ) → ((𝐴 ·s 𝐶) = (𝐵 ·s 𝐶) ↔ 𝐴 = 𝐵))
278adantr 486 . . 3 ((𝜑 ∧ 0s <s 𝐶) → 𝐴 ∈ No)
2810adantr 486 . . 3 ((𝜑 ∧ 0s <s 𝐶) → 𝐵 ∈ No)
291adantr 486 . . 3 ((𝜑 ∧ 0s <s 𝐶) → 𝐶 ∈ No)
30 simpr 490 . . 3 ((𝜑 ∧ 0s <s 𝐶) → 0s <s 𝐶)
3127, 28, 29, 30mulscan2dlem 28688 . 2 ((𝜑 ∧ 0s <s 𝐶) → ((𝐴 ·s 𝐶) = (𝐵 ·s 𝐶) ↔ 𝐴 = 𝐵))
32 mulscan2d.4 . . 3 (𝜑 → 𝐶 ≠ 0s )
33 ltstrine 28232 . . . 4 ((𝐶 ∈ No ∧ 0s ∈ No) → (𝐶 ≠ 0s ↔ (𝐶 <s 0s ∨ 0s <s 𝐶)))
341, 2, 33sylancl 598 . . 3 (𝜑 → (𝐶 ≠ 0s ↔ (𝐶 <s 0s ∨ 0s <s 𝐶)))
3532, 34mpbid 235 . 2 (𝜑 → (𝐶 <s 0s ∨ 0s <s 𝐶))
3626, 31, 35mpjaodan 973 1 (𝜑 → ((𝐴 ·s 𝐶) = (𝐵 ·s 𝐶) ↔ 𝐴 = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2151   ≠ wne 2965   class class class wbr 5111  ‘cfv 6573  (class class class)co 7462  Nocsur 28121   <s clts 28122   0s c0s 28315   -scnegs 28529   ·s cmuls 28616
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
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 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-ot 4867  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-se 5615  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7465  df-oprab 7466  df-mpo 7467  df-1st 8046  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-1o 8525  df-2o 8526  df-nadd 8724  df-no 28124  df-lts 28125  df-bday 28126  df-les 28226  df-slts 28268  df-cuts 28270  df-0s 28317  df-made 28337  df-old 28338  df-left 28340  df-right 28341  df-norec 28448  df-norec2 28459  df-adds 28470  df-negs 28531  df-subs 28532  df-muls 28617
This theorem is used by:  mulscan1d  28690  muls0ord  28695
  Copyright terms: Public domain W3C validator