Skip to content

[Merged by Bors] - feat(Combinatorics/SimpleGraph/Basic): more neighborSet and IsIsolated lemmas - #38747

Closed
SnirBroshi wants to merge 8 commits into
leanprover-community:masterfrom
SnirBroshi:feature/simple-graph/neighborset-isolated-lemmas
Closed

SnirBroshi wants to merge 8 commits into
leanprover-community:masterfrom
SnirBroshi:feature/simple-graph/neighborset-isolated-lemmas

Conversation

@SnirBroshi

@SnirBroshi SnirBroshi commented Apr 30, 2026 •

Copy link
Copy Markdown
Collaborator

neighborSet_mono moved from Maps.lean to Basic.lean with a simpler proof

Open in Gitpod

@github-actions

github-actions Bot commented Apr 30, 2026 •

Copy link
Copy Markdown

PR summary 0e7e2f3843

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ Adj.nontrivial
+ Adj.not_isIsolated_left
+ Adj.not_isIsolated_right
+ IsIsolated.of_subsingleton
+ commonNeighbors_bot_eq
+ eq_bot_iff_isIsolated
+ exists_adj_iff_not_isIsolated
+ isIsolated_bot
+ neighborSet_bot
+ neighborSet_mono
+ neighborSet_ne_univ
+ neighborSet_subset_compl
+ neighborSet_top
+ nonempty_neighborSet
+ nontrivial_of_not_isIsolated
+ notMem_support_iff_isIsolated
- _root_.SimpleGraph.neighborSet_mono

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)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 0e7e2f3).

  • +15 new declarations
  • −0 removed declarations
+SimpleGraph.Adj.nontrivial
+SimpleGraph.Adj.not_isIsolated_left
+SimpleGraph.Adj.not_isIsolated_right
+SimpleGraph.IsIsolated.of_subsingleton
+SimpleGraph.commonNeighbors_bot_eq
+SimpleGraph.eq_bot_iff_isIsolated
+SimpleGraph.exists_adj_iff_not_isIsolated
+SimpleGraph.isIsolated_bot
+SimpleGraph.neighborSet_bot
+SimpleGraph.neighborSet_ne_univ
+SimpleGraph.neighborSet_subset_compl
+SimpleGraph.neighborSet_top
+SimpleGraph.nonempty_neighborSet
+SimpleGraph.nontrivial_of_not_isIsolated
+SimpleGraph.notMem_support_iff_isIsolated

No changes to strong technical debt.

No changes to weak technical debt.

Current commit 0e7e2f3843
Reference commit 6923f2f175

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 t-combinatorics Combinatorics label Apr 30, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request May 3, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request May 23, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request May 26, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request May 30, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request Jun 12, 2026

@b-mehta b-mehta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

bors d+

@mathlib-bors

mathlib-bors Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

✌️ SnirBroshi can now approve this pull request until 2026-06-26 17:38 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@mathlib-triage mathlib-triage Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jun 12, 2026
@SnirBroshi

Copy link
Copy Markdown
Collaborator Author

Thanks!

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Jun 14, 2026
@mathlib-bors

mathlib-bors Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Combinatorics/SimpleGraph/Basic): more neighborSet and IsIsolated lemmas [Merged by Bors] - feat(Combinatorics/SimpleGraph/Basic): more neighborSet and IsIsolated lemmas Jun 14, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 14, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request Jun 15, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request Jun 17, 2026
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request Jun 18, 2026
ReemMelamed pushed a commit to ReemMelamed/mathlib4 that referenced this pull request Jun 20, 2026
bryangingechen pushed a commit to jcommelin/mathlib4 that referenced this pull request Jun 22, 2026
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request Jun 30, 2026
b-mehta added a commit to b-mehta/mathlib4 that referenced this pull request Jul 19, 2026
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). t-combinatorics Combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants