Class Reflexive (R : A -> A -> Prop) := reflexivity : forall x : A, R x x.
The statement above from the Coq standard library generates a theorem called reflexivity. This theorem can be used with apply reflexivity, but the tactic reflexivity can still be used as well. This is a problem since when we are collecting our context the statement above will be linked to the tactic reflexivity, even when it shouldn't.
Our context should allow equal names with different term types and then somehow figure out what is the correct term type to be collected in different situations.
The statement above from the Coq standard library generates a theorem called
reflexivity
. This theorem can be used withapply reflexivity
, but the tacticreflexivity
can still be used as well. This is a problem since when we are collecting our context the statement above will be linked to the tacticreflexivity
, even when it shouldn't.Our context should allow equal names with different term types and then somehow figure out what is the correct term type to be collected in different situations.