You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
theory Magma = ...
theory Monoid = include ?Magma ...
theory MagmaHom = {
structure dom : ?Magma
...
}
theory MonoidHom = {
include ?MagmaHom
structure dom : ?Monoid
...
}
Allow assigning the whole codomain to structure symbol in domain:
theory Magma = ...
view IdentityMagmaHom : ?MagmaHom -> ?Magma = {
dom = this // invent syntax for this
}
via API: construct mapping dom = OMIDENT(?Magma) (since dom is a morphism ?Monoid -> ?MonoidHom anyway)