Skip to content

[Merged by Bors] - feat(RepresentationTheory/Continuous): coinduction API for continuous representations - #45942

Closed
Whysoserioushah wants to merge 10 commits into
leanprover-community:masterfrom
Whysoserioushah:edison/contRep-basic
Closed

Whysoserioushah wants to merge 10 commits into
leanprover-community:masterfrom
Whysoserioushah:edison/contRep-basic

Conversation

@Whysoserioushah

@Whysoserioushah Whysoserioushah commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Split out of #41539 so that the changes to RepresentationTheory/Continuous/Basic.lean can be reviewed independently. The mathematics is unchanged from #41539 (authored by Richard Hill and Edison Xie).

  • ContIntertwiningMap.comp_id and ContIntertwiningMap.id_comp (simp).
  • ContRepresentation.apply_apply: π g (π h v) = π (g * h) v.
  • ContRepresentation.coind no longer assumes that the source group G is a topological group. Its @[simps] lemmas are replaced by the hand-written coind_apply_coe_apply (simp) and coind_apply_coe.
  • coind₁Res_id (simp) and coind₁ResMap_id.
  • The equivalence between coind₁ and coind is restated: if the action G × V → V is jointly continuous, then the coinduction along 1 : Unit →ₜ* G of the trivial representation on V is equivalent to π.coind₁ (coindEquivCoind₁). The underlying continuous linear equivalence is coindLEquivCoind₁, and the continuity of the twist f ↦ fun g ↦ π g (f g⁻¹) is continuous_coindEquivCoind₁_aux. This replaces coind₁Equivcoind, which was an equivalence between two representations of the trivial subgroup of G and had no users; the new name follows the direction of the equivalence, so no deprecation is provided.
  • Module docstring updated accordingly.

🤖 Generated with Claude Code

Whysoserioushah and others added 6 commits November 11, 2026 16:08
… representations

Split out of leanprover-community#41539. Adds `ContIntertwiningMap.comp_id`/`id_comp`,
`ContRepresentation.apply_apply`, `coind_apply_coe`/`coind_apply_coe_apply` (replacing
`@[simps]` on `coind`, which no longer requires `G` to be a topological group),
`coind₁Res_id`, `coind₁ResMap_id`, and replaces `coind₁Equivcoind` by `coindEquivCoind₁`,
an equivalence between the coinduction along `Unit →ₜ* G` of the trivial representation
and `π.coind₁`, assuming that the action `G × V → V` is jointly continuous.

Co-authored-by: Richard Hill <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

PR summary cbbf5235db

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ ContRepresentation.apply_inv_apply
+ apply_apply
+ coindEquivCoind₁
+ coindLEquivCoind₁
+ coind_apply_coe
+ coind_apply_coe_apply
+ coind₁ResMap_id
+ coind₁Res_id
+ comp_id
+ continuous_coindEquivCoind₁_aux
+ id_comp

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

  • +13 new declarations
  • −2 removed declarations
+ContIntertwiningMap.comp_id
+ContIntertwiningMap.id_comp
+ContRepresentation.apply_apply
+ContRepresentation.apply_inv_apply
+ContRepresentation.coindEquivCoind₁
+ContRepresentation.coindLEquivCoind₁
+ContRepresentation.coindLEquivCoind₁.congr_simp
+ContRepresentation.coindLEquivCoind₁_apply_apply
+ContRepresentation.coindLEquivCoind₁_symm_apply_coe_apply
+ContRepresentation.coind_apply_coe
+ContRepresentation.coind_apply_coe_apply
-ContRepresentation.coind_toMonoidHom_apply_apply_coe
+ContRepresentation.coind₁ResMap_id
+ContRepresentation.coind₁Res_id
-ContinuousLinearEquiv.ofEq.congr_simp

No changes to strong technical debt.
No changes to weak technical debt.

Current commit cbbf5235db
Reference commit 15cf10d19d

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

@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@Whysoserioushah Whysoserioushah added the LLM-generated PRs with substantial input from LLMs - review accordingly label Nov 12, 2026
@riccardobrasca riccardobrasca self-assigned this Nov 12, 2026
Whysoserioushah added a commit to rmhi/mathlib4 that referenced this pull request Nov 12, 2026
… rh_functoriality

Conflicts in Mathlib/RepresentationTheory/Continuous/Basic.lean resolved by taking the leanprover-community#45942 version of the file.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

/-- The equivalence between `coind₁` and `coind` of the trivial representation of trivial
subgroup of `G`. -/
def coind₁Equivcoind : (coind₁ (.trivial R (⊥ : Subgroup G) V)).Equiv

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think you should deprecate this anyway.

@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors d+

@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 16, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

✌️ Whysoserioushah can now approve this pull request until 2026-11-30 15:48 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/**, Wanted/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean, Wanted.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.

@Whysoserioushah

Copy link
Copy Markdown
Collaborator Author

bors r+

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Nov 16, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Nov 16, 2026
… representations (#45942)

Split out of #41539 so that the changes to `RepresentationTheory/Continuous/Basic.lean` can be reviewed independently. The mathematics is unchanged from #41539 (authored by Richard Hill and Edison Xie).

* `ContIntertwiningMap.comp_id` and `ContIntertwiningMap.id_comp` (simp).
* `ContRepresentation.apply_apply`: `π g (π h v) = π (g * h) v`.
* `ContRepresentation.coind` no longer assumes that the source group `G` is a topological group. Its `@[simps]` lemmas are replaced by the hand-written `coind_apply_coe_apply` (simp) and `coind_apply_coe`.
* `coind₁Res_id` (simp) and `coind₁ResMap_id`.
* The equivalence between `coind₁` and `coind` is restated: if the action `G × V → V` is jointly continuous, then the coinduction along `1 : Unit →ₜ* G` of the trivial representation on `V` is equivalent to `π.coind₁` (`coindEquivCoind₁`). The underlying continuous linear equivalence is `coindLEquivCoind₁`, and the continuity of the twist `f ↦ fun g ↦ π g (f g⁻¹)` is `continuous_coindEquivCoind₁_aux`. This replaces `coind₁Equivcoind`, which was an equivalence between two representations of the trivial subgroup of `G` and had no users; the new name follows the direction of the equivalence, so no deprecation is provided.
* Module docstring updated accordingly.

- [x] depends on: #45907 (for `ContinuousMap.continuous_prodMk`)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Whysoserioushah <[email protected]>
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Nov 16, 2026
Whysoserioushah added a commit to rmhi/mathlib4 that referenced this pull request Nov 16, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(RepresentationTheory/Continuous): coinduction API for continuous representations [Merged by Bors] - feat(RepresentationTheory/Continuous): coinduction API for continuous representations Nov 16, 2026
@mathlib-bors mathlib-bors Bot closed this Nov 16, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. LLM-generated PRs with substantial input from LLMs - review accordingly ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants