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

Add initial commutative algebra #664

Merged
merged 6 commits into from
Dec 17, 2021
Merged

Conversation

felixwellen
Copy link
Collaborator

Add the initial commutative R-Algebra, which is just R itself and prove its universal property.

Copy link
Collaborator

@mortberg mortberg left a comment

Choose a reason for hiding this comment

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

Lots of small suggestions

Cubical/Algebra/CommAlgebra/Base.agda Outdated Show resolved Hide resolved
Cubical/Algebra/CommAlgebra/Base.agda Show resolved Hide resolved
Cubical/Algebra/CommAlgebra/Instances/Initial.agda Outdated Show resolved Hide resolved
Cubical/Algebra/CommAlgebra/Instances/Initial.agda Outdated Show resolved Hide resolved
initial : CommAlgebra (R , str) ℓ
initial =
let open CommRingStr str
in (R , commalgebrastr _ _ _ _ _ (λ r x → r · x)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use copatterns

Cubical/Algebra/CommAlgebra/Instances/Initial.agda Outdated Show resolved Hide resolved
Cubical/Algebra/CommAlgebra/Instances/Initial.agda Outdated Show resolved Hide resolved
Cubical/Algebra/CommAlgebra/Instances/Initial.agda Outdated Show resolved Hide resolved
@felixwellen
Copy link
Collaborator Author

Sorry for the mess! I should look closer, when porting old code...

@mortberg mortberg merged commit eebe1e8 into agda:master Dec 17, 2021
@felixwellen felixwellen deleted the initial-algebra branch December 20, 2021 13:46
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.

None yet

2 participants