|
|
template<IsTotallyOrdered T, typename L> |
| constexpr bool | dedekind::topology::is_order_open (const Interval< T, L > &s) |
| | Whether an interval is order-open: every present side strict (an absent side is both open and closed). A value fact, as the sides are.
|
|
template<IsTotallyOrdered T, typename L> |
| constexpr bool | dedekind::topology::is_order_closed (const Interval< T, L > &s) |
| | Whether an interval is order-closed: every present side non-strict.
|
template<IsStepTerm T>
requires std::same_as<typename T::logic_species, Boole> |
| constexpr bool | dedekind::topology::detail_order_reading::sides_are (const T &t, Side in) |
| | Whether every step of a decidable set term enters at the side in and leaves at the other: open enters just above a value, closed at it. An L-valued set is read through its α-cuts.
|
template<IsStepTerm T>
requires std::same_as<typename T::logic_species, Boole> |
| constexpr bool | dedekind::topology::is_order_open (const T &t) |
| | Whether a set term of a chain is order-open: it enters each run just above a value and leaves it just below one, so no member sits on an edge.
|
template<IsStepTerm T>
requires std::same_as<typename T::logic_species, Boole> |
| constexpr bool | dedekind::topology::is_order_closed (const T &t) |
| | Whether a set term is order-closed: it enters and leaves each run at a value, the dual of is_order_open.
|
|
| template<typename S> |
| constexpr bool | dedekind::topology::is_order_open_v = false |
| | Is S order-open by its strictness? false unless a specialisation below (or a carrier's own) says so.
|
|
template<typename S> |
| constexpr bool | dedekind::topology::is_order_closed_v = false |
| | Is S order-closed by its strictness? Dual of is_order_open_v.
|
|
template<typename T, typename L> |
| constexpr bool | dedekind::topology::is_order_closed_v< Singleton< T, L > > = true |
| template<typename A, typename B> |
| constexpr bool | dedekind::topology::is_order_open_v< Meet< A, B > > |
| template<typename A, typename B> |
| constexpr bool | dedekind::topology::is_order_closed_v< Meet< A, B > > |
| template<typename A, typename B> |
| constexpr bool | dedekind::topology::is_order_open_v< Join< A, B > > |
| template<typename A, typename B> |
| constexpr bool | dedekind::topology::is_order_closed_v< Join< A, B > > |
|
template<typename A> |
| constexpr bool | dedekind::topology::is_order_open_v< Not< A > > = is_order_closed_v<A> |
|
template<typename A> |
| constexpr bool | dedekind::topology::is_order_closed_v< Not< A > > = is_order_open_v<A> |
| template<typename S> |
| constexpr bool | dedekind::topology::is_convex_v = false |
|
template<typename T, typename L> |
| constexpr bool | dedekind::topology::is_convex_v< Interval< T, L > > = true |
|
template<typename T, typename L> |
| constexpr bool | dedekind::topology::is_convex_v< Singleton< T, L > > = true |
| template<typename A, typename B> |
| constexpr bool | dedekind::topology::is_convex_v< Meet< A, B > > |
The Rules of Continuity (Neighborhoods, Limits, and Cuts).
Copyright 2026 The Dedekind Authors Licensed under the Apache License, Version 2.0.
@partition :topology @build_order 6 @dependency :algebra, :order
neighborhood__Topology
This partition establishes the qualitative "shape" of our species. It transforms discrete algebraic structures (like Q) into continuous spaces (like R) by defining the concepts of "closeness" and "convergence".
This module defines the formal boundaries of the continuum:
- IsOpen / IsClosed: The "Skin" and "Body" of a set.
- IsNeighborhood: The "Space Around" a point.
- IsSequence / HasLimit: The "Path" to a point (Convergence).
- IsDedekindComplete: The "Seamless" property (No gaps).
neighborhood__Structural_Synthesis
We synthesize the Order from (:order) and the Metric from (:algebra) to define the 'Dedekind Cut'. This is the ultimate "Promotion" in the library: moving from the Discrete (N, Z) to the Continuous (R).
@anchors C++ Concepts: std::floating_point (The Machine Approximation of R).
Wikipedia: Topology, Dedekind cut, Metric space, Limit of a sequence
- Copyright
- 2026 The Dedekind Authors Licensed under the Apache License, Version 2.0.
- Note
- "I am superior, sir, in many ways. But I would gladly give it up, to be
Human." – Data, Star Trek: The Next Generation, "Encounter at Farpoint" (1987)