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

Theorem cauappcvgpr 7746
Description: A Cauchy approximation has a limit. A Cauchy approximation, here 𝐹, is similar to a Cauchy sequence but is indexed by the desired tolerance (that is, how close together terms needs to be) rather than by natural numbers. This is basically Theorem 11.2.12 of [HoTT], p. (varies) with a few differences such as that we are proving the existence of a limit without anything about how fast it converges (that is, mere existence instead of existence, in HoTT terms), and that the codomain of 𝐹 is Q rather than P. We also specify that every term needs to be larger than a fraction 𝐴, to avoid the case where we have positive terms which "converge" to zero (which is not a positive real).

This proof (including its lemmas) is similar to the proofs of caucvgpr 7766 and caucvgprpr 7796 but is somewhat simpler, so reading this one first may help understanding the other two.

(Contributed by Jim Kingdon, 19-Jun-2020.)

Hypotheses
Ref Expression
cauappcvgpr.f (𝜑𝐹:QQ)
cauappcvgpr.app (𝜑 → ∀𝑝Q𝑞Q ((𝐹𝑝) <Q ((𝐹𝑞) +Q (𝑝 +Q 𝑞)) ∧ (𝐹𝑞) <Q ((𝐹𝑝) +Q (𝑝 +Q 𝑞))))
cauappcvgpr.bnd (𝜑 → ∀𝑝Q 𝐴 <Q (𝐹𝑝))
Assertion
Ref Expression
cauappcvgpr (𝜑 → ∃𝑦P𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ 𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩))
Distinct variable groups:   𝐴,𝑝   𝐹,𝑞,𝑦,𝑟,𝑢   𝐹,𝑝,𝑙,𝑞   𝑦,𝑙,𝑟   𝑢,𝑞,𝑦,𝑟   𝑢,𝑝,𝑟,𝑞,𝑙   𝜑,𝑞,𝑝
Allowed substitution hints:   𝜑(𝑦,𝑢,𝑟,𝑙)   𝐴(𝑦,𝑢,𝑟,𝑞,𝑙)

