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)
via surface syntax: try dom = ?S
The text was updated successfully, but these errors were encountered:
Allow extending structure domains
Allow assigning the whole codomain to structure symbol in domain:
dom = OMIDENT(?Magma)
(sincedom
is a morphism?Monoid -> ?MonoidHom
anyway)dom = ?S
The text was updated successfully, but these errors were encountered: