lean4-htt/tests/lean/private_structure.lean.expected.out

22 lines
1 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 {x := x, y := y}) → Π (n : point), ?M_1 n
point.rec_on : Π (n : point), (Π (x y : ), ?M_1 {x := x, y := y}) → ?M_1 n
point.cases_on : Π (n : point), (Π (x y : ), ?M_1 {x := x, y := y}) → ?M_1 n
point.x : point →
point.y : point →
bla : Type
private_structure.lean:23:7: error: unknown identifier 'point'
private_structure.lean:24:7: error: unknown identifier 'point.mk'
private_structure.lean:25:7: error: unknown identifier 'point.rec'
private_structure.lean:26:7: error: unknown identifier 'point.rec_on'
private_structure.lean:27:7: error: unknown identifier 'point.cases_on'
private_structure.lean:28:7: error: unknown identifier 'point.no_confusion'
private_structure.lean:29:7: error: unknown identifier 'point.x'
private_structure.lean:30:7: error: unknown identifier 'point.y'
def foo.bla : Type :=
point
private_structure.lean:35:8: error: invalid constructor ⟨...⟩, type is a private inductive datatype
⁇ : foo.bla
foo.mk : foo.bla