lean4-htt/src/kernel/inductive
Leonardo de Moura 235b8975d2 feat(kernel/inductive): K-like reduction in the kernel
Given (H_1 : a = a), we have that
      eq.rec H_2 H_1
reduces to H_2

This is not exclusive to equality.
It applies to any inductive datatype in Prop, containing only one
constructor with zero "arguments" (we say they are nullary).

BTW, the restriction to only one constructor is not needed, but it is
does not buy much to support multiple nullary constructors since Prop is
proof irrelevant.
2014-10-10 14:37:45 -07:00
..
CMakeLists.txt feat(kernel/inductive): add inductive datatype kernel extension module interface 2014-05-16 09:53:51 -07:00
inductive.cpp feat(kernel/inductive): K-like reduction in the kernel 2014-10-10 14:37:45 -07:00
inductive.h refactor(*): explicit initialization/finalization for environment extensions 2014-09-22 17:30:29 -07:00