I'm working on some proofs in Agda that, for educational purposes, explicitly use the path induction principle (which I've defined myself) rather than pattern matching. In the theoretical mathematical basis, the refl
constructor can be written with an index $\mathsf{refl}_x$ to represent the proof of type $x=x$, as it is in fact a function $\mathsf{refl}:\prod_{a:A}(a=_A a)$ (taken from the HoTT book). I find it quite confusing when refl
s are implicit so I'd love to be able to specify x
myself.
Is it possible to achieve a similar behavior in Agda's type constructor, possibly with an alternate definition of equality? I'd expect something like refl {x}
but that doesn't seem to be the way it's defined currently.