Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eq0rabdioph Structured version   Visualization version   GIF version

Theorem eq0rabdioph 40210
Description: This is the first of a number of theorems which allow sets to be proven Diophantine by syntactic induction, and models the correspondence between Diophantine sets and monotone existential first-order logic. This first theorem shows that the zero set of an implicit polynomial is Diophantine. (Contributed by Stefan O'Rear, 10-Oct-2014.)
Assertion
Ref Expression
eq0rabdioph ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} ∈ (Dioph‘𝑁))
Distinct variable group:   𝑡,𝑁
Allowed substitution hint:   𝐴(𝑡)

Proof of Theorem eq0rabdioph
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1921 . . . . . . . 8 𝑡 𝑁 ∈ ℕ0
2 nfmpt1 5138 . . . . . . . . 9 𝑡(𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)
32nfel1 2916 . . . . . . . 8 𝑡(𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))
41, 3nfan 1906 . . . . . . 7 𝑡(𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)))
5 zex 12083 . . . . . . . . . . . . . 14 ℤ ∈ V
6 nn0ssz 12096 . . . . . . . . . . . . . 14 0 ⊆ ℤ
7 mapss 8511 . . . . . . . . . . . . . 14 ((ℤ ∈ V ∧ ℕ0 ⊆ ℤ) → (ℕ0m (1...𝑁)) ⊆ (ℤ ↑m (1...𝑁)))
85, 6, 7mp2an 692 . . . . . . . . . . . . 13 (ℕ0m (1...𝑁)) ⊆ (ℤ ↑m (1...𝑁))
98sseli 3883 . . . . . . . . . . . 12 (𝑡 ∈ (ℕ0m (1...𝑁)) → 𝑡 ∈ (ℤ ↑m (1...𝑁)))
109adantl 485 . . . . . . . . . . 11 (((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → 𝑡 ∈ (ℤ ↑m (1...𝑁)))
11 mzpf 40170 . . . . . . . . . . . . 13 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) → (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴):(ℤ ↑m (1...𝑁))⟶ℤ)
12 mptfcl 40154 . . . . . . . . . . . . . 14 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴):(ℤ ↑m (1...𝑁))⟶ℤ → (𝑡 ∈ (ℤ ↑m (1...𝑁)) → 𝐴 ∈ ℤ))
1312imp 410 . . . . . . . . . . . . 13 (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴):(ℤ ↑m (1...𝑁))⟶ℤ ∧ 𝑡 ∈ (ℤ ↑m (1...𝑁))) → 𝐴 ∈ ℤ)
1411, 9, 13syl2an 599 . . . . . . . . . . . 12 (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → 𝐴 ∈ ℤ)
1514adantll 714 . . . . . . . . . . 11 (((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → 𝐴 ∈ ℤ)
16 eqid 2739 . . . . . . . . . . . 12 (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) = (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)
1716fvmpt2 6798 . . . . . . . . . . 11 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ∧ 𝐴 ∈ ℤ) → ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 𝐴)
1810, 15, 17syl2anc 587 . . . . . . . . . 10 (((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 𝐴)
1918eqcomd 2745 . . . . . . . . 9 (((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → 𝐴 = ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡))
2019eqeq1d 2741 . . . . . . . 8 (((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) ∧ 𝑡 ∈ (ℕ0m (1...𝑁))) → (𝐴 = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0))
2120ex 416 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑡 ∈ (ℕ0m (1...𝑁)) → (𝐴 = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0)))
224, 21ralrimi 3129 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → ∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0))
23 rabbi 3287 . . . . . 6 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0) ↔ {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0})
2422, 23sylib 221 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0})
25 nfcv 2900 . . . . . 6 𝑡(ℕ0m (1...𝑁))
26 nfcv 2900 . . . . . 6 𝑎(ℕ0m (1...𝑁))
27 nfv 1921 . . . . . 6 𝑎((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0
28 nffvmpt1 6697 . . . . . . 7 𝑡((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎)
2928nfeq1 2915 . . . . . 6 𝑡((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0
30 fveqeq2 6695 . . . . . 6 (𝑡 = 𝑎 → (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0))
3125, 26, 27, 29, 30cbvrabw 3392 . . . . 5 {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑡) = 0} = {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0}
3224, 31eqtrdi 2790 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} = {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0})
33 df-rab 3063 . . . 4 {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0} = {𝑎 ∣ (𝑎 ∈ (ℕ0m (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0)}
3432, 33eqtrdi 2790 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} = {𝑎 ∣ (𝑎 ∈ (ℕ0m (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0)})
35 elmapi 8471 . . . . . . . . . 10 (𝑏 ∈ (ℕ0m (1...𝑁)) → 𝑏:(1...𝑁)⟶ℕ0)
36 ffn 6514 . . . . . . . . . 10 (𝑏:(1...𝑁)⟶ℕ0𝑏 Fn (1...𝑁))
37 fnresdm 6465 . . . . . . . . . 10 (𝑏 Fn (1...𝑁) → (𝑏 ↾ (1...𝑁)) = 𝑏)
3835, 36, 373syl 18 . . . . . . . . 9 (𝑏 ∈ (ℕ0m (1...𝑁)) → (𝑏 ↾ (1...𝑁)) = 𝑏)
3938eqeq2d 2750 . . . . . . . 8 (𝑏 ∈ (ℕ0m (1...𝑁)) → (𝑎 = (𝑏 ↾ (1...𝑁)) ↔ 𝑎 = 𝑏))
40 equcom 2030 . . . . . . . 8 (𝑎 = 𝑏𝑏 = 𝑎)
4139, 40bitrdi 290 . . . . . . 7 (𝑏 ∈ (ℕ0m (1...𝑁)) → (𝑎 = (𝑏 ↾ (1...𝑁)) ↔ 𝑏 = 𝑎))
4241anbi1d 633 . . . . . 6 (𝑏 ∈ (ℕ0m (1...𝑁)) → ((𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0) ↔ (𝑏 = 𝑎 ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0)))
4342rexbiia 3161 . . . . 5 (∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0) ↔ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑏 = 𝑎 ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0))
44 fveqeq2 6695 . . . . . 6 (𝑏 = 𝑎 → (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0 ↔ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0))
4544ceqsrexbv 3556 . . . . 5 (∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑏 = 𝑎 ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0) ↔ (𝑎 ∈ (ℕ0m (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0))
4643, 45bitr2i 279 . . . 4 ((𝑎 ∈ (ℕ0m (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0) ↔ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0))
4746abbii 2804 . . 3 {𝑎 ∣ (𝑎 ∈ (ℕ0m (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑎) = 0)} = {𝑎 ∣ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0)}
4834, 47eqtrdi 2790 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} = {𝑎 ∣ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0)})
49 simpl 486 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ ℕ0)
50 nn0z 12098 . . . . 5 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
51 uzid 12351 . . . . 5 (𝑁 ∈ ℤ → 𝑁 ∈ (ℤ𝑁))
5250, 51syl 17 . . . 4 (𝑁 ∈ ℕ0𝑁 ∈ (ℤ𝑁))
5352adantr 484 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ (ℤ𝑁))
54 simpr 488 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)))
55 eldioph 40192 . . 3 ((𝑁 ∈ ℕ0𝑁 ∈ (ℤ𝑁) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∣ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0)} ∈ (Dioph‘𝑁))
5649, 53, 54, 55syl3anc 1372 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∣ ∃𝑏 ∈ (ℕ0m (1...𝑁))(𝑎 = (𝑏 ↾ (1...𝑁)) ∧ ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴)‘𝑏) = 0)} ∈ (Dioph‘𝑁))
5748, 56eqeltrd 2834 1 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴 = 0} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2114  {cab 2717  wral 3054  wrex 3055  {crab 3058  Vcvv 3400  wss 3853  cmpt 5120  cres 5537   Fn wfn 6344  wf 6345  cfv 6349  (class class class)co 7182  m cmap 8449  0cc0 10627  1c1 10628  0cn0 11988  cz 12074  cuz 12336  ...cfz 12993  mzPolycmzp 40156  Diophcdioph 40189
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-rep 5164  ax-sep 5177  ax-nul 5184  ax-pow 5242  ax-pr 5306  ax-un 7491  ax-cnex 10683  ax-resscn 10684  ax-1cn 10685  ax-icn 10686  ax-addcl 10687  ax-addrcl 10688  ax-mulcl 10689  ax-mulrcl 10690  ax-mulcom 10691  ax-addass 10692  ax-mulass 10693  ax-distr 10694  ax-i2m1 10695  ax-1ne0 10696  ax-1rid 10697  ax-rnegex 10698  ax-rrecex 10699  ax-cnre 10700  ax-pre-lttri 10701  ax-pre-lttrn 10702  ax-pre-ltadd 10703  ax-pre-mulgt0 10704
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3402  df-sbc 3686  df-csb 3801  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-pss 3872  df-nul 4222  df-if 4425  df-pw 4500  df-sn 4527  df-pr 4529  df-tp 4531  df-op 4533  df-uni 4807  df-int 4847  df-iun 4893  df-br 5041  df-opab 5103  df-mpt 5121  df-tr 5147  df-id 5439  df-eprel 5444  df-po 5452  df-so 5453  df-fr 5493  df-we 5495  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-rn 5546  df-res 5547  df-ima 5548  df-pred 6139  df-ord 6185  df-on 6186  df-lim 6187  df-suc 6188  df-iota 6307  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7139  df-ov 7185  df-oprab 7186  df-mpo 7187  df-of 7437  df-om 7612  df-1st 7726  df-2nd 7727  df-wrecs 7988  df-recs 8049  df-rdg 8087  df-er 8332  df-map 8451  df-en 8568  df-dom 8569  df-sdom 8570  df-pnf 10767  df-mnf 10768  df-xr 10769  df-ltxr 10770  df-le 10771  df-sub 10962  df-neg 10963  df-nn 11729  df-n0 11989  df-z 12075  df-uz 12337  df-fz 12994  df-mzpcl 40157  df-mzp 40158  df-dioph 40190
This theorem is referenced by:  eqrabdioph  40211  0dioph  40212  vdioph  40213  rmydioph  40448  expdioph  40457
  Copyright terms: Public domain W3C validator