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

Quantifier rank of a sentence describing counts and a marked neighbourhood

Lax266678.WindowRank · concepts/Lax266678/WindowRank.lean · lax-266678

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

    Fix a finite graph vocabulary, a radius rr for pointed types, a window radius RR, a finite graph WW with two distinguished subsets of vertices, a count cap tt, a list of pointed types with prescribed counts up to tt, and a list of frequent types. Suppose all listed pointed patterns have at most bb vertices, the prescribed counts are at most tt, and ∣W∣≤U|W|\le U. There is an order-free first-order sentence of rank at most max⁡(b+r+t+4,U+max⁡(R,b+r)+5)\max(b+r+t+4,U+\max(R,b+r)+5) with the following meaning. Each specified count below tt is exact, and a count equal to tt is a lower bound. There is an induced copy of WW whose vertex set is the full radius-RR neighbourhood of the first distinguished subset. The image of the second distinguished subset consists exactly of the vertices whose radius-rr type is absent from the list of frequent types.

    Concept map
    4 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.RecordTests
    2
    3/-!
    4---
    5title: Quantifier rank of a sentence describing counts and a marked neighbourhood
    6type: lemma
    7---
    8Fix a finite graph vocabulary, a radius rr for pointed types, a window
    9radius RR, a finite graph WW with two distinguished subsets of vertices,
    10a count cap tt, a list of pointed types with prescribed counts up to tt,
    11and a list of frequent types. Suppose all listed pointed patterns have at
    12most bb vertices, the prescribed counts are at most tt, and ∣W∣≤U|W|\le U.
    13There is an order-free first-order sentence of rank at most
    14max⁡(b+r+t+4,U+max⁡(R,b+r)+5)\max(b+r+t+4,U+\max(R,b+r)+5) with the following meaning.
    15Each specified count below tt is exact, and a count equal to tt is a
    16lower bound. There is an induced copy of WW whose vertex set is the full
    17radius-RR neighbourhood of the first distinguished subset. The image of
    18the second distinguished subset consists exactly of the vertices whose
    19radius-rr type is absent from the list of frequent types.
    20-/
    21namespace Lax266678.WindowRank
    22open Lax977378.Logic Lax977378.RecordTests
    23
    24def bound (b r cap U R : Nat) : Nat := max (b+r+cap+4) (U+max R (b+r)+5)
    25
    26axiom windowSentence {c : Nat} (D : TestData c) (b U : Nat)
    27 (counts : ∀ e ∈ D.counts, e.1.pattern.size ≤ b ∧ e.2 ≤ D.cap)
    28 (freq : ∀ e ∈ D.frequent, e.pattern.size ≤ b) (size : D.windowGraph.size ≤ U) :
    29 ∃ f : Formula c, Plain [] f ∧ rank f ≤ bound b D.radius D.cap U D.windowRadius ∧
    30 ∀ G, Unordered G f ↔ Passes D G
    31
    32end Lax266678.WindowRank
    33
    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…