Buckets:
| import Mathlib | |
| import OAI.Analysis.MatrixSigning.Arithmetic.SparseScalarNodes | |
| namespace OAI | |
| section | |
| namespace KS.W19.SparseScalarNodes | |
| open KS.W01 KS.W15.ComplexMachine | |
| theorem ratLength_div_le (q r : ℚ) : ratLength (q/r) ≤ 4*(ratLength q+ratLength r)+7 := by | |
| obtain ⟨hn,hd⟩ := rational_parts_le_two_pow_length q | |
| obtain ⟨rn,rd⟩ := rational_parts_le_two_pow_length r | |
| obtain ⟨outn,outd⟩ := KS.W30.div_parts_le_two_pow q r (ratLength q) (ratLength r) hn hd rn rd | |
| have h := ratLength_le_of_parts (q/r) _ _ outn outd | |
| omega | |
| theorem divNodeTicks_le (q r : ℚ) : | |
| divNodeTicks q r ≤ 1200000*(ratLength q+ratLength r+1)^3 := by | |
| have hs := ratLength_div_le q r | |
| have hp : ratLength q+ratLength r+1 ≤ (ratLength q+ratLength r+1)^3 := | |
| Nat.le_self_pow (by decide) _ | |
| simp only | |
| change 4*ratLength q+2*ratLength r+6 + | |
| 1100000*(ratLength q+ratLength r+1)^3 + (2*ratLength (q/r)+2) ≤ _ | |
| omega | |
| theorem ticks_polynomial (a b : ℚ) : | |
| ticks a b ≤ 3000000*(200*(ratLength a+ratLength b+1))^3 := by | |
| have l1 : ratLength (1 : ℚ) = 7 := by decide | |
| have l2 : ratLength (2 : ℚ) = 9 := by decide | |
| have la := ratLength_add_le a 1 | |
| have lb := ratLength_mul_le 2 b | |
| have ln := ratLength_neg_le (a+1) | |
| rw | |
| omega | |
| end KS.W19.SparseScalarNodes | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 2.53 kB
- Xet hash:
- 3ea903c787be86a896a613259f85206d05cb1b6448ad4df1350d509e1c10b3a5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.