I have two theories B and C both including a common theory A. My goal is to specify a view BC: B → C in a convenient way without providing mappings for all constants in A.
fixmeta ur:?LF ❚
theory A =
a : type ❙
❚
theory B =
include ?A ❙
b : type ❙
❚
theory C =
include ?A ❙
c : type ❙
❚
view BC : ?B → ?C =
// do I need to map all constants of A here? ❙
b = c ❙
❚
Currently, BC is not total, e.g. the constant a from A has no mapping.
I would like to not have to care about A when defining BC and just map every constant in the A from B to the identical constant in A from C.
Is this possible? Is there some sort of identity-view from A to A that can just be included into BC?