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

Theorem resqrexlemp1rp 11571
Description: Lemma for resqrex 11591. Applying the recursion rule yields a positive real (expressed in a way that will help apply seqf 10727 and similar theorems). (Contributed by Jim Kingdon, 28-Jul-2021.) (Revised by Jim Kingdon, 16-Oct-2022.)
Hypotheses
Ref Expression
resqrexlem1arp.a (𝜑𝐴 ∈ ℝ)
resqrexlem1arp.agt0 (𝜑 → 0 ≤ 𝐴)
Assertion
Ref Expression
resqrexlemp1rp ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐵(𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2))𝐶) ∈ ℝ+)
Distinct variable groups:   𝑦,𝐴,𝑧   𝜑,𝑦,𝑧   𝑦,𝐵,𝑧   𝑦,𝐶,𝑧

Proof of Theorem resqrexlemp1rp
StepHypRef Expression
1 eqidd 2232 . . 3 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2)) = (𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2)))
2 id 19 . . . . . 6 (𝑦 = 𝐵𝑦 = 𝐵)
3 oveq2 6026 . . . . . 6 (𝑦 = 𝐵 → (𝐴 / 𝑦) = (𝐴 / 𝐵))
42, 3oveq12d 6036 . . . . 5 (𝑦 = 𝐵 → (𝑦 + (𝐴 / 𝑦)) = (𝐵 + (𝐴 / 𝐵)))
54oveq1d 6033 . . . 4 (𝑦 = 𝐵 → ((𝑦 + (𝐴 / 𝑦)) / 2) = ((𝐵 + (𝐴 / 𝐵)) / 2))
65ad2antrl 490 . . 3 (((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) ∧ (𝑦 = 𝐵𝑧 = 𝐶)) → ((𝑦 + (𝐴 / 𝑦)) / 2) = ((𝐵 + (𝐴 / 𝐵)) / 2))
7 simprl 531 . . 3 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 𝐵 ∈ ℝ+)
8 simprr 533 . . 3 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 𝐶 ∈ ℝ+)
97rpred 9931 . . . . 5 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 𝐵 ∈ ℝ)
10 resqrexlem1arp.a . . . . . . 7 (𝜑𝐴 ∈ ℝ)
1110adantr 276 . . . . . 6 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 𝐴 ∈ ℝ)
1211, 7rerpdivcld 9963 . . . . 5 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐴 / 𝐵) ∈ ℝ)
139, 12readdcld 8209 . . . 4 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐵 + (𝐴 / 𝐵)) ∈ ℝ)
1413rehalfcld 9391 . . 3 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → ((𝐵 + (𝐴 / 𝐵)) / 2) ∈ ℝ)
151, 6, 7, 8, 14ovmpod 6149 . 2 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐵(𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2))𝐶) = ((𝐵 + (𝐴 / 𝐵)) / 2))
167rpgt0d 9934 . . . . 5 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 0 < 𝐵)
17 resqrexlem1arp.agt0 . . . . . . 7 (𝜑 → 0 ≤ 𝐴)
1817adantr 276 . . . . . 6 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 0 ≤ 𝐴)
1911, 7, 18divge0d 9972 . . . . 5 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 0 ≤ (𝐴 / 𝐵))
20 addgtge0 8630 . . . . 5 (((𝐵 ∈ ℝ ∧ (𝐴 / 𝐵) ∈ ℝ) ∧ (0 < 𝐵 ∧ 0 ≤ (𝐴 / 𝐵))) → 0 < (𝐵 + (𝐴 / 𝐵)))
219, 12, 16, 19, 20syl22anc 1274 . . . 4 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → 0 < (𝐵 + (𝐴 / 𝐵)))
2213, 21elrpd 9928 . . 3 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐵 + (𝐴 / 𝐵)) ∈ ℝ+)
2322rphalfcld 9944 . 2 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → ((𝐵 + (𝐴 / 𝐵)) / 2) ∈ ℝ+)
2415, 23eqeltrd 2308 1 ((𝜑 ∧ (𝐵 ∈ ℝ+𝐶 ∈ ℝ+)) → (𝐵(𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2))𝐶) ∈ ℝ+)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1397  wcel 2202   class class class wbr 4088  (class class class)co 6018  cmpo 6020  cr 8031  0cc0 8032   + caddc 8035   < clt 8214  cle 8215   / cdiv 8852  2c2 9194  +crp 9888
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2204  ax-14 2205  ax-ext 2213  ax-sep 4207  ax-pow 4264  ax-pr 4299  ax-un 4530  ax-setind 4635  ax-cnex 8123  ax-resscn 8124  ax-1cn 8125  ax-1re 8126  ax-icn 8127  ax-addcl 8128  ax-addrcl 8129  ax-mulcl 8130  ax-mulrcl 8131  ax-addcom 8132  ax-mulcom 8133  ax-addass 8134  ax-mulass 8135  ax-distr 8136  ax-i2m1 8137  ax-0lt1 8138  ax-1rid 8139  ax-0id 8140  ax-rnegex 8141  ax-precex 8142  ax-cnre 8143  ax-pre-ltirr 8144  ax-pre-ltwlin 8145  ax-pre-lttrn 8146  ax-pre-apti 8147  ax-pre-ltadd 8148  ax-pre-mulgt0 8149  ax-pre-mulext 8150
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-nel 2498  df-ral 2515  df-rex 2516  df-reu 2517  df-rmo 2518  df-rab 2519  df-v 2804  df-sbc 3032  df-dif 3202  df-un 3204  df-in 3206  df-ss 3213  df-pw 3654  df-sn 3675  df-pr 3676  df-op 3678  df-uni 3894  df-br 4089  df-opab 4151  df-id 4390  df-po 4393  df-iso 4394  df-xp 4731  df-rel 4732  df-cnv 4733  df-co 4734  df-dm 4735  df-iota 5286  df-fun 5328  df-fv 5334  df-riota 5971  df-ov 6021  df-oprab 6022  df-mpo 6023  df-pnf 8216  df-mnf 8217  df-xr 8218  df-ltxr 8219  df-le 8220  df-sub 8352  df-neg 8353  df-reap 8755  df-ap 8762  df-div 8853  df-2 9202  df-rp 9889
This theorem is referenced by:  resqrexlemf  11572  resqrexlemf1  11573  resqrexlemfp1  11574
  Copyright terms: Public domain W3C validator