pith. machine review for the scientific record. sign in
def

PairSeparates

definition
show as:
view math explainer →
module
IndisputableMonolith.RecogGeom.Dimension
domain
RecogGeom
line
77 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.RecogGeom.Dimension on GitHub at line 77.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

used by

formal source

  74/-! ## Two-Recognizer Separation -/
  75
  76/-- Two recognizers together separate if their composite distinguishes all configs. -/
  77def PairSeparates {E₁ E₂ : Type*} [EventSpace E₁] [EventSpace E₂]
  78    (r₁ : Recognizer C E₁) (r₂ : Recognizer C E₂) : Prop :=
  79  IsSeparating (r₁ ⊗ r₂)
  80
  81/-- Pair separation is equivalent to: same (e₁, e₂) implies same config. -/
  82theorem pairSeparates_iff {E₁ E₂ : Type*} [EventSpace E₁] [EventSpace E₂]
  83    (r₁ : Recognizer C E₁) (r₂ : Recognizer C E₂) :
  84    PairSeparates r₁ r₂ ↔
  85      ∀ c₁ c₂, (r₁.R c₁ = r₁.R c₂ ∧ r₂.R c₁ = r₂.R c₂) → c₁ = c₂ := by
  86  simp only [PairSeparates, IsSeparating, Function.Injective, composite_R_eq,
  87             Prod.mk.injEq]
  88
  89/-! ## Independence -/
  90
  91/-- Two recognizers are **independent** if each provides information the other doesn't.
  92    This means: ∃ configs distinguished by r₁ but not r₂, and vice versa. -/
  93def IndependentRecognizers {E₁ E₂ : Type*} [EventSpace E₁] [EventSpace E₂]
  94    (r₁ : Recognizer C E₁) (r₂ : Recognizer C E₂) : Prop :=
  95  (∃ c₁ c₂, r₁.R c₁ ≠ r₁.R c₂ ∧ r₂.R c₁ = r₂.R c₂) ∧
  96  (∃ c₁ c₂, r₁.R c₁ = r₁.R c₂ ∧ r₂.R c₁ ≠ r₂.R c₂)
  97
  98/-- If recognizers are independent, their composite strictly refines both. -/
  99theorem independent_strict_refines {E₁ E₂ : Type*} [EventSpace E₁] [EventSpace E₂]
 100    (r₁ : Recognizer C E₁) (r₂ : Recognizer C E₂)
 101    (h : IndependentRecognizers r₁ r₂) :
 102    ¬IsSeparating r₁ ∧ ¬IsSeparating r₂ →
 103      (∃ c₁ c₂, r₁.R c₁ = r₁.R c₂ ∧ (r₁ ⊗ r₂).R c₁ ≠ (r₁ ⊗ r₂).R c₂) := by
 104  intro ⟨_, _⟩
 105  obtain ⟨⟨_, _, _, _⟩, ⟨c₃, c₄, heq, hne⟩⟩ := h
 106  use c₃, c₄, heq
 107  simp only [composite_R_eq]