Skip to content
Merged
Show file tree
Hide file tree
Changes from 151 commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
54da061
Reorganize signed arithmetic on rational numbers
lowasser Oct 10, 2025
124c9f6
make pre-commit
lowasser Oct 10, 2025
7603bbe
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 11, 2025
80ed53f
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 12, 2025
9dc460a
Update
lowasser Oct 12, 2025
fac3bc7
Merge remote-tracking branch 'origin/shake-out-signed-rational' into …
lowasser Oct 12, 2025
0f28ea3
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 12, 2025
e7c6423
Progress
lowasser Oct 14, 2025
79e3441
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 14, 2025
9963c47
Updates
lowasser Oct 14, 2025
617ae3a
Merge remote-tracking branch 'origin/shake-out-signed-rational' into …
lowasser Oct 14, 2025
41e9741
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 14, 2025
d9d056a
Merge branch 'shake-out-signed-rational' into powers-q
lowasser Oct 14, 2025
817f878
More properties
lowasser Oct 14, 2025
984d8d4
Back out integer powers
lowasser Oct 14, 2025
a69f766
Fixes
lowasser Oct 15, 2025
a3a1866
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 15, 2025
ea3fa12
Fix merge
lowasser Oct 15, 2025
5b44912
Merge branch 'shake-out-signed-rational' into powers-q
lowasser Oct 15, 2025
c7176d6
make pre-commit
lowasser Oct 15, 2025
e8b468a
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 15, 2025
df308e2
Fix merge
lowasser Oct 15, 2025
607eba5
Apply suggestions from code review
lowasser Oct 17, 2025
daa9fc0
Respond to review comments
lowasser Oct 17, 2025
a172df5
Merge branch 'master' into shake-out-signed-rational
lowasser Oct 17, 2025
fbfc0e0
Merge branch 'shake-out-signed-rational' into powers-q
lowasser Oct 17, 2025
e3af1cf
Merge branch 'shake-out-signed-rational' into powers-q
lowasser Oct 17, 2025
0905e0f
Progress
lowasser Oct 17, 2025
0651841
Clarify concept disambiguation
lowasser Oct 17, 2025
d3ffdcf
Merge branch 'powers-q' into powers-all-q
lowasser Oct 17, 2025
e0a24b8
Progress
lowasser Oct 17, 2025
c5b3be8
Further clarify doc
lowasser Oct 17, 2025
139c496
Merge branch 'powers-q' into powers-all-q
lowasser Oct 17, 2025
a8c35cd
Progress
lowasser Oct 17, 2025
cf5019c
Merge branch 'master' into powers-q
lowasser Oct 17, 2025
3793aca
Merge branch 'powers-q' into powers-all-q
lowasser Oct 17, 2025
906c3fb
Progress
lowasser Oct 17, 2025
0bf288f
Merge branch 'master' into powers-all-q
lowasser Oct 17, 2025
92b42a5
Correct superscripts
lowasser Oct 17, 2025
978b504
Progress
lowasser Oct 17, 2025
930459d
Merge branch 'powers-all-q' into geo-seq-ring
lowasser Oct 17, 2025
e332e19
Sums of geometric series for rational numbers
lowasser Oct 17, 2025
0c8244b
Merge branch 'master' into geo-seq-ring
lowasser Nov 5, 2025
3c95dda
Fix build
lowasser Nov 5, 2025
02238ca
Fix link
lowasser Nov 5, 2025
178803c
Merge branch 'master' into geo-seq-real
lowasser Nov 6, 2025
764f62e
If |q|<1 , q^n approaches 0
lowasser Nov 6, 2025
e80b404
Merge branch 'master' into geo-seq-ring
lowasser Nov 6, 2025
7d6ca7d
Merge remote-tracking branch 'origin/geo-seq-ring' into geo-seq-ring
lowasser Nov 6, 2025
3b396c3
Merge branch 'geo-seq-ring' into geo-seq-rat
lowasser Nov 6, 2025
3c8f1ad
The sum of geometric series of rational numbers
lowasser Nov 6, 2025
2b7d4a2
Define real powers
lowasser Nov 6, 2025
d2bfcb7
Powers of real numbers
lowasser Nov 7, 2025
3754e35
Merge branch 'master' into power-real
lowasser Nov 7, 2025
a0e010c
Apply suggestions from code review
lowasser Nov 7, 2025
9c28f09
Merge remote-tracking branch 'origin/geo-seq-ring' into geo-seq-ring
lowasser Nov 7, 2025
dc3c1b3
Apply suggestions from code review
lowasser Nov 7, 2025
ad32a6f
Merge remote-tracking branch 'origin/geo-seq-ring' into geo-seq-ring
lowasser Nov 7, 2025
b61e819
Update
lowasser Nov 7, 2025
af95bc8
Merge branch 'master' into geo-seq-ring
lowasser Nov 7, 2025
66ebb46
Fixes
lowasser Nov 7, 2025
6c1ede5
Merge remote-tracking branch 'origin/geo-seq-ring' into geo-seq-ring
lowasser Nov 7, 2025
d91ca39
Merge branch 'geo-seq-ring' into geo-seq-rat
lowasser Nov 7, 2025
dd29175
Merge branch 'master' into geo-seq-rat
lowasser Nov 7, 2025
6969f98
Merge
lowasser Nov 7, 2025
966d80d
Progress
lowasser Nov 7, 2025
0befcc5
Merge branch 'geo-seq-rat' into power-real
lowasser Nov 7, 2025
2882532
Progress
lowasser Nov 7, 2025
380382b
Progress
lowasser Nov 7, 2025
b5a27af
Progress
lowasser Nov 7, 2025
5545c34
Progress
lowasser Nov 7, 2025
007d587
Progress
lowasser Nov 7, 2025
6241f8c
Progress
lowasser Nov 8, 2025
13ddd47
Mark more things abstract opaque
lowasser Nov 8, 2025
04ccb85
Fix indent
lowasser Nov 8, 2025
1d65b0a
Fix title
lowasser Nov 8, 2025
84dec2a
Fix
lowasser Nov 8, 2025
315b668
Apply suggestions from code review
lowasser Nov 8, 2025
ed77ccd
Apply suggestions from code review
lowasser Nov 8, 2025
a6f215d
Merge branch 'cleanup-reals' into power-small-real
lowasser Nov 8, 2025
cbda75f
Geometric series in the reals
lowasser Nov 8, 2025
866db9d
Merge branch 'master' into power-real
lowasser Nov 8, 2025
eac6aa2
Fix link
lowasser Nov 8, 2025
6fd2d52
Correct spelling
lowasser Nov 8, 2025
7d10f9c
Update src/real-numbers/powers-real-numbers.lagda.md
fredrik-bakke Nov 8, 2025
43ad559
Fix
lowasser Nov 8, 2025
1f00414
Merge remote-tracking branch 'origin/power-real' into power-small-real
lowasser Nov 8, 2025
343a4ac
Merge branch 'master' into power-small-real
lowasser Nov 8, 2025
76b2d96
Fix
lowasser Nov 8, 2025
37b06ff
Merge branch 'master' into geo-seq-rat
fredrik-bakke Nov 8, 2025
76bec78
Progress
lowasser Nov 8, 2025
2be3628
Merge branch 'geo-seq-rat' into power-small-real
lowasser Nov 8, 2025
e609a5c
Merge branch 'master' into cleanup-reals
lowasser Nov 8, 2025
e9a1277
Merge branch 'cleanup-reals' into power-small-real
lowasser Nov 8, 2025
423fdcc
Merge branch 'power-small-real' into derivative-v2
lowasser Nov 8, 2025
507c7fa
Progress
lowasser Nov 8, 2025
41992ba
Pull changes
lowasser Nov 8, 2025
80ae32b
Progress
lowasser Nov 8, 2025
b0404c0
Progress
lowasser Nov 8, 2025
8a4a028
Merge branch 'cleanup-reals' into apartness-metric
lowasser Nov 8, 2025
4a86b5d
Merge branch 'power-small-real' into apartness-metric
lowasser Nov 8, 2025
53d3a16
Progress
lowasser Nov 8, 2025
139c5ac
Update src/real-numbers/dedekind-real-numbers.lagda.md
lowasser Nov 8, 2025
d9aeb7f
Apply suggestions from code review
lowasser Nov 8, 2025
defa213
Update src/real-numbers/strict-inequalities-addition-real-numbers.lag…
lowasser Nov 8, 2025
fa31c52
Update src/real-numbers/strict-inequalities-addition-real-numbers.lag…
lowasser Nov 8, 2025
45757e8
Update src/real-numbers/saturation-inequality-nonnegative-real-number…
lowasser Nov 8, 2025
70cef9b
Rename files
lowasser Nov 8, 2025
542ccde
Merge branch 'cleanup-reals' into power-small-real
lowasser Nov 8, 2025
293343c
Merge branch 'power-small-real' into apartness-metric
lowasser Nov 8, 2025
a85cdcb
Fix
lowasser Nov 8, 2025
1d5f0a2
Fix
lowasser Nov 8, 2025
399e3c3
Fix build
lowasser Nov 8, 2025
0d47a8a
Progress
lowasser Nov 8, 2025
89c04b3
Merge branch 'apartness-metric' into cluster-point-metric
lowasser Nov 8, 2025
7c13bf5
Merge branch 'proper-closed-intervals' into cluster-point-metric
lowasser Nov 8, 2025
6a0ce50
Every point in a proper closed interval is an accumulation point
lowasser Nov 9, 2025
3ed6bf1
Sequential accumulation points
lowasser Nov 9, 2025
74b1601
Prove equivalence between sequential and approximation versions
lowasser Nov 9, 2025
2bda7c6
Prove equivalence between sequential and approximation versions
lowasser Nov 9, 2025
719aff3
Fix link
lowasser Nov 9, 2025
8569df8
chore: optimize imports `real-numbers`
fredrik-bakke Nov 9, 2025
f11b6e2
fix
fredrik-bakke Nov 9, 2025
2c0bdbc
chore: optimize imports rational numbers
fredrik-bakke Nov 9, 2025
6f84e68
Merge branch 'master' into cleanup-reals
fredrik-bakke Nov 9, 2025
19429e5
Merge remote-tracking branch 'origin/cleanup-reals' into power-small-…
lowasser Nov 9, 2025
908914f
Fixes
lowasser Nov 9, 2025
39c6414
Merge branch 'master' into power-small-real
lowasser Nov 9, 2025
7542dd2
Fix build
lowasser Nov 9, 2025
d22a00b
Merge branch 'power-small-real' into apartness-metric
lowasser Nov 9, 2025
247204c
Merge branch 'apartness-metric' into cluster-point-metric
lowasser Nov 9, 2025
1b16862
Merge branch 'master' into power-small-real
lowasser Nov 10, 2025
0bb5730
Update src/commutative-algebra/geometric-sequences-commutative-rings.…
lowasser Nov 10, 2025
62bf2b6
Respond to review comment
lowasser Nov 10, 2025
8367ef1
Merge remote-tracking branch 'origin/power-small-real' into power-sma…
lowasser Nov 10, 2025
855c5bb
Fix arithmetic op names
lowasser Nov 10, 2025
51dbac7
Merge branch 'power-small-real' into apartness-metric
lowasser Nov 10, 2025
9309668
Apply suggestions from code review
lowasser Nov 10, 2025
d1447a8
Respond to comments
lowasser Nov 10, 2025
fb3dec5
plural `preserves-limits`
fredrik-bakke Nov 10, 2025
b314743
Merge branch 'power-small-real' into apartness-metric
lowasser Nov 11, 2025
ace1e87
Merge branch 'master' into apartness-metric
lowasser Nov 11, 2025
6b6689a
Correct merge
lowasser Nov 11, 2025
cac562e
Fix merge
lowasser Nov 11, 2025
3a1716c
Merge branch 'apartness-metric' into cluster-point-metric
lowasser Nov 11, 2025
8ac326c
Apply suggestions from code review
lowasser Nov 11, 2025
68dbbeb
Merge branch 'apartness-metric' into cluster-point-metric
lowasser Nov 11, 2025
6875f83
Merge branch 'master' into apartness-metric
fredrik-bakke Nov 11, 2025
104ce21
Merge branch 'apartness-metric' into cluster-point-metric
lowasser Nov 12, 2025
b8d27e2
Merge branch 'master' into cluster-point-metric
lowasser Nov 12, 2025
7300f31
Merge branch 'master' into cluster-point-metric
lowasser Nov 13, 2025
c90223c
Merge branch 'master' into cluster-point-metric
lowasser Nov 13, 2025
a1a6a8c
Update src/metric-spaces/cauchy-sequences-metric-spaces.lagda.md
lowasser Nov 13, 2025
1bcb06a
Update src/metric-spaces/accumulation-points-subsets-located-metric-s…
lowasser Nov 13, 2025
a9bacdd
Update src/real-numbers/binary-maximum-real-numbers.lagda.md
lowasser Nov 13, 2025
f5e8fba
Progress
lowasser Nov 13, 2025
eb7688e
Merge remote-tracking branch 'origin/cluster-point-metric' into clust…
lowasser Nov 13, 2025
510ac59
Merge branch 'master' into cluster-point-metric
lowasser Nov 13, 2025
08bb7e3
Fixes
lowasser Nov 13, 2025
db68b9d
Simplify
lowasser Nov 13, 2025
ecfd72d
Update src/metric-spaces/accumulation-points-subsets-located-metric-s…
lowasser Nov 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,12 @@ module _
( left-summand-split-ℚ⁺ p)
( right-summand-split-ℚ⁺ p))

bound-double-le-ℚ⁺ :
Σ ℚ⁺ (λ q → le-ℚ⁺ (q +ℚ⁺ q) p)
bound-double-le-ℚ⁺ =
( modulus-le-double-le-ℚ⁺ , le-double-le-modulus-le-double-le-ℚ⁺)
bound-double-le-ℚ⁺ :
Σ ℚ⁺ (λ q → le-ℚ⁺ (q +ℚ⁺ q) p)
bound-double-le-ℚ⁺ =
( modulus-le-double-le-ℚ⁺ , le-double-le-modulus-le-double-le-ℚ⁺)

abstract
double-le-ℚ⁺ : exists ℚ⁺ (λ q → le-prop-ℚ⁺ (q +ℚ⁺ q) p)
double-le-ℚ⁺ = unit-trunc-Prop bound-double-le-ℚ⁺
```
1 change: 1 addition & 0 deletions src/metric-spaces.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ metric space, `N d₂ x y` [or](foundation.disjunction.md)
```agda
module metric-spaces where

open import metric-spaces.accumulation-points-subsets-located-metric-spaces public
open import metric-spaces.apartness-located-metric-spaces public
open import metric-spaces.approximations-located-metric-spaces public
open import metric-spaces.approximations-metric-spaces public
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,315 @@
# Accumulation points of subsets of located metric spaces

```agda
module metric-spaces.accumulation-points-subsets-located-metric-spaces where
```

<details><summary>Imports</summary>

```agda
open import elementary-number-theory.addition-positive-rational-numbers
open import elementary-number-theory.inequality-natural-numbers
open import elementary-number-theory.natural-numbers
open import elementary-number-theory.positive-rational-numbers
open import elementary-number-theory.strict-inequality-rational-numbers

open import foundation.conjunction
open import foundation.dependent-pair-types
open import foundation.existential-quantification
open import foundation.function-types
open import foundation.intersections-subtypes
open import foundation.logical-equivalences
open import foundation.propositional-truncations
open import foundation.propositions
open import foundation.subtypes
open import foundation.universe-levels

open import lists.sequences

open import logic.functoriality-existential-quantification

open import metric-spaces.apartness-located-metric-spaces
open import metric-spaces.cauchy-approximations-metric-spaces
open import metric-spaces.cauchy-sequences-metric-spaces
open import metric-spaces.closed-subsets-located-metric-spaces
open import metric-spaces.limits-of-cauchy-approximations-metric-spaces
open import metric-spaces.limits-of-sequences-metric-spaces
open import metric-spaces.located-metric-spaces
open import metric-spaces.subspaces-metric-spaces
```

</details>

## Idea

An
{{#concept "accumulation point" WDID=Q858223 WD="limit point" Disambiguation="of a metric space" Agda=accumulation-point-subset-Located-Metric-Space}}
of a subset `S` of a
[located metric space](metric-spaces.located-metric-spaces.md) `X` is a point
`x : X` such that there exists a
[Cauchy approximation](metric-spaces.cauchy-approximations-metric-spaces.md) `a`
with [limit](metric-spaces.limits-of-cauchy-approximations-metric-spaces.md) `x`
such that for every `ε : ℚ⁺`, `a ε` is in `S` and is
[apart](metric-spaces.apartness-located-metric-spaces.md) from `x`.

## Definition

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : subset-Located-Metric-Space l3 X)
where

is-accumulation-to-point-prop-subset-Located-Metric-Space :
type-Located-Metric-Space X →
subtype
( l2)
( cauchy-approximation-Metric-Space (subspace-Located-Metric-Space X S))
is-accumulation-to-point-prop-subset-Located-Metric-Space x a =
Π-Prop
( ℚ⁺)
( λ ε →
apart-prop-Located-Metric-Space X
( pr1
( map-cauchy-approximation-Metric-Space
( subspace-Located-Metric-Space X S)
( a)
( ε)))
( x)) ∧
is-limit-cauchy-approximation-prop-Metric-Space
( metric-space-Located-Metric-Space X)
( map-short-function-cauchy-approximation-Metric-Space
( subspace-Located-Metric-Space X S)
( metric-space-Located-Metric-Space X)
( short-inclusion-subspace-Metric-Space
( metric-space-Located-Metric-Space X)
( S))
( a))
( x)

is-accumulation-to-point-subset-Located-Metric-Space :
type-Located-Metric-Space X →
cauchy-approximation-Metric-Space (subspace-Located-Metric-Space X S) →
UU l2
is-accumulation-to-point-subset-Located-Metric-Space x a =
type-Prop (is-accumulation-to-point-prop-subset-Located-Metric-Space x a)

is-accumulation-point-prop-subset-Located-Metric-Space :
subset-Metric-Space (l1 ⊔ l2 ⊔ l3) (metric-space-Located-Metric-Space X)
is-accumulation-point-prop-subset-Located-Metric-Space x =
∃ ( cauchy-approximation-Metric-Space (subspace-Located-Metric-Space X S))
( is-accumulation-to-point-prop-subset-Located-Metric-Space x)

is-accumulation-point-subset-Located-Metric-Space :
type-Located-Metric-Space X → UU (l1 ⊔ l2 ⊔ l3)
is-accumulation-point-subset-Located-Metric-Space x =
type-Prop (is-accumulation-point-prop-subset-Located-Metric-Space x)

accumulation-point-subset-Located-Metric-Space : UU (l1 ⊔ l2 ⊔ l3)
accumulation-point-subset-Located-Metric-Space =
type-subtype is-accumulation-point-prop-subset-Located-Metric-Space
```

## Properties

### A closed subset of a metric space contains all its accumulation points

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : closed-subset-Located-Metric-Space l3 X)
where

is-in-closed-subset-is-accumulation-point-Located-Metric-Space :
(x : type-Located-Metric-Space X) →
is-accumulation-point-subset-Located-Metric-Space
( X)
( subset-closed-subset-Located-Metric-Space X S)
( x) →
is-in-closed-subset-Located-Metric-Space X S x
is-in-closed-subset-is-accumulation-point-Located-Metric-Space x is-acc-x =
is-closed-subset-closed-subset-Located-Metric-Space
( X)
( S)
( x)
( λ ε →
let
open
do-syntax-trunc-Prop
( ∃
( type-Located-Metric-Space X)
( λ y →
neighborhood-prop-Located-Metric-Space X ε x y ∧
subset-closed-subset-Located-Metric-Space X S y))
in do
(approx@(a , _) , a#x , lim-a=x) ← is-acc-x
let (y , y∈S) = a ε
intro-exists
( y)
( symmetric-neighborhood-Located-Metric-Space X
( ε)
( y)
( x)
( saturated-is-limit-cauchy-approximation-Metric-Space
( metric-space-Located-Metric-Space X)
( map-short-function-cauchy-approximation-Metric-Space
( subspace-Located-Metric-Space
( X)
( subset-closed-subset-Located-Metric-Space X S))
( metric-space-Located-Metric-Space X)
( short-inclusion-subspace-Metric-Space
( metric-space-Located-Metric-Space X)
( subset-closed-subset-Located-Metric-Space X S))
( approx))
( x)
( lim-a=x)
( ε)) ,
y∈S))
```

### The property of being a sequential accumulation point

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : subset-Located-Metric-Space l3 X)
(x : type-Located-Metric-Space X)
where

is-sequence-accumulating-to-point-prop-subset-Located-Metric-Space :
subtype l2 (sequence (type-subtype S))
is-sequence-accumulating-to-point-prop-subset-Located-Metric-Space a =
Π-Prop ℕ (λ n → apart-prop-Located-Metric-Space X (pr1 (a n)) x) ∧
is-limit-prop-sequence-Metric-Space
( metric-space-Located-Metric-Space X)
( pr1 ∘ a)
( x)

is-sequence-accumulating-to-point-subset-Located-Metric-Space :
sequence (type-subtype S) → UU l2
is-sequence-accumulating-to-point-subset-Located-Metric-Space =
is-in-subtype
( is-sequence-accumulating-to-point-prop-subset-Located-Metric-Space)

is-sequential-accumulation-point-prop-subset-Located-Metric-Space :
Prop (l1 ⊔ l2 ⊔ l3)
is-sequential-accumulation-point-prop-subset-Located-Metric-Space =
∃ ( sequence (type-subtype S))
( is-sequence-accumulating-to-point-prop-subset-Located-Metric-Space)

is-sequential-accumulation-point-subset-Located-Metric-Space :
UU (l1 ⊔ l2 ⊔ l3)
is-sequential-accumulation-point-subset-Located-Metric-Space =
type-Prop is-sequential-accumulation-point-prop-subset-Located-Metric-Space
```

### If `x` is an accumulation point of `S`, it is a sequential accumulation point of `S`

The converse has yet to be proved.

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : subset-Located-Metric-Space l3 X)
(x : type-Located-Metric-Space X)
where

abstract
is-sequential-accumulation-point-is-accumulation-point-subset-Located-Metric-Space :
is-accumulation-point-subset-Located-Metric-Space X S x →
is-sequential-accumulation-point-subset-Located-Metric-Space X S x
is-sequential-accumulation-point-is-accumulation-point-subset-Located-Metric-Space =
map-exists
( _)
( map-cauchy-sequence-cauchy-approximation-Metric-Space
( subspace-Located-Metric-Space X S))
( λ a (a#x , lim-a=x) →
( ( λ n → a#x _) ,
is-limit-cauchy-sequence-cauchy-approximation-Metric-Space
( metric-space-Located-Metric-Space X)
( map-short-function-cauchy-approximation-Metric-Space
( subspace-Located-Metric-Space X S)
( metric-space-Located-Metric-Space X)
( short-inclusion-subspace-Metric-Space
( metric-space-Located-Metric-Space X)
( S))
( a))
( x)
( lim-a=x)))
```

### If `x` is a sequential accumulation point of `S`, it is an accumulation point of `S`

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : subset-Located-Metric-Space l3 X)
(x : type-Located-Metric-Space X)
where

abstract
is-accumulation-point-is-sequential-accumulation-point-subset-Located-Metric-Space :
is-sequential-accumulation-point-subset-Located-Metric-Space X S x →
is-accumulation-point-subset-Located-Metric-Space X S x
is-accumulation-point-is-sequential-accumulation-point-subset-Located-Metric-Space
is-seq-acc-x =
let
open
do-syntax-trunc-Prop
( is-accumulation-point-prop-subset-Located-Metric-Space X S x)
in do
(σ , σ#x , lim-σ=x) ← is-seq-acc-x
μ@(mod-μ , is-mod-μ) ← lim-σ=x
intro-exists
( cauchy-approximation-cauchy-sequence-Metric-Space
( subspace-Located-Metric-Space X S)
( σ ,
is-cauchy-has-limit-modulus-sequence-Metric-Space
( metric-space-Located-Metric-Space X)
( pr1 ∘ σ)
( x)
( μ)))
( ( λ ε → σ#x _) ,
( λ ε δ →
let ε' = modulus-le-double-le-ℚ⁺ ε
in
monotonic-neighborhood-Located-Metric-Space
( X)
( pr1 (σ (mod-μ ε')))
( x)
( ε')
( ε +ℚ⁺ δ)
( transitive-le-ℚ _ _ _
( le-left-add-ℚ⁺ ε δ)
( le-modulus-le-double-le-ℚ⁺ ε))
( is-mod-μ ε' (mod-μ ε') (refl-leq-ℕ (mod-μ ε')))))
```

### Being an accumulation point is equivalent to being a sequential accumulation point

```agda
module _
{l1 l2 l3 : Level}
(X : Located-Metric-Space l1 l2)
(S : subset-Located-Metric-Space l3 X)
(x : type-Located-Metric-Space X)
where

is-accumulation-point-iff-is-sequential-accumulation-point-subset-Located-Metric-Space :
is-accumulation-point-subset-Located-Metric-Space X S x ↔
is-sequential-accumulation-point-subset-Located-Metric-Space X S x
is-accumulation-point-iff-is-sequential-accumulation-point-subset-Located-Metric-Space =
( is-sequential-accumulation-point-is-accumulation-point-subset-Located-Metric-Space
( X)
( S)
( x) ,
is-accumulation-point-is-sequential-accumulation-point-subset-Located-Metric-Space
( X)
( S)
( x))
```
Loading