Lemma test1 : forall (v : nat) (f g : nat -> nat),
f v = g v. intros. f_equal. (* Goalinv8.5:fv=gv Goalinv8.4:v=v->fv=gv Expected:f=g
*) Admitted.
Lemma test2 : forall (v u : nat) (f g : nat -> nat),
f v = g u. intros. f_equal. (* Inbothv8.4Andv8.5 Goal1:v=u->fv=gu Goal2:v=u
ExpectedGoal1:f=g ExpectedGoal2:v=u
*) Admitted.
Lemma test3 : forall (v : nat) (u : list nat) (f : nat -> nat) (g : list nat -> nat),
f v = g u. intros. f_equal. (* Inbothv8.4Andv8.5,thegoalisunchanged.
*) Admitted.
RequireImport TestSuite.list. Lemma foo n (l k : list nat) : app k (skipn n l) = skipn n l. Proof. f_equal. (* 8.4:leavesthegoalunchanged,i.e.k++skipnnl=skipnnl 8.5:2goals,skipnnl=l->k++skipnnl=skipnnl andskipnnl=l
*) Abort.
Fixpoint replicate {A} (n : nat) (x : A) : list A := match n with0 => nil | S n => x :: replicate n x end. Lemma bar {A} n m (x : A) :
skipn n (replicate m x) = replicate (m - n) x ->
skipn n (replicate m x) = replicate (m - n) x. Proof. intros. f_equal. (* 8.5: one goal, n = m - n *) Abort.
Parameter F : nat -> Set. Parameter X : forall n, F (n + 1).
Definition sequator{X Y: Set}{eq:X=Y}(x:X) : Y := eq_rec _ _ x _ eq. Definition tequator{X Y}{eq:X=Y}(x:X) : Y := eq_rect _ _ x _ eq.
Polymorphic Definition pequator{X Y}{eq:X=Y}(x:X) : Y := eq_rect _ _ x _ eq.
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.