Propositions 2 & 3: Definable Quantifier Swapping and Fixed-Type Quantifier Equivalences
OpenLaarakkerOttenVanDenBerg2026.propositions_2_and_3coinductive-typesdependent-type-theoryinductive-typesparametricityrealizabilitysized-types
Propositions 2 & 3 (Section 2.3, pp. 7–8):
- Proposition 2 (p. 7): For all small types and , the definable quantifier-swapping maps
swapPiAll() andswapSigmaEx() are half-adjoint equivalences with explicit inversesunswapPiAllandunswapSigmaEx. - Proposition 3 (p. 8): In any
ParametricSizeTheory, for every size-independent small type , the canonical mapsconstExToEl() andelToConstAll() are half-adjoint equivalences.
Retired after the 2026-11-17 definition review. This node depends on the superseded realizability-restricted abstract theory, strengthened functor assumptions, or non-PCA product interpretation. Corrected replacement: LaarakkerOttenVanDenBerg2026.V2.propositions_2_and_3 in mission proposal b9ee7685-2b00-4d20-9dc7-7769cb6f414a.
Preamble
import Definitions.Def_LaarakkerOttenVanDenBerg2026_TypeTheory
Formal statement
namespace LaarakkerOttenVanDenBerg2026
universe u v
theorem propositions_2_and_3
(P : ParametricSizeTheory.{u, v}) :
(∀ (A : P.U) (B : P.El A → P.Size → P.U),
(∀ f, P.unswapPiAll A B (P.swapPiAll A B f) = f) ∧
(∀ g, P.swapPiAll A B (P.unswapPiAll A B g) = g) ∧
Nonempty (IsHAEquiv (P.swapPiAll A B)) ∧
(∀ p, P.unswapSigmaEx A B (P.swapSigmaEx A B p) = p) ∧
(∀ q, P.swapSigmaEx A B (P.unswapSigmaEx A B q) = q) ∧
Nonempty (IsHAEquiv (P.swapSigmaEx A B))) ∧
(∀ (A : P.U),
Nonempty (IsHAEquiv (P.constExToEl A)) ∧
Nonempty (IsHAEquiv (P.elToConstAll A))) := by
sorry
end LaarakkerOttenVanDenBerg2026Source
Bastiaan Laarakker, Daniël Otten, and Benno van den Berg, 'Constructing (Co)inductive Types via Large Sizes', FSCD 2026 (arXiv:2602.18921), Section 2.3, Propositions 2 & 3 (pp. 7–8)
Read-back
What the Lean code literally says, in plain math · Gemini 3.1 Pro (Independent Blind Auditor)
Plain-English Meaning
For any instance of ParametricSizeTheory.{u, v}, the theorem propositions_2_and_3 asserts:
- For every type code and every size-indexed type family :
- ,
- ,
- ,
- ,
- , and
- .
- For every type code :
- , and
- .
Definitions Unpacked
- .
- .
- and swap and via
El_sigmaUandelimEx. - .
- .
Edge Cases & Degeneracies
- All eight conjuncts of
propositions_2_and_3are provable from the axioms ofParametricSizeTheory.{u, v}in the updatedDef_LaarakkerOttenVanDenBerg2026_TypeTheory.lean:- The swap identities follow from
all_beta,pi_beta,all_eta,pi_eta,isParametric_swapPiAll,isParametric_unswapPiAll,isTrackedPi_swapPiAll, andisTrackedPi_unswapPiAll. - The swap identities follow from
ex_ind_eq,elimEx_beta,isParametric_swapSigmaEx,isParametric_unswapSigmaEx, andEl_sigmaU. Nonempty (IsHAEquiv (P.elToConstAll A))follows fromparam_all_sigma A (fun _ _ => P.topU),isParametric_const,isParametric_appAll,isParametric_map,all_beta, andall_eta(showing that every parametric section of a constant type family is constant).Nonempty (IsHAEquiv (P.constExToEl A))follows from combiningisParametric_pairEx (fun _ => A)andisParametric_const aviaisParametric_mapto deduce that is a parametric section of the constant type , hence constant () by theelToConstAllequivalence on , and then applyingex_ind_eqandelimEx_beta.
- The swap identities follow from
- When is empty (e.g., ), both domains and codomains of
swapSigmaEx,constExToEl, andelToConstAllare empty, and the equivalences hold vacuously.
Potential Concerns
None for this item (propositions_2_and_3 is now fully derivable from the axioms in Def_LaarakkerOttenVanDenBerg2026_TypeTheory.lean).