Skip to content

Commit 8424fbb

Browse files
committed
Clarify trust requirements on kernel
1 parent 8ae381a commit 8424fbb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Manual/Elaboration.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ Roughly speaking, Lean's processing of a source file can be divided into the fol
9999

100100
: Kernel Checking
101101

102-
Lean's trusted kernel checks the output of the elaborator to ensure that it follows the rules of the type theory.
102+
Lean's trusted kernel{margin}[To avoid trusting the elaborator when verifying a statement, one has to {keywordOf Lean.Parser.Command.print}`#print` the statement to get the elaborated type and manually verify that it expresses the desired statement.
103+
This brings {keywordOf Lean.Parser.Command.print}`#print` into the trusted base.] checks the output of the elaborator to ensure that it follows the rules of the type theory.
103104

104105
: Compilation
105106

0 commit comments

Comments
 (0)