Quantifier rank of a sentence describing counts and a marked neighbourhood
Lax266678.WindowRank · concepts/Lax266678/WindowRank.lean · lax-266678
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Fix a finite graph vocabulary, a radius for pointed types, a window radius , a finite graph with two distinguished subsets of vertices, a count cap , a list of pointed types with prescribed counts up to , and a list of frequent types. Suppose all listed pointed patterns have at most vertices, the prescribed counts are at most , and . There is an order-free first-order sentence of rank at most with the following meaning. Each specified count below is exact, and a count equal to is a lower bound. There is an induced copy of whose vertex set is the full radius- neighbourhood of the first distinguished subset. The image of the second distinguished subset consists exactly of the vertices whose radius- type is absent from the list of frequent types.
Concept map
Lean source view on GitHub
| 1 | import Lax977378.RecordTests |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Quantifier rank of a sentence describing counts and a marked neighbourhood |
| 6 | type: lemma |
| 7 | --- |
| 8 | Fix a finite graph vocabulary, a radius for pointed types, a window |
| 9 | radius , a finite graph with two distinguished subsets of vertices, |
| 10 | a count cap , a list of pointed types with prescribed counts up to , |
| 11 | and a list of frequent types. Suppose all listed pointed patterns have at |
| 12 | most vertices, the prescribed counts are at most , and . |
| 13 | There is an order-free first-order sentence of rank at most |
| 14 | with the following meaning. |
| 15 | Each specified count below is exact, and a count equal to is a |
| 16 | lower bound. There is an induced copy of whose vertex set is the full |
| 17 | radius- neighbourhood of the first distinguished subset. The image of |
| 18 | the second distinguished subset consists exactly of the vertices whose |
| 19 | radius- type is absent from the list of frequent types. |
| 20 | -/ |
| 21 | namespace Lax266678.WindowRank |
| 22 | open Lax977378.Logic Lax977378.RecordTests |
| 23 | |
| 24 | def bound (b r cap U R : Nat) : Nat := max (b+r+cap+4) (U+max R (b+r)+5) |
| 25 | |
| 26 | axiom 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 | |
| 32 | end Lax266678.WindowRank |
| 33 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments