Skip to content

feat(Algebra/Module): presentation of the PiTensorProduct - #26465

Draft
joelriou wants to merge 102 commits into
leanprover-community:masterfrom
joelriou:unbundled-module-presentation-pi-tensor
Draft

joelriou wants to merge 102 commits into
leanprover-community:masterfrom
joelriou:unbundled-module-presentation-pi-tensor

Conversation

@joelriou

@joelriou joelriou commented Jun 27, 2025 •

Copy link
Copy Markdown
Contributor

Given a presentation of a finite number of R-modules M i, we obtain a presentation of the module ⨂[R] i, M i.


This PR continues the work from #18527.

Original PR: #18527

joelriou and others added 30 commits October 27, 2024 17:42
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nite' into unbundled-module-presentation-tensor
@joelriou

Copy link
Copy Markdown
Contributor Author

Comments from Original PR #18527

This section contains 1 comment(s) from the original PR, excluding bot comments.


@github-actions (2024-11-01 16:05 UTC):

PR summary 69d7fa46b0

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.LinearAlgebra.PiTensorProduct -879
Mathlib.LinearAlgebra.PiTensorProduct.Basic 879
Mathlib.LinearAlgebra.PiTensorProduct.Generators (new file) 956
Mathlib.LinearAlgebra.PiTensorProduct.Finite (new file) 958
Mathlib.Algebra.Module.Presentation.PiTensor (new file) 1000

Declarations diff

+ Nat.card_compl_add_card
+ Nat.card_singleton_compl
+ Presentation.piTensor
+ _root_.MultilinearMap.ext_of_span_eq_top
+ embedding
+ embedding_apply_of_neq
+ embedding_apply_self
+ eq_presInd_var
+ equivTensorPiTensorComplSingleton
+ equivTensorPiTensorComplSingleton_symm_tmul
+ equivTensorPiTensorComplSingleton_tprod
+ ext_of_span_eq_top
+ extendCompSingleton_restriction
+ extendComplSingleton
+ extendComplSingleton_of_neq
+ extendComplSingleton_self
+ finite
+ isPresentationCore_induction_step
+ isPresentation_induction_step
+ isPresentation_of_isEmpty
+ presInd
+ presInd_var
+ submodule_span_eq_top
+ sumSingletonComplEquiv
+ sumSingletonComplEquiv_inl
+ sumSingletonComplEquiv_inr
+++ piTensor

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.


Increase in tech debt: (relative, absolute) = (7.00, 0.01)
Current number Change Type
915 7 erw

Current commit 69d7fa46b0
Reference commit 4a5bed5fc9

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@joelriou joelriou added the t-algebra Algebra (groups, rings, fields, etc) label Jun 27, 2025
@github-actions

github-actions Bot commented Jun 27, 2025 •

Copy link
Copy Markdown

PR summary 18f0325a8e

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Algebra.Module.Presentation.PiTensor (new file) 1070

Declarations diff (regex)

+ Presentation.piTensor
+ embedding
+ embedding_apply_of_neq
+ embedding_apply_self
+ eq_presInd_var
+ isPresentationCore_induction_step
+ isPresentation_induction_step
+ isPresentation_of_isEmpty
+ presInd
+ presInd_var
+++ piTensor

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean -- pending)

Computed after the build finishes.


Increase in strong tech debt: (relative, absolute) = (4.68, 0.01)
Current number Change Type (strong)
507 5 erw
4498 4 backward.defeqAttrib.useBackward
5667 2 backward.isDefEq.respectTransparency
No changes to weak technical debt.

Current commit 18f0325a8e
Reference commit 99e7e2c20b

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jun 27, 2025
joelriou added 3 commits June 27, 2025 10:13
…-generators' into unbundled-module-presentation-pi-tensor
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 27, 2025
@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 Jul 5, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 18, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@github-actions github-actions Bot removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) file-removed A Lean module was (re)moved without a `deprecated_module` annotation labels Jun 19, 2026
@joelriou joelriou added the WIP Work in progress label Jun 19, 2026
@joneugster
joneugster marked this pull request as draft September 19, 2026 16:45
@mathlib-bors

mathlib-bors Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in draft mode. No active bors state needed cleanup.

While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like bors r+ or bors try.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebra Algebra (groups, rings, fields, etc) WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants