@kha, `eqn_compiler.lemmas` is false by default. I will keep them disabled until I remove the inductive compiler. I'm building the new inductive datatype module (to replace the inductive compiler), and the lemmas will fail to be proved in the next commits until the transition is complete.
19 lines
461 B
Text
19 lines
461 B
Text
/-
|
|
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Author: Leonardo de Moura
|
|
-/
|
|
prelude
|
|
import init.data.list.basic
|
|
import init.control.alternative init.control.monad
|
|
open list
|
|
|
|
universes u v
|
|
|
|
instance : monad list :=
|
|
{ pure := @list.ret, map := @list.map, bind := @list.bind }
|
|
|
|
instance : alternative list :=
|
|
{ failure := @list.nil,
|
|
orelse := @list.append,
|
|
..list.monad }
|