Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed attempt to replace ℤ with an extra type parameter. #6

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jul 3, 2020

For now, we probably want to build on top of this limited to ℕ anyway.

This does not build any more...

@eric-wieser eric-wieser force-pushed the failed-inference branch 2 times, most recently from 5b512e5 to 13b0946 Compare July 3, 2020 09:00
[module (A 0) G] :=
(select : G →ₗ[A 0] (Π₀ r, A r))
(select : linear_map (A 0) G (Π₀ r, A r))
Copy link
Member Author

@eric-wieser eric-wieser Jul 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With or without this line change,

failed to synthesize type class instance for
ι : Type u,
_inst_1 : has_zero ι,
A : ι → Type u,
G : Type u,
_inst_2 : graded_module_components A,
_inst_3 : add_comm_group G,
_inst_4 : ring (A 0),
_inst_5 : module (A 0) G
⊢ semimodule (A 0) (Π₀ (r : ι), A r)

For now, we probably want to build on top of this limited to ℕ anyway.
[graded_module_components A]
[add_comm_group G]
[ring (A 0)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this line, module (A 0) G below would fail, even though this should be implied by graded_module_components.zc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant