math / data /lean /OAI /Geometry /CylinderCovering /Physical /CapFiniteDefinitions.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.05 kB
import OAI.Geometry.CylinderCovering.Physical.FiniteDefinitions
import OAI.Geometry.CylinderCovering.Radial.FinitePairDefinitions
namespace OAI
open Set Filter
open scoped Topology InnerProductSpace
noncomputable section
namespace RadialPhysical
open CylinderCovering
def capChoice (square : Bool) (b eta beta : ℝ) : ℝ β†’ ℝ :=
if square then squareCap b eta beta else linearCap b eta beta
def physicalModelCap (centered square : Bool) (b eta beta : ℝ) : ℝ β†’ ℝ :=
if centered then fun s => 2 * capChoice square b eta beta s
else capChoice square b eta beta
def physicalHalfReference (centered : Bool) (b : ℝ) : ℝ :=
if centered then 2*b*height b else b*height b/2
structure PhysicalFamilyConclusion (centered : Bool) (b eta : ℝ) (T : ℝ β†’ ℝ)
(tagU tagL : (N : β„•) β†’ Fin N β†’ ℝ)
(C : (N : β„•) β†’ Fin (2*N) β†’ TriangularCovering.TriCylinder) : Prop where
local_properties : βˆ€ N, 0 < N β†’ βˆ€ i : Fin N,
(C N (RadialPairedSweep.upperIndex i)).axis = upperPhysicalAxis b eta (tagU N i) ∧
(C N (RadialPairedSweep.lowerIndex i)).axis = lowerPhysicalAxis b eta (tagL N i) ∧
upperPhysicalBase centered b eta T N (tagU N) i βŠ†
(C N (RadialPairedSweep.upperIndex i)).base ∧
lowerPhysicalBase centered b eta T N (tagL N) i βŠ†
(C N (RadialPairedSweep.lowerIndex i)).base ∧
physicalBaseProperties (upperPhysicalAxis b eta (tagU N i))
(upperPhysicalBase centered b eta T N (tagU N) i) ∧
physicalBaseProperties (lowerPhysicalAxis b eta (tagL N i))
(lowerPhysicalBase centered b eta T N (tagL N) i)
covers_body : βˆ€ N, 0 < N β†’ βˆ€ z ∈ modelBody centered b,
βˆƒ i : Fin (2*N), z ∈ (C N i).carrier
covers_sweeps : βˆ€ N, 0 < N β†’
βˆ€ z ∈ upperSweepOn centered b eta T (Icc (-b) b) βˆͺ
lowerSweepOn centered b eta T (Icc (-b) b),
βˆƒ i : Fin (2*N), z ∈ (C N i).carrier
actual_covers_body : βˆ€ N, 0 < N β†’ βˆ€ z ∈ modelBody centered b,
(βˆƒ i : Fin N, z ∈ RadialSweep.cylinder (upperPhysicalAxis b eta (tagU N i))
(upperPhysicalBase centered b eta T N (tagU N) i)) ∨
(βˆƒ i : Fin N, z ∈ RadialSweep.cylinder (lowerPhysicalAxis b eta (tagL N i))
(lowerPhysicalBase centered b eta T N (tagL N) i))
triangle_limit : Tendsto (fun N => TriangularCovering.totalArea (C N)) atTop
(𝓝 (scaledCost b eta T))
actual_bound : βˆ€ Ξ΄ : ℝ, 0 < Ξ΄ β†’ βˆ€αΆ  N in atTop,
physicalActualCost centered b eta T N (tagU N) (tagL N) ≀ scaledCost b eta T + Ξ΄
actual_limsup : Filter.limsup
(fun N => physicalActualCost centered b eta T N (tagU N) (tagL N)) atTop ≀
scaledCost b eta T
def PhysicalCapFiniteStatement : Prop :=
βˆ€ (centered square : Bool) (b beta : ℝ), 0 < b β†’ 0 < beta β†’ beta < 1/60 β†’
βˆ€αΆ  eta : ℝ in 𝓝[>] (0 : ℝ),
βˆ€ tagU tagL : (N : β„•) β†’ Fin N β†’ ℝ,
(βˆ€ N, RadialRiemann.IsTagged (-b) b N (tagU N)) β†’
(βˆ€ N, RadialRiemann.IsTagged (-b) b N (tagL N)) β†’
βˆƒ C : (N : β„•) β†’ Fin (2*N) β†’ TriangularCovering.TriCylinder,
PhysicalFamilyConclusion centered b eta (physicalModelCap centered square b eta beta) tagU tagL C ∧
βˆ€αΆ  N in atTop, 0 < N ∧
TriangularCovering.totalArea (C N) < physicalHalfReference centered b ∧
physicalActualCost centered b eta (physicalModelCap centered square b eta beta) N
(tagU N) (tagL N) < physicalHalfReference centered b
def PhysicalCapCoverageStatement : Prop :=
βˆ€ (centered square : Bool) (b beta : ℝ), 0 < b β†’ 0 < beta β†’
βˆ€αΆ  eta : ℝ in 𝓝[>] (0 : ℝ),
βˆ€ tagU tagL : (N : β„•) β†’ Fin N β†’ ℝ,
(βˆ€ N, RadialRiemann.IsTagged (-b) b N (tagU N)) β†’
(βˆ€ N, RadialRiemann.IsTagged (-b) b N (tagL N)) β†’
βˆƒ C : (N : β„•) β†’ Fin (2*N) β†’ TriangularCovering.TriCylinder,
PhysicalFamilyConclusion centered b eta (physicalModelCap centered square b eta beta)
tagU tagL C
end RadialPhysical
end
end OAI