Proof of Theorem cauappcvgpr
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cauappcvgpr.f . . 3 (𝜑𝐹:QQ)
2 cauappcvgpr.app . . 3 (𝜑 → ∀𝑝Q𝑞Q ((𝐹𝑝) <Q ((𝐹𝑞) +Q (𝑝 +Q 𝑞)) ∧ (𝐹𝑞) <Q ((𝐹𝑝) +Q (𝑝 +Q 𝑞))))
3 cauappcvgpr.bnd . . 3 (𝜑 → ∀𝑝Q 𝐴 <Q (𝐹𝑝))
4 oveq2 5933 . . . . . . . 8 (𝑧 = 𝑞 → (𝑙 +Q 𝑧) = (𝑙 +Q 𝑞))
5 fveq2 5561 . . . . . . . 8 (𝑧 = 𝑞 → (𝐹𝑧) = (𝐹𝑞))
64, 5breq12d 4047 . . . . . . 7 (𝑧 = 𝑞 → ((𝑙 +Q 𝑧) <Q (𝐹𝑧) ↔ (𝑙 +Q 𝑞) <Q (𝐹𝑞)))
76cbvrexv 2730 . . . . . 6 (∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧) ↔ ∃𝑞Q (𝑙 +Q 𝑞) <Q (𝐹𝑞))
87a1i 9 . . . . 5 (𝑙Q → (∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧) ↔ ∃𝑞Q (𝑙 +Q 𝑞) <Q (𝐹𝑞)))
98rabbiia 2748 . . . 4 {𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)} = {𝑙Q ∣ ∃𝑞Q (𝑙 +Q 𝑞) <Q (𝐹𝑞)}
10 id 19 . . . . . . . . 9 (𝑧 = 𝑞𝑧 = 𝑞)
115, 10oveq12d 5943 . . . . . . . 8 (𝑧 = 𝑞 → ((𝐹𝑧) +Q 𝑧) = ((𝐹𝑞) +Q 𝑞))
1211breq1d 4044 . . . . . . 7 (𝑧 = 𝑞 → (((𝐹𝑧) +Q 𝑧) <Q 𝑢 ↔ ((𝐹𝑞) +Q 𝑞) <Q 𝑢))
1312cbvrexv 2730 . . . . . 6 (∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢 ↔ ∃𝑞Q ((𝐹𝑞) +Q 𝑞) <Q 𝑢)
1413a1i 9 . . . . 5 (𝑢Q → (∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢 ↔ ∃𝑞Q ((𝐹𝑞) +Q 𝑞) <Q 𝑢))
1514rabbiia 2748 . . . 4 {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢} = {𝑢Q ∣ ∃𝑞Q ((𝐹𝑞) +Q 𝑞) <Q 𝑢}
169, 15opeq12i 3814 . . 3 ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ = ⟨{𝑙Q ∣ ∃𝑞Q (𝑙 +Q 𝑞) <Q (𝐹𝑞)}, {𝑢Q ∣ ∃𝑞Q ((𝐹𝑞) +Q 𝑞) <Q 𝑢}⟩
171, 2, 3, 16cauappcvgprlemcl 7737 . 2 (𝜑 → ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ ∈ P)
181, 2, 3, 16cauappcvgprlemlim 7745 . 2 (𝜑 → ∀𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩))
19 oveq1 5932 . . . . . 6 (𝑦 = ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ → (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) = (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩))
2019breq2d 4046 . . . . 5 (𝑦 = ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ → (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ↔ ⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩)))
21 breq1 4037 . . . . 5 (𝑦 = ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ → (𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩ ↔ ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩))
2220, 21anbi12d 473 . . . 4 (𝑦 = ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ → ((⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ 𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩) ↔ (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩)))
23222ralbidv 2521 . . 3 (𝑦 = ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ → (∀𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ 𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩) ↔ ∀𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩)))
2423rspcev 2868 . 2 ((⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ ∈ P ∧ ∀𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩ +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ ⟨{𝑙Q ∣ ∃𝑧Q (𝑙 +Q 𝑧) <Q (𝐹𝑧)}, {𝑢Q ∣ ∃𝑧Q ((𝐹𝑧) +Q 𝑧) <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩)) → ∃𝑦P𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ 𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩))
2517, 18, 24syl2anc 411 1 (𝜑 → ∃𝑦P𝑞Q𝑟Q (⟨{𝑙𝑙 <Q (𝐹𝑞)}, {𝑢 ∣ (𝐹𝑞) <Q 𝑢}⟩<P (𝑦 +P ⟨{𝑙𝑙 <Q (𝑞 +Q 𝑟)}, {𝑢 ∣ (𝑞 +Q 𝑟) <Q 𝑢}⟩) ∧ 𝑦<P ⟨{𝑙𝑙 <Q ((𝐹𝑞) +Q (𝑞 +Q 𝑟))}, {𝑢 ∣ ((𝐹𝑞) +Q (𝑞 +Q 𝑟)) <Q 𝑢}⟩))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1364  wcel 2167  {cab 2182  wral 2475  wrex 2476  {crab 2479  cop 3626   class class class wbr 4034  wf 5255  cfv 5259  (class class class)co 5925  Qcnq 7364   +Q cplq 7366   <Q cltq 7369  Pcnp 7375   +P cpp 7377  <P cltp 7379
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-coll 4149  ax-sep 4152  ax-nul 4160  ax-pow 4208  ax-pr 4243  ax-un 4469  ax-setind 4574  ax-iinf 4625
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3or 981  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-ral 2480  df-rex 2481  df-reu 2482  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-nul 3452  df-pw 3608  df-sn 3629  df-pr 3630  df-op 3632  df-uni 3841  df-int 3876  df-iun 3919  df-br 4035  df-opab 4096  df-mpt 4097  df-tr 4133  df-eprel 4325  df-id 4329  df-po 4332  df-iso 4333  df-iord 4402  df-on 4404  df-suc 4407  df-iom 4628  df-xp 4670  df-rel 4671  df-cnv 4672  df-co 4673  df-dm 4674  df-rn 4675  df-res 4676  df-ima 4677  df-iota 5220  df-fun 5261  df-fn 5262  df-f 5263  df-f1 5264  df-fo 5265  df-f1o 5266  df-fv 5267  df-ov 5928  df-oprab 5929  df-mpo 5930  df-1st 6207  df-2nd 6208  df-recs 6372  df-irdg 6437  df-1o 6483  df-2o 6484  df-oadd 6487  df-omul 6488  df-er 6601  df-ec 6603  df-qs 6607  df-ni 7388  df-pli 7389  df-mi 7390  df-lti 7391  df-plpq 7428  df-mpq 7429  df-enq 7431  df-nqqs 7432  df-plqqs 7433  df-mqqs 7434  df-1nqqs 7435  df-rq 7436  df-ltnqqs 7437  df-enq0 7508  df-nq0 7509  df-0nq0 7510  df-plq0 7511  df-mq0 7512  df-inp 7550  df-iplp 7552  df-iltp 7554
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator