Skip to content

chore(AlgebraicTopology/FundamentalGroupoid): deprecate transReflReparamAux in favor of qRight - #44584

Open
CBirkbeck wants to merge 5 commits into
leanprover-community:masterfrom
CBirkbeck:redteam/dup-trans-refl-reparam
Open

CBirkbeck wants to merge 5 commits into
leanprover-community:masterfrom
CBirkbeck:redteam/dup-trans-refl-reparam

Conversation

@CBirkbeck

@CBirkbeck CBirkbeck commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Deprecate Path.Homotopy.transReflReparamAux and its lemmas: the function is fun t ↦ unitInterval.qRight (t, 0), which trans_refl_reparam and transRefl now use.


🤖 Generated with Claude Code

CBirkbeck and others added 3 commits October 7, 2026 08:37
…ansRefl` by `qRight`

`Path.Homotopy.transReflReparamAux` is `fun t ↦ (unitInterval.qRight (t, 0) : ℝ)`
(see `unitInterval.qRight_zero_right`), and `trans_refl_reparam` is
`Path.delayReflRight_zero` read backwards. Restate `trans_refl_reparam` and `transRefl`
with `fun t ↦ qRight (t, 0)`, and deprecate `transReflReparamAux` and its four lemmas.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add a docstring to `trans_refl_reparam`, use dot notation in its proof, and say in the
docstring of `transRefl` which homotopy it is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

PR summary 00f44efd90

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.AlgebraicTopology.FundamentalGroupoid.Basic 1583 1584 +1 (+0.06%)
Import changes for all files
Files Import difference
12 files Mathlib.AlgebraicTopology.FundamentalGroupoid.Basic Mathlib.AlgebraicTopology.FundamentalGroupoid.FundamentalGroup Mathlib.AlgebraicTopology.FundamentalGroupoid.InducedMaps Mathlib.AlgebraicTopology.FundamentalGroupoid.PUnit Mathlib.AlgebraicTopology.FundamentalGroupoid.Product Mathlib.AlgebraicTopology.FundamentalGroupoid.SimplyConnected Mathlib.Analysis.Complex.BranchLogRoot Mathlib.Analysis.Complex.RiemannMapping Mathlib.Topology.Covering.FundamentalGroupCircle Mathlib.Topology.Homotopy.HomotopyGroup Mathlib.Topology.Homotopy.Lifting Mathlib.Topology.Subpath
1

Declarations diff (regex)

No declarations were harmed in the making of this PR! 🐙

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

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


Decrease in strong tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (strong)
2183 -1 backward.isDefEq.respectTransparency.types
No changes to weak technical debt.

Current commit 00f44efd90
Reference commit 21f7d1b51b

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

@github-actions github-actions Bot added the t-algebraic-topology Algebraic topology label Oct 7, 2026
@CBirkbeck CBirkbeck added the LLM-generated PRs with substantial input from LLMs - review accordingly label Oct 7, 2026
@CBirkbeck
CBirkbeck marked this pull request as ready for review October 30, 2026 15:12
@CBirkbeck
CBirkbeck requested a review from tb65536 October 30, 2026 15:12
CBirkbeck and others added 2 commits October 30, 2026 15:47
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@tb65536 tb65536 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.

This seems reasonable, but I don't know this corner of the library well enough to feel comfortable merging this myself.

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-algebraic-topology Algebraic topology 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