While this submission is a draft, it cannot be used by other submissions.

The serial order of a positive instance

Lax833301.SerialOrder · concepts/Lax833301/SerialOrder.lean · lax-833301

proven

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.

    Natural Language Statement

    Lemma

    At each successful probe, run the whole replacement before proceeding to the next event. This order has coordinate load at most 1111 and at most 11d+111d+1 active intervals in total. The time of an event is written in mixed blocks, one block for each ancestor probe.

    Concept map
    3 concepts; 1 descendant hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 4 of this submission's paper

    Lean source view on GitHub

    1import Lax833301.Expansion
    2
    3/-!
    4---
    5title: The serial order of a positive instance
    6type: lemma
    7---
    8At each successful probe, run the whole replacement before proceeding to
    9the next event. This order has coordinate load at most 1111 and at most
    1011d+111d+1 active intervals in total. The time of an event is written in
    11mixed blocks, one block for each ancestor probe.
    12-/
    13
    14namespace Lax833301.SerialOrder
    15
    16open Schedules Expansion
    17
    18def radix (T : Template) (time : T.Event → ℕ) := 2 + ∑ e, time e
    19def length (T : Template) (time : T.Event → ℕ) (d : ℕ) := (radix T time)^(d+1)
    20
    21def run (T : Template) (time : T.Event → ℕ) : (d : ℕ) → ℕ → Clock T d
    22 | 0, a => fun (e : Bool) => if e then a+1 else a
    23 | d+1, a => Sum.elim (fun v => a + time (.inl v) * length T time d)
    24 (fun (p,v) => run T time d (a + time (.inr p) * length T time d) v)
    25
    26noncomputable def total (T : Template) : (d : ℕ) → Clock T d → ℕ → ℕ
    27 | 0, f, z => if f false ≤ z ∧ z < f true then 1 else 0
    28 | d+1, f, z => T.count (fun v => f (.inl v)) z (fun _ => True) +
    29 ∑ p : T.Probe, total T d (child f p) z
    30
    31axiom bounds (T : Template) (B : ℕ) (time : T.Event → ℕ) (good : T.Good B time)
    32 (d : ℕ) : Legal T d (run T time d 0) ∧
    33 (∀ z q, load T d (run T time d 0) z q ≤ 11) ∧
    34 ∀ z, total T d (run T time d 0) z ≤ 11*d+1
    35
    36end Lax833301.SerialOrder
    37
    Show Proof
    Builds on
    Used by
    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…