Skip to content

[Merged by Bors] - feat: port Data.List.BigOperators.Basic#1380

Closed
jcommelin wants to merge 18 commits intomasterfrom
port/Data.List.BigOperators.Basic
Closed

[Merged by Bors] - feat: port Data.List.BigOperators.Basic#1380
jcommelin wants to merge 18 commits intomasterfrom
port/Data.List.BigOperators.Basic

Conversation

@jcommelin
Copy link
Copy Markdown
Member

  • Initial file copy from mathport
  • Mathbin -> Mathlib; add import to Mathlib.lean

@hrmacbeth hrmacbeth added the mathlib-port This is a port of a theory file from mathlib. label Jan 6, 2023
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Jan 7, 2023

The remaining errors are from to_additive not finding additivized versions of auxiliary lemmas:

./././Mathlib/Data/List/BigOperators/Basic.lean:139:2: error: application type mismatch
  Mathlib.Algebra.Group.Units._auxLemma.22
argument has type
  AddMonoid M
but function has type
  ∀ [inst : Monoid M], IsUnit 1 = True
./././Mathlib/Data/List/BigOperators/Basic.lean:147:2: error: (kernel) unknown constant 'List.sum_isAddUnit'
./././Mathlib/Data/List/BigOperators/Basic.lean:232:2: error: application type mismatch
  Mathlib.Algebra.Group.Commute._auxLemma.8
argument has type
  AddZeroClass M
but function has type
  ∀ [inst : MulOneClass M] (a : M), Commute a 1 = True
./././Mathlib/Data/List/BigOperators/Basic.lean:242:2: error: (kernel) unknown constant 'AddCommute.list_sum_right'
./././Mathlib/Data/List/BigOperators/Basic.lean:400:2: error: application type mismatch
  Mathlib.Algebra.Group.Basic._auxLemma.9
argument has type
  InvolutiveNeg G
but function has type
  ∀ [inst : InvolutiveInv G], Function.Involutive Inv.inv = True

@fpvandoorn, would you have a moment to look at this?

@kim-em kim-em requested a review from fpvandoorn January 7, 2023 02:31
@fpvandoorn
Copy link
Copy Markdown
Member

Everything that mentions _auxLemma is almost certainly #1149, fixed by #1314

casavaca added a commit that referenced this pull request Jan 8, 2023
Fix obvious build failures.

WIP
Copy link
Copy Markdown
Member

@hrmacbeth hrmacbeth 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+

@bors
Copy link
Copy Markdown

bors bot commented Jan 9, 2023

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

@kim-em kim-em added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jan 9, 2023
@jcommelin
Copy link
Copy Markdown
Member Author

bors r+

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jan 10, 2023
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- Initial file copy from mathport
- Mathbin -> Mathlib; add import to Mathlib.lean


Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented Jan 10, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Data.List.BigOperators.Basic [Merged by Bors] - feat: port Data.List.BigOperators.Basic Jan 10, 2023
@bors bors bot closed this Jan 10, 2023
@bors bors bot deleted the port/Data.List.BigOperators.Basic branch January 10, 2023 07:41
casavaca added a commit that referenced this pull request Jan 10, 2023
Fix obvious build failures.

WIP
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
Co-authored-by: zeramorphic <50671761+zeramorphic@users.noreply.github.com>
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
bors bot pushed a commit that referenced this pull request Jan 10, 2023
- [x] depends on #1380 

Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
jcommelin added a commit that referenced this pull request Jan 23, 2023
- Initial file copy from mathport
- Mathbin -> Mathlib; add import to Mathlib.lean


Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
jcommelin added a commit that referenced this pull request Jan 23, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
jcommelin added a commit that referenced this pull request Jan 23, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
Co-authored-by: zeramorphic <50671761+zeramorphic@users.noreply.github.com>
jcommelin added a commit that referenced this pull request Jan 23, 2023
- [x] depends on: #1380

Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: thirdsgames <thirdsgames2018@gmail.com>
Co-authored-by: zeramorphic <zeramorphic@proton.me>
jcommelin pushed a commit that referenced this pull request Jan 23, 2023
- [x] depends on #1380 

Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants