Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mogoldbb Structured version   Visualization version   GIF version

Theorem mogoldbb 47659
Description: If the modern version of the original formulation of the Goldbach conjecture is valid, the (weak) binary Goldbach conjecture also holds. (Contributed by AV, 26-Dec-2021.)
Assertion
Ref Expression
mogoldbb (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) → ∀𝑛 ∈ Even (2 < 𝑛 → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
Distinct variable group:   𝑛,𝑝,𝑞,𝑟

Proof of Theorem mogoldbb
Dummy variables 𝑚 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfra1 3290 . 2 𝑛𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟)
2 eqeq1 2744 . . . . . . . 8 (𝑛 = 𝑚 → (𝑛 = ((𝑝 + 𝑞) + 𝑟) ↔ 𝑚 = ((𝑝 + 𝑞) + 𝑟)))
32rexbidv 3185 . . . . . . 7 (𝑛 = 𝑚 → (∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) ↔ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟)))
432rexbidv 3228 . . . . . 6 (𝑛 = 𝑚 → (∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) ↔ ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟)))
54cbvralvw 3243 . . . . 5 (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) ↔ ∀𝑚 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟))
6 6nn 12382 . . . . . . . . 9 6 ∈ ℕ
76nnzi 12667 . . . . . . . 8 6 ∈ ℤ
87a1i 11 . . . . . . 7 ((𝑛 ∈ Even ∧ 2 < 𝑛) → 6 ∈ ℤ)
9 evenz 47504 . . . . . . . . 9 (𝑛 ∈ Even → 𝑛 ∈ ℤ)
10 2z 12675 . . . . . . . . . 10 2 ∈ ℤ
1110a1i 11 . . . . . . . . 9 (𝑛 ∈ Even → 2 ∈ ℤ)
129, 11zaddcld 12751 . . . . . . . 8 (𝑛 ∈ Even → (𝑛 + 2) ∈ ℤ)
1312adantr 480 . . . . . . 7 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (𝑛 + 2) ∈ ℤ)
14 4cn 12378 . . . . . . . . . 10 4 ∈ ℂ
15 2cn 12368 . . . . . . . . . 10 2 ∈ ℂ
16 4p2e6 12446 . . . . . . . . . . 11 (4 + 2) = 6
1716eqcomi 2749 . . . . . . . . . 10 6 = (4 + 2)
1814, 15, 17mvrraddi 11553 . . . . . . . . 9 (6 − 2) = 4
19 2p2e4 12428 . . . . . . . . . 10 (2 + 2) = 4
20 2evenALTV 47566 . . . . . . . . . . 11 2 ∈ Even
21 evenltle 47591 . . . . . . . . . . 11 ((𝑛 ∈ Even ∧ 2 ∈ Even ∧ 2 < 𝑛) → (2 + 2) ≤ 𝑛)
2220, 21mp3an2 1449 . . . . . . . . . 10 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (2 + 2) ≤ 𝑛)
2319, 22eqbrtrrid 5202 . . . . . . . . 9 ((𝑛 ∈ Even ∧ 2 < 𝑛) → 4 ≤ 𝑛)
2418, 23eqbrtrid 5201 . . . . . . . 8 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (6 − 2) ≤ 𝑛)
25 6re 12383 . . . . . . . . . . . 12 6 ∈ ℝ
2625a1i 11 . . . . . . . . . . 11 (𝑛 ∈ Even → 6 ∈ ℝ)
27 2re 12367 . . . . . . . . . . . 12 2 ∈ ℝ
2827a1i 11 . . . . . . . . . . 11 (𝑛 ∈ Even → 2 ∈ ℝ)
299zred 12747 . . . . . . . . . . 11 (𝑛 ∈ Even → 𝑛 ∈ ℝ)
3026, 28, 293jca 1128 . . . . . . . . . 10 (𝑛 ∈ Even → (6 ∈ ℝ ∧ 2 ∈ ℝ ∧ 𝑛 ∈ ℝ))
3130adantr 480 . . . . . . . . 9 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (6 ∈ ℝ ∧ 2 ∈ ℝ ∧ 𝑛 ∈ ℝ))
32 lesubadd 11762 . . . . . . . . 9 ((6 ∈ ℝ ∧ 2 ∈ ℝ ∧ 𝑛 ∈ ℝ) → ((6 − 2) ≤ 𝑛 ↔ 6 ≤ (𝑛 + 2)))
3331, 32syl 17 . . . . . . . 8 ((𝑛 ∈ Even ∧ 2 < 𝑛) → ((6 − 2) ≤ 𝑛 ↔ 6 ≤ (𝑛 + 2)))
3424, 33mpbid 232 . . . . . . 7 ((𝑛 ∈ Even ∧ 2 < 𝑛) → 6 ≤ (𝑛 + 2))
35 eluz2 12909 . . . . . . 7 ((𝑛 + 2) ∈ (ℤ‘6) ↔ (6 ∈ ℤ ∧ (𝑛 + 2) ∈ ℤ ∧ 6 ≤ (𝑛 + 2)))
368, 13, 34, 35syl3anbrc 1343 . . . . . 6 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (𝑛 + 2) ∈ (ℤ‘6))
37 eqeq1 2744 . . . . . . . . 9 (𝑚 = (𝑛 + 2) → (𝑚 = ((𝑝 + 𝑞) + 𝑟) ↔ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
3837rexbidv 3185 . . . . . . . 8 (𝑚 = (𝑛 + 2) → (∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟) ↔ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
39382rexbidv 3228 . . . . . . 7 (𝑚 = (𝑛 + 2) → (∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟) ↔ ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
4039rspcv 3631 . . . . . 6 ((𝑛 + 2) ∈ (ℤ‘6) → (∀𝑚 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
4136, 40syl 17 . . . . 5 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (∀𝑚 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑚 = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
425, 41biimtrid 242 . . . 4 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)))
43 nfv 1913 . . . . 5 𝑝(𝑛 ∈ Even ∧ 2 < 𝑛)
44 nfre1 3291 . . . . 5 𝑝𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)
45 nfv 1913 . . . . . . 7 𝑞((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ 𝑝 ∈ ℙ)
46 nfcv 2908 . . . . . . . 8 𝑞
47 nfre1 3291 . . . . . . . 8 𝑞𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)
4846, 47nfrexw 3319 . . . . . . 7 𝑞𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)
49 simplrl 776 . . . . . . . . . . . 12 ((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) → 𝑝 ∈ ℙ)
50 simplrr 777 . . . . . . . . . . . 12 ((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) → 𝑞 ∈ ℙ)
51 simpr 484 . . . . . . . . . . . 12 ((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) → 𝑟 ∈ ℙ)
5249, 50, 513jca 1128 . . . . . . . . . . 11 ((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) → (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝑟 ∈ ℙ))
5352adantr 480 . . . . . . . . . 10 (((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝑟 ∈ ℙ))
54 simp-4l 782 . . . . . . . . . 10 (((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → 𝑛 ∈ Even )
55 simpr 484 . . . . . . . . . 10 (((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟))
56 mogoldbblem 47594 . . . . . . . . . . 11 (((𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝑟 ∈ ℙ) ∧ 𝑛 ∈ Even ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → ∃𝑦 ∈ ℙ ∃𝑥 ∈ ℙ 𝑛 = (𝑦 + 𝑥))
57 oveq1 7455 . . . . . . . . . . . . 13 (𝑝 = 𝑦 → (𝑝 + 𝑞) = (𝑦 + 𝑞))
5857eqeq2d 2751 . . . . . . . . . . . 12 (𝑝 = 𝑦 → (𝑛 = (𝑝 + 𝑞) ↔ 𝑛 = (𝑦 + 𝑞)))
59 oveq2 7456 . . . . . . . . . . . . 13 (𝑞 = 𝑥 → (𝑦 + 𝑞) = (𝑦 + 𝑥))
6059eqeq2d 2751 . . . . . . . . . . . 12 (𝑞 = 𝑥 → (𝑛 = (𝑦 + 𝑞) ↔ 𝑛 = (𝑦 + 𝑥)))
6158, 60cbvrex2vw 3248 . . . . . . . . . . 11 (∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞) ↔ ∃𝑦 ∈ ℙ ∃𝑥 ∈ ℙ 𝑛 = (𝑦 + 𝑥))
6256, 61sylibr 234 . . . . . . . . . 10 (((𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝑟 ∈ ℙ) ∧ 𝑛 ∈ Even ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞))
6353, 54, 55, 62syl3anc 1371 . . . . . . . . 9 (((((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) ∧ 𝑟 ∈ ℙ) ∧ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟)) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞))
6463rexlimdva2 3163 . . . . . . . 8 (((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ (𝑝 ∈ ℙ ∧ 𝑞 ∈ ℙ)) → (∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
6564expr 456 . . . . . . 7 (((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ 𝑝 ∈ ℙ) → (𝑞 ∈ ℙ → (∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞))))
6645, 48, 65rexlimd 3272 . . . . . 6 (((𝑛 ∈ Even ∧ 2 < 𝑛) ∧ 𝑝 ∈ ℙ) → (∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
6766ex 412 . . . . 5 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (𝑝 ∈ ℙ → (∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞))))
6843, 44, 67rexlimd 3272 . . . 4 ((𝑛 ∈ Even ∧ 2 < 𝑛) → (∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ (𝑛 + 2) = ((𝑝 + 𝑞) + 𝑟) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
6942, 68syldc 48 . . 3 (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) → ((𝑛 ∈ Even ∧ 2 < 𝑛) → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
7069expd 415 . 2 (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) → (𝑛 ∈ Even → (2 < 𝑛 → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞))))
711, 70ralrimi 3263 1 (∀𝑛 ∈ (ℤ‘6)∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ ∃𝑟 ∈ ℙ 𝑛 = ((𝑝 + 𝑞) + 𝑟) → ∀𝑛 ∈ Even (2 < 𝑛 → ∃𝑝 ∈ ℙ ∃𝑞 ∈ ℙ 𝑛 = (𝑝 + 𝑞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1087   = wceq 1537  wcel 2108  wral 3067  wrex 3076   class class class wbr 5166  cfv 6573  (class class class)co 7448  cr 11183   + caddc 11187   < clt 11324  cle 11325  cmin 11520  2c2 12348  4c4 12350  6c6 12352  cz 12639  cuz 12903  cprime 16718   Even ceven 47498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261  ax-pre-sup 11262
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-rmo 3388  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-1o 8522  df-2o 8523  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-fin 9007  df-sup 9511  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-div 11948  df-nn 12294  df-2 12356  df-3 12357  df-4 12358  df-5 12359  df-6 12360  df-n0 12554  df-z 12640  df-uz 12904  df-rp 13058  df-seq 14053  df-exp 14113  df-cj 15148  df-re 15149  df-im 15150  df-sqrt 15284  df-abs 15285  df-dvds 16303  df-prm 16719  df-even 47500  df-odd 47501
This theorem is referenced by:  sbgoldbmb  47660
  Copyright terms: Public domain W3C validator