File size: 4,127 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | 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
|