Documentation

Linglib.Core.Time.Relation

Point temporal relations #

The point analogue of AllenRelation (which operates on intervals). A Relation is a domain-flavored selector over the standard partition of pairs of times: before, after, overlapping, ≤, ≥, unrestricted.

Used by tense (past/present/future via Core.Time.Tense.GramTense.toRelation), evidential semantics (EPCondition.toRelation), and modal-base time analyses (MBTProfile.toRelation in Huijsmans 2025) — each domain provides a name for one shape from the same partition.

Temporal relation type for tense operators. Relates two times (typically event time and reference/speech time). The point analogue of AllenRelation (which operates on intervals).

Instances For
    @[implicit_reducible]
    Equations
    def Core.Time.instReprRelation.repr :
    RelationStd.Format
    Equations
    Instances For
      @[implicit_reducible]
      Equations
      def Core.Time.Relation.eval {Time : Type u_1} [LinearOrder Time] :
      RelationTimeTimeProp

      Evaluate a temporal relation on two times

      Equations
      Instances For
        @[implicit_reducible]
        instance Core.Time.Relation.instDecidableEvalOfDecidableEq {Time : Type u_1} [LinearOrder Time] [DecidableEq Time] (r : Relation) (t₁ t₂ : Time) :
        Decidable (r.eval t₁ t₂)
        Equations
        • One or more equations did not get rendered due to their size.