Skip to content

[Merged by Bors] - feat: a few misc results about open (quotient) maps - #40715

Closed
ADedecker wants to merge 13 commits into
leanprover-community:masterfrom
ADedecker:AD_prodMap_iff_no_strict
Closed

ADedecker wants to merge 13 commits into
leanprover-community:masterfrom
ADedecker:AD_prodMap_iff_no_strict

Conversation

@ADedecker

@ADedecker ADedecker commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

In particular, we upgrade IsOpen[Quotient]Map.prodMap to an iff when both factors are nonempty.


Open in Gitpod

@ADedecker ADedecker added easy < 20s of review time. See the lifecycle page for guidelines. t-topology Topological spaces, uniform spaces, metric spaces, filters labels Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown

PR summary b6088a16c9

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.Homeomorph.Defs 505 506 +1 (+0.20%)
Mathlib.Topology.Constructions.SumProd 507 508 +1 (+0.20%)
Import changes for all files
Files Import difference
48 files Mathlib.Combinatorics.Compactness Mathlib.Combinatorics.SimpleGraph.UnitDistance.Basic Mathlib.Data.Analysis.Topology Mathlib.Dynamics.TopologicalEntropy.DynamicalEntourage Mathlib.MeasureTheory.Constructions.Cylinders Mathlib.Topology.Algebra.ContinuousMonoidHom Mathlib.Topology.Algebra.Group.Defs Mathlib.Topology.Algebra.Indicator Mathlib.Topology.Algebra.Monoid.Defs Mathlib.Topology.Bases Mathlib.Topology.Clopen Mathlib.Topology.Coherent Mathlib.Topology.Compactness.Bases Mathlib.Topology.Compactness.Compact Mathlib.Topology.Compactness.Lindelof Mathlib.Topology.Compactness.LocallyCompact Mathlib.Topology.Compactness.LocallyFinite Mathlib.Topology.Compactness.SigmaCompact Mathlib.Topology.Constructions.SumProd Mathlib.Topology.Constructions Mathlib.Topology.ContinuousOn Mathlib.Topology.EMetricSpace.Defs Mathlib.Topology.FiberBundle.IsHomeomorphicTrivialBundle Mathlib.Topology.GDelta.Basic Mathlib.Topology.Hom.ContinuousEvalConst Mathlib.Topology.Hom.ContinuousEval Mathlib.Topology.Homeomorph.Defs Mathlib.Topology.Homeomorph.TransferInstance Mathlib.Topology.Instances.Shrink Mathlib.Topology.List Mathlib.Topology.LocallyClosed Mathlib.Topology.LocallyFinite Mathlib.Topology.MetricSpace.Defs Mathlib.Topology.MetricSpace.Pseudo.Constructions Mathlib.Topology.MetricSpace.Pseudo.Defs Mathlib.Topology.NhdsWithin Mathlib.Topology.OpenPartialHomeomorph.Defs Mathlib.Topology.Order.LeftRight Mathlib.Topology.Order.LocalExtr Mathlib.Topology.PartialHomeomorph.Defs Mathlib.Topology.Piecewise Mathlib.Topology.PreorderRestrict Mathlib.Topology.Semicontinuity.Defs Mathlib.Topology.SmallInductiveDimension Mathlib.Topology.UniformSpace.Basic Mathlib.Topology.UniformSpace.Compact Mathlib.Topology.UniformSpace.DiscreteUniformity Mathlib.Topology.UniformSpace.Ultra.Basic
1

Declarations diff (regex)

+ comp_isOpenQuotientMap_iff
+ continuousAt_prodMap_iff
+ continuous_prodMap_iff
+ isOpenMap_iff
+ isOpenMap_prodMap_iff
+ isOpenQuotientMap_fst
+ isOpenQuotientMap_prodMap_iff
+ isOpenQuotientMap_snd
+ isOpenQuotient_comp_iff
+ of_comp_iff
++ of_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 b6088a1).

  • +12 new declarations
  • −0 removed declarations
+Homeomorph.comp_isOpenQuotientMap_iff
+Homeomorph.isOpenQuotient_comp_iff
+IsOpenMap.of_comp
+IsOpenQuotientMap.isOpenMap_iff
+IsOpenQuotientMap.of_comp
+IsOpenQuotientMap.of_comp_iff
+continuousAt_prodMap_iff
+continuous_prodMap_iff
+isOpenMap_prodMap_iff
+isOpenQuotientMap_fst
+isOpenQuotientMap_prodMap_iff
+isOpenQuotientMap_snd

No changes to strong technical debt.

No changes to weak technical debt.

Current commit b6088a16c9
Reference commit 06e4a530c2

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

@ADedecker ADedecker added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Jun 17, 2026
@ADedecker
ADedecker requested a review from grunweg June 17, 2026 15:21
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@ADedecker ADedecker removed the easy < 20s of review time. See the lifecycle page for guidelines. label Jun 17, 2026

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

Thanks! Just one question about where we can add simp

bors d+

@mathlib-bors

mathlib-bors Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

✌️ ADedecker can now approve this pull request until 2026-07-03 12:30 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 19, 2026
@ADedecker

Copy link
Copy Markdown
Member Author

Thanks a lot for the review, Oliver!

@ADedecker ADedecker added the auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. label Jun 22, 2026
@mathlib-auto-merge

Copy link
Copy Markdown

As this PR is labelled auto-merge-after-CI, we are now sending it to bors:

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Jun 22, 2026
In particular, we upgrade `IsOpen[Quotient]Map.prodMap` to an `iff` when both factors are nonempty.
@mathlib-bors

mathlib-bors Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: a few misc results about open (quotient) maps [Merged by Bors] - feat: a few misc results about open (quotient) maps Jun 22, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants