Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit c2258f7

Browse files
committed
chore(topology/continuous_function/ideals): generalize type class requirements (#19093)
For the continuous functional calculus in non-unital algebras the subtype `C(R, R)₀ := { f : C(R, R) // f 0 = 0 }` will be useful, which is exactly `continuous_map.ideal_of_set`. However, it will be necessary to let `R` be `ℂ`, `ℝ` and `ℝ≥0`, and for the latter we need these more general type class assumptions.
1 parent d2d14e7 commit c2258f7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/topology/continuous_function/ideals.lean

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import topology.algebra.module.character_space
1414
/-!
1515
# Ideals of continuous functions
1616
17-
For a topological ring `R` and a topological space `X` there is a Galois connection between
17+
For a topological semiring `R` and a topological space `X` there is a Galois connection between
1818
`ideal C(X, R)` and `set X` given by sending each `I : ideal C(X, R)` to
1919
`{x : X | ∀ f ∈ I, f x = 0}ᶜ` and mapping `s : set X` to the ideal with carrier
2020
`{f : C(X, R) | ∀ x ∈ sᶜ, f x = 0}`, and we call these maps `continuous_map.set_of_ideal` and
@@ -77,7 +77,8 @@ open topological_space
7777

7878
section topological_ring
7979

80-
variables {X R : Type*} [topological_space X] [ring R] [topological_space R] [topological_ring R]
80+
variables {X R : Type*} [topological_space X] [semiring R]
81+
variables [topological_space R] [topological_semiring R]
8182

8283
variable (R)
8384

0 commit comments

Comments
 (0)