Efficient polynomial-time approximation schemes
Lax213208.EPTAS · concepts/Lax213208/EPTAS.lean · lax-213208
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
An EPTAS has ratio , with , in time , where is computable and the exponent is independent of precision.
Concept map
Lean source view on GitHub
| 1 | import Lax213208.RApproximation |
| 2 | import Lax213208.RunningTime |
| 3 | import Mathlib.Computability.Partrec |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Efficient polynomial-time approximation schemes |
| 8 | type: definition |
| 9 | --- |
| 10 | An EPTAS has ratio , with , in time |
| 11 | , where is computable and the exponent is |
| 12 | independent of precision. |
| 13 | -/ |
| 14 | |
| 15 | namespace Lax213208.EPTAS |
| 16 | |
| 17 | open OptimizationProblem Programs RApproximation RunningTime |
| 18 | |
| 19 | variable {Instance Solution : Type*} {problem : Problem Instance Solution} |
| 20 | |
| 21 | def EPTAS (alg : Program) (inputs : Set Instance) : Prop := |
| 22 | ∃ f : ℕ → ℕ, Computable f ∧ (∀ k > 0, 0 < f k) ∧ |
| 23 | ∃ d : ℕ, 0 < d ∧ ∀ k : ℕ, 0 < k → |
| 24 | let ε : ℝ := 1 / k |
| 25 | Approximates (problem := problem) alg inputs (1 + ε) (some k) ∧ |
| 26 | RunsInTime (problem := problem) alg inputs |
| 27 | (fun n => f k * (n + 2) ^ d) (some k) |
| 28 | |
| 29 | end Lax213208.EPTAS |
| 30 |
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments