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

Recovering an event list

Lax330177.StreamRoundtrip · concepts/Lax330177/StreamRoundtrip.lean · lax-330177

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

    Converting a chronological event list to snapshots and back preserves every event with its multiplicity. Only the order of events at the same time can change.

    Read the proof.

    Concept map
    2 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax330177.Representations
    2
    3/-!
    4---
    5title: Recovering an event list
    6type: lemma
    7---
    8Converting a chronological event list to snapshots and back preserves every event with its multiplicity. Only the order of events at the same time can change.
    9
    10[Read the proof.](Lax330177Proofs.Basic.stream_roundtrip.html)
    11-/
    12namespace Lax330177.StreamRoundtrip
    13
    14open Lax330177.Representations
    15
    16axiom stream_roundtrip {n h} (s : EventStream n h) : (streamOf s.snapshots).events.Perm s.events
    17end Lax330177.StreamRoundtrip
    18
    Show Proof
    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

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

    Loading discussion…