AFTD Auto-Formalizing Theoretical Domains

matroid_bipartite_neighbor_query_linear

def

There is a constant C such that, on every finite labeled bipartite graph with r left and m right vertices, one fixed adaptive Boolean decision tree decides graph connectedness using at most C times r plus m queries; each valid query names one right vertex and a subset of left vertices and asks whether it has a neighbor in that subset, while all other encoded queries receive false.

Statement

def matroid_bipartite_neighbor_query_linear : Prop
Source
Exploratory single-vertex neighborhood group-query model related to arXiv:2611.23624 and OP-1998.
Verified
28 Nov 2026
Axioms
none listed
Built on 3
  • MatroidIndepQueryTreeA deterministic independence-query algorithm on a ground set α, as a rooted binary decision tree: a leaf leaf b outputs the Boolean b;…
  • MatroidIndepQueryTree.depthThe depth (height) of an independence-query decision tree on a ground set α, a natural number defined by recursion on the tree: a leaf…
  • MatroidIndepQueryTree.evalThe Boolean output of an independence-query decision tree T on a ground set α when the queries are answered by an oracle o : Finset α →…
Used by 1

Lean source view module on GitHub

def matroid_bipartite_neighbor_query_linear : Prop :=
  ∃ C : ℕ, ∀ r m : ℕ,
    ∃ T : MatroidIndepQueryTree (Fin r ⊕ Fin m),
      T.depth ≤ C * (r + m) ∧
      ∀ (G : SimpleGraph (Fin r ⊕ Fin m)) (o : Finset (Fin r ⊕ Fin m) → Bool),
        (∀ a b : Fin r, ¬ G.Adj (Sum.inl a) (Sum.inl b)) →
        (∀ a b : Fin m, ¬ G.Adj (Sum.inr a) (Sum.inr b)) →
        (∀ Q, o Q = true ↔ ∃ e : Fin m,
          (∀ e' : Fin m, Sum.inr e' ∈ Q ↔ e' = e) ∧
          ∃ b : Fin r, Sum.inl b ∈ Q ∧ G.Adj (Sum.inl b) (Sum.inr e)) →
        (T.eval o = true ↔ G.Connected)
See it in the graphDiscuss this resultChallenge it