lean4-htt/tests/lean/private_structure.lean.expected.out
Leonardo de Moura 90bfd84a07 feat(frontends/lean): Type is now (Type 1)
In the standard library, we should use explicit universe variables for
universe polymorphic definitions.

Users that want to declare universe polymorphic definitions but do not
want to provide universe level parameters should use
  Type _
or
  Type*
2016-09-17 14:30:54 -07:00

23 lines
1.2 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

bla : Type
point : Type
point.mk : → point
point.rec : (Π (x y : ), ?M_1 (point.mk x y)) → Π (n : point), ?M_1 n
point.rec_on : Π (n : point), (Π (x y : ), ?M_1 (point.mk x y)) → ?M_1 n
point.cases_on : Π (n : point), (Π (x y : ), ?M_1 (point.mk x y)) → ?M_1 n
point.induction_on : ∀ (n : point), (∀ (x y : ), ?M_1 (point.mk x y)) → ?M_1 n
point.x : point →
point.y : point →
bla : Type
private_structure.lean:24:6: error: unknown identifier 'point'
private_structure.lean:25:6: error: unknown identifier 'point.mk'
private_structure.lean:26:6: error: unknown identifier 'point.rec'
private_structure.lean:27:6: error: unknown identifier 'point.rec_on'
private_structure.lean:28:6: error: unknown identifier 'point.cases_on'
private_structure.lean:29:6: error: unknown identifier 'point.induction_on'
private_structure.lean:30:6: error: unknown identifier 'point.no_confusion'
private_structure.lean:31:6: error: unknown identifier 'point.x'
private_structure.lean:32:6: error: unknown identifier 'point.y'
definition foo.bla : Type :=
point
private_structure.lean:37:7: error: invalid constructor ⟨...⟩, type is a private inductive datatype
foo.mk : foo.bla