Inconsistent behaviour when performing case analysis on appeal to the induction hypothesis in Harpoon #236
Labels
A | core
affecting the typechecker
A | harpoon
affecting the Harpoon interactive prover
B | bug
unexpected or incorrect behaviour
Load the following signature:
Then, input the following commands:
We get this metavariable:
The hole in
dc : cn-of c _
should have been instantiated withK1[..]
since it can be inferred from the usage ofdc
inDwf1
.That notwithstanding, case analysis using either of
msplit D
,split [_ |- D]
andinvert [_ |- D]
fails with the following exception:This error does not appear in the debug log, which reads that
[harpoon-split] generated 1 cases
, and the correct output metavariables are logged:This error is especially weird since it is not thrown when we avoid introducing the metavariable
D
by simply using theinvert
tactic directly:The text was updated successfully, but these errors were encountered: