Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::sequences::IsCauchySequence Concept Referenceexport

A Seq is a Cauchy sequence: its tail is eventually arbitrarily small under the metric on the carrier. More...

Concept definition

template<typename Seq>
{ s.at(0) } -> std::same_as<typename Seq::Codomain>;
{ s.at(0) - s.at(0) };
}
A Seq is a Cauchy sequence: its tail is eventually arbitrarily small under the metric on the carrier.
Definition convergence.cppm:90
The fundamental mapping from a Domain Set to a Value Type.
Definition net.cppm:215

Detailed Description

A Seq is a Cauchy sequence: its tail is eventually arbitrarily small under the metric on the carrier.

Structurally, the concept pins: (i) Seq satisfies IsSequence, (ii) s.at(0) returns Seq::Codomain, (iii) Codomain supports subtraction (a - a is well-formed), the minimal arithmetic needed to write down |s(m)-s(n)|.

The earlier formulation required std::abs(diff) to be callable, which excluded user-defined carriers that don't overload std::abs. The current body keeps the subtraction shape (permissive: user-defined carriers with operator- participate) and lifts the absolute-value metric reasoning into the engineer's honesty obligation, alongside the full Cauchy criterion (∀ε>0 ∃N ∀m,n≥N. |s(m)−s(n)|<ε).

Anchor: Bishop, Foundations of Constructive Analysis §2.10. Form-chain row 5 of #719.