Skip to content

Commit 14737ba

Browse files
Merge branch 'main' into theory/axis8-deferred-sweep
2 parents 0ac02fb + c238e08 commit 14737ba

108 files changed

Lines changed: 1441 additions & 1008 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Justfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@
33
# Build all echo type modules
44
build-echo:
55
@echo "Building echo type modules..."
6-
for f in proofs/agda/Echo*.agda; do \
7-
echo "Building $$f..." && \
8-
agda -i proofs/agda "$$f" || exit 1 \
9-
done
6+
agda -i proofs/agda proofs/agda/All.agda
107
@echo "✅ All echo modules built successfully"
118

129
# Build stability tests
1310
build-tests:
1411
@echo "Building stability tests..."
15-
agda -i proofs/agda proofs/agda/EchoStabilityTests.agda
12+
agda -i proofs/agda proofs/agda/Echo/Bridges/EchoStabilityTests.agda
1613
@echo "✅ Stability tests built successfully"
1714

1815
# Run comprehensive build
@@ -26,31 +23,31 @@ build-all:
2623

2724
test-core:
2825
@echo "Testing core echo type properties..."
29-
agda -i proofs/agda proofs/agda/Echo.agda
26+
agda -i proofs/agda proofs/agda/Echo/Core.agda
3027
@echo "✅ Core tests passed"
3128

3229
# Test CNO bridge
3330
test-cno:
3431
@echo "Testing CNO bridge..."
35-
agda -i proofs/agda proofs/agda/EchoCNOBridge.agda
32+
agda -i proofs/agda proofs/agda/Echo/Bridges/EchoCNOBridge.agda
3633
@echo "✅ CNO bridge tests passed"
3734

3835
# Test thermodynamic bridge
3936
test-thermo:
4037
@echo "Testing thermodynamic bridge..."
41-
agda -i proofs/agda proofs/agda/EchoThermodynamics.agda
38+
agda -i proofs/agda proofs/agda/Echo/Bridges/EchoThermodynamics.agda
4239
@echo "✅ Thermodynamic tests passed"
4340

4441
# Test categorical bridge
4542
test-cat:
4643
@echo "Testing categorical bridge..."
47-
agda -i proofs/agda proofs/agda/EchoCategory.agda
44+
agda -i proofs/agda proofs/agda/Echo/Bridges/EchoCategorical.agda
4845
@echo "✅ Categorical tests passed"
4946

5047
# Test stability suite
5148
test-stability:
5249
@echo "Testing stability suite..."
53-
agda -i proofs/agda proofs/agda/EchoStabilityTests.agda
50+
agda -i proofs/agda proofs/agda/Echo/Bridges/EchoStabilityTests.agda
5451
@echo "✅ Stability tests passed"
5552

5653
# Run all tests

README.md

Lines changed: 49 additions & 163 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Failure Conditions
2+
3+
## The Skeptical Position
4+
Any formalism can be made to work on trivial examples. The true test of a theory is its boundary conditions and where it breaks down.
5+
6+
## Explicit Failure Modes
7+
8+
1. **Abstraction Leaks:** If users must constantly unwrap the `Echo` to perform standard proofs, the abstraction has failed.
9+
2. **Combinatorial Explosion:** If composing two lossy operations `f` and `g` results in an unmanageably complex nested `Echo`, the theory is not compositionally viable.
10+
3. **Triviality:** If the only provable theorems are isomorphic to `f x ≡ f x`, the theory lacks predictive power.
11+
4. **Lack of Separation:** If the "residue" cannot be meaningfully separated from the full "echo" in a proof-relevant way (e.g., if extracting the constraint requires keeping the entire original witness), then the claim of "partial recovery" is false.
12+
13+
## The Burden of Proof
14+
The repository must provide mechanically checked counter-examples to these failure modes, specifically demonstrating non-trivial composition, manageable complexity, and strict separation of residues.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Is this just Fibers?
2+
3+
## The Skeptical Position
4+
Yes, structurally, an `Echo` is just a standard homotopy fiber: `Σ A (λ x → f x ≡ y)`. There is no novel syntactic or type-theoretic construction here. If treated purely structurally, there is nothing new.
5+
6+
## The Burden of Proof
7+
The burden of proof lies in demonstrating that treating this specific fiber as a first-class object of study—specifically framing it as "structured loss" or a "retained constraint" over a projection—yields results that are practically obscured when treating it just as a generic pullback over a point.
8+
9+
## Collapse Conditions
10+
If the resulting theorems are identical in both form and usage to standard lemmas about HoTT fibers (e.g., contractibility of fibers for equivalences), then the "Echo" terminology is an unnecessary renaming and should be collapsed back to standard fiber theory.
11+
12+
## Reinterpretation vs. Novelty
13+
The claim is *not* mathematical novelty of the definition. The claim is that identifying this structure as a computational artifact of irreversible processes (rather than just a topological invariant) exposes a class of practically useful "residue" theorems that standard literature ignores.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Is this just Sigma Types?
2+
3+
## The Skeptical Position
4+
Yes, at the lowest level of Agda code, this is `Σ (x : A) , (f x ≡ y)`. It relies entirely on the standard dependent pair type and propositional equality.
5+
6+
## The Burden of Proof
7+
Any claim of utility must show why working with the `Echo` wrapper is better than directly pattern-matching on the Sigma type. If every proof immediately unpacks the `Echo` and does standard Sigma-type manipulation, the abstraction is leaky and pointless.
8+
9+
## Collapse Conditions
10+
If the `Echo` interface requires the user to manually manage the underlying `Σ` structure to accomplish basic composition or mapping tasks, the abstraction fails.
11+
12+
## Reinterpretation vs. Novelty
13+
The novelty must reside in the API and the categorical/compositional properties exposed by the wrapper, demonstrating that `Echo` behaves coherently under lossy operations in a way that bare Sigma types do not automatically communicate.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# What is actually new?
2+
3+
## The Skeptical Position
4+
Type theory has had fibers, sigma types, and pullbacks since its inception. Categorical logic has well-understood models for irreversibility.
5+
6+
## The Burden of Proof
7+
We must prove that "Echo Types" provide a formally verified vocabulary for *partial recovery* and *provenance* that is significantly more ergonomic or insightful than existing encodings.
8+
9+
## Collapse Conditions
10+
If the "Echo" approach does not scale to practical examples (like lossy boolean classification or quotienting) without degenerating into unreadable equality proofs, it is not a useful contribution. If it is exactly isomorphic to a known, established approach (e.g., standard refinement types) without offering new insights, it is redundant.
11+
12+
## Reinterpretation vs. Novelty
13+
The mathematical foundation is entirely standard. The potential novelty is the formalisation of "structured loss"—treating the irreversible destruction of information as a first-class object that leaves a proof-relevant, computable residue, rather than merely a forgotten input.

docs/adjacency/README.adoc

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@ is the family of `echo-not-prop` lemmas formalised in
3232
* `EpistemicUpdate.echo-not-prop` — eight worlds, four consistent
3333
* `LinearErasure.echo-not-prop` — two annotated types, one erasure
3434

35-
The general theorem (forwarded as Q2.1 in `next-questions.adoc`):
36-
for non-injective `f : A → B` with at least two distinct preimages
37-
of `y`, `is-prop (Echo f y) → ⊥`. The n=2 special cases are proved;
38-
the general theorem awaits gate-2 evaluation.
35+
The general theorem (Q2.1 in `next-questions.adoc`): for
36+
non-injective `f : A → B` with at least two distinct preimages of
37+
`y`, `is-prop (Echo f y) → ⊥`. **Proved.** The received-`y` form is
38+
`EchoTruncation.echo-not-prop`, re-exported as
39+
`characteristic.NonTruncatable.Q2-1`; the stronger constructed-`y`
40+
form (non-injectivity of `f` *forces* a non-propositional fibre,
41+
the `y` being produced rather than assumed) is
42+
`characteristic.NonTruncatable.non-injective⇒echo-not-prop`. The
43+
gate-2 audit (recorded in that module's header and in
44+
`next-questions.adoc` §Q2.1) demotes the received-`y` form as
45+
Σ-reducible and forwards only the constructed-`y` form as a
46+
candidate nominee.
3947

4048
Truncation arguments are load-bearing against:
4149

@@ -305,10 +313,15 @@ meta-note it has no axis engagement; retained for traceability.
305313
The truncation argument has formal exhibits for three of its
306314
target neighbours via gate-3's `echo-not-prop` family
307315
(`TropicalArgmin`, `EpistemicUpdate`, `LinearErasure`). The
308-
general theorem (Q2.1) is unstated and unproven. Q2.1 is the
309-
single most leveraged open formalisation: closing it would
310-
discharge truncation arguments against all four
311-
truncation-vulnerable neighbours simultaneously.
316+
general theorem (Q2.1) is now **stated and proved** in
317+
`characteristic.NonTruncatable` (received-`y` form `Q2-1` plus the
318+
stronger constructed-`y` form `non-injective⇒echo-not-prop`),
319+
discharging the truncation argument against all four
320+
truncation-vulnerable neighbours at the general level rather than
321+
the three n=2 instances. The remaining open work is the gate-2
322+
*nomination* decision (the audit demotes the received-`y` form as
323+
Σ-reducible and forwards only the constructed-`y` form), not the
324+
formalisation.
312325

313326
The 2-cell argument has formal exhibits for both of its target
314327
neighbours (quotients via `EchoVsQuotient.Sophisticated`, Galois

docs/bridge-status.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Bridge Status
2+
3+
This document strictly tracks the status of experimental extensions and bridges between the minimal core of Echo Types and other domains.
4+
5+
**Note:** Bridge materials are speculative and exploratory. They do *not* affect the core identity or foundational theorems of the repository.
6+
7+
## 1. CNO Bridge (Absolute Zero)
8+
- **Status:** PARTIAL
9+
- **Dependencies:** Absolute Zero Framework
10+
- **Blockers:** End-to-end integration across repositories is not yet mechanically verified here.
11+
- **Core Affect:** NO
12+
13+
## 2. Thermodynamics
14+
- **Status:** EXPLORATORY
15+
- **Dependencies:** None
16+
- **Blockers:** The quantitative collapse functional on infinite carriers is negatively closed (`collapse-cost-impossible`).
17+
- **Core Affect:** NO
18+
19+
## 3. Tropical Semantics
20+
- **Status:** PARTIAL
21+
- **Dependencies:** None
22+
- **Blockers:** Witness residues under tropical collapse are established, but broader ecosystem mapping remains incomplete.
23+
- **Core Affect:** NO
24+
25+
## 4. Buchholz / Veblen Ordinals
26+
- **Status:** BLOCKED
27+
- **Dependencies:** Standard Agda
28+
- **Blockers:** Well-foundedness of shared-binder cases is blocked by the failure of the self-lift.
29+
- **Core Affect:** NO
30+
31+
## 5. JanusKey / Categorical
32+
- **Status:** EXPLORATORY
33+
- **Dependencies:** Categorical foundations
34+
- **Blockers:** Higher-level abstractions (monads, adjunctions) are still evolving; core functors are stable.
35+
- **Core Affect:** NO
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)