(Co)condition hits the Path
<|reference_start|>(Co)condition hits the Path: We propose an enhancement to inductive types and records in a dependent type theory, namely (co)conditions. With a primitive interval type, conditions generalize the cubical syntax of higher inductive types in homotopy type theory, while coconditions generalize the cubical path type. (Co)conditions are also useful without an interval type. The duality between conditions and coconditions is presented in an interesting way: The elimination principles of inductive types with conditions can be internalized with records with coconditions and vice versa.   However, we do not develop the metatheory of conditions and coconditions in this paper. Instead, we only present the type checking.<|reference_end|>
@article{zhang2024(co)condition,
    title={(Co)condition hits the Path},
    author={Tesla Zhang, Valery Isaev},
    journal={arXiv preprint arXiv:2405.12994},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.12994},
    primaryClass={cs.LO cs.PL}
}