Inductive coulfeu : Set :=
| Vert : coulfeu
| Orange : coulfeu
| Rouge : coulfeu
.
Definition coul_suiv : coulfeu -> coulfeu := fun c => match c with
| Vert => Orange
| Orange => Rouge
| Rouge => Vert end.
Theorem th_crou_gen : forall c : coulfeu, c = Rouge -> coul_suiv c = Vert. Proof. intro c0. (** Pour démontrer [c0 = Rouge -> coul_suiv c0 = Vert], onsuppose[c0=Rouge] etondoitalorsprouver[coul_suivc0=Vert] souscettehypothèsesupplémentaire;
lorsque l'on introduit une hypothèse, on lui donne un nom. *) intro c0rou. (* /!\ CRASH ON THIS LINE /!\ *) (** Le raisonnement sous-jacent est : soitc0rouunepreuvearbitraire(inconnue)de[c0=Rouge],
on peut s'en servir pour démontrer coul_suiv [c0 = Vert]. *) rewrite c0rou. cbn [coul_suiv]. reflexivity. Qed.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(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.