Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax489179.APSPHypothesis

The weighted APSP complexity assumption

concepts/Lax489179/APSPHypothesis.lean · lax-489179

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Concept map

    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Definition

    For some fixed positive integer cc, no O(n3ε)O(n^{3-\varepsilon}) word-RAM algorithm computes all-pairs shortest-path distances, for any constant ε>0\varepsilon>0, on nn-vertex directed graphs with integer edge weights of absolute value at most ncn^c and no negative cycles. Words have O(logn)O(\log n) bits. The exponent cc is chosen before ε\varepsilon; it is one fixed polynomial weight range.

    DeterministicDeterministic is the deterministic version. RandomizedRandomized also excludes randomized algorithms with two-sided error at most 1/31/3 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

    1import Lax489179.WeightedAPSP
    2
    3/-!
    4---
    5title: The weighted APSP complexity assumption
    6type: definition
    7---
    8For some fixed positive integer cc, no O(n3ε)O(n^{3-\varepsilon})
    9word-RAM algorithm computes all-pairs shortest-path distances, for any
    10constant ε>0\varepsilon>0, on nn-vertex directed graphs with integer
    11edge weights of absolute value at most ncn^c and no negative cycles.
    12Words have O(logn)O(\log n) bits. The exponent cc is chosen before
    13ε\varepsilon; it is one fixed polynomial weight range.
    14
    15`Deterministic` is the deterministic version.
    16`Randomized` also excludes randomized algorithms
    17with two-sided error at most 1/31/3 and a worst-case running-time bound.
    18Success means that the entire distance matrix is correct. No
    19equivalence with an expected-time or zero-error variant is asserted.
    20Both assumptions are propositions, not axioms.
    21-/
    22
    23namespace Lax489179.APSPHypothesis
    24
    25def HypothesisAt (mode : Algorithms.Mode) (c : ℕ) : Prop :=
    26 ∀ ε : ℝ, 0 < ε → ¬ WordTime.Solvable mode (WeightedAPSP.problem c) (3 - ε)
    27
    28def Hypothesis (mode : Algorithms.Mode) : Prop :=
    29 ∃ c : ℕ, 0 < c ∧ HypothesisAt mode c
    30
    31def Deterministic : Prop := Hypothesis .deterministic
    32
    33def Randomized : Prop := Hypothesis .randomized
    34
    35end Lax489179.APSPHypothesis
    36

    From Mathlib

    none

    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

    Loading discussion…