Buckets:
| import Mathlib | |
| import OAI.Combinatorics.KMedianRecovery.Recovery.Cap | |
| namespace OAI | |
| namespace MetricKMedianRecovery.IntegralAssembly | |
| noncomputable def countRat : ℚ := 10+(600/(1/100:ℚ))*2^(Anchoring.rounds (1/100)-1) | |
| noncomputable def gapRat : ℚ := (1/(200*(200*countRat+2)))^2/100 | |
| noncomputable def gammaRat : ℚ := min (3/100) (gapRat/100) | |
| lemma countRat_cast : (countRat:ℝ)=Anchoring.countConstant (1/100) := by | |
| simp only | |
| lemma gapRat_cast : (gapRat:ℝ)=strictnessGap (200*Anchoring.countConstant (1/100)) := by | |
| simp only | |
| lemma gammaRat_cast : (gammaRat:ℝ)=gamma := by | |
| simp only | |
| lemma gammaRat_pos : 0<gammaRat := by exact_mod_cast (show (0:ℝ)<(gammaRat:ℝ) by rw | |
| lemma cap_rat (n : ℕ) : Rounding.cap n (gamma/16)=⌈20*(n:ℚ)^2/(gammaRat/16)⌉₊+1 := by | |
| unfold Rounding.cap | |
| congr 1 | |
| rw [←gammaRat_cast] | |
| norm_cast | |
| rw | |
| end MetricKMedianRecovery.IntegralAssembly | |
| end OAI | |
Xet Storage Details
- Size:
- 1.3 kB
- Xet hash:
- 76195213e79e3ee1548b8784421751509e7af8d62886d6b655ad70d07e1b17c2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.