Maplet Overriding in Goal
This page describes the design of a tactic requested here : Feature Request #3306228
Objective
Split every goal in the form : into three sub-goals if and only if the sequent contains that hypothesis :
Where denote either a Relation , or a Total Relation , or a Partial Function , or a Total Function .
Design Decision
Those three subgoals are not equivalent to the goal from which they are inferred. In order to get the equivalence, we should write . But this has the drawback of writing twice the expression x. If this expression is big, then it can make the proof rule hard to read.
But, we know that . By ensuring that this predicate is among the hypotheses of the sequent, we are sure that it will be proofed. Indeed, if this check was not done, the proof obligation may be unprovable since there are a loss of informations by writing instead of .