The Hitchhiker’s Guide to
Logical Verificationprocedure. For example, when inferring the type ?α of λx , abs x , Lean would perform the following schematic type derivation: Cst x : ?β ⊢⊢⊢ abs : ?β → ?γ Var x : ?β ⊢⊢⊢ x : ?β App x : ?β ⊢⊢⊢ abs x : convenient alternative to option.catch ma ma’, Lean supports the syn- tax ma.catch ma’. Here is a schematic example that demonstrates throwing and catching with this syntax: do { . . ., if . . . then option0 码力 | 215 页 | 1.95 MB | 1 年前3
Theorem Proving in Lean
Release 3.23.0terms that are checked independently by the kernel. 8.1 Pattern Matching The interpretation of schematic patterns is the first step of the compilation process. We have seen that the cases_on recursor can0 码力 | 173 页 | 777.93 KB | 1 年前3
共 2 条
- 1













