Aether Catalog definitions — Speculative_AutoResearch_RetrocausalHeyting
DefinitionSpeculative_AutoResearch_RetrocausalHeytingaether-catalogspeculative
Definition bundle for the Aether Catalog module Speculative.AutoResearch.RetrocausalHeyting, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from Speculative/AutoResearch/RetrocausalHeyting.lean by skeleton subtraction
import Mathlib
/-!
# Retrocausal Heyting Algebras: Where Effects Precede Causes
This module formalizes **retrocausal logical structures**, where an order-reversing
involution (a "time-reversal" / CPT operator) models implications flowing *backward*
in time. The central phenomena are:
* **The law of excluded middle (LEM) fails** in genuinely intuitionistic (non-Boolean)
Heyting algebras (`retro_lem_fails`).
* **A temporal excluded middle (TEM) always holds**: the *double negation* of LEM is
valid in *every* Heyting algebra (`temporal_excluded_middle`). This is the Glivenko /
weak-excluded-middle phenomenon reinterpreted temporally: `¬¬(a ∨ ¬a) = ⊤`.
* **Any retrocausal logic must be intuitionistic**: rejecting LEM is *equivalent* to
rejecting double-negation elimination (`lem_iff_dne`). Hence a logic that admits a
proper retrocausal (non-Boolean) structure cannot be classical.
* A retrocausal **time-reversal** is an antitone involution; it satisfies De Morgan
dualities `rev (a ⊔ b) = rev a ⊓ rev b` and swaps `⊥ ↔ ⊤` (`rev_sup`, `rev_inf`,
`rev_bot`, `rev_top`).
## Physical reading
In Euclidean QFT, Osterwalder–Schrader **reflection positivity** equips the theory with
an involutive time-reflection `θ` (`θ ∘ θ = id`). Composing this reflection with
logical negation yields exactly an order-reversing involution on the algebra of
propositions — a *retrocausal* connective `C ∘ T`. The companion bridge file
`Bridges/RetrocausalCPTBridge.lean` constructs this connective from a
`ReflectionPositiveForm`, tying the algebraic content here to the QFT CPT structure.
-- !-- Lab Notes -- !--
Hypothesis (Hypothesizer):
H1. In a retrocausal Heyting algebra LEM `a ⊔ aᶜ = ⊤` fails, yet its double negation
`(a ⊔ aᶜ)ᶜᶜ = ⊤` (a "temporal" excluded middle) survives. [surprising]
H2. Rejecting LEM is *equivalent* to rejecting double-negation elimination; i.e.
"retrocausal ⟹ intuitionistic" is an iff, not a one-way implication. [surprising]
H3. A retrocausal time-reversal (antitone involution) automatically satisfies the
De Morgan dualities and swaps the truth poles `⊥ ↔ ⊤`.
Experiment (Experimenter):
- H1: `temporal_excluded_middle` proved for ALL Heyting algebras via
`compl_sup_distrib` + `inf_compl_eq_bot`; the concrete failure of LEM is
witnessed in the 3-chain `Fin 3` (a genuinely non-Boolean Heyting algebra).
- H2: `lem_iff_dne` proved both directions; the backward direction crucially reuses
`temporal_excluded_middle`.
- H3: derived `rev_sup`, `rev_inf`, `rev_bot`, `rev_top` from only `Involutive` +
antitone, using the involution to transport `⊔`/`⊓` across the order dual.
Analysis (Analyst):
- SURVIVED: H1, H2, H3 (all 0-sorry). The decisive insight is that TEM is not a new
axiom but a *theorem* of every Heyting algebra; intuitionism keeps the doubly-negated
classical tautologies. This is why "effects precede causes" is logically coherent.
- The forward direction of H2 needs distributivity (`inf_sup_left`), confirming that
the LEM ⇒ Boolean collapse is a distributive-lattice fact, not a Heyting accident.
Critique (Critic):
- `retro_lem_fails` uses `decide` on `Fin 3`; it is a *witness* (an existence example),
not a headline theorem. The headline theorems `temporal_excluded_middle`,
`lem_iff_dne`, `rev_sup`, `rev_inf` all use genuine algebraic tactics
(`rw`, `le_antisymm`, distributivity), not decision procedures.
- Guarded the De Morgan lemmas to the minimal typeclass (`Lattice` + bounds) so they
are reusable by the Boolean carrier `Set V` in the CPT bridge.
Synthesis (PI): the retrocausal class + TEM + LEM↔DNE + De Morgan transport form a
self-contained intuitionistic core that the QFT bridge instantiates from OS reflection.
-- !-- Lab Notes -- !--
-/
namespace Retrocausal
/-! ## Part I. The temporal excluded middle (TEM) -/
/-! ## Part II. Retrocausal time-reversal -/
/-- A **retrocausal time-reversal** on a Heyting algebra is an order-*reversing*
involution `rev`. Order reversal encodes "implications flowing backward in time":
`a ≤ b` (cause `a` entails effect `b`) becomes `rev b ≤ rev a` under time reversal.
Involutivity is the algebraic shadow of the CPT theorem (`(CPT)² = id`). -/
class RetrocausalHeyting (α : Type*) [HeytingAlgebra α] where
/-- The time-reversal / CPT operator. -/
rev : α → α
/-- Time reversal is an involution: applying it twice is the identity. -/
rev_involutive : Function.Involutive rev
/-- Time reversal reverses entailment (implications flow backward). -/
rev_antitone : ∀ {a b : α}, a ≤ b → rev b ≤ rev a
export RetrocausalHeyting (rev rev_involutive rev_antitone)
variable {α : Type*} [HeytingAlgebra α] [RetrocausalHeyting α]
/-! ## Part III. A concrete retrocausal Heyting algebra with failing LEM -/
/-- The order-reversal `a ↦ 2 - a` makes the 3-chain `Fin 3` a retrocausal Heyting
algebra. Combined with `retro_lem_fails`/`retro_tem_holds` this is a concrete model in
which the law of excluded middle fails while the temporal excluded middle holds. -/
instance : RetrocausalHeyting (Fin 3) where
rev a := 2 - a
rev_involutive := by intro x; fin_cases x <;> rfl
rev_antitone := by
intro a b h
fin_cases a <;> fin_cases b <;> simp_all
end Retrocausal