Download lean/OAI/Geometry/IsometricImmersion/Coordinates/PatchAddressModel.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.67 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/IsometricImmersion/Coordinates/PatchAddressModel.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Geometry/IsometricImmersion/Coordinates/PatchAddressModel.lean
-
curl -L -o PatchAddressModel.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/IsometricImmersion/Coordinates/PatchAddressModel.lean
2.67 kB
| import OAI.Geometry.IsometricImmersion.Assembly.InitialAssemblyMetric | |
| import OAI.Geometry.IsometricImmersion.Assembly.EnumeratedPatchTensors | |
| namespace OAI | |
| noncomputable section | |
| open Set | |
| open scoped ContDiff Topology Matrix Matrix.Norms.Elementwise | |
| namespace SmoothLocal.Geometry | |
| open SmoothLocal.Perturbation SmoothLocal.Model | |
| def patchAddressInitialMetric (a : PatchAddress) : MetricField := | |
| affinePullbackMetric initialAssemblyMetric (patchAddressCenter a) (patchAddressMatrix a) | |
| def patchAddressAmplitude (a : PatchAddress) : ℝ := | |
| initialPatchAmplitude a.1 a.2.1 a.2.2.1 a.2.2.2.val a.2.2.2.property | |
| def patchAddressModelDomain : Set Coord := Metric.ball 0 (13/4) | |
| theorem patchAddressAmplitude_pos (a : PatchAddress) : 0 < patchAddressAmplitude a := | |
| initialPatchAmplitude_pos a.1 a.2.1 a.2.2.1 a.2.2.2.val a.2.2.2.property | |
| theorem patchAddressModelDomain_isOpen : IsOpen patchAddressModelDomain := Metric.isOpen_ball | |
| theorem modelSquare_subset_patchAddressModelDomain : modelSquare ⊆ patchAddressModelDomain := by | |
| intro p hp | |
| have hnorm : ‖p‖ ≤ 3 := by | |
| apply (pi_norm_le_iff_of_nonneg (by norm_num : (0 : ℝ) ≤ 3)).mpr | |
| intro i | |
| simpa only | |
| linarith | |
| theorem patchAddressModelDomain_mapsTo_square (a : PatchAddress) : | |
| MapsTo (affineCoordinates (patchAddressCenter a) (patchAddressMatrix a)) patchAddressModelDomain square := by | |
| intro q hq | |
| apply patch_core_image_mem_square a.1 a.2.1 a.2.2.1 a.2.2.2.val a.2.2.2.property | |
| exact (by simpa only | |