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

[Merged by Bors] - feat: Incidence algebras #8900

Closed
wants to merge 5 commits into from
Closed

Conversation

YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Dec 8, 2023

Define incidence algebras

From LeanCamCombi

Co-authored-by: Alex J. Best alex.j.best@gmail.com


Open in Gitpod

@fpvandoorn fpvandoorn added the awaiting-author A reviewer has asked the author a question or requested changes label Apr 5, 2024
@grunweg grunweg added the t-combinatorics Combinatorics label Aug 15, 2024
@YaelDillies YaelDillies changed the title feat: Kneser's addition theorem feat: Incidence algebras Oct 4, 2024
@YaelDillies YaelDillies added t-algebra Algebra (groups, rings, fields, etc) t-order Order theory and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

PR summary e755ff8535

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Combinatorics.Enumerative.IncidenceAlgebra 736

Declarations diff

+ Icc_orderDual_def
+ Ici_orderDual_def
+ Ico_orderDual_def
+ Iic_orderDual_def
+ Iio_orderDual_def
+ IncidenceAlgebra
+ Ioc_orderDual_def
+ Ioi_orderDual_def
+ Ioo_orderDual_def
+ add_apply
+ algebraRight
+ apply_eq_zero_of_not_le
+ coe_add
+ coe_constSMul
+ coe_inj
+ coe_mk
+ coe_neg
+ coe_sub
+ coe_zero
+ constSMul_apply
+ ext
+ instAdd
+ instAddCommGroup
+ instAddCommMonoid
+ instAddGroup
+ instAddMonoid
+ instFunLike
+ instInhabited
+ instIsScalarTower
+ instMul
+ instNeg
+ instNonAssocSemiring
+ instNonUnitalNonAssocSemiring
+ instOne
+ instRing
+ instSMul
+ instSemiring
+ instSmulZeroClassRight
+ instSub
+ instZero
+ instance [Preorder α] [LocallyFiniteOrder α] [DecidableEq α] [Semiring 𝕜] [Semiring 𝕝]
+ lambda
+ le_of_ne_zero
+ mk_coe
+ moduleRight
+ moebius_inversion_bot
+ moebius_inversion_top
+ mu
+ mu_apply
+ mu_eq_neg_sum_Ico_of_ne
+ mu_eq_neg_sum_Ioc_of_ne
+ mu_mul_zeta
+ mu_ofDual
+ mu_prod_mu
+ mu_self
+ mu_toDual
+ mul_apply
+ neg_apply
+ one_apply
+ one_prod_one
+ prod
+ prod_apply
+ prod_mk
+ prod_mul_prod
+ prod_mul_prod'
+ smulWithZeroRight
+ smul_apply
+ sub_apply
+ sum_Icc_mu_left
+ sum_Icc_mu_right
+ toFun_eq_coe
+ zero_apply
+ zeta
+ zeta_apply
+ zeta_mul_kappa
+ zeta_mul_mu
+ zeta_mul_zeta
+ zeta_of_le
+ zeta_prod_apply
+ zeta_prod_mk
+ zeta_prod_zeta

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
Mathlib/Algebra/Order/Incidence.lean Outdated Show resolved Hide resolved
@b-mehta b-mehta added the awaiting-author A reviewer has asked the author a question or requested changes label Oct 17, 2024
@YaelDillies YaelDillies removed the awaiting-author A reviewer has asked the author a question or requested changes label Oct 18, 2024
Comment on lines 12 to 17
/-! -/
-- fake module docstring just so that I can disable the long line linter without getting linted for
-- a missing module docstring!

set_option linter.style.longLine false in
/-!
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@grunweg, you might want to investigate 😇

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good question! @damiano You are the expert on this part - with the header linter, what's the best way to silence the linter here? One should certainly be able to do (untested)

set_option linter.style header false in
set_option linter.style.longLine false in
stuff

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To be clear, I would be even happier if #8900 (comment) didn't trigger the long line linter at all


* [Aigner, *Combinatorial Theory, Chapter IV*][aigner1997]
* [Jacobson, *Basic Algebra I, 8.6*][jacobson1989]
* [Doubilet, Rota, Stanley, *On the foundations of Combinatorial Theory VI*][doubilet_rota_stanley_vi]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the line that's too long

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 21, 2024
YaelDillies and others added 2 commits October 21, 2024 21:48
Define incidence algebras

From LeanCamCombi

Co-authored-by: Alex J. Best <alex.j.best@gmail.com>
@YaelDillies YaelDillies removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-algebra Algebra (groups, rings, fields, etc) t-order Order theory labels Oct 21, 2024
Co-authored-by: Bhavik Mehta <bhavikmehta8@gmail.com>
Copy link
Contributor

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 10, 2024

✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@YaelDillies
Copy link
Collaborator Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Nov 11, 2024
Define incidence algebras

From LeanCamCombi

Co-authored-by: Alex J. Best <alex.j.best@gmail.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 11, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: Incidence algebras [Merged by Bors] - feat: Incidence algebras Nov 11, 2024
@mathlib-bors mathlib-bors bot closed this Nov 11, 2024
@mathlib-bors mathlib-bors bot deleted the kneser branch November 11, 2024 18:30
@@ -2035,6 +2067,19 @@ @Book{ Jacobson1956
zbl = {0073.02002}
}

@Book{ jacobson1989,
author = {Jacobson, Nathan},
title = {Basic algebra. {II}},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be Basic Algebra I?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for spotting! I've opened #19027

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

Successfully merging this pull request may close these issues.

7 participants