cfahlgren1/math / lean /OAI /Analysis /MassAction /SolutionUniqueness.lean
cfahlgren1's picture
download
raw
1.61 kB
import OAI.Analysis.MassAction.Model
import OAI.Analysis.MassAction.ODEUniqueness
namespace OAI
noncomputable section
namespace Problem326
variable {d : ℕ} {N : ReactionNetwork d} {κ : Reaction N → ℝ}
{z : Fin d → ℝ} {T : ℝ} {x y : ℝ → (Fin d → ℝ)}
/-- Uniqueness for finite forward solutions, including both endpoints. -/
theorem IsForwardSolutionOn.eqOn
(hv : LocallyLipschitz (massAction N κ)) (hT : 0 ≤ T)
(hx : IsForwardSolutionOn N κ z T x)
(hy : IsForwardSolutionOn N κ z T y) :
Set.EqOn x y (Set.Icc (0 : ℝ) T) :=
eqOn_Icc_of_locallyLipschitz_ode hv hT hx.2.1 hx.2.2 hy.2.1 hy.2.2
(hx.1.trans hy.1.symm)
/-- One invariant global trajectory from each initial point suffices for the
full finite-segment and extension definition of forward invariance. -/
theorem isForwardInvariant_of_global_trajectories
(hv : LocallyLipschitz (massAction N κ)) {K : Set (Fin d → ℝ)}
(hK : ∀ z ∈ K, ∃ x : ℝ → (Fin d → ℝ),
IsGlobalForwardSolution N κ z x ∧ ∀ t : ℝ, 0 ≤ t → x t ∈ K) :
IsForwardInvariant N κ K := by
intro z hz
obtain ⟨xg, hxg, hmem⟩ := hK z hz
refine ⟨⟨xg, hxg⟩, ?_⟩
intro T x hT hx
have hg : IsForwardSolutionOn N κ z T xg := by
refine ⟨hxg.1, ?_, ?_⟩
· intro t ht
exact (hxg.2 t ht.1).continuousAt.continuousWithinAt
· intro t ht
exact hxg.2 t ht.1.le
have heq : Set.EqOn xg x (Set.Icc (0 : ℝ) T) := hg.eqOn hv hT hx
refine ⟨?_, ⟨xg, hxg, heq⟩⟩
intro t ht
rw [← heq ht]
exact hmem t ht.1
end Problem326
end
end OAI

Xet Storage Details

Size:
1.61 kB
·
Xet hash:
32a532054bf678c52a06198c7d046ec5088433e9fe69225e952b7f2481ca1826

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.