Buckets:
| import OAI.Geometry.RuledCovering.Model | |
| namespace OAI | |
| noncomputable section | |
| namespace NilpotentGrid | |
| open Set | |
| abbrev Plane := RuledApproximation.Plane | |
| def coarseCell (δ : ℝ) (z : ℤ × ℤ) : Set Plane := | |
| {x | δ * (z.1 : ℝ) ≤ x 0 ∧ x 0 ≤ δ * ((z.1 : ℝ) + 1) ∧ | |
| δ * (z.2 : ℝ) ≤ x 1 ∧ x 1 ≤ δ * ((z.2 : ℝ) + 1)} | |
| def gridBound (δ B : ℝ) : ℤ := ⌈B / δ⌉ | |
| def indexRange (δ B : ℝ) : Finset ℤ := | |
| Finset.Icc (-gridBound δ B - 1) (gridBound δ B) | |
| def candidates (δ B : ℝ) : Finset (ℤ × ℤ) := | |
| (indexRange δ B).product (indexRange δ B) | |
| def coarseIndices (δ B : ℝ) (D : Set Plane) : Finset (ℤ × ℤ) := by | |
| classical | |
| exact (candidates δ B).filter (fun z => (D ∩ coarseCell δ z).Nonempty) | |
| def coarseUnion (δ B : ℝ) (D : Set Plane) : Set Plane := | |
| ⋃ z ∈ coarseIndices δ B D, coarseCell δ z | |
| end NilpotentGrid | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 906 Bytes
- Xet hash:
- 218fc5efd9fae2661ff816d2badc3259e34d01017e0b6f74c2f7fbe57ebea2eb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.