Documentation

Linglib.Theories.Interfaces.SyntaxSemantics.CCG.Homomorphism

Well-typed CCG derivation with category and meaning.

Instances For

    Category paired with semantic denotation.

    Instances For
      theorem CCG.Homomorphism.fapp_sem {m : Semantics.Montague.Model} {x y : Cat} (f_sem : m.interpTy (catToTy (x.rslash y))) (a_sem : m.interpTy (catToTy y)) :
      ∃ (result : m.interpTy (catToTy x)), result = f_sem a_sem

      Forward application is semantic function application.

      def CCG.Homomorphism.fappSem {m : Semantics.Montague.Model} {x y : Cat} (f_sem : m.interpTy (catToTy (x.rslash y))) (a_sem : m.interpTy (catToTy y)) :

      Semantic rule for forward application.

      Equations
      Instances For

        Forward application types align.

        theorem CCG.Homomorphism.bapp_sem {m : Semantics.Montague.Model} {x y : Cat} (a_sem : m.interpTy (catToTy y)) (f_sem : m.interpTy (catToTy (x.lslash y))) :
        ∃ (result : m.interpTy (catToTy x)), result = f_sem a_sem

        Backward application is semantic function application.

        def CCG.Homomorphism.bappSem {m : Semantics.Montague.Model} {x y : Cat} (a_sem : m.interpTy (catToTy y)) (f_sem : m.interpTy (catToTy (x.lslash y))) :

        Semantic rule for backward application.

        Equations
        Instances For

          Backward application types align.

          theorem CCG.Homomorphism.fcomp_sem {m : Semantics.Montague.Model} {x y z : Cat} (f_sem : m.interpTy (catToTy (x.rslash y))) (g_sem : m.interpTy (catToTy (y.rslash z))) :
          ∃ (result : m.interpTy (catToTy (x.rslash z))), result = Combinators.B f_sem g_sem

          Forward composition is the B combinator.

          def CCG.Homomorphism.fcompSem {m : Semantics.Montague.Model} {x y z : Cat} (f_sem : m.interpTy (catToTy (x.rslash y))) (g_sem : m.interpTy (catToTy (y.rslash z))) :

          Semantic rule for forward composition.

          Equations
          Instances For
            theorem CCG.Homomorphism.ftr_sem {m : Semantics.Montague.Model} {x t : Cat} (a_sem : m.interpTy (catToTy x)) :
            ∃ (result : m.interpTy (catToTy (forwardTypeRaise x t))), ∀ (f : m.interpTy (catToTy (t.lslash x))), result f = f a_sem

            Forward type-raising is the T combinator.

            Semantic rule for forward type-raising.

            Equations
            Instances For

              Well-formed derivations have categories.

              Equations
              Instances For

                Lexical entries are well-formed.

                theorem CCG.Homomorphism.wellFormed_has_cat (d : DerivStep) (h : wellFormed d) :
                ∃ (c : Cat), d.cat = some c

                Well-formed derivations have categories.

                Derivation meanings are unique.

                Homomorphism property: syntactic rules correspond to semantic operations.

                Instances For

                  CCG-Montague homomorphism satisfies all structural properties.

                  Equations
                  Instances For

                    Rule-to-rule relation: each syntactic rule has unique semantic rule.

                    Instances For

                      CCG satisfies rule-to-rule.

                      Equations
                      Instances For

                        Monotonic grammars preserve well-formedness.

                        Equations
                        Instances For