Finite selection of tests with a replayable final table
Lax977378.CheckedEntries · concepts/Lax977378/CheckedEntries.lean · lax-977378
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural 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
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax977378.Replay |
| 2 | import Lax977378.FiniteTests |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Finite selection of tests with a replayable final table |
| 7 | type: lemma |
| 8 | --- |
| 9 | Once the unordered data and the final labels range over finite sets, one can |
| 10 | retain exactly the pairs for which every passing graph admits a suitable order. |
| 11 | It suffices to exhibit one such pair for each individual bounded-degree graph. |
| 12 | Intermediate tables may be used to prove replay without encoding them in FO. |
| 13 | -/ |
| 14 | namespace Lax977378.CheckedEntries |
| 15 | open Lax977378.Logic Lax977378.OuterContexts Lax977378.RecordTests Lax977378.Collapse |
| 16 | |
| 17 | axiom 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 | |
| 29 | end Lax977378.CheckedEntries |
| 30 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments