Lax489179.APSPHypothesis
The weighted APSP complexity assumption
concepts/Lax489179/APSPHypothesis.lean · lax-489179
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
For some fixed positive integer , no word-RAM algorithm computes all-pairs shortest-path distances, for any constant , on -vertex directed graphs with integer edge weights of absolute value at most and no negative cycles. Words have bits. The exponent is chosen before ; it is one fixed polynomial weight range.
is the deterministic version. also excludes randomized algorithms with two-sided error at most and a worst-case running-time bound. Success means that the entire distance matrix is correct. No equivalence with an expected-time or zero-error variant is asserted. Both assumptions are propositions, not axioms.
Lean source view on GitHub
| 1 | import Lax489179.WeightedAPSP |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The weighted APSP complexity assumption |
| 6 | type: definition |
| 7 | --- |
| 8 | For some fixed positive integer , no |
| 9 | word-RAM algorithm computes all-pairs shortest-path distances, for any |
| 10 | constant , on -vertex directed graphs with integer |
| 11 | edge weights of absolute value at most and no negative cycles. |
| 12 | Words have bits. The exponent is chosen before |
| 13 | ; it is one fixed polynomial weight range. |
| 14 | |
| 15 | `Deterministic` is the deterministic version. |
| 16 | `Randomized` also excludes randomized algorithms |
| 17 | with two-sided error at most and a worst-case running-time bound. |
| 18 | Success means that the entire distance matrix is correct. No |
| 19 | equivalence with an expected-time or zero-error variant is asserted. |
| 20 | Both assumptions are propositions, not axioms. |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax489179.APSPHypothesis |
| 24 | |
| 25 | def HypothesisAt (mode : Algorithms.Mode) (c : ℕ) : Prop := |
| 26 | ∀ ε : ℝ, 0 < ε → ¬ WordTime.Solvable mode (WeightedAPSP.problem c) (3 - ε) |
| 27 | |
| 28 | def Hypothesis (mode : Algorithms.Mode) : Prop := |
| 29 | ∃ c : ℕ, 0 < c ∧ HypothesisAt mode c |
| 30 | |
| 31 | def Deterministic : Prop := Hypothesis .deterministic |
| 32 | |
| 33 | def Randomized : Prop := Hypothesis .randomized |
| 34 | |
| 35 | end Lax489179.APSPHypothesis |
| 36 |
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments