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

feat(CategoryTheory/Limits/Shapes/Preorder): principal segments #21055

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

joelriou
Copy link
Collaborator

@joelriou joelriou commented Jan 25, 2025

In the study of well order continuous functors, we now use the initial/principal segment API from order theory.


Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Jan 25, 2025
Copy link

github-actions bot commented Jan 25, 2025

PR summary 97a7aca2cf

Import changes exceeding 2%

% File
+2.35% Mathlib.CategoryTheory.Limits.Shapes.Preorder.WellOrderContinuous
+2.34% Mathlib.CategoryTheory.SmallObject.TransfiniteCompositionLifting

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.Limits.Shapes.Preorder.WellOrderContinuous 469 480 +11 (+2.35%)
Mathlib.CategoryTheory.SmallObject.TransfiniteCompositionLifting 471 482 +11 (+2.34%)
Mathlib.CategoryTheory.Limits.Shapes.Preorder.HasIterationOfShape 598 608 +10 (+1.67%)
Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Limits.Shapes.Preorder.HasIterationOfShape 10
3 files Mathlib.CategoryTheory.Limits.Shapes.Preorder.WellOrderContinuous Mathlib.CategoryTheory.MorphismProperty.TransfiniteComposition Mathlib.CategoryTheory.SmallObject.TransfiniteCompositionLifting
11
Mathlib.Order.Interval.Set.InitialSeg (new file) 382
Mathlib.CategoryTheory.Limits.Shapes.Preorder.PrincipalSeg (new file) 430

Declarations diff

+ PrincipalSeg.cocone
+ PrincipalSeg.orderIsoIio
+ hasColimitsOfShape_of_initialSeg
+ hasColimitsOfShape_of_isSuccLimit'
+ hasIterationOfShape_of_initialSeg
+ initialSegIic
+ initialSegIicIicOfLE
+ instance (F : J ⥤ C) {J' : Type w'} [PartialOrder J'] (e : J' ≃o J)
+ instance (F : J ⥤ C) {J' : Type w'} [PartialOrder J'] (f : J' ≤i J)
+ isColimitOfIsWellOrderContinuous'
+ principalSegIio
+ principalSegIioIicOfLE
+ principalSegIioIicOfLE_toRelEmbedding
- coconeLT
- restrictionLT

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.


No changes to technical debt.

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).

@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 26, 2025
@joelriou joelriou added the t-order Order theory label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large-import Automatically added label for PRs with a significant increase in transitive imports t-category-theory Category theory t-order Order theory WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant