Documentation

Linglib.Morphology.Paradigm.Complexity

Paradigm complexity: entropy and implicative structure over cells #

Two views of the Paradigm Cell Filling Problem over a ParadigmSystem. The quantitative layer measures cell distributions: Shannon entropy of a cell, conditional entropy between cells (the integrand of [AM13a]'s i-complexity), and the derived implicative-structure predicates. The qualitative layer is the zero-entropy (categorical) case: a set of cells Predicts another when the forms filling it determine the form filling the target across every inflection class — the implicative relation [BB16] quantify with conditional entropy, here as a plain relation over the system's rows. Entropy quantification stays prose-level per repo discipline; Predicts is its zero-entropy extreme.

Main declarations #

iComplexity (the paper-specific average conditional entropy) and LCECHolds (the LCEC threshold predicate) live in Studies/AckermanMalouf2013.lean because they are particular aggregations the paper defines, not substrate primitives.

noncomputable def Morphology.ParadigmSystem.cellEntropy {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) (c : Fin n) :

Shannon entropy of the empirical distribution at cell c (in nats).

Equations
Instances For
    noncomputable def Morphology.ParadigmSystem.conditionalCellEntropy {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) (ci cj : Fin n) :

    Conditional entropy H(C_i | C_j) of cell ci given cell cj (in nats). The integrand of [AM13a]'s i-complexity.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Morphology.ParadigmSystem.isImplicative {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) (ci cj : Fin n) :

      A cell pair (ci, cj) is implicative iff knowing the form at cj perfectly determines the form at ci (zero conditional entropy).

      Equations
      Instances For
        def Morphology.ParadigmSystem.isTransparent {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) :

        A paradigm is transparent iff every off-diagonal cell pair is implicative — every cell perfectly predicts every other.

        Equations
        Instances For

          Qualitative implicative structure #

          The categorical (zero-entropy) face of the Paradigm Cell Filling Problem [BB16]: which sets of known cells determine an unknown cell across the inflection classes.

          def Morphology.ParadigmSystem.Predicts {n : } {Form : Type u_1} (ps : ParadigmSystem n Form) (S : Finset (Fin n)) (j : Fin n) :

          A set of cells S predicts cell j when the forms filling S determine the form filling j across the system: any two inflection classes agreeing on every cell of S also agree at j. The zero-conditional-entropy case of the implicative relation [BB16] measure.

          Equations
          Instances For
            def Morphology.ParadigmSystem.IsPrincipalPartSet {n : } {Form : Type u_1} (ps : ParadigmSystem n Form) (S : Finset (Fin n)) :

            A set of cells is a principal-part set when it predicts every cell of the system: knowing those forms determines the whole paradigm.

            Equations
            Instances For
              theorem Morphology.ParadigmSystem.Predicts.mono {n : } {Form : Type u_1} {ps : ParadigmSystem n Form} {S T : Finset (Fin n)} {j : Fin n} (hST : ST) (h : ps.Predicts S j) :
              ps.Predicts T j

              Prediction is monotone in the known cells: enlarging the predictor set never destroys a prediction.