File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,16 @@ Module BoundedQuality.
243243 Check dumb' true Set .
244244End BoundedQuality.
245245
246+ Module BoundedQuality2.
247+ Inductive dumb' (A:Type) (b:bool) (B : Type) := cons' : A -> (b = true -> dumb' A false nat) -> dumb' A b B.
248+
249+ Check dumb' True true Set : Prop.
250+ Fail Check dumb' nat true Set : Prop.
251+ Check dumb' nat true Set : Set.
252+ Fail Check dumb' Set true Set : Set.
253+ Check dumb' Set true Set .
254+ End BoundedQuality2.
255+
246256Module UnminimizedOption.
247257 Unset Universe Minimization ToSet.
248258 Inductive option A := None | Some (_:A).
@@ -253,6 +263,17 @@ Module UnminimizedOption.
253263 Check option Set : Type.
254264End UnminimizedOption.
255265
266+ Module UnminimizedFunction.
267+ Unset Universe Minimization ToSet.
268+ Inductive Foo (T:Type) := foo (_:nat -> T).
269+
270+ Check Foo True : Prop.
271+ Fail Check Foo nat : Prop.
272+ Check Foo nat : Set.
273+ Fail Check Foo Set : Set.
274+ Check Foo Set : Type.
275+ End UnminimizedFunction.
276+
256277Module ExplicitOption.
257278 Inductive option@{u} (A:Type@{u}) : Type@{u} := None | Some (_:A).
258279
You can’t perform that action at this time.
0 commit comments