Skip to content

chore: remove transparency set_options in SimpleGraph, part 2 - #45453

Open
Parcly-Taxel wants to merge 8 commits into
leanprover-community:masterfrom
Parcly-Taxel:kill-set-option-graph-2
Open

Parcly-Taxel wants to merge 8 commits into
leanprover-community:masterfrom
Parcly-Taxel:kill-set-option-graph-2

Conversation

@Parcly-Taxel

@Parcly-Taxel Parcly-Taxel commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

More fixes from #45430.

  • ConnectedComponent.lift now has Reachable in its hypotheses, which allows removing a set_option.
  • There was a long-standing typo in the statement of Walk.ofBoxProdRight_boxProdRight, which has been corrected. Equational lemmas for Walk.ofBoxProd{Left,Right} have been added too.
  • The golfed proof of free_killCopies was done by GPT-6.1 Sol, then hand-optimised.

@Parcly-Taxel Parcly-Taxel added t-combinatorics Combinatorics tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip labels Oct 29, 2026
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

PR summary f2886c39ad

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ ofBoxProdLeft_cons
+ ofBoxProdLeft_nil
+ ofBoxProdRight_cons
+ ofBoxProdRight_nil

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

  • +5 new declarations
  • −0 removed declarations
+SimpleGraph.ConnectedComponent.lift.congr_simp
+SimpleGraph.Walk.ofBoxProdLeft_cons
+SimpleGraph.Walk.ofBoxProdLeft_nil
+SimpleGraph.Walk.ofBoxProdRight_cons
+SimpleGraph.Walk.ofBoxProdRight_nil

Decrease in strong tech debt: (relative, absolute) = (1.83, 0.00)
Current number Change Type (strong)
1739 -1 backward.defeqAttrib.useBackward
3496 -5 backward.isDefEq.respectTransparency
1958 -1 backward.isDefEq.respectTransparency.types
No changes to weak technical debt.

Current commit f2886c39ad
Reference commit 8ec7bd8e5f

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

@Parcly-Taxel Parcly-Taxel added the LLM-generated PRs with substantial input from LLMs - review accordingly label Oct 29, 2026
@github-actions github-actions Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026
@Parcly-Taxel Parcly-Taxel removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 27, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 27, 2026

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

LLM-generated PRs with substantial input from LLMs - review accordingly t-combinatorics Combinatorics tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants