Gluing basic DRSs #
This file defines covers of a context — jointly surjective families of context morphisms — and
gluing of a family of local sections of a presheaf along a cover: a global section restricting to
each local one, the indexed form of Presieve.FamilyOfElements.IsAmalgamation for
Presieve.ofArrows. For the presheaf of basic DRSs the candidate gluing is the pushforward of the
local literals along the cover maps: every gluing contains it, it is the unique gluing when every
literal of the glued context factors through a cover map, and it glues outright when the local
vocabularies are pairwise disjoint and the cover maps injective. Read on DRSs, the pushforward is
the merge of the local DRSs after renaming — discourse representation theory's merge followed by
unification of referents.
Main definitions #
DRT.Cover,DRT.Cover.presieve: covers and their presieves.DRT.Cover.IsGluing: gluing of local sections of a presheaf along a cover.DRT.Cover.pushforward,DRT.Cover.Factors,DRT.Cover.glue: the candidate gluing, the factorization condition, and the gluing under disjoint vocabularies.
Main statements #
DRT.Cover.IsGluing.pushforward_subset,DRT.Cover.IsGluing.unique,DRT.Cover.isSeparatedFor_of_factors: the pushforward is the least gluing and the unique one under factorization.DRT.Cover.isGluing_glue,DRT.Cover.coe_conditions_toDRS_glue: under disjoint vocabularies and injective maps the pushforward glues, and its DRS is the merge of the renamed local DRSs.
References #
- [AS14]
- [mac-lane-moerdijk-1992]
s glues the family x over the cover: P(fᵢ)(s) = xᵢ for every i.
Equations
Instances For
The candidate gluing {±A(fᵢ(x̄)) | ±A(x̄) ∈ sᵢ}.
Equations
- C.pushforward x = Finset.univ.biUnion fun (i : ι) => Finset.image (DRT.Literal.map (C.map i)) (x i).lits
Instances For
Every literal over the glued context is the image of a literal over some part.
Equations
- C.Factors = ∀ (l : DRT.Literal c), ∃ (i : ι) (m : DRT.Literal (C.part i)), DRT.Literal.map (C.map i) m = l
Instances For
Gluings are unique for covers through which every literal factors.
With pairwise disjoint vocabularies and injective cover maps the pushforward is consistent.
Equations
- C.glue hdisj hinj x = { lits := C.pushforward x, consistent := ⋯ }
Instances For
Under disjoint vocabularies and injective cover maps the pushforward glues: the only obstruction to gluing is consistency, and it does not arise.
The referents of the glued DRS are those of the renamed local DRSs.
The conditions of the glued DRS are those of the renamed local DRSs, as a multiset: the pushforward is the merge of the local DRSs after unification of referents.