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
I am working on a GAT for exterior calculus that will provide a symbolic frontend to the DEC machinery in this package. It would be neat have a theory that works in arbitrary integer dimension, something like:
However, using Julia integers in GATs is currently not fully supported by Catlab, so the above code does not work.
Alternatively, one could axiomatize the integers within the GAT itself, such as in this paper. As a GAT, this might look like:
@theory Integers begin
ℤ::TYPEzero()::ℤsucc(n::ℤ)::ℤpred(n::ℤ)::ℤpred(succ(n)) == n ⊣ (n::ℤ)
succ(pred(n)) == n ⊣ (n::ℤ)
end
Frankly that seems more trouble than its worth. Instead, we should improve upstream support for mixing certain basic Julia types with GATs and then revisit this issue.
The text was updated successfully, but these errors were encountered:
epatters
changed the title
GAT for exterior calculus of all dimensions
GAT for exterior calculus in arbitrary dimension
Apr 26, 2021
I am working on a GAT for exterior calculus that will provide a symbolic frontend to the DEC machinery in this package. It would be neat have a theory that works in arbitrary integer dimension, something like:
However, using Julia integers in GATs is currently not fully supported by Catlab, so the above code does not work.
Alternatively, one could axiomatize the integers within the GAT itself, such as in this paper. As a GAT, this might look like:
Frankly that seems more trouble than its worth. Instead, we should improve upstream support for mixing certain basic Julia types with GATs and then revisit this issue.
The text was updated successfully, but these errors were encountered: