Failed attempt to replace ℤ with an extra type parameter.#6
Draft
eric-wieser wants to merge 1 commit intopygae:masterfrom
Draft
Failed attempt to replace ℤ with an extra type parameter.#6eric-wieser wants to merge 1 commit intopygae:masterfrom
eric-wieser wants to merge 1 commit intopygae:masterfrom
Conversation
5b512e5 to
13b0946
Compare
eric-wieser
commented
Jul 3, 2020
| [ring (A 0)] | ||
| [module (A 0) G] := | ||
| (select : G →ₗ[A 0] (Π₀ r, A r)) | ||
| (select : linear_map (A 0) G (Π₀ r, A r)) |
Member
Author
There was a problem hiding this comment.
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.
eric-wieser
commented
Jul 3, 2020
| (A : ι → Type u) (G: Type u) | ||
| [graded_module_components A] | ||
| [add_comm_group G] | ||
| [ring (A 0)] |
Member
Author
There was a problem hiding this comment.
Without this line, module (A 0) G below would fail, even though this should be implied by graded_module_components.zc?
13b0946 to
bbaf7e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For now, we probably want to build on top of this limited to ℕ anyway.
This does not build any more...