Finite selection of tests with a replayable final table

Lax977378.CheckedEntries · concepts/Lax977378/CheckedEntries.lean · lax-977378

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

    Once the unordered data and the final labels range over finite sets, one can retain exactly the pairs for which every passing graph admits a suitable order. It suffices to exhibit one such pair for each individual bounded-degree graph. Intermediate tables may be used to prove replay without encoding them in FO.

    Concept map
    12 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 Lax977378.Replay
    2import Lax977378.FiniteTests
    3
    4/-!
    5---
    6title: Finite selection of tests with a replayable final table
    7type: lemma
    8---
    9Once the unordered data and the final labels range over finite sets, one can
    10retain exactly the pairs for which every passing graph admits a suitable order.
    11It suffices to exhibit one such pair for each individual bounded-degree graph.
    12Intermediate tables may be used to prove replay without encoding them in FO.
    13-/
    14namespace Lax977378.CheckedEntries
    15open Lax977378.Logic Lax977378.OuterContexts Lax977378.RecordTests Lax977378.Collapse
    16
    17axiom selectEntries {c d K n N} (types : Fin n → Pointed c) (r R cap U : Nat)
    18 (lab : (G : Graph c) → G.Bounded d → LinearOrder (Fin G.size) → Fin G.size → Fin N)
    19 (sound : ∀ A B ha hb a b x y, lab A ha a x = lab B hb b y → same A B a b K x y)
    20 (witness : ∀ A : Graph c, A.Bounded d →
    21 ∃ (D : TestData c) (S : Finset (Fin N)) (v : Fin n → Fin (cap+1)) (t : Nat),
    22 D.radius = r ∧ D.windowRadius = R ∧ D.cap = cap ∧ D.windowGraph.size ≤ U ∧
    23 D.counts = List.ofFn (fun j => (types j,(v j).val)) ∧
    24 D.frequent = ((List.finRange n).filter (fun j => t ≤ (v j).val)).map types ∧
    25 Passes D A ∧ ∀ (B : Graph c) (hb : B.Bounded d), Passes D B →
    26 ∃ b, Finset.univ.image (lab B hb b) = S) :
    27 ∃ tests : List (Record (c := c) d K), ∀ G, G.Bounded d → ∃ e ∈ tests, Unordered G e.test
    28
    29end Lax977378.CheckedEntries
    30
    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…