Skip to content

Compatibility patch for Rocq PR #22272#864

Open
olympichek wants to merge 2 commits into
PrincetonUniversity:masterfrom
olympichek:ppedrot-global-fix-retyping-master
Open

Compatibility patch for Rocq PR #22272#864
olympichek wants to merge 2 commits into
PrincetonUniversity:masterfrom
olympichek:ppedrot-global-fix-retyping-master

Conversation

@olympichek

Copy link
Copy Markdown

Compatibility patch for the proposed Rocq change: rocq-prover/rocq#22272

With folded global fixpoints, independently elaborated copies of the
same dependent-type-functor type no longer agree syntactically:

- In canon.v's {LOCALx,PROPx_args,PROPx}_super_non_expansive, the
  Forall hypothesis carries binder types like
  [_functor (dependent_type_functor_rec ts (ConstType environ)) mpred]
  in folded (reducible) form, so auto's [simple apply H0] can no
  longer match the goal; strengthen [f_equal; auto] with an explicit
  [apply H0] (a no-op wherever auto already closes everything).

- start_function1's [simpl rmaps.dependent_type_functor_rec] cannot
  reach the folded occurrences inside the convoy-pattern match return
  annotations of ND funspecs, so the dependent-types argument stays
  mentioned in the goal; make [clear DependedTypeList] optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant