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 {F : Core.Logic.Intensional.Frame} {x y : Cat} (f_sem : F.Denot (catToTy (x.rslash y))) (a_sem : F.Denot (catToTy y)) :
      (result : F.Denot (catToTy x)), result = f_sem a_sem

      Forward application is semantic function application.

      def CCG.Homomorphism.fappSem {F : Core.Logic.Intensional.Frame} {x y : Cat} (f_sem : F.Denot (catToTy (x.rslash y))) (a_sem : F.Denot (catToTy y)) :

      Semantic rule for forward application.

      Equations
      Instances For

        Forward application types align.

        theorem CCG.Homomorphism.bapp_sem {F : Core.Logic.Intensional.Frame} {x y : Cat} (a_sem : F.Denot (catToTy y)) (f_sem : F.Denot (catToTy (x.lslash y))) :
        (result : F.Denot (catToTy x)), result = f_sem a_sem

        Backward application is semantic function application.

        def CCG.Homomorphism.bappSem {F : Core.Logic.Intensional.Frame} {x y : Cat} (a_sem : F.Denot (catToTy y)) (f_sem : F.Denot (catToTy (x.lslash y))) :

        Semantic rule for backward application.

        Equations
        Instances For

          Backward application types align.

          theorem CCG.Homomorphism.fcomp_sem {F : Core.Logic.Intensional.Frame} {x y z : Cat} (f_sem : F.Denot (catToTy (x.rslash y))) (g_sem : F.Denot (catToTy (y.rslash z))) :
          (result : F.Denot (catToTy (x.rslash z))), result = Combinators.B f_sem g_sem

          Forward composition is the B combinator.

          def CCG.Homomorphism.fcompSem {F : Core.Logic.Intensional.Frame} {x y z : Cat} (f_sem : F.Denot (catToTy (x.rslash y))) (g_sem : F.Denot (catToTy (y.rslash z))) :
          F.Denot (catToTy (x.rslash z))

          Semantic rule for forward composition.

          Equations
          Instances For
            theorem CCG.Homomorphism.ftr_sem {F : Core.Logic.Intensional.Frame} {x t : Cat} (a_sem : F.Denot (catToTy x)) :
            (result : F.Denot (catToTy (forwardTypeRaise x t))), ∀ (f : F.Denot (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.

                theorem CCG.Homomorphism.interp_deterministic (d : DerivStep) (lex : SemLexicon Semantics.Montague.toyModel) (i1 i2 : Interp Semantics.Montague.toyModel) (h1 : d.interp lex = some i1) (h2 : d.interp lex = some i2) :
                i1 = i2

                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

                          CCG has direct lexicon-to-meaning architecture.

                          Instances For