chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
23,984 | lean_file_chunk | 475d430618341de6feea55aef62cfda7e20ee421223490e1976eba631627f182 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Do.InferControlInfo
public import Lean.Elab.Binders
import Lean.Meta.ProdN
public import Lean.Parser
meta import Lean.Parser.Do
... |
13,705 | lean_file_chunk | d6e31ff607307567dfdffe8888a0de089e02d54b49ccc4ba7c2cbc254e757e4c | lean_source_file | lean_toolchain_source_file_chunks | let error := throwError "This `do` block does not support `break`, `continue` or `return`."
let rc ← getReturnCont
let contInfo := { breakCont := error, continueCont := error, returnCont := { rc with k _ := error }}
let contInfo := ContInfo.toContInfoRef contInfo
withReader (fun ctx => { ctx with contInfo }) k
... |
1,455 | lean_file_chunk | a49d2206e1bf1994c10d97d8e35f733041c5f6a91ceacacbaa142a7b3129a56b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Term.TermElabM
import Lean.Elab.Do.Basic
import Lean.Elab.Do.Legacy
public section
namespace Lean.Elab.Term
register_builtin_... |
9,372 | lean_file_chunk | 2b6cd8caa8a4fcd8174a256267e74c3581d6f4ffaf0657ff8cb3f6e24930a1c2 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Term
meta import Lean.Parser.Do
import Lean.Elab.Do.PatternVar
public section
namespace Lean.Elab.Do
open Lean Meta Parser.Te... |
3,324 | lean_file_chunk | 158a0305c8bdba38f738b2221b43ad93fdc3e74b394b6889876b73c1bc71ae2f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Term
meta import Lean.Parser.Do
import Lean.Elab.PatternVar
import Lean.Elab.Quotation
public section
namespace Lean.Elab.Do
... |
1,573 | lean_file_chunk | 30f72c3d8bae01bcf7c51f1495783dd5e336fba8a392cb463521a5a0110da5a0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Marc Huisinga
-/
module
prelude
public import Lean.Meta.Basic
public section
namespace Lean.Elab
open Lean
structure InlayHintLinkLocation where
module : Name
range : Lean.Syn... |
13,702 | lean_file_chunk | 099b254e17bcfed3051b2bfdcfce41ed6483d566f7388e9b964412a454b057fc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich
-/
module
prelude
public import Lean.Data.DeclarationRange
public import Lean.Data.OpenDecl
public import Lean.MetavarConte... |
21,936 | lean_file_chunk | 865b3f00adeb4f7355d6bacfb1891248e335b61ee65cf5391ea769524a855097 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich
-/
module
prelude
public import Init.Task
public import Lean.Meta.PPGoal
public import Lean.ReservedNameAction
import Init.... |
23,955 | lean_file_chunk | c71e810674757bc3b0cf59cff0c991246aca4798a725dc9dc83a333afbabe706 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2019-2025 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Sebastian Ullrich
-/
module
prelude
public import Lean.Meta.Coe
public import Lean.Util.CollectLevelMVars
public import Lean.Linter.Deprecated
public im... |
23,904 | lean_file_chunk | da2cf7f4e9e8a9fc760494bfc50d9c295993ca13d2cb4e0db22ddd156291b9a8 | lean_source_file | lean_toolchain_source_file_chunks | def getLevelNames : TermElabM (List Name) :=
return (← get).levelNames
/--
Given a free variable `fvar`, return its declaration.
This function panics if `fvar` is not a free variable.
-/
def getFVarLocalDecl! (fvar : Expr) : TermElabM LocalDecl := do
match (← getLCtx).find? fvar.fvarId! with
| some d => pure... |
23,977 | lean_file_chunk | eeb2bf3c0b95bee74eec24d7122d0aee49da5305583af474eea275034c504104 | lean_source_file | lean_toolchain_source_file_chunks | def mkTypeMismatchError (header? : Option MessageData) (e : Expr) (eType : Expr) (expectedType : Expr) : MetaM MessageData := do
let header : MessageData := match header? with
| some header => m!"{header} "
| none => m!"Type mismatch{indentExpr e}\n"
return m!"{header}{← mkHasTypeButIsExpectedMsg eTy... |
23,963 | lean_file_chunk | a4f9ec8776477469b1f3d8f23ae5ae7e53eb4c0fd40797c224ac40e6ba4cb343 | lean_source_file | lean_toolchain_source_file_chunks | postponeElabTermCore stx expectedType?
else
throw ex)
catch ex => match ex with
| .internal id _ =>
if id == unsupportedSyntaxExceptionId then
s.restore -- also removes the info tree created above
elabUsingElabFnsAux s stx expectedType? catchExPostpone el... |
3,265 | lean_file_chunk | 25aa093f68314b5ee7b7c842a75701e9ac81cd2d6631bdff01094685af9a32ea | lean_source_file | lean_toolchain_source_file_chunks | return [(e, projs)] -- section variables should shadow global decls
if preresolved.isEmpty then
mkConsts (← realizeGlobalName n) explicitLevels
else
mkConsts preresolved explicitLevels
/--
Similar to `resolveName`, but creates identifiers for the main part and each projection with position information d... |
3,890 | lean_file_chunk | df43aa39c1b61732878f12b815d2afa459d16fe968c8cda8949b80f7e88303de | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dany Fabian
-/
module
prelude
public import Lean.Meta.Inductive
public import Lean.Elab.Deriving.Basic
public import Lean.Elab.Deriving.Util
public section
namespace Lean.Ela... |
11,161 | lean_file_chunk | fb2926294197c9bfced0374694aac54bc376277a1c37206844248673b0647455 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Sebastian Ullrich. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich, Dany Fabian
-/
module
prelude
public import Lean.Elab.Deriving.Basic
public import Lean.Elab.Deriving.Util
public section
namespace Lean.Elab.Deriving.FromToJs... |
13,065 | lean_file_chunk | 030e74c1a67f8f2e8032a41cf2b9d914aca4c7a59beb5042e7c6f0bc7eb13a1a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Data.Options
import Lean.Meta.Inductive
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
import Lean.Meta.N... |
1,851 | lean_file_chunk | 930f4b37758fbe9d718143e606caadaafb49e1ef0ade579ba66ec2a4b4196896 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joachim Breitner
-/
module
prelude
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
import Init.LawfulBEqTactics
namespace Lean.Elab.Deriving.ReflBEq
open Lean.Parser.Te... |
1,891 | lean_file_chunk | 8f577692bc0dbd7134641246ea27058de4232385d1cfb0f8a94f9d9590aa9970 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joachim Breitner
-/
module
prelude
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
import Init.LawfulBEqTactics
namespace Lean.Elab.Deriving.LawfulBEq
open Lean.Parser.... |
5,521 | lean_file_chunk | 8f79843c54a02264ddbefd5c5f48e90ea0a1cc5f0044a1e2e5379bc0e65520fd | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.Inductive
public import Lean.Elab.Deriving.Basic
public import Lean.Elab.Deriving.Util
public section
namespace Le... |
8,531 | lean_file_chunk | d5e44bd636640c2da7c62c76240a76b796f44692faa5eca6b2f104caa6ce5e93 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Command
import Lean.Elab.DeclNameGen
public section
namespace Lean.Elab.Deriving
open Meta Command
meta def impli... |
1,025 | lean_file_chunk | 7a512cda47256a1be3d46b609ab73585e4d7c6c2607d6ac3a5f300cbf612ae6d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
module
prelude
public import Lean.Elab.Deriving.Basic
public section
namespace Lean.Elab
open Command Std Parser Term
private def deriveTypeNameInstance (d... |
5,677 | lean_file_chunk | fcc0a945d48ce8a57089a0727ee8afe40766c04a39746654cf5d21f7098d76b0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
public section
namespace Lean.Elab.Deriving
open Command Meta Parser... |
11,398 | lean_file_chunk | 80bfabd62b6bff610d4c5149ea94bd6c312ac6943545229566481782314e030f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
module
prelude
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
/-!
# `ToExpr` deriving handler
This module defines a `ToExpr` deriving handler for induc... |
1,588 | lean_file_chunk | 90b10caa124b98e9d8e67a54a8d9bd78ae236009d8a782fee1c1c59433bd066d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
module
prelude
public import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
public section
namespace Lean.Elab.Deriving
open Command Meta Parser Ter... |
19,392 | lean_file_chunk | bb26791e31e2b867ce8c8f3be3a77db0c2a852139f7b2f5fc341577064a0effc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Wojciech Nawrocki
-/
module
prelude
public import Lean.Elab.App
public import Lean.Elab.DeclNameGen
import Lean.Compiler.NoncomputableAttr
import Lean.Meta.W... |
8,913 | lean_file_chunk | f3728b15971151eb026682cddccfeda45607bef0277729963ab0672eb338ad8d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dany Fabian
-/
module
prelude
public import Lean.Data.Options
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
import Lean.Meta.Constructions.CtorIdx
import Lean.... |
10,403 | lean_file_chunk | 9aaf0250ca2e3a708cfc7bf7f22ced2eac138c62a9a9f1947e17e2a8b61a8eae | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Data.Options
import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
import Lean.Meta.Constructions.CtorIdx
import... |
924 | lean_file_chunk | f17ab6c97c4500dc2eedcff183020598e0ea421cb7d63723285dae2aad4731c1 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.SizeOf
public import Lean.Elab.Deriving.Basic
import Lean.Elab.Deriving.Util
public section
/-!
Remark: `SizeOf` i... |
23,969 | lean_file_chunk | 59ff9e567bb5e3e04851b889a4b13b77a894b52932d75a8d85db8bf774840ef0 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: David Thrane Christiansen
-/
module
prelude
import Lean.Elab.DocString.Builtin.Parsing
public import Lean.Elab.DocString.Builtin.Scopes
public import Lean.Elab.DocString.Builtin.Postpone... |
23,973 | lean_file_chunk | 22e809ca2886e8e542abcdd128682fa6117a036ac6835a96e203b020b091ec56 | lean_source_file | lean_toolchain_source_file_chunks | pure <| String.Pos.Raw.extract text.source b' e'
else
-- Has name and type, nameColonOpt is `identFn >> symbolFn ":"`
if let some ⟨b, e⟩ := nameColonOpt[0].getRange? then
pure <| s!"{b.extract text.source e} : {b'.extract text.source e'}"
else
fa... |
5,261 | lean_file_chunk | 8462499e69edee3f28808ac50e9eca0545c56cc34bf326ba9dc95ed70ce3349d | lean_source_file | lean_toolchain_source_file_chunks | else return #[.mk ``given none none]
/--
Suggests the `lean` role, if applicable.
-/
@[builtin_doc_code_suggestions]
def suggestLean (code : StrLit) : DocM (Array CodeSuggestion) := do
try
let stx ← parseStrLit leanTermContents code
-- To cut down on false positives, we only suggest identifiers if their
... |
1,369 | lean_file_chunk | 273a6b04c69b7de614f592cb3a68823fc6811db77c74a5089a5b0c15710601e6 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Daniel Selsam, Gabriel Ebner
-/
module
prelude
public import Lean.Elab.Command
namespace Lean.Elab.Command
/-- Adds the name to the namespace, `_root_`-aware.... |
3,662 | lean_file_chunk | 3744010868d40cea57e93fd027b855fd9137dcb949ad164974919ce5081d4c29 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Gabriel Ebner
-/
module
prelude
public import Lean.Parser.Term
public section
namespace Lean.Elab.Command
/--
A `Scope` records the part of the `CommandEla... |
6,874 | lean_file_chunk | e278b378579f2fdffce915f420ffe4bef5eb16ef990b675b5c5fa85195670ac1 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Meta.Tactic.Simp
import Init.Omega
public section
namespace Lean.Elab.Tactic.Do
open Lean Meta Tactic
inductive Uses where
| ze... |
10,468 | lean_file_chunk | 635f124f52140d26ca801a6be9d1580f1fd4f39b0d0b0b16c50d81b0622e85e9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Meta.Tactic.Simp
public import Std.Tactic.Do.Syntax
import Init.While
import Init.Syntax
public section
namespace Lean.Elab.Tactic.... |
1,091 | lean_file_chunk | ee615cde55738ce7e403014bb1f3fcc17290be034b4c9a0a1bc06cdafe7980da | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public import Lean.Elab.Tactic.Do.ProofMode.Delab
public import Lean.Elab.Tactic.Do.ProofMode.Basic
pu... |
2,431 | lean_file_chunk | d2c247fd9ec59efa393e5b0b4263726b63d695ff6957f723ca02e8e2c29ebd70 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.BuiltinNotation
public import Std.Do.Triple.Basic
public section
namespace Std.Do
open Lean Parser ... |
13,615 | lean_file_chunk | 76e5a93faed4ff5b3d84f168c0b5071523f261e31c6b527204e3a94c659a3410 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.Attr
-- All these should become private imports in the future:
public import Lean.Elab.Tact... |
23,984 | lean_file_chunk | f4e7fbebd99c6e11106e189b80884fd940fab393ce768d2d66aa5fc9a0aa05ad | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
import Lean.Elab.Tactic.Do.VCGen.Split
import Lean.Elab.Tactic.Do.ProofMode.Revert
import Lean.Elab.Tactic.Do.LetElim
import Lean.Elab.Tactic.Do.Spec
im... |
152 | lean_file_chunk | 74bf2abad8d979f58aeea7fb07fab35ebb2665ffd6ebe034ba0f628deb3883c5 | lean_source_file | lean_toolchain_source_file_chunks | -- logInfo m!"{stx}\n{toString stx}\n{repr stx}"
-- logInfo m!"{stx'}\n{toString stx'}\n{repr stx'}"
Lean.Meta.Tactic.TryThis.addSuggestion stx stx' |
463 | lean_file_chunk | 98a03b26290eb5c9f1b21639f0b595fc5aef30dbb54e0640ba921fdd65e217ec | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Henrik Böving
-/
module
prelude
public import Lean.Elab.Tactic.BVDecide.LRAT.Trim
public section
/-!
This directory contains the implementation of the LRAT trimming algorithms.
It li... |
6,301 | lean_file_chunk | 890c18449b1dddb8c190d102d5e17e498b02b305e35f34be88b32c85293ce1e9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Henrik Böving
-/
module
prelude
public import Std.Tactic.BVDecide.LRAT.Parser
public import Lean.CoreM
public import Std.Tactic.BVDecide.Syntax
public section
/-!
This module impleme... |
827 | lean_file_chunk | ee38a0510edfacb4ca2d4e6fc593486a39e4f2dbb102457dc5281b6ecad01b83 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Henrik Böving
-/
module
prelude
public import Lean.Elab.Tactic.BVDecide.Frontend.Attr
public import Lean.Elab.Tactic.BVDecide.Frontend.BVCheck
public import Lean.Elab.Tactic.BVDecide.F... |
2,386 | lean_file_chunk | d1185a9a1cdf7cd75d15c9071aa1452be92927f37e5687bc3e07f9d163eedab9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
module
prelude
public import Lean.Elab.Tactic.Lets
public import Lean.Elab.Tactic.Conv.Basic
public section
/-!
# Conv tactics to manipulate `let` expressions
-/
open... |
6,028 | lean_file_chunk | eb4d5d669dba6b5d19ec15ccfb64ee66de910df5f7b0674e64ef565d7b87591b | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Simp
public import Lean.Elab.Tactic.Conv.Basic
public section
namespace Lean.Elab.Tactic.Conv
open Meta
pr... |
1,089 | lean_file_chunk | 924874a796214903b15837a04b5acc9e12a722053f4b32c861f953523f951bdf | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Unfold
public import Lean.Elab.Tactic.Conv.Simp
public section
namespace Lean.Elab.Tactic.Conv
open Meta
@... |
763 | lean_file_chunk | 7da16052cab06dab180430cb134b621375d0748dc895ac6800a612b1effef287 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Różowski
-/
module
prelude
public import Lean.Meta.Tactic.Cbv
public import Lean.Elab.Tactic.Conv.Basic
section
namespace Lean.Elab.Tactic.Conv
open Lean.Meta.Tactic.Cbv
... |
734 | lean_file_chunk | 751c7ad83d2a82fa890e8f9626565b78fe2b9a97eab0ef2178d9eaa5f3c62ef4 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Change
public import Lean.Elab.Tactic.Conv.Basic
public section
namespace Lean.Elab.Tactic.Conv
open Meta
... |
8,558 | lean_file_chunk | 1cad6ab3889076b7ea05902f2121aa1bf56bfd103a5556652559334d0ad52191 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.Tactic.Replace
public import Lean.Elab.Tactic.BuiltinTactic
public section
namespace Lean.Elab.Tactic.Conv
open Me... |
15,215 | lean_file_chunk | 53428dd8ac8d8df25cc26f607078db6b8a8e39f7959f9d52ade5a5a5a50dac60 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.Tactic.Simp.Main
public import Lean.Meta.Tactic.Congr
public import Lean.Elab.Tactic.Conv.Basic
public section
nam... |
2,581 | lean_file_chunk | 09c2195c25893f9793d485277569344adf949e417a3369b92dbcb2111737520d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Moritz Doll
-/
module
prelude
public import Lean.Elab.Tactic.Split
public import Lean.Elab.Tactic.Conv.Basic
public import Lean.Elab.Tactic.SimpTrace
public... |
776 | lean_file_chunk | 93c3e4360d330904c679bbdb913065aaa690c3e7bfd0bfca928118e9deb013e2 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Rewrite
public import Lean.Elab.Tactic.Conv.Basic
public section
namespace Lean.Elab.Tactic.Conv
open Meta
... |
636 | lean_file_chunk | 818808d220bc7868380dcc5279ab897cf619e81d8a993532076f40a8a939a537 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Delta
public import Lean.Elab.Tactic.Conv.Basic
public section
namespace Lean.Elab.Tactic.Conv
open Meta
@... |
21,291 | lean_file_chunk | 5794f20415f5b53c02aebf8629ba88b6991c489af1fd11a983c37a0c5cce7912 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
prelude
public import Lean.Elab.Tactic.Omega.OmegaM
public import Lean.Elab.Tactic.Omega.MinNatAbs
public section
namespace Lean.Elab.Tactic.Omega
initialize ... |
10,942 | lean_file_chunk | 22751d97db9b13f4939bf0185726b2b93cb53ce5e1437eec0706799babd2c02c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
prelude
public import Lean.Meta.AppBuilder
public import Lean.Meta.Canonicalizer
public import Init.Omega
public section
/-!
# The `OmegaM` state monad.
We ke... |
5,135 | lean_file_chunk | 6f497aedcae3a4c56c7d884ace794ff68266652ed46bd5af8381a32efa1fb26e | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
prelude
public import Init.Data.Int.Order
public import Init.Data.List.MinMax
public import Init.Data.Nat.Order
import Init.ByCases
import Init.Data.Bool
import ... |
23,985 | lean_file_chunk | 3d765dd67c1f921fdea5118775944081e69c742d41cb2b9637f780a7f0326576 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2023 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
prelude
public import Lean.Elab.Tactic.Omega.Core
public import Lean.Elab.Tactic.FalseOrByContra
public import Lean.Elab.Tactic.Config
public import Lean.Meta.Ta... |
5,686 | lean_file_chunk | cba9d4e2c6dcffc8ec74629bedf7d73e8f345cdc91d17580c5b41c5889755b36 | lean_source_file | lean_toolchain_source_file_chunks | |>.qsort (·.1 < ·.1)
|>.map (fun ⟨coeffs, ⟨_, cst, _⟩⟩ => " " ++ prettyConstraint (prettyCoeffs names coeffs) cst)
|>.toList
|> "\n".intercalate
prettyConstraint (e : String) : Constraint → String
| ⟨none, none⟩ => s!"{e} is unconstrained" -- should not happen in error messages
| ⟨none, so... |
1,377 | lean_file_chunk | c18bfae4d6e2dacd0357e99432395a4d9f6061880fc369bdcfbea01775b013fe | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module -- shake: keep-all (almost-terminal module, `#grind_lint` does not track extra deps)
prelude
import Init
import Std
import Lean.Elab.Ta... |
8,597 | lean_file_chunk | 9009a5a437267ac7fa4be8447673e1711baa04d40362714f65daed74be9f50c1 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Command
import Init.Grind.Lint
import Lean.Elab.Tactic.Grind.Config
import Lean.Meta.Tactic.TryThis
name... |
3,328 | lean_file_chunk | 21475ec3f9f14bc9aa050dcbfa09a3de804009f9bd3d1e3ccfa628a2d4827c11 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO, LLC. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
import Lean.Elab.Tactic.Grind.SimprocDSL
import Init.Sym.Simp.SimprocDSL
import Lean.Meta.Sym.Simp.EvalGround
import Lean.Meta.Sym.Simp.Telescope
imp... |
1,787 | lean_file_chunk | 53146ddb17b5c89cea0d8bd31c63d0b924f310071aeae1ead2331e03979702f1 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
prelude
public import Lean.Elab.Command
import Init.Grind.Annotated
import Std.Time.Format
namespace Lean.Elab.Tactic.Grind
open Command Std.Time
/--
Extension ... |
2,662 | lean_file_chunk | 671e21db123aeff283e49c6a70631cd96ed20f6fe4526c2727fe8caf686ffb51 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
import Lean.Meta.Tactic.Grind.Intro
import Lean.Meta.Tactic.Grind.RevertAll
import Le... |
15,955 | lean_file_chunk | f654b4c2a9bbdaa150fa56ed8ac404e3d9487d9826780acb9e192e82c95dbbbb | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Basic
public import Lean.Meta.Tactic.Grind.Main
import Lean.Meta.Tactic.Grind.Intro
public import... |
1,862 | lean_file_chunk | 05bf72940e46382f2a5c5f7749336248cf5729ee172b01f9712225ecc9c4fa63 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
public import Lean.Meta.Tactic.Grind.Filter
namespace Lean.Elab.Tactic.Grind
open Met... |
612 | lean_file_chunk | 6deb774e787f103b3478d08418e68fbfe66bbf582379053753f7dbd706094050 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.Tactic.Grind.Types
namespace Lean.Elab.Tactic.Grind
open Meta Grind
public def elabAnchorRef (anchor : ... |
18,867 | lean_file_chunk | cc7b68e443f67cdf5ccd2d43deb80bcdbe8f87e743723047353ca1c5bfbd8b8d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
import Lean.Meta.Tactic.TryThis
import Lean.Meta.Tactic.Grind.Solve
import Lean.Meta.... |
1,865 | lean_file_chunk | 69d96ecd9bd04772858cdb1ffa6facb7c2d96fabe3c4e397f4baf8febf2ad96d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
import Lean.Elab.Tactic.Grind.Config
import Lean.Elab.Tactic.Grind.Param
import Lean.... |
17,914 | lean_file_chunk | b1db5d610b2a74200bb332f10cc2734e9c704cef9d09cde15b347cb3999b7206 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
import Lean.Meta.Tactic.Grind.ForallProp
import Lean.Elab.Tactic.Grind.Anchor
import ... |
6,367 | lean_file_chunk | c566c79ca09b48ca3eef7ae167a1924c78ae0f29d7b63ae1cd76194a35254593 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Filter
import Lean.Meta.Tactic.Grind.PP
import Lean.Meta.Tactic.Grind.EMatchTheoremParam
im... |
1,631 | lean_file_chunk | eb85dc23424781d992c4e067a3c19c527e338c51e232251e562711b80f590568 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
import Lean.Elab.Tactic.ConfigSetter
public section
namespace Lean.Elab.Tactic.Grind
... |
2,142 | lean_file_chunk | f7bff624aab5fae84939ebdba9b22eabbd8d921e2ff1a8a9b5fb9d4838641704 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO, LLC. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Elab.Tactic.Grind.Basic
public import Lean.Meta.Sym.Simp.Discharger
import Init.Sym.Simp.SimprocDSL
public section
namespace Lean.... |
22,035 | lean_file_chunk | 0a75702f576eb52ccb58e364075a7450d650d421352ca0528b0140602008142f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
public import Lean.Meta.Tactic.Grind.Main
public import Lean.Meta.Tactic.TryThis
public import Lean.Elab.Tactic.Config
public im... |
2,859 | lean_file_chunk | b710f03d769d53690b6795c68f68d5b5af3f48a8ec24e2a6d3c4b1eea1ef95fa | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO, LLC. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
import Init.Sym.Simp.SimprocDSL
import Lean.Meta.Sym.Simp.Variant
import Lean.Elab.Tactic.Grind.SimprocDSL
import Lean.Elab.Command
namespace Lean.El... |
9,119 | lean_file_chunk | a07ee9615347bbf81e27b7ad85d79cfd3b12c7f87a06da73797347fbc1159937 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2026 Lean FRO, LLC. All Rights Reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
module
prelude
import Lean.Elab.Tactic.Grind.Basic
import Lean.Elab.Tactic.Grind.SimprocDSL
import Lean.Meta.Sym.Grind
import Lean.Meta.Sym.Simp.Variant
import Lean... |
8,475 | lean_file_chunk | 69190da9167e307c2b4f6beb3a45b3ccead691c470a7c36647f8075496a5f61d | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Meta.Tactic.Simp.Types
public import Lean.Meta.Match.MatcherApp.Transform
public import Lean.Data.Array
import Lean.Meta.Match.Rewrit... |
23,979 | lean_file_chunk | 4c6c24aa3565b90a2afdeb00d75859d64c0c9e2f4acba6008e7dacc4c9655088 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Basic
public import Lean.Meta.Tactic.Simp.Types
import Lean.Meta.Tactic.Simp.Main
import Lean.Elab.Tactic.Do.ProofMode.MG... |
1,461 | lean_file_chunk | fad3164ecbe7a874d4b7a340c909f3d7a279d5a668e7075d1fd5ef522121e78f | lean_source_file | lean_toolchain_source_file_chunks | -- No early return, but we do have a suggestion.
withLocalDeclD `xs (mkApp2 (mkConst ``List.Cursor us) α l) fun xs =>
withLocalDeclD `letMuts letMutsTy fun letMuts => do
let successBody ← Lean.PrettyPrinter.delab (success.beta #[xs, letMuts])
-- Configuration mess
if failureConds.points.isEmpty && n... |
10,322 | lean_file_chunk | a4b350878236e128a4a8de279d203221b8840a572ee0bf4434b06f3d31f13459 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Simp
public import Lean.Elab.Tactic.Do.Attr
import Init.Omega
public section
namespace Lean.Elab.Tactic.Do
open Lean P... |
4,118 | lean_file_chunk | 9be93f8cc97a435ac930a16ab2dc6c44eea1dc4c21ea3b96bff464d5effa464f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Basic
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do SPred.T... |
9,753 | lean_file_chunk | d9327a08dd0b277e1f1116556a75da7941d23ce9c10669e369c385d30e5128b5 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public import Std.Tactic.Do.Syntax
import Lean.Elab.Tactic.Do.ProofMode.Pure... |
3,283 | lean_file_chunk | 04b637298468180fc00fe8325ae3d5a92f0cde1592f326556857871f40134f9a | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Do.ProofMode.Focus
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do ... |
1,186 | lean_file_chunk | af2665feecad53e275afe80999d573b46fefa2385706dfa74a84904656f3ad54 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public section
namespace Lean.Elab.Tact... |
8,072 | lean_file_chunk | af2847fdb1391b41fea2fff56a0260c3eecc90f162a26f7961031253a6161034 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.ElabTerm
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
import Lean.Elab.Tactic.Do.ProofMode... |
3,421 | lean_file_chunk | 665ee7abd3ad8ddc9d942649f13458e8a3a63828b914e9963339de81b3df7970 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Assumption
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do SP... |
3,794 | lean_file_chunk | b5c2b2c1ee18676656fb2aa5a503870b0c47215aeecb4912dc762f9a3ae2a05f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Focus
public import Lean.Elab.Tactic.Do.ProofMode.Basic
public section
namespace... |
9,427 | lean_file_chunk | 033faaa90ef8ef1368e49e643b292d629cddbd625b725e0de5c66586f89003b9 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Std.Do.SPred.DerivedLaws
public import Std.Tactic.Do.ProofMode
public import Lean.Elab.Tactic.Basic
public sect... |
3,427 | lean_file_chunk | 0841ecd72db599ff7cf017ffa217e4391d35273c44ca10d6bb9a7783bdada528 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Basic
import Lean.Elab.Tactic.Do.ProofMode.Focus
import Lean.Elab.Tactic.ElabTerm
pub... |
2,184 | lean_file_chunk | d83c61714b5bcc860e637885b648b7365ce36e5952f965150569322b3f854e6c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public section
namespace Lean.Elab.Tact... |
1,042 | lean_file_chunk | 25efd2a7d8f9b7b1dc2b804f316d2e78e33f92b32097ad2d72d8f5de3a25674c | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Basic
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do
open Le... |
5,485 | lean_file_chunk | d19a17a0b40e11a02be251c9db857697fe370cb9a0afeeb23f4a3a8cb91ef89f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
import Lean.Elab.Tactic.Meta
import Lean.Elab.Tactic.Do.ProofMode.Basic
impo... |
1,926 | lean_file_chunk | e9389ce24ceb9e447f4b53223069ac99b42ba5649fb0bf7550b693bf85b80079 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2025 Lean FRO LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Exact
import Lean.Meta.Tactic.Assumption
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.D... |
2,934 | lean_file_chunk | 94599d96e54a43045839465aed5b0f5a858622e2dd5cfc6ae4e36c3ee090fd9f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do SPred.T... |
1,333 | lean_file_chunk | 51184a895d9798c6659c52ee381a775f77f1100f3a49e57603903c3867b84258 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public section
namespace Lean.Elab.Tact... |
1,943 | lean_file_chunk | aa7076aaf76668fc8d018894dda34f1a81989882f64b68adfbe1c50f181f3764 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Basic
public import Lean.Elab.Tactic.Do.ProofMode.Focus
public import Lean.Elab.Ta... |
968 | lean_file_chunk | af8c7e7344f58fbad299a2657356dcd56d33a2be8fcf8f4d44965122887f5174 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Std.Tactic.Do.Syntax
public import Lean.Elab.Tactic.Do.ProofMode.Focus
public section
namespace Lean.Elab.Tact... |
1,048 | lean_file_chunk | 3891508ff9b8fa39e8acd3d9f95b2975498883424682ad250c04487d07a4026f | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.Basic
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do SPred.Tactic
open Lean ... |
2,932 | lean_file_chunk | 98e2a0103e354d84fff629a08c2a4a1f78d2ff764065ea8333b39b168da60e4e | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2022 Lars König. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lars König, Mario Carneiro, Sebastian Graf
-/
module
prelude
public import Lean.Elab.Tactic.Do.ProofMode.MGoal
public section
namespace Lean.Elab.Tactic.Do.ProofMode
open Std.Do
open St... |
5,132 | lean_file_chunk | 7939563005d35cd447a7c12948ca6ac5d6f228694964fa014b85f9e941fadda7 | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Henrik Böving
-/
module
prelude
public import Lean.Elab.Tactic.BVDecide.Frontend.Attr
public import Lean.Elab.Tactic.BVDecide.LRAT.Trim
public import Lean.Elab.Tactic.BVDecide.External... |
3,211 | lean_file_chunk | 865e1cbcfd6a6907c78cb161643a2114b08f4a1ae6d9f04932c12532aa74adcc | lean_source_file | lean_toolchain_source_file_chunks | /-
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison, Henrik Böving
-/
module
prelude
public import Lean.Elab.Tactic.Simp
public import Std.Tactic.BVDecide.Syntax
public section
/-!
Provides environment extensions around t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.