MindFormal v1.0.0One Mind

MindFormal.Tools.A705SharedDescriptions.Carvings

Declared finite carvings and their block-function spaces (19.29, part 1 and MT1.4). A carving of a finite label set is a setoid; P ≤ Q says every P block lies in a Q block (P refines Q). Mathlib's ⊔ on setoids is the finest common coarsening (the source's meet ∧, the common description) and ⊓ the coarsest common refinement (the source's join ∨, pooled records).

The block-function space of a declared carving: the real functions constant on every block.

Equations
Instances For
    theorem MindFormal.A705SharedDescriptions.mem_blockSpace {X : Type u_1} {P : Setoid X} {f : X → ℝ} :
    f ∈ blockSpace P ↔ ∀ ⦃z z' : X⦄, P z z' → f z = f z'
    @[reducible, inline]

    The common description: the finest common coarsening (source ∧).

    Equations
    Instances For
      @[reducible, inline]

      The pooled description: the coarsest common refinement (source ∨).

      Equations
      Instances For
        noncomputable def MindFormal.A705SharedDescriptions.blockIndicator {X : Type u_1} (P : Setoid X) (z : X) :
        X → ℝ

        The indicator of the block of z.

        Equations
        Instances For

          MT1, part 1: refinement is exactly inclusion of block-function spaces.

          The common description space is the intersection of the private spaces (MT1.4).

          theorem MindFormal.A705SharedDescriptions.pooled_records {X : Type u_1} {YA : Type u_2} {YB : Type u_3} (RA : X → YA) (RB : X → YB) :
          (Setoid.ker fun (z : X) => (RA z, RB z)) = pooledCarving (Setoid.ker RA) (Setoid.ker RB)

          Pooling two declared records gives the coarsest common refinement.

          Each private description lies in the pooled space.

          theorem MindFormal.A705SharedDescriptions.blockIndicator_sum {X : Type u_1} [Fintype X] {P Q : Setoid X} (h : P ≤ Q) (z y : X) :
          blockIndicator Q z y = ∑ c : Quotient P with Q z c.out, if ⟦y⟧ = c then 1 else 0

          Every coarse block indicator is the sum of the indicators of the fine blocks inside it (the capacity statement of the first ordering).

          The coarse quotient is the image of the fine one.

          A coarsening with as many blocks is the same carving.

          The dimension of a carving's description space is its block count.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            MT1.4's counts: the common dimension is at most the smaller private count, with equality exactly when one carving refines the other.