Skip to content

feat(Topology): some lemmas about topological bases#38538

Open
CoolRmal wants to merge 3 commits intoleanprover-community:masterfrom
CoolRmal:topologicalbasis
Open

feat(Topology): some lemmas about topological bases#38538
CoolRmal wants to merge 3 commits intoleanprover-community:masterfrom
CoolRmal:topologicalbasis

Conversation

@CoolRmal
Copy link
Copy Markdown
Contributor


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 26, 2026

PR summary 80a6231dcf

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.Bases 616 617 +1 (+0.16%)
Import changes for all files
Files Import difference
Mathlib.Topology.Bases Mathlib.Topology.UniformSpace.Ultra.Basic 1

Declarations diff

+ IsTopologicalBasis.continuousOn_iff
+ exists_seq_basis
+ isTopologicalBasis_singleton_empty

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

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-topology Topological spaces, uniform spaces, metric spaces, filters label Apr 26, 2026
Continuous f ↔ ∀ s ∈ B, IsOpen (f ⁻¹' s) := by
rw [hB.eq_generateFrom, continuous_generateFrom_iff]

theorem IsTopologicalBasis.continuousOn_iff [TopologicalSpace β]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure whether I should put this theorem in this file as it is the reason why I import Mathlib.Topology.ContinuousOn. I need to import Mathlib.Topology.Bases if I put this lemma in Mathlib.Topology.ContinuousOn.

Comment thread Mathlib/Topology/Bases.lean Outdated
CoolRmal and others added 2 commits April 25, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants