Skip to content

chore(Combinatorics/Graph): per def "expose" tag#38384

Open
Jun2M wants to merge 10 commits intoleanprover-community:masterfrom
Jun2M:GraphBasicExpose
Open

chore(Combinatorics/Graph): per def "expose" tag#38384
Jun2M wants to merge 10 commits intoleanprover-community:masterfrom
Jun2M:GraphBasicExpose

Conversation

@Jun2M
Copy link
Copy Markdown
Collaborator

@Jun2M Jun2M commented Apr 22, 2026

Combinatorics/Graph/Basic.lean has a file-wide expose tag. This PR moves it to defs that requires them.


Open in Gitpod

@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 22, 2026
@github-actions
Copy link
Copy Markdown

PR summary d2a1d69b85

Import changes exceeding 2%

% File
+53.07% Mathlib.Combinatorics.Graph.Basic
+52.03% Mathlib.Combinatorics.Graph.Subgraph

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Combinatorics.Graph.Basic 488 747 +259 (+53.07%)
Mathlib.Combinatorics.Graph.Subgraph 492 748 +256 (+52.03%)
Mathlib.Topology.CWComplex.Classical.Graph 1413 1440 +27 (+1.91%)
Import changes for all files
Files Import difference
Mathlib.Topology.CWComplex.Classical.Graph 27
3 files Mathlib.Combinatorics.Graph.Delete Mathlib.Combinatorics.Graph.Lattice Mathlib.Combinatorics.Graph.Subgraph
256
Mathlib.Combinatorics.Graph.Basic 259

Declarations diff

+ Adj.exists
+ IsLoopAt.isLink
+ adj_iff
+ inc_iff_isLoopAt_or_isNonloopAt

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

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

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


No changes to technical debt.

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
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

@Jun2M Jun2M changed the title Chore(Combinatorics/Graph): per def "expose" tag chore(Combinatorics/Graph): per def "expose" tag Apr 22, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant