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

Theorem nninfdclemcl 13391
Description: Lemma for nninfdc 13396. (Contributed by Jim Kingdon, 25-Sep-2024.)
Hypotheses
Ref Expression
nninfdclemf.a (𝜑 → 𝐴 ⊆ ℕ)
nninfdclemf.dc (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥 ∈ 𝐴)
nninfdclemf.nb (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛 ∈ 𝐴 𝑚 < 𝑛)
nninfdclemcl.p (𝜑 → 𝑃 ∈ 𝐴)
nninfdclemcl.q (𝜑 → 𝑄 ∈ 𝐴)
Assertion
Ref Expression
nninfdclemcl (𝜑 → (𝑃(𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ))𝑄) ∈ 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴,𝑧   𝐴,𝑚,𝑛   𝑥,𝑃   𝑃,𝑚,𝑛   𝑦,𝑃,𝑧   𝑦,𝑄,𝑧   𝑚,𝑛
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑚, 𝑛)   𝑄(𝑥, 𝑚, 𝑛)

Proof of Theorem nninfdclemcl
Dummy variables 𝑟 𝑠 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nninfdclemf.a . . . 4 (𝜑 → 𝐴 ⊆ ℕ)
2 nninfdclemcl.p . . . 4 (𝜑 → 𝑃 ∈ 𝐴)
31, 2sseldd 3249 . . 3 (𝜑 → 𝑃 ∈ ℕ)
4 nninfdclemcl.q . . . 4 (𝜑 → 𝑄 ∈ 𝐴)
51, 4sseldd 3249 . . 3 (𝜑 → 𝑄 ∈ ℕ)
6 inss1 3451 . . . . . 6 (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ⊆ 𝐴
76, 1sstrid 3259 . . . . 5 (𝜑 → (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ⊆ ℕ)
8 eleq1 2301 . . . . . . . . . . 11 (𝑥 = 𝑠 → (𝑥 ∈ 𝐴 ↔ 𝑠 ∈ 𝐴))
98dcbid 850 . . . . . . . . . 10 (𝑥 = 𝑠 → (DECID 𝑥 ∈ 𝐴 ↔ DECID 𝑠 ∈ 𝐴))
10 nninfdclemf.dc . . . . . . . . . . 11 (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥 ∈ 𝐴)
1110adantr 276 . . . . . . . . . 10 ((𝜑 ∧ 𝑠 ∈ ℕ) → ∀𝑥 ∈ ℕ DECID 𝑥 ∈ 𝐴)
12 simpr 110 . . . . . . . . . 10 ((𝜑 ∧ 𝑠 ∈ ℕ) → 𝑠 ∈ ℕ)
139, 11, 12rspcdva 2934 . . . . . . . . 9 ((𝜑 ∧ 𝑠 ∈ ℕ) → DECID 𝑠 ∈ 𝐴)
143adantr 276 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑠 ∈ ℕ) → 𝑃 ∈ ℕ)
1514nnzd 9772 . . . . . . . . . . 11 ((𝜑 ∧ 𝑠 ∈ ℕ) → 𝑃 ∈ ℤ)
1615peano2zd 9776 . . . . . . . . . 10 ((𝜑 ∧ 𝑠 ∈ ℕ) → (𝑃 + 1) ∈ ℤ)
1712nnzd 9772 . . . . . . . . . 10 ((𝜑 ∧ 𝑠 ∈ ℕ) → 𝑠 ∈ ℤ)
18 eluzdc 10020 . . . . . . . . . 10 (((𝑃 + 1) ∈ ℤ ∧ 𝑠 ∈ ℤ) → DECID 𝑠 ∈ (ℤ≥‘(𝑃 + 1)))
1916, 17, 18syl2anc 415 . . . . . . . . 9 ((𝜑 ∧ 𝑠 ∈ ℕ) → DECID 𝑠 ∈ (ℤ≥‘(𝑃 + 1)))
2013, 19dcand 945 . . . . . . . 8 ((𝜑 ∧ 𝑠 ∈ ℕ) → DECID (𝑠 ∈ 𝐴 ∧ 𝑠 ∈ (ℤ≥‘(𝑃 + 1))))
21 elin 3412 . . . . . . . . 9 (𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ↔ (𝑠 ∈ 𝐴 ∧ 𝑠 ∈ (ℤ≥‘(𝑃 + 1))))
2221dcbii 852 . . . . . . . 8 (DECID 𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ↔ DECID (𝑠 ∈ 𝐴 ∧ 𝑠 ∈ (ℤ≥‘(𝑃 + 1))))
2320, 22sylibr 134 . . . . . . 7 ((𝜑 ∧ 𝑠 ∈ ℕ) → DECID 𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
2423ralrimiva 2623 . . . . . 6 (𝜑 → ∀𝑠 ∈ ℕ DECID 𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
25 eleq1 2301 . . . . . . . 8 (𝑠 = 𝑥 → (𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ↔ 𝑥 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1)))))
2625dcbid 850 . . . . . . 7 (𝑠 = 𝑥 → (DECID 𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ↔ DECID 𝑥 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1)))))
2726cbvralvw 2790 . . . . . 6 (∀𝑠 ∈ ℕ DECID 𝑠 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ↔ ∀𝑥 ∈ ℕ DECID 𝑥 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
2824, 27sylib 122 . . . . 5 (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
29 breq1 4133 . . . . . . . . 9 (𝑚 = 𝑃 → (𝑚 < 𝑛 ↔ 𝑃 < 𝑛))
3029rexbidv 2551 . . . . . . . 8 (𝑚 = 𝑃 → (∃𝑛 ∈ 𝐴 𝑚 < 𝑛 ↔ ∃𝑛 ∈ 𝐴 𝑃 < 𝑛))
31 nninfdclemf.nb . . . . . . . 8 (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛 ∈ 𝐴 𝑚 < 𝑛)
3230, 31, 3rspcdva 2934 . . . . . . 7 (𝜑 → ∃𝑛 ∈ 𝐴 𝑃 < 𝑛)
33 breq2 4134 . . . . . . . 8 (𝑛 = 𝑡 → (𝑃 < 𝑛 ↔ 𝑃 < 𝑡))
3433cbvrexvw 2791 . . . . . . 7 (∃𝑛 ∈ 𝐴 𝑃 < 𝑛 ↔ ∃𝑡 ∈ 𝐴 𝑃 < 𝑡)
3532, 34sylib 122 . . . . . 6 (𝜑 → ∃𝑡 ∈ 𝐴 𝑃 < 𝑡)
36 simprl 535 . . . . . . . 8 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑡 ∈ 𝐴)
373nnzd 9772 . . . . . . . . . . 11 (𝜑 → 𝑃 ∈ ℤ)
3837peano2zd 9776 . . . . . . . . . 10 (𝜑 → (𝑃 + 1) ∈ ℤ)
3938adantr 276 . . . . . . . . 9 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → (𝑃 + 1) ∈ ℤ)
401adantr 276 . . . . . . . . . . 11 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝐴 ⊆ ℕ)
4140, 36sseldd 3249 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑡 ∈ ℕ)
4241nnzd 9772 . . . . . . . . 9 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑡 ∈ ℤ)
43 simprr 537 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑃 < 𝑡)
44 nnltp1le 9710 . . . . . . . . . . 11 ((𝑃 ∈ ℕ ∧ 𝑡 ∈ ℕ) → (𝑃 < 𝑡 ↔ (𝑃 + 1) ≤ 𝑡))
453, 41, 44syl2an2r 603 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → (𝑃 < 𝑡 ↔ (𝑃 + 1) ≤ 𝑡))
4643, 45mpbid 147 . . . . . . . . 9 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → (𝑃 + 1) ≤ 𝑡)
47 eluz2 9937 . . . . . . . . 9 (𝑡 ∈ (ℤ≥‘(𝑃 + 1)) ↔ ((𝑃 + 1) ∈ ℤ ∧ 𝑡 ∈ ℤ ∧ (𝑃 + 1) ≤ 𝑡))
4839, 42, 46, 47syl3anbrc 1212 . . . . . . . 8 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑡 ∈ (ℤ≥‘(𝑃 + 1)))
4936, 48elind 3414 . . . . . . 7 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → 𝑡 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
50 elex2 2838 . . . . . . 7 (𝑡 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) → ∃𝑟 𝑟 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
5149, 50syl 14 . . . . . 6 ((𝜑 ∧ (𝑡 ∈ 𝐴 ∧ 𝑃 < 𝑡)) → ∃𝑟 𝑟 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
5235, 51rexlimddv 2673 . . . . 5 (𝜑 → ∃𝑟 𝑟 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
53 nnmindc 12830 . . . . 5 (((𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ⊆ ℕ ∧ ∀𝑥 ∈ ℕ DECID 𝑥 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))) ∧ ∃𝑟 𝑟 ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1)))) → inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ) ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
547, 28, 52, 53syl3anc 1278 . . . 4 (𝜑 → inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ) ∈ (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
5554elin1d 3418 . . 3 (𝜑 → inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ) ∈ 𝐴)
56 fvoveq1 6108 . . . . . 6 (𝑦 = 𝑃 → (ℤ≥‘(𝑦 + 1)) = (ℤ≥‘(𝑃 + 1)))
5756ineq2d 3432 . . . . 5 (𝑦 = 𝑃 → (𝐴 ∩ (ℤ≥‘(𝑦 + 1))) = (𝐴 ∩ (ℤ≥‘(𝑃 + 1))))
5857infeq1d 7353 . . . 4 (𝑦 = 𝑃 → inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ) = inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ))
59 eqidd 2239 . . . 4 (𝑧 = 𝑄 → inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ) = inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ))
60 eqid 2238 . . . 4 (𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < )) = (𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ))
6158, 59, 60ovmpog 6223 . . 3 ((𝑃 ∈ ℕ ∧ 𝑄 ∈ ℕ ∧ inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ) ∈ 𝐴) → (𝑃(𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ))𝑄) = inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ))
623, 5, 55, 61syl3anc 1278 . 2 (𝜑 → (𝑃(𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ))𝑄) = inf((𝐴 ∩ (ℤ≥‘(𝑃 + 1))), ℝ, < ))
6362, 55eqeltrd 2315 1 (𝜑 → (𝑃(𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ≥‘(𝑦 + 1))), ℝ, < ))𝑄) ∈ 𝐴)
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105  DECID wdc 846   = wceq 1402  ∃wex 1545   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529   ∩ cin 3219   ⊆ wss 3220   class class class wbr 4130  ‘cfv 5377  (class class class)co 6085   ∈ cmpo 6087  infcinf 7324  ℝcr 8179  1c1 8181   + caddc 8183   < clt 8361   ≤ cle 8362  ℕcn 9307  ℤcz 9649  ℤ≥cuz 9931
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-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8271  ax-resscn 8272  ax-1cn 8273  ax-1re 8274  ax-icn 8275  ax-addcl 8276  ax-addrcl 8277  ax-mulcl 8278  ax-addcom 8280  ax-addass 8282  ax-distr 8284  ax-i2m1 8285  ax-0lt1 8286  ax-0id 8288  ax-rnegex 8289  ax-cnre 8291  ax-pre-ltirr 8292  ax-pre-ltwlin 8293  ax-pre-lttrn 8294  ax-pre-apti 8295  ax-pre-ltadd 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-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rmo 2536  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-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-po 4441  df-iso 4442  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-isom 5386  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-1st 6374  df-2nd 6375  df-sup 7325  df-inf 7326  df-pnf 8363  df-mnf 8364  df-xr 8365  df-ltxr 8366  df-le 8367  df-sub 8501  df-neg 8502  df-inn 9308  df-n0 9569  df-z 9650  df-uz 9932  df-fz 10423  df-fzo 10561
This theorem is used by:  nninfdclemf  13392  nninfdclemp1  13393
  Copyright terms: Public domain W3C validator