math / data /lean /OAI /Geometry /CylinderCovering /Rational /ConstructionDefinitions.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.35 kB
import OAI.Geometry.CylinderCovering.Convexity.GlobalDefinitions
import OAI.Geometry.CylinderCovering.Rational.RealizationDefinitions
import OAI.Geometry.CylinderCovering.Rational.CeilingIntegralDefinitions
import OAI.Geometry.CylinderCovering.Rational.EnergyIntegralDefinitions
namespace OAI
noncomputable section
open Set MeasureTheory Filter
open scoped Topology ContDiff
namespace SlopeRational
def coefficientGap (d : ℝ) : ℝ := energyIntegral d - ceilingIntegral d
def AdmissiblePadding (q : ℝ β†’ ℝ) : Prop :=
(βˆ€αΆ  Ξ΅ : ℝ in 𝓝[>] (0 : ℝ), 0 < q Ξ΅) ∧
Asymptotics.IsBigO (𝓝[>] (0 : ℝ)) q (fun Ξ΅ => Ξ΅ ^ 2) ∧
Asymptotics.IsLittleO (𝓝[>] (0 : ℝ)) (fun Ξ΅ => Ξ΅ ^ 3) q
def HasStrictFiniteCover (d Ξ΅ q : ℝ) : Prop :=
βˆƒ n m : β„•, βˆƒ C : Fin n β†’ RuledApproximation.Cylinder,
βˆƒ D : Fin m β†’ RuledApproximation.Cylinder,
(βˆ€ i, (C i).parallelogram) ∧ (βˆ€ j, (D j).parallelogram) ∧
lowerSweep d Ξ΅ q βŠ† RuledApproximation.familySet C ∧
upperSweep d Ξ΅ q βŠ† RuledApproximation.familySet D ∧
referenceTetrahedron βŠ† RuledApproximation.familySet C βˆͺ RuledApproximation.familySet D ∧
RuledApproximation.familyArea C + RuledApproximation.familyArea D < physicalScale / 4 ∧
CylinderCovering.relativeCost referenceTetrahedron C +
CylinderCovering.relativeCost referenceTetrahedron D < 1 / 2
def AsymptoticStatement : Prop :=
(βˆ€ d : ℝ, 0 < d β†’ βˆ€ q : ℝ β†’ ℝ, AdmissiblePadding q β†’
(βˆ€αΆ  Ξ΅ : ℝ in 𝓝[>] (0 : ℝ),
referenceTetrahedron βŠ† lowerSweep d Ξ΅ (q Ξ΅) βˆͺ upperSweep d Ξ΅ (q Ξ΅)) ∧
Asymptotics.IsBigO (𝓝[>] (0 : ℝ))
(fun Ξ΅ => weightedCost d Ξ΅ (q Ξ΅) / physicalScale -
(1 / 8 + Ξ΅ ^ 2 * (ceilingIntegral d - energyIntegral d) + q Ξ΅ / 2))
(fun Ρ => Ρ ^ 4)) ∧
Tendsto ceilingIntegral (𝓝[>] (0 : ℝ)) (𝓝 (16 / 15360 : ℝ)) ∧
Tendsto energyIntegral (𝓝[>] (0 : ℝ)) (𝓝 (17 / 15360 : ℝ))
def ApproximationEligibilityStatement : Prop :=
βˆ€ d : ℝ, 0 < d β†’ βˆ€ q : ℝ β†’ ℝ, AdmissiblePadding q β†’
βˆ€αΆ  Ξ΅ : ℝ in 𝓝[>] (0 : ℝ),
IsCompact (labelDomain d Ρ (q Ρ)) ∧
volume (frontier (labelDomain d Ρ (q Ρ))) = 0 ∧
RuledApproximation.SmoothNear ∞ (labelDomain d Ρ (q Ρ)) (field d) ∧
(βˆ€ p ∈ labelDomain d Ξ΅ (q Ξ΅),
RuledApproximation.HyperbolicAt (1 / 2) (fun z => Ξ΅ β€’ field d z) p) ∧
(βˆ€ p ∈ labelDomain d Ξ΅ (q Ξ΅),
RuledApproximation.HyperbolicAt (1 / 2) (fun z => -Ξ΅ β€’ field d z) p)
def PaddingSchedulesStatement : Prop :=
(βˆƒ d : ℝ, 0 < d ∧ 0 < coefficientGap d) ∧
(βˆ€ d : ℝ, 0 < d β†’ 0 < coefficientGap d β†’
(βˆ€αΆ  Ξ΅ : ℝ in 𝓝[>] (0 : ℝ),
weightedCost d Ξ΅ (Ξ΅ ^ (5 / 2 : ℝ)) < physicalScale / 8 ∧
HasStrictFiniteCover d Ξ΅ (Ξ΅ ^ (5 / 2 : ℝ))) ∧
βˆ€ Ξ· : ℝ, 0 < Ξ· β†’ Ξ· / 2 < coefficientGap d β†’
βˆ€αΆ  Ξ΅ : ℝ in 𝓝[>] (0 : ℝ),
weightedCost d Ρ (η * Ρ ^ 2) < physicalScale / 8 ∧
HasStrictFiniteCover d Ξ΅ (Ξ· * Ξ΅ ^ 2))
def ConstructionStatement : Prop :=
CylinderCovering.minimumShadowArea referenceTetrahedron = physicalScale / 2 ∧
AsymptoticStatement ∧ ApproximationEligibilityStatement ∧ PaddingSchedulesStatement
end SlopeRational
end
end OAI