Lemma l2 : forall H : 0 = 1, H = H. discriminate H. Qed.
(* Check the variants of discriminate *)
Goal O = S O -> True. discriminate1.
Undo. intros. discriminate H.
Undo. Ltac g x := discriminate x.
g H. Abort.
Goal (forall x y : nat, x = y -> x = S y) -> True. intros. trydiscriminate (H O) || exact I. Qed.
Goal (forall x y : nat, x = y -> x = S y) -> True. intros.
ediscriminate (H O).
instantiate (1:=O). Abort.
(* Check discriminate on identity *)
Goal ~ identity 01. discriminate. Qed.
(* Check discriminate on types with local definitions *)
Inductive A := B (T := unit) (x y : bool) (z := x). Goalforall x y, B x true = B y false -> False. discriminate. Qed.
Messung V0.5 in Prozent
¤ 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.0.0Bemerkung:
(vorverarbeitet am 2026-09-28)
¤
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.