Step * 1 1 1 1 2 2 of Lemma square-between


1. : ℤ
2. : ℕ+
3. : ℤ
4. : ℕ+
5. 0 ≤ a
6. d < b
7. 0 < d ∧ (0 ≤ (a d)) ∧ (0 ≤ ((a d) d))
⊢ 0 < let (a d) in
       let isqrt((4 x) 2) in
       let isqrt((N N) x) in
       (r 1/N d)
BY
((((GenConclAtAddrType ⌜ℕ⌝ [2;1]⋅ THENA Auto) THEN RenameVar `x' (-2))
    THEN RW (AddrC [2] UnfoldTopAbC) 0
    THEN Reduce 0)⋅
   THEN ((((GenConclAtAddrType ⌜ℕ+⌝ [2;1]⋅ THENA (Auto THEN Auto')) THEN RenameVar `N' (-2))
          THEN RW (AddrC [2] UnfoldTopAbC) 0
          THEN Reduce 0)
         THEN ((GenConclAtAddrType ⌜ℕ⌝ [2;1]⋅ THENA (Auto THEN Auto' THEN Auto)) THEN RenameVar `r' (-2))
         THEN RW (AddrC [2] UnfoldTopAbC) 0
         THEN Reduce 0)⋅
   }

1
1. : ℤ
2. : ℕ+
3. : ℤ
4. : ℕ+
5. 0 ≤ a
6. d < b
7. 0 < d ∧ (0 ≤ (a d)) ∧ (0 ≤ ((a d) d))
8. : ℕ
9. ((a d) d) x ∈ ℕ
10. : ℕ+
11. (isqrt((4 x) 2) 1) N ∈ ℕ+
12. : ℕ
13. isqrt((N N) x) r ∈ ℕ
⊢ 0 < (r 1/N d)


Latex:


Latex:

1.  a  :  \mBbbZ{}
2.  b  :  \mBbbN{}\msupplus{}
3.  c  :  \mBbbZ{}
4.  d  :  \mBbbN{}\msupplus{}
5.  0  \mleq{}  a
6.  a  *  d  <  c  *  b
7.  0  <  b  *  d  \mwedge{}  (0  \mleq{}  (a  *  d))  \mwedge{}  (0  \mleq{}  ((a  *  d)  *  b  *  d))
\mvdash{}  0  <  let  x  =  (a  *  d)  *  b  *  d  in
              let  N  =  isqrt((4  *  x)  +  2)  +  1  in
              let  r  =  isqrt((N  *  N)  *  x)  in
              (r  +  1/N  *  b  *  d)


By


Latex:
((((GenConclAtAddrType  \mkleeneopen{}\mBbbN{}\mkleeneclose{}  [2;1]\mcdot{}  THENA  Auto)  THEN  RenameVar  `x'  (-2))
    THEN  RW  (AddrC  [2]  UnfoldTopAbC)  0
    THEN  Reduce  0)\mcdot{}
  THEN  ((((GenConclAtAddrType  \mkleeneopen{}\mBbbN{}\msupplus{}\mkleeneclose{}  [2;1]\mcdot{}  THENA  (Auto  THEN  Auto'))  THEN  RenameVar  `N'  (-2))
                THEN  RW  (AddrC  [2]  UnfoldTopAbC)  0
                THEN  Reduce  0)
              THEN  ((GenConclAtAddrType  \mkleeneopen{}\mBbbN{}\mkleeneclose{}  [2;1]\mcdot{}  THENA  (Auto  THEN  Auto'  THEN  Auto))
                          THEN  RenameVar  `r'  (-2)
                          )
              THEN  RW  (AddrC  [2]  UnfoldTopAbC)  0
              THEN  Reduce  0)\mcdot{}
  )




Home Index