(* Explanation: the proof engine see section variables as goal variables;especially,itcanchangetheirtypessothat,at type-checking,thesectionvariablesarenotrecognized (Typeops.check_hyps_inclusionraises"typesdonomatch").It workedbeforetheintroductionofpolymorphicinductivetypesbecause tacticswereusingTyping.type_ofandnotTypeops.typing;theformer wasnotcheckinghypsinclusionsothatthediscrepancyinthetypes ofsectionvariablesseenasgoalvariableswasnotaproblem(atthe end,whentheproofiscompleted,thesectionvariablerecoversits
original type and all is correct for Typeops) *)
Section A. Variable H:not True. Lemma f:nat->nat. destruct H. exact I. Defined. Goal f 0=f 1. red in H. (* next tactic was failing wrt bug #1325 because type-checking the goal
detected a syntactically different type for the section variable H *) case0. Abort. End A.
(* Variant with polymorphic inductive types for bug #1325 *)
Section B. Variable H:not True. Inductive I (n:nat) : Type := C : H=H -> I n. Goal I 0. red in H. case0. Abort. End B.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.7 Sekunden
(vorverarbeitet am 2026-09-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.