Documentation

Studies.Beaver2004

Beaver (2004): The Optimization of Discourse Anaphora #

Centering's BFP algorithm ([BFP87]) is restated as six ranked OT constraints, COT (4): AGREE > DISJOINT > PRO-TOP > FAM-DEF > COHERE > ALIGN. Three of the six are Centering primitives this library already carries — PRO-TOP is Rule 1 without its if-clause (CbPronominalized), COHERE and ALIGN are the transition-classification tests (cb, cp) — so on those the correspondence with BFP holds by construction. The paper's Theorem (20) says COT and BFP resolve anaphora identically; its core is table (19), which matches COHERE/ALIGN violation patterns to the transition ranking, proved here in general. Because COT constraints are rerankable, demoting PRO-TOP below FAM-DEF (§4.1) recovers the coreferential reading of (2c) that BFP wrongly filters out.

Main statements #

References #

Candidates #

structure Beaver2004.Candidate (E R : Type) :

A COT candidate: a fully-resolved utterance (pronouns bound to entities) plus verdict flags for the three constraints whose inputs the Utterance substrate does not carry — φ-features (AGREE), predicate-argument structure (DISJOINT) and definiteness/familiarity (FAM-DEF).

  • The resolved utterance.

  • agreementOK : Bool

    AGREE verdict: pronoun–antecedent number/gender match.

  • argDisjointOK : Bool

    DISJOINT verdict: co-arguments of each predicate are distinct.

  • famDefOK : Bool

    FAM-DEF verdict: every definite NP is familiar.

Instances For
    @[instance_reducible]
    instance Beaver2004.instReprCandidate {E✝ R✝ : Type} [Repr E✝] [Repr R✝] :
    Repr (Candidate E✝ R✝)
    Equations
    def Beaver2004.instReprCandidate.repr {E✝ R✝ : Type} [Repr E✝] [Repr R✝] :
    Candidate E✝ R✝ → ℕ → Std.Format
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[instance_reducible]
      instance Beaver2004.instDecidableEqCandidate {E✝ R✝ : Type} [DecidableEq E✝] [DecidableEq R✝] :
      DecidableEq (Candidate E✝ R✝)
      Equations
      def Beaver2004.instDecidableEqCandidate.decEq {E✝ R✝ : Type} [DecidableEq E✝] [DecidableEq R✝] (x✝ x✝¹ : Candidate E✝ R✝) :
      Decidable (x✝ = x✝¹)
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The six constraints (4) #

        AGREE: anaphoric expressions agree with their antecedents in number and gender.

        Equations
        Instances For

          DISJOINT: co-arguments of a predicate are disjoint (the effect of Principle B).

          Equations
          Instances For
            def Beaver2004.proTop {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) :

            PRO-TOP: the topic is pronominalized — Rule 1 without its if-clause, via the unconditional CbPronominalized ([GGG93]). With no pronoun in the sentence every candidate violates PRO-TOP alike (p. 16), so the conditional Rule-1 form would be the wrong primitive.

            Equations
            Instances For

              FAM-DEF: each definite NP is familiar.

              Equations
              Instances For
                def Beaver2004.cohere {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) :

                COHERE: the topic of the current sentence is the topic of the previous one — satisfied only when both are defined and equal (p. 17); an undefined topic counts as a violation.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Beaver2004.align {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) :

                  ALIGN: the topic is in subject position — for canonical sentences, the topic is the preferred center (p. 18); an undefined topic counts as a violation.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Beaver2004.cotRanking {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) :

                    The COT ranking (4): AGREE > DISJOINT > PRO-TOP > FAM-DEF > COHERE > ALIGN.

                    Equations
                    Instances For
                      def Beaver2004.cotRankingDemoted {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) :

                      The §4.1 reranking: PRO-TOP demoted below FAM-DEF.

                      Equations
                      Instances For

                        COHERE and ALIGN factor through cb (and cp) #

                        theorem Beaver2004.cohere_factors_through_cb {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) (c1 c2 : Candidate E R) (h : Discourse.Centering.cb prev c1.utt = Discourse.Centering.cb prev c2.utt) :
                        cohere prev priorTopic c1 = cohere prev priorTopic c2

                        COHERE cannot distinguish candidates whose cb agrees.

                        theorem Beaver2004.align_factors_through_cb_and_cp {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (c1 c2 : Candidate E R) (h_cb : Discourse.Centering.cb prev c1.utt = Discourse.Centering.cb prev c2.utt) (h_cp : c1.utt.cp = c2.utt.cp) :
                        align prev c1 = align prev c2

                        ALIGN cannot distinguish candidates whose cb and cp both agree.

                        Table (19): the COT ranking is the BFP transition preference #

                        BFP's four transition types.

                        Instances For
                          @[instance_reducible]
                          Equations
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def Beaver2004.bfpTransition {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) (c : Candidate E R) :

                            The transition a candidate realizes, read off its COHERE and ALIGN verdicts: topic kept and aligned is a continuation, kept but unaligned a retain, changed but aligned a smooth shift, changed and unaligned a rough shift.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              theorem Beaver2004.cot_iff_bfp {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (priorTopic : Option E) (c1 c2 : Candidate E R) (h : ∀ (i : Fin 6), ↑i < 4 → toLex (fun (x : Fin (cotRanking prev priorTopic).length) => (cotRanking prev priorTopic).get x c1) i = toLex (fun (x : Fin (cotRanking prev priorTopic).length) => (cotRanking prev priorTopic).get x c2) i) :
                              ((toLex fun (x : Fin (cotRanking prev priorTopic).length) => (cotRanking prev priorTopic).get x c1) < toLex fun (x : Fin (cotRanking prev priorTopic).length) => (cotRanking prev priorTopic).get x c2) ↔ (bfpTransition prev priorTopic c2).rank < (bfpTransition prev priorTopic c1).rank

                              Table (19), in general: for two candidates tied on AGREE, DISJOINT, PRO-TOP and FAM-DEF, the COT profile comparison under the canonical ranking coincides with the BFP preference between the transitions they realize — the core of the equivalence Theorem (20).

                              Example (12): a retain #

                              (12a) "Jane is happy."

                              Equations
                              Instances For

                                (12b) "She was congratulated by Freda." She = Jane.

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

                                  (12c) with her = Jane: the winner.

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

                                    (12c) with her = Freda: the loser.

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

                                      her = Jane, wrapped: AGREE, DISJOINT and FAM-DEF are all satisfied.

                                      Equations
                                      Instances For

                                        her = Freda, wrapped.

                                        Equations
                                        Instances For
                                          def Beaver2004.D12.priorTopic :
                                          Option String

                                          The prior topic, from (12a) → (12b): Jane.

                                          Equations
                                          Instances For

                                            The (12c) winner's profile under the canonical ranking.

                                            Equations
                                            Instances For

                                              Tableau (13): the her = Jane candidate wins the lexicographic comparison.

                                              The (12c) winner realizes a retain: Jane stays topic but leaves subject position.

                                              Example (2): breaking Rule 1 by reranking (§4.1) #

                                              (2a) "Mary likes tennis."

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

                                                (2b) "She plays Jim quite often." She = Mary.

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

                                                  (2c), coreferential reading: He = Jim, Mary = the (2a) Mary.

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

                                                    (2c), two-Marys reading: the object "Mary" is a new entity.

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

                                                      Coreferential candidate: the anaphoric "Mary" is familiar.

                                                      Equations
                                                      Instances For

                                                        Two-Marys candidate: the new "Mary" is an unfamiliar definite, so FAM-DEF fires.

                                                        Equations
                                                        Instances For
                                                          def Beaver2004.D2.priorTopic :
                                                          Option String

                                                          The prior topic for (2c): Mary.

                                                          Equations
                                                          Instances For

                                                            Under the canonical ranking (18), the two-Marys reading wins — BFP's (incorrect) prediction, driven by PRO-TOP over FAM-DEF.

                                                            Under the demoted ranking (21), the coreferential reading wins: FAM-DEF now outranks PRO-TOP, so introducing a second Mary costs more than leaving the topic unpronominalized.

                                                            ALIGN and Strube's cheapness #

                                                            theorem Beaver2004.align_eq_zero_iff {E R : Type} [DecidableEq E] [LinearOrder R] (prev : Discourse.Centering.Utterance E R) (c : Candidate E R) :
                                                            align prev c = 0 ↔ (Discourse.Centering.cb prev c.utt).isSome = true ∧ Discourse.Centering.cb prev c.utt = c.utt.cp

                                                            ALIGN is satisfied exactly when the topic is defined and is the current preferred center — the within-utterance analogue of [Str98]'s cheap transitions, which test the same shape against the previous Cp.