Uniqueness up to a constant.
ProvedEMLDiffEq.EMLExpr.firstOrder_uniqueaether-catalogapplications
Uniqueness up to a constant. If F is everywhere regular and y is any
solution of y' = F' · y on ℝ, then y = K · exp ∘ F for a constant K.
theorem EMLDiffEq.EMLExpr.firstOrder_unique(F : EMLExpr) (hF : ∀ x, Regular F x)
(y : ℝ → ℝ) (hy : ∀ x, HasDerivAt y (eval (D F) x * y x) x) :
∃ K : ℝ, ∀ x, y x = K * Real.exp (eval F x) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Applications/EML/EMLDifferentialEquations.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Applications/EML/EMLDifferentialEquations.lean import Mathlib import Definitions.Def_Applications_EML_EMLDifferentialEquations /-! # EML Differential Equations Exponential–logarithmic (**EML**) functions are the real functions built from the identity, real constants, `+`, `*`, `⁻¹`, `Real.exp` and `Real.log`. This file develops the differential calculus of that class and uses it to analyse the second-order linear equation `y'' = r · y`, `r` a polynomial, with the **Airy equation** `y'' = x · y` as the guiding example. ## Contents * `EMLExpr`, `EMLExpr.eval`, `EMLExpr.D`, `EMLExpr.Regular` — a syntax for EML functions, its interpretation, its *symbolic* derivative and the (pointwise) regularity predicate saying that all inversions and logarithms occurring in an expression have nonzero argument at a point. * `EMLExpr.hasDerivAt_eval` — **correctness of symbolic differentiation**: at a regular point the analytic derivative of `eval e` is `eval (D e)`. In particular the class of EML functions is closed under differentiation (`EMLExpr.Regular.D`). * `EMLExpr.exp_solves_firstOrder` and `EMLExpr.firstOrder_unique` — the complete solution theory of the first-order linear EML equation `y' = c · y`: the exponential of an antiderivative solves it, and every solution is a constant multiple of that one. * `riccati_no_rational_solution` — the **algebraic Kovacic obstruction**: if `r` is a polynomial of odd degree then the Riccati equation `u' + u² = r` has no solution `u = P/Q` in the field of rational functions. * `airy_no_rational_logDeriv` — the analytic form: no nowhere-vanishing solution of `y'' = x·y` has a rational logarithmic derivative. * `airy_no_eml_exponential_solution` — consequently the Airy equation has no solution of the EML shape `y = exp ∘ F` with `F'` rational; this is exactly the failure of the first Kovacic case for Airy's equation. * `riccati_odd_degree_sharp`, `exp_half_sq_solves` — sharpness: for the even-degree coefficient `r = x² + 1` the Riccati equation *does* have the rational solution `u = x`, and `y = exp (x²/2)` is a genuine EML solution of `y'' = (x²+1) y`. -/ open EMLDiffEq open Polynomial /-! ## 1. Syntax and calculus of EML functions -/ open EMLExpr /-! ## 2. First-order linear EML equations -/
Formal statement
theorem EMLDiffEq.EMLExpr.firstOrder_unique(F : EMLExpr) (hF : ∀ x, Regular F x)
(y : ℝ → ℝ) (hy : ∀ x, HasDerivAt y (eval (D F) x * y x) x) :
∃ K : ℝ, ∀ x, y x = K * Real.exp (eval F x) := by sorrySource