Download data/lean/OAI/Geometry/CylinderCovering/Physical/CostVariantsDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/CostVariantsDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Physical/CostVariantsDefinitions.lean
-
curl -L -o CostVariantsDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/CostVariantsDefinitions.lean
4.13 kB
| import OAI.Geometry.CylinderCovering.Physical.CoordinatesDefinitions | |
| import OAI.Geometry.CylinderCovering.Radial.CapsDefinitions | |
| namespace OAI | |
| noncomputable section | |
| open Filter | |
| open scoped Topology | |
| namespace RadialPhysical | |
| def RelativeCostExpansion (f : β β β) (reference coefficient : β) : Prop := | |
| (fun Ο => f Ο - reference * (1 + coefficient * Ο ^ 2)) | |
| =O[π[>] (0 : β)] (fun Ο => Ο ^ 4) | |
| def PhysicalCostTableStatement : Prop := | |
| RelativeCostExpansion (fun Ο => scaledCost 1 Ο (linearCap 1 Ο (1/120))) | |
| (height 1 / 2) (-1/60) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost (1/2) (Ο/2) (linearCap (1/2) (Ο/2) (1/120))) | |
| (height (1/2) / 4) (-1/3840) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost (1/Real.sqrt 2) Ο | |
| (linearCap (1/Real.sqrt 2) Ο (1/125))) | |
| ((1/Real.sqrt 2) * height (1/Real.sqrt 2) / 2) (-13/3000) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost (1/Real.sqrt 2) Ο | |
| (squareCap (1/Real.sqrt 2) Ο (1/125))) | |
| ((1/Real.sqrt 2) * height (1/Real.sqrt 2) / 2) (-13/3000) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost (1/2) Ο (linearCap (1/2) Ο (4/625))) | |
| (height (1/2) / 4) (-77/60000) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost (1/2) (2*Ο) (squareCap (1/2) (2*Ο) (1/120))) | |
| (height (1/2) / 4) (-1/240) β§ | |
| RelativeCostExpansion (fun Ο => scaledCost 1 (2*Ο) (linearCap 1 (2*Ο) (1/200))) | |
| (height 1 / 2) (-7/75) | |
| def centeredFractionalCap (b Ξ· s : β) : β := | |
| 1 + Ξ· ^ 2 * s ^ 2 * (b ^ 2 + s ^ 2) / 2 + Ξ· ^ (5/2 : β) | |
| def nonorthCost (Ξ΅ : β) (R : β β β) : β := | |
| scaledCost (1/Real.sqrt 2) (2*Ξ΅) (fun s => R (Real.sqrt 2 * s)) | |
| structure PhysicalCostVariantsStatement : Prop where | |
| linearExpansion : β b Ξ² a : β, 0 < b β 0 β€ Ξ² β | |
| (fun Ο => scaledCost b (a*Ο) (linearCap b (a*Ο) Ξ²) - quadraticCost b (a*Ο) Ξ²) | |
| =O[π[>] (0:β)] (fun Ο => Ο^4) | |
| squareExpansion : β b Ξ² a : β, 0 < b β 0 β€ Ξ² β | |
| (fun Ο => scaledCost b (a*Ο) (squareCap b (a*Ο) Ξ²) - quadraticCost b (a*Ο) Ξ²) | |
| =O[π[>] (0:β)] (fun Ο => Ο^4) | |
| linearSaving : β b Ξ² : β, 0 < b β 0 < Ξ² β Ξ² < 1/60 β | |
| βαΆ Ξ· : β in π[>] 0, scaledCost b Ξ· (linearCap b Ξ· Ξ²) < b*height b/2 | |
| squareSaving : β b Ξ² : β, 0 < b β 0 < Ξ² β Ξ² < 1/60 β | |
| βαΆ Ξ· : β in π[>] 0, scaledCost b Ξ· (squareCap b Ξ· Ξ²) < b*height b/2 | |
| table : PhysicalCostTableStatement | |
| centeredLinearExpansion : β b Ξ² a : β, 0 < b β 0 β€ Ξ² β | |
| (fun Ο => scaledCost b (a*Ο) (centeredLinearCap b (a*Ο) Ξ²) - | |
| 2*b*height b*(1+relativeQuadraticTerm b (a*Ο) Ξ²)) | |
| =O[π[>] (0:β)] (fun Ο => Ο^4) | |
| centeredLinearSaving : β b Ξ² : β, 0 < b β 0 < Ξ² β Ξ² < 1/60 β | |
| βαΆ Ξ· : β in π[>] 0, scaledCost b Ξ· (centeredLinearCap b Ξ· Ξ²) < 2*b*height b | |
| centeredFractionalDictionary : β Ξ· : β, 0 < Ξ· β β r : β, | |
| centeredFractionalCap (1/Real.sqrt 2) Ξ· ((1/Real.sqrt 2)*r) = | |
| CylinderCovering.RadialCaps.fractionalCap (4*Real.sqrt 2) (Ξ·/2) r | |
| centeredFractionalExpansion : | |
| (fun Ξ· => scaledCost (1/Real.sqrt 2) Ξ· (centeredFractionalCap (1/Real.sqrt 2) Ξ·) - | |
| (1/Real.sqrt 2)*(2-Ξ·^2/60+4*Ξ·^(5/2:β))) | |
| =O[π[>] (0:β)] (fun Ξ· => Ξ·^4) | |
| centeredFractionalLittleO : | |
| (fun Ξ· => scaledCost (1/Real.sqrt 2) Ξ· (centeredFractionalCap (1/Real.sqrt 2) Ξ·) - | |
| (1/Real.sqrt 2)*(2-Ξ·^2/60)) =o[π[>] (0:β)] (fun Ξ· => Ξ·^2) | |
| centeredFractionalSaving : | |
| βαΆ Ξ· : β in π[>] 0, scaledCost (1/Real.sqrt 2) Ξ· | |
| (centeredFractionalCap (1/Real.sqrt 2) Ξ·) < 2/Real.sqrt 2 | |
| nonorthDictionary : β Ξ΅ : β, β R : β β β, | |
| nonorthCost Ξ΅ R = Real.sqrt 2 * CylinderCovering.RadialCaps.Q R Ξ΅ | |
| nonorthCubic : | |
| (fun Ξ΅ => nonorthCost Ξ΅ (CylinderCovering.RadialCaps.cubicCap 5 Ξ΅) - | |
| Real.sqrt 2*(1-Ξ΅^2/30+10*Ξ΅^3)) =O[π[>] (0:β)] (fun Ξ΅ => Ξ΅^4) | |
| nonorthFractional : | |
| (fun Ξ΅ => nonorthCost Ξ΅ (CylinderCovering.RadialCaps.fractionalCap 1 Ξ΅) - | |
| Real.sqrt 2*(1-Ξ΅^2/30+2*Ξ΅^(5/2:β))) =O[π[>] (0:β)] (fun Ξ΅ => Ξ΅^4) | |
| end RadialPhysical | |
| end | |
| end OAI | |