Module Mono. Module Transparent. Fixpoint F (n : nat) (A : Type) {struct n} : nat with G (n : nat) (A:Type@{_}) {struct n} : nat. Proof.
1: pose (match n with S n => G n A | 0 => 0 end). all: exact 0. Defined. End Transparent.
ModuleOpaque. Fixpoint F (n : nat) (A : Type) {struct n} : nat with G (n : nat) (A:Type@{_}) {struct n} : nat. Proof.
1: pose (match n with S n => G n A | 0 => 0 end). all: exact 0. Qed. EndOpaque. End Mono.
Module Poly. Set Universe Polymorphism. Module Transparent. Fixpoint F (n : nat) (A : Type) {struct n} : nat with G (n : nat) (A:Type@{_}) {struct n} : nat. Proof.
1: pose (match n with S n => G n A | 0 => 0 end). all: exact 0. Defined. Check F@{_}. Check G@{_}. End Transparent.
ModuleOpaque. Fixpoint F (n : nat) (A : Type) {struct n} : nat with G (n : nat) (A:Type@{_}) {struct n} : nat. Proof.
1: pose (match n with S n => G n A | 0 => 0 end). all: exact 0. Qed. Check F@{_}. Check G@{_}. EndOpaque. End Poly.
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 ist noch experimentell.