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

Counting red neighbors by binary projections

Lax833301.RedCounting · concepts/Lax833301/RedCounting.lean · lax-833301

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

    A fiber that meets mm parts pins at most ⌊log⁡2m⌋\lfloor\log_2 m\rfloor bits: the restrictions of its words to the pinned positions distinguish parts. For bb active intervals using one coordinate, count incidences between marker groups and the tt designated vertices. Distinct groups witness distinct neighbors, even when some designated vertices belong to the same part.

    Concept map
    4 concepts; 1 descendant hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax833301.Realization
    2import Mathlib.Data.Fintype.Card
    3import Mathlib.Data.Fintype.Pi
    4
    5/-!
    6---
    7title: Counting red neighbors by binary projections
    8type: lemma
    9---
    10A fiber that meets mm parts pins at most ⌊log⁡2m⌋\lfloor\log_2 m\rfloor bits:
    11the restrictions of its words to the pinned positions distinguish parts.
    12For bb active intervals using one coordinate, count incidences between
    13marker groups and the tt designated vertices. Distinct groups witness
    14distinct neighbors, even when some designated vertices belong to the same
    15part.
    16-/
    17
    18namespace Lax833301.RedCounting
    19
    20open Realization
    21
    22noncomputable def classes {t : ℕ} {P : Type} (part : Bits t → P) : Finset P := by
    23 classical exact Finset.univ.image part
    24
    25def Mixed {t : ℕ} {P : Type} (part : Bits t → P) (j : Fin t) : Prop :=
    26 ∃ x y, part x = part y ∧ x j ≠ y j
    27
    28noncomputable def pinned {t : ℕ} {P : Type} (part : Bits t → P) : Finset (Fin t) := by
    29 classical exact Finset.univ.filter fun j => ¬ Mixed part j
    30
    31axiom projection {t : ℕ} {P : Type} (part : Bits t → P) :
    32 2 ^ (pinned part).card ≤
    33 (classes part).card
    34
    35abbrev Marker (b t : ℕ) := Fin b × Fin t × Fin t
    36
    37structure Observation (b t w : ℕ) where
    38 Part : Type
    39 opening : Fin b → Bits t → Part
    40 marker : Marker b t → Bits t → Part
    41 red : Fin t → Finset Part
    42 openingSmall : ∀ a, (classes (opening a)).card ≤ w+2
    43 groupSmall : ∀ a i k, Mixed (opening a) i → (classes (marker (a,i,k))).card ≤ w+2
    44 apart : ∀ a b x y, marker a x = marker b y → a = b
    45 witnesses : ∀ a j x y, marker a x = marker a y → x j ≠ y j → marker a x ∈ red j
    46 degree : ∀ j, (red j).card ≤ w
    47
    48axiom bound {b t w l : ℕ} (O : Observation b t w) (ht : 0 < t) (hl : w+2 < 2^(l+1)) :
    49 b * (t-l)^2 ≤ w
    50
    51end Lax833301.RedCounting
    52
    Show ProofShow Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…