Lipschitz in the second variable; solution of a Cauchy problem
DefinitionCursoEDO_DefsThis item fixes the two basic notions used throughout the Curso de EDO series.
Lipschitz with respect to the second variable. Let be normed spaces, , and . We say that is Lipschitz in the second variable on with constant when and
The point of the definition is that the constant does not depend on the first variable . This is Definição 2.1.1 of the source, with the constant exposed as a parameter instead of being quantified existentially.
Solution of a Cauchy problem. Let be a real Banach space, a map assigning to a time and a state , , , , and . We say is a solution on of the Cauchy problem , with graph in when all of the following hold:
- ;
- ;
- for every ;
- for every , has derivative at relative to .
Condition 4 is the relative (within ) derivative, so at an endpoint of an interval it is the corresponding one-sided derivative — exactly the convention of Definição 1.0.1 of the source. Condition 3 is the requirement that the graph of the solution stay inside the domain of .
These two notions are the vocabulary in which the mission's goal theorem and its milestones are stated, and they are intended to be reused by the later missions of this series.
Formalization Note. Solutions are modelled as total functions constrained only on ; consequently uniqueness statements in this mission assert agreement of two solutions on , not equality of functions.
import Mathlib
namespace CursoEDO
/-- Lipschitz with respect to the second variable, with an explicit constant `c > 0`
(Castro Júnior, *Curso de EDO*, Definição 2.1.1). -/
def LipschitzInSecondVar {E₁ E₂ E₃ : Type*} [NormedAddCommGroup E₁] [NormedAddCommGroup E₂]
[NormedAddCommGroup E₃] (U : Set (E₁ × E₂)) (f : E₁ × E₂ → E₃) (c : ℝ) : Prop :=
0 < c ∧ ∀ z : E₁, ∀ y₁ y₂ : E₂, (z, y₁) ∈ U → (z, y₂) ∈ U →
‖f (z, y₁) - f (z, y₂)‖ ≤ c * ‖y₁ - y₂‖
/-- `φ` is a solution, on the set `I`, of the Cauchy problem `dx/dt = f t x`, `x t₀ = x₀`,
with graph contained in `U` (Castro Júnior, *Curso de EDO*, Definição 1.0.1 / 1.1.1). -/
def IsCauchySolutionOn {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
(f : ℝ → E → E) (U : Set (ℝ × E)) (t₀ : ℝ) (x₀ : E) (I : Set ℝ) (φ : ℝ → E) : Prop :=
t₀ ∈ I ∧ φ t₀ = x₀ ∧ (∀ t ∈ I, (t, φ t) ∈ U) ∧
∀ t ∈ I, HasDerivWithinAt φ (f t (φ t)) I t
end CursoEDO
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — NON-BLIND: same agent that drafted these statements, not an independent auditor
Disclosure — this read-back is NOT blind and NOT independent. It was written by the same agent that drafted the Lean statements in this proposal, at the explicit instruction of the proposal owner, and not by an independent auditor working from the code alone. It therefore carries none of the evidential weight of independent testimony and must not be mistaken for it: an author who already knows the intended meaning cannot be relied on to expose a gap between intent and code. Treat the text below as the author's own restatement of the code, and obtain an independent blind read-back before relying on this item.
This item introduces two predicates.
First predicate (Lipschitz in the second variable). It takes three types , each equipped with a norm making it a normed additive commutative group, a set , a function , and a real number . It asserts the conjunction of:
Here ranges over the whole of , not over a projection of : the pairs are required to lie in , and nothing at all is asserted about pairs outside . The constant is a single number used for all . If is empty, or contains no two points sharing a first coordinate, the second conjunct holds vacuously and the predicate reduces to .
Second predicate (being a solution of a Cauchy problem on a set). It takes a type that is a normed additive commutative group and a normed space over (completeness is not required by this predicate), a function assigning to each real a function , a set , a real , a point , a set , and a function . It asserts the conjunction of four clauses:
- ;
- ;
- for every , the pair belongs to ;
- for every , has derivative at within — the derivative computed relative to the set , so at a point where lies on one side only this is the corresponding one-sided derivative, and at an isolated point of the condition is satisfied by any value.
is an arbitrary set of reals, not required to be an interval, and is a function defined on all of whose values outside are unconstrained by clauses 2–4. If is the singleton , clauses 1, 3 and 4 are degenerate and the predicate amounts to together with .