Equality of type with equal indices do not typecheck
Summary This postmortem analyzes a typechecking failure in a Rocq/Coq development where a refinement proof between two labeled transition systems (B2 refining B1 under a function f) fails. The core issue is that the typechecker cannot see that h n = h (n+1) or h (n+1) = h n + 2 at the point where … Read more