Built with Alectryon. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use ⌘ instead of Ctrl. Hover-Settings: Show types: Show goals:
-- import MathlibimportMathlib.Init.Data.Nat.Notation
importMathlib.Control.Traversable.Basic
importImportGraph.Imports
-- https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Agda.20style.20interactive.20case.20splitting.3F/near/424179379-- def foo (n : Nat) : Nat := by-- induction n with-- Cmd+. => Code action: generate an explicit pattern match for 'induction'def
Warning:declarationuses'sorry'
(
n: ℕ
n :
ℕ: Type
ℕ):
ℕ: Type
ℕ :=
Goalsaccomplished!🐙
n: ℕ
ℕ
zero
ℕ
Goalsaccomplished!🐙
n, ih: ℕ
succ
ℕ
Goalsaccomplished!🐙
-- https://github.com/leanprover-community/batteries/pull/577-- instance : Monad Id := _-- Cmd+. => Code action: Generate a (maximal) skeleton for the structure under construction