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 |
|---|---|---|---|---|---|
3,239 | lean_file_chunk | e10fb5fd44a95047e75dd341f01eab65246473d962efa408d55fbc6869ffdf38 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.RuleTac.Basic
public import Aesop.Script.SpecificTactics
public section
open Lean
open Lean.Meta
namespace Aesop
-- NOTE: introduces f... |
3,108 | lean_file_chunk | 82010a2328c11e2261db0661aa17fa065282465b522bfcc69b5056d036d8b5f7 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.RuleTac.Basic
public import Aesop.RuleTac.ElabRuleTerm
public import Aesop.Script.SpecificTactics
public section
open Lean
open Lean.Met... |
721 | lean_file_chunk | 0aae23f72345875321f67865a1c4e6d65431316d36d86ccc390b63524379b1be | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.RuleTac.Basic
public import Aesop.Script.SpecificTactics
public section
open Lean Lean.Meta
namespace Aesop.RuleTac
/--
This `RuleTac`... |
5,893 | lean_file_chunk | e289c2aaf35b20006de65847923f524b9749124cc2e33cf7263ac45bcd4d876f | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.Match.Types
public import Aesop.Index.Basic
public import Aesop.Percent
public import Aesop.Rule.Forward
public import Aesop.RuleT... |
1,119 | lean_file_chunk | d5f6f636f412bbebeebff0eaa183697b4aed12f79a25843c9842d6ad0fd6696b | lean_source_file | pkg_aesop_source_file_chunks | module
public import Aesop.Rule.Name
public section
open Lean Lean.Meta
namespace Aesop
inductive RuleTerm
| const (decl : Name)
| term (term : Term)
deriving Inhabited
instance : ToMessageData RuleTerm where
toMessageData
| .const decl => m!"{decl}"
| .term tm => m!"{tm}"
inductive ElabRuleTerm
... |
4,316 | lean_file_chunk | 85d5a53a91b67a1e8a5b15125c4ea1c43788d34f3b5dba1c486160d8c07f89c6 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg, Kaiyu Yang
-/
module
public import Aesop.RuleTac.Basic
public import Aesop.Script.Step
public section
open Lean Lean.Meta Lean.Elab.Tactic
open Lean.Elab.Tactic (Tac... |
895 | lean_file_chunk | 9a2c3d4c7b362bb86bc284be49bd053126d6a44b3f1b459bc5cface97748e07b | lean_source_file | pkg_aesop_source_file_chunks | module
public import Aesop.RuleTac.Basic
public import Aesop.Forward.Match.Types
public section
open Lean Lean.Meta
namespace Aesop
inductive RuleTacDescr
| apply (term : RuleTerm) (md : TransparencyMode)
| constructors (constructorNames : Array Name) (md : TransparencyMode)
| forward (term : RuleTerm) (imme... |
4,384 | lean_file_chunk | 5fe49a27aca29d4f53310374b84b45d6ba7572902e3c3e9e95c5cdd4861ac4c9 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.ElabM
public section
open Lean Lean.Meta Lean.Elab.Term Lean.Elab.Tactic
namespace Aesop
def elabGlobalRuleIdent? (stx : Term) : TermE... |
2,260 | lean_file_chunk | 671a1fe87fcc2386eeb8f947f46f3a956f749245f6b55d244bde8a267f56080b | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Lean
public section
open Lean Lean.Meta
namespace Aesop
structure FVarIdSubst where
map : Std.HashMap FVarId FVarId
deriving Inhabited
... |
9,466 | lean_file_chunk | 6e8be3d7ed565ec6820d252a76a758159f429aa717ec98a8e7a5d68c6a07d475 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.Match
public import Aesop.RuleTac.Basic
public import Aesop.RuleTac.ElabRuleTerm
public import Aesop.RuleTac.Forward.Basic
public ... |
974 | lean_file_chunk | fd5cd28043c781acc613a6cafb27952a2cc03eaa59c0f767286578f1bf88e6c3 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg, Kyle Miller
-/
module
public import Aesop.Frontend.Attribute
public section
open Lean
open Lean.Meta
namespace Aesop.BuiltinRules
@[aesop norm -100 (rule_sets := [... |
5,503 | lean_file_chunk | 8f1fd99a6cea6c81acf59e6a7dd4bbb48ae89a61c11cac5ed3ae54ad1ba6be5d | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public import Aesop.Frontend.Extension
public import Aesop.Frontend.RuleExpr
public section
open Lean Lean.Meta Aesop... |
1,431 | lean_file_chunk | d82c035b00d141e96946357bc1aa17831d38c6d408c68bf953a565b58315c992 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich, Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public import Aesop.Frontend.Extension
public import Aesop.Frontend.RuleExpr
public import Lean.Core... |
413 | lean_file_chunk | 77844a0ca7a2121c80e2e286ce4f1ed2e656a5f52f1e9553afd143def20ffcab | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public section
open Lean Lean.Elab.Tactic
namespace Aesop.BuiltinRules
@[aesop safe 0 (rule_sets := [builtin])]
met... |
1,779 | lean_file_chunk | c1baa605f293b6920932857068909c5dea92cedc77f13f8dd8e51f8f4adf636c | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public section
open Lean
open Lean.Meta
namespace Aesop.BuiltinRules
@[aesop safe -50 (rule_sets := [builtin])]
met... |
852 | lean_file_chunk | e70d04beae827ec7eec0bee473369353c5de68af0481f4844e4898c5a627c263 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public section
namespace Aesop.BuiltinRules
open Lean Lean.Meta
meta def extCore (goal : MVarId) : ScriptM (Option ... |
3,366 | lean_file_chunk | aa232fe4f934be5cea99a1dcf392a65e6da21a8dc625dc3ad93b8c48293015a5 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022--2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public import Aesop.RuleTac.Forward.Basic
public section
open Lean Lean.Meta Aesop.Script
namespace Aesop.Buil... |
1,450 | lean_file_chunk | ef71a05d41f377c6e3b3a84318338bc8492579692c85fb78920001cbf409a149 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Frontend.Attribute
public section
namespace Aesop.BuiltinRules
open Lean
open Lean.Meta
meta def applyHyp (hyp : FVarId) (goal : MVarI... |
849 | lean_file_chunk | cb2e86daffdbe17aed28b195b2f8f277bb7dcd02cffc1589abde77badc747342 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
import Lean
open Lean Lean.Meta
namespace Aesop
/-- The configuration used by all Aesop indices. -/
-- I don't really know what I'm doing here. I'm just copying t... |
5,717 | lean_file_chunk | fc2a4e4fe8bada05df73549f606d9eb6089f49dc0ce53e841e2c06ec73a4a5d2 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Index.Basic
public import Aesop.Util.OrderedHashSet
public import Aesop.RuleTac.GoalDiff
public import Batteries.Lean.Meta.DiscrTree
publ... |
884 | lean_file_chunk | 7821b424e5adce8de7ef722face8a38464ac4333c8df21946815b5908b6028c3 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021-2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Lean
public section
namespace Aesop
open Lean Lean.Meta
/-- The configuration used by all Aesop indices. -/
-- I don't really know what... |
3,527 | lean_file_chunk | 56a718123682ddb169590842b79ab9f3ddfd785a3ac2407743e34a37219db3eb | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Util.Basic
public import Aesop.Rule.Name
public import Aesop.RulePattern
public import Aesop.Forward.Match.Types
public section
open Lea... |
3,310 | lean_file_chunk | 69700d7170f684bf41746517e78de93ff30d21bd10480ad4c998eacab1241c94 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Xavier GΓ©nΓ©reux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Xavier GΓ©nΓ©reux, Jannis Limperg
-/
module
public import Aesop.Forward.Match.Types
public import Aesop.Rule.Forward
public import Aesop.Index.Basic
public import Batteries.Lean.Meta.D... |
1,932 | lean_file_chunk | a5fb3f3bfbc1164eab334c935006e9a4724d1197bb51bdef0ee10b683fa3516f | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public section
open Lean
open Lean.Meta
namespace Aesop
private def getSimpEntriesFromPropConst (decl : Name) :
Meta... |
2,861 | lean_file_chunk | e22afe55e5f18e57896567cd32170b1eee448945b559cb231b825a580b11866b | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public import Aesop.RuleTac.Cases
public section
open Lean
open Lean.Meta
namespace Aesop
namespace CasesPattern
def ch... |
2,038 | lean_file_chunk | 6f1bce1613d8449b1629c58bf0bf329f46e8a9c86b2da7f6673918db7a6aae6d | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public section
open Lean
open Lean.Meta
namespace Aesop
namespace RuleBuilderOptions
def applyTransparency (opts : Rule... |
1,543 | lean_file_chunk | 98ebe2cd7280612b190e8e1c8c4e2e1e926213de15e656c9965398a2a57cc6d9 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public import Aesop.Util.Unfold
public section
open Lean
open Lean.Meta
namespace Aesop.RuleBuilder
-- Somewhat ineffici... |
1,474 | lean_file_chunk | c5957e26573aecae6dbd549f0b0617bd44cd5b8c3ab117b3fee957e19c9cd165 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Constructors
public import Aesop.Builder.NormSimp
public import Aesop.Builder.Tactic
public import Aesop.Builder.Apply
public sec... |
3,178 | lean_file_chunk | 9f276172bd79e2b1e6502cfe2f2994d1b3cfedea059759c3bc61c0d843151f12 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2021 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.ElabM
public import Aesop.Rule.Name
public import Aesop.RuleSet.Member
public import Aesop.RuleTac.ElabRuleTerm
public section
open Lean... |
2,030 | lean_file_chunk | 2759b5f1d7a0fa4827a5c8436c80d83557a25c43a05e3a981e0316b7fbb77e22 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public section
open Lean Lean.Meta
open Lean.Elab.Tactic (TacticM)
open Lean.Parser.Tactic (tacticSeq)
namespace Aesop
d... |
1,660 | lean_file_chunk | df3706f112b4f80795bff70d27ea151adcff9b011660c3b9a15e75bd60d9b29d | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public section
open Lean
open Lean.Meta
namespace Aesop.RuleBuilderOptions
def constructorsTransparency (opts : RuleBuil... |
6,419 | lean_file_chunk | ecea9a8ee4335af7cf0c1382f66466db2c71894abc5b2d4a281ac0a637c11f4c | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Builder.Basic
public section
open Lean
open Lean.Meta
namespace Aesop
namespace RuleBuilderOptions
def forwardTransparency (opts : Ru... |
2,547 | lean_file_chunk | 447ce7162b2fbf94727219d06f9839cb9cbf894a3a8a62ac1eb061ccc760071a | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Stats.Basic
public section
open Lean
namespace Aesop
structure StatsExtensionEntry where
/--
The Aesop call for which stats were c... |
8,276 | lean_file_chunk | f2fd561b44e0be7ed868c86a5aa61931751ad2d39c6f2c620d9d92c77578b514 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022-2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Nanos
public import Aesop.Rule.Name
public import Aesop.Tracing
public import Aesop.Options.Public
public section
open Lean
namesp... |
6,112 | lean_file_chunk | 01531f6d94779b749a29d15810e72c0d11cb1ed8154556de1c02e95ccf377477 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Percent
public import Aesop.Stats.Extension
public section
open Lean
namespace Aesop
/-- Assumes that `xs` is ascending. We use a simp... |
1,710 | lean_file_chunk | e7557f91709ac4936eb219676785451f890fbd88b25ae35ad0a86ce9be86c098 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Stats.Basic
public import Lean.Data.Position
open Lean Lean.Elab
namespace Aesop
public structure StatsFileRecord extends Stats where
... |
6,989 | lean_file_chunk | 7e3a802243437fcaef2d7a930a629ab87b3d1ecff3a04598f1a656dfd05a3d02 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.LevelIndex
public import Aesop.Forward.PremiseIndex
public import Aesop.Util.Basic
public section
namespace Aesop
open Lean Lea... |
865 | lean_file_chunk | 800cd8d9b66ae618a976acbedd203ec7fad4106e0982b44ccb71bbf4d00e7ad3 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public section
namespace Aesop
structure SlotIndex where
toNat : Nat
deriving Inhabited, BEq, Hashable, DecidableEq, Ord
instance : LT SlotIndex where
... |
23,989 | lean_file_chunk | c328978b824da6048027f22ecb4c67eb66683509cd37d0e4cc6588febe1c1187 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Xavier GΓ©nΓ©reux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Xavier GΓ©nΓ©reux, Jannis Limperg
-/
module
public import Aesop.Forward.Match
public import Aesop.EMap
public section
open Lean Lean.Meta
set_option linter.missingDocs true
namesp... |
14,630 | lean_file_chunk | 50e3a4e95a104959929a146747f0fe9e634264d6ecaac1011e4f0b89cd8e6d1b | lean_source_file | pkg_aesop_source_file_chunks | let mut cs := cs.eraseEnqueuedRawHyp (.patSubst subst) slot
if cs.haveHypForEachSlot then
cs := {
cs with
variableMap := cs.variableMap.erasePatSubst subst slot.index
completeMatches := filterPHashSet (! Β·.containsPatSubst subst) cs.completeMatches
}
return cs
/-- Update a cluster change,... |
721 | lean_file_chunk | 761b70514756f4c9d78c06465f085de5ad53b65ff7f8cb5c94cf1250cefb3c92 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public section
namespace Aesop
structure LevelIndex where
toNat : Nat
deriving Inhabited, BEq, Hashable, DecidableEq, Ord
instance : LT LevelIndex wher... |
10,019 | lean_file_chunk | 2368b1899875f017b2bddf0e97e21281daa8b9ab17e58d7da0ae195a89a82774 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Xavier GΓ©nΓ©reux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Xavier GΓ©nΓ©reux, Jannis Limperg
-/
module
public import Aesop.Forward.Match.Types
public import Aesop.Forward.PremiseIndex
public import Aesop.Forward.SlotIndex
public import Aesop.R... |
8,121 | lean_file_chunk | 6176b1acbad4ee9e8812b511eac7f02f51308a499dce7ac0413102535750e3bc | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Xavier GΓ©nΓ©reux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Xavier GΓ©nΓ©reux, Jannis Limperg
-/
module
public import Aesop.Forward.PremiseIndex
public import Aesop.Forward.SlotIndex
public import Aesop.RulePattern
public import Aesop.Util.Basi... |
733 | lean_file_chunk | b029a8fc74da36bde24eb9d093068fde9a2343b8cc72e296df815a8eeda39500 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public section
namespace Aesop
structure PremiseIndex where
toNat : Nat
deriving Inhabited, BEq, Hashable, DecidableEq, Ord
instance : LT PremiseIndex ... |
714 | lean_file_chunk | 6c018abaf30eb36815b0b632485670bdb8360b7c60bc8e233ff1bcd5362bb329 | lean_source_file | pkg_aesop_source_file_chunks | import Batteries.Data.BinomialHeap.Basic
import Aesop.Forward.Match
set_option linter.missingDocs true
namespace Aesop
open Batteries (BinomialHeap)
/-- A complete match queue. -/
abbrev CompleteMatchQueue := BinomialHeap ForwardRuleMatch ForwardRuleMatch.le
namespace CompleteMatchQueue
/-- Drop elements satisfyi... |
4,726 | lean_file_chunk | f3280e71ec0410c897ad9fd71c1e7c6423471b996da36800231477af74ea41d8 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.Match
public import Aesop.Rule
public section
set_option linter.missingDocs true
open Lean Lean.Meta
namespace Aesop
/-- Sets... |
1,352 | lean_file_chunk | cc825f4eb19661c35722f33278c840952a249373153d7838346c90263c9430b9 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.RuleSet
public section
open Lean
namespace Aesop
/--
An environment extension containing an Aesop rule set. Each rule set has its
own ... |
1,388 | lean_file_chunk | 0d80046f8c3637c647a40cb340fc8a558984b058c9ebb6565cd4329d15fd7b7b | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022--2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public meta import Aesop.Util.Unfold
public section
open Lean Lean.Meta Lean.Elab.Tactic
namespace Aesop
private meta def mkToUnfold (ids : Array Id... |
1,669 | lean_file_chunk | 5bfa604515dd15c6b82cfdf2a62e453a1f2b5a645f9c864948e282a0ed8363e0 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Tracing
public section
open Lean Lean.Meta Lean.Elab.Tactic.Ext
namespace Aesop
structure ExtResult where
depth : Nat
commonFVarId... |
16,537 | lean_file_chunk | a0169deaa96e58cb6d7206a25f4c8907b97f6b6f128d40676b9d3b017fa45132 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.State.ApplyGoalDiff
public import Aesop.RuleTac
public import Aesop.RuleTac.ElabRuleTerm
public import Aesop.Script.SpecificTactic... |
813 | lean_file_chunk | 9fc1b1881b655e458bac634ba45dfc942da662c1da759d56ea488fb7a4b4460e | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.RuleTac.Basic
public section
open Lean
open Lean.Meta
namespace Aesop
def runRuleTac (tac : RuleTac) (ruleName : RuleName)
(preSta... |
3,583 | lean_file_chunk | 0e2c65f01d36aabf9193271c3a66ea03a820977585800bb59eab8f2b08cad497 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Lean.Meta.Tactic.Simp.SimpAll
public section
open Lean Lean.Meta
open Simp (UsedSimps)
namespace Aesop
inductive SimpResult
| solved (used... |
491 | lean_file_chunk | f464a0779b40501d16862fefc1f1c6b827021284cc90b8a12599bc55342dbd02 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Tree.Data
public section
open Lean
namespace Aesop
class Queue (Q : Type) where
init : BaseIO Q
addGoals : Q β Array GoalRef β Bas... |
4,388 | lean_file_chunk | 4cdde48bda12c59ff3f5b0b2aa596d11e12fba64e929d358ae16905bec7ba09b | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2023 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Util.Basic
public import Aesop.Util.EqualUpToIds
public section
namespace Aesop
open Lean Lean.Meta
/-
Forward rules must only succeed... |
4,296 | lean_file_chunk | 56c37fddf528e7f8d0d02660748480410e018deafaf1b980a9bf72882dfe4066 | lean_source_file | pkg_aesop_source_file_chunks | module
public import Aesop.Forward.PremiseIndex
public import Aesop.Forward.SlotIndex
public import Aesop.Forward.Substitution
public import Aesop.Rule.Forward
public section
set_option linter.missingDocs true
namespace Aesop
open Lean
/-- A match associates hypotheses to (a prefix of) the slots of a slot
cluster... |
1,524 | lean_file_chunk | 0b5ea64b39afcb6b7401575022372c85649c6254daaeb0c95239536acef87620 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.State
public import Aesop.RuleSet
public section
namespace Aesop.ForwardState
open Lean Lean.Meta
/-- Apply a goal diff to the... |
1,215 | lean_file_chunk | 7f3a5446044fbc111aa674682e4b1969b085b4b786ce731dcf7d772f3b96db71 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2024 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Forward.State
public import Aesop.RuleSet
public section
open Lean Lean.Meta
namespace Aesop.LocalRuleSet
def mkInitialForwardState (g... |
891 | lean_file_chunk | b08481316e40f5a9456b70ad1e1607917b45c32b2326e0525db953b249ae0f72 | lean_source_file | pkg_aesop_source_file_chunks | /-
Copyright (c) 2025 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Aesop.Tree.TreeM
import Aesop.Forward.State
import Aesop.Tree.RunMetaM
public section
open Lean
namespace Aesop.GoalRef
def updateForwardSta... |
4,598 | lean_file_chunk | d43b88304e4dbf17ba0117c6d0d8b34da07771768157a2dc14d2a1c48ce33264 | lean_source_file | pkg_batteries_source_file_chunks | module
public import Batteries.Classes.Cast
public import Batteries.Classes.Deprecated
public import Batteries.Classes.Order
public import Batteries.Classes.RatCast
public import Batteries.Classes.SatisfiesM
public import Batteries.CodeAction
public import Batteries.CodeAction.Attr
public import Batteries.CodeAction.B... |
23,979 | lean_file_chunk | eb333ebf67a07df2de9beca8dd779d096756d8023b0b491b6dd0450b8e74a59a | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2023 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import Lake.CLI.Main
/-! # `lake exe shake` command
This command will check the current project (or a specified target module) and all dependencies for
unused impor... |
4,151 | lean_file_chunk | f50b90b25bc56350a03e67b8953335b58630ca7629443b06c60970f8afe2d177 | lean_source_file | pkg_batteries_source_file_chunks | let mut ignore := cfg.ignore?.getD {}
let ignoreImport := cfg.ignoreImport?.getD {}
let mut ignoreImportSet : NameSet := ignoreImport.foldl .insert {}
-- if `args.fix` is true then we assume the errors will be fixed after,
-- so it's just reformatting the existing file
if !args.fix then
... |
4,181 | lean_file_chunk | 24c47a4fafa4fa419da575af81960b65e4d84b0a0313c8474ec2fbb4c3cd53e9 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn, Mario Carneiro
-/
module
public import Batteries.Tactic.Alias
@[expose] public section
instance {f : Ξ± β Ξ²} [DecidablePred... |
117 | lean_file_chunk | e04a5723e22f93438c63ed27d104270e5533e224a36ed5641467f7e4ca64bf35 | lean_source_file | pkg_batteries_source_file_chunks | module
public meta import Batteries.Linter.UnreachableTactic
public meta import Batteries.Linter.UnnecessarySeqFocus |
169 | lean_file_chunk | c9529abb1c638d762a9f8cb7ea2d21f82a176e5919b527828229ef2c8c22864d | lean_source_file | pkg_batteries_source_file_chunks | module
public import Batteries.CodeAction.Attr
public import Batteries.CodeAction.Basic
public import Batteries.CodeAction.Misc
public import Batteries.CodeAction.Match |
6,357 | lean_file_chunk | 7d6d90ecc9778d0085af940c8bc86b7625b217629085f8ee814e7c2faabfbfc9 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2024 Joe Hendrix. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joe Hendrix
-/
import Batteries
/-!
This test checks that all directories in `Batteries/Data/` have corresponding
`Batteries.Data.<dir>` modules imported by `Batteries` that import all o... |
9,338 | lean_file_chunk | e79b444e0ee91881004c2664d921a2b687195605d5958b373ef587ef6daa21f2 | lean_source_file | pkg_batteries_source_file_chunks | import Batteries.Tactic.Lint
import Batteries.Data.Array.Basic
import Lake.CLI.Main
open Lean Core Elab Command Batteries.Tactic.Lint
open System (FilePath)
/-- The list of `nolints` pulled from the `nolints.json` file -/
abbrev NoLints := Array (Name Γ Name)
/-- Read the given file path and deserialize it as JSON. ... |
2,779 | lean_file_chunk | 54a73e15f020b1823c515aa7c989de5d2f5861e56646465b6bf1a0e7a72e43ea | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2023 Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
module
public meta import Lean.Elab.Command
public meta import Lean.PrettyPrinter
public meta section
/-! # `#instances` command
The `#instances` command prints lists a... |
222 | lean_file_chunk | 31ddddbbbf18c6bdd8e3e03235d940b646a00aa5bfff8f823337b1733cb9d31d | lean_source_file | pkg_batteries_source_file_chunks | module
public import Batteries.Tactic.Lint.Basic
public import Batteries.Tactic.Lint.Misc
public import Batteries.Tactic.Lint.Simp
public import Batteries.Tactic.Lint.TypeClass
public import Batteries.Tactic.Lint.Frontend |
8,184 | lean_file_chunk | 7ddb1174f621e682a5f6fb56f7d9b372b801c0b6d1798e2e268a483c484c63cb | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, David Renshaw, FranΓ§ois G. Dorais
-/
module
public meta import Lean.Elab.Command
public meta import Lean.Elab.DeclarationRange
public meta import Lean.Compiler.Noncomp... |
4,473 | lean_file_chunk | 512b44eaf0a200a4aeecb4a20c78c4bd0cd15ab681d23a7fa98579e8f3cb24fb | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2021 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Elab.Tactic.ElabTerm
public meta import Lean.Meta.MatchUtil
public meta section
/-!
# Simple tactics that are used throughout Batter... |
7,497 | lean_file_chunk | ea44758a4877d2616dd5c8bb790aaaa9f09978ff406be03c754f94f5b33c7cf5 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Elab.Tactic.SimpTrace
public meta section
/-!
# `squeeze_scope` tactic
The `squeeze_scope` tactic allows aggregating multiple calls... |
3,233 | lean_file_chunk | adc316ba8ab947e0053f0836d4de721e7c3a8adeb2b3ebabf4bc73df0ca9848a | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Elab.Command
public meta import Lean.Util.FoldConsts
public meta section
open Lean Elab Command
namespace Batteries.Tactic.CollectO... |
2,592 | lean_file_chunk | 4d5d952b02a81f28e68f1d948885dd76e2508a5ff7e1a5c2cbfd08fe83e44fb7 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Arthur Paulino. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Arthur Paulino, Mario Carneiro
-/
module
public meta import Lean.Elab.Tactic.Basic
public meta section
/-!
# The `on_goal`, `pick_goal`, and `swap` tactics.
`pick_goal n` moves the... |
297 | lean_file_chunk | a7124c7fdddb815606031fd06d60c28630f0d8882a42bd8c78e927e92e1ac182 | lean_source_file | pkg_batteries_source_file_chunks | module
public meta import Lean.Elab.Tactic.ElabTerm
public meta import Batteries.Linter
public meta import Batteries.Tactic.Init
public meta import Batteries.Tactic.SeqFocus
public meta import Batteries.Util.ProofWanted
-- This is an import only file for common tactics used throughout Batteries |
4,152 | lean_file_chunk | 632538cbde1e88126b46d7ef91832776b6dad1661d36ce3da127fb62a1e30614 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Miyahara KΕ
-/
module
public meta import Lean.Meta.Tactic.Congr
public meta import Lean.Elab.Tactic.Config
public meta import Lean.Elab.Tactic.Ext
public meta import L... |
8,577 | lean_file_chunk | 75672cb7faef3d0f6d63e77b6e7657aa313d7c21397c1b02b4bb5c585c5af8a9 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2023 Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
module
public meta import Lean.Elab.Tactic.BuiltinTactic
public meta import Lean.Elab.Tactic.RenameInaccessibles
public meta section
/-!
# Extensions to the `case` tacti... |
23,218 | lean_file_chunk | 54c996555a47c582dd4b7092d4662f7dbe5258fb3fb2148fc2d18774a11f0576 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Alex J. Best. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alex J. Best, Kyle Miller
-/
module
public meta import Lean.Elab.Tactic.Location
public meta import Batteries.Lean.Expr
/-!
# The `generalize_proofs` tactic
Generalize any proofs occu... |
1,136 | lean_file_chunk | 8d9be59df3ec4895ceacf78582f0f75979c00fad5f16083e36ec86c272370e9b | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2021 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Elab.Tactic.Basic
public meta section
namespace Batteries.Tactic
/--
This tactic causes a panic when run (at compile time).
(This i... |
1,414 | lean_file_chunk | 5d6fd705bdf77ad860e9d1f552e6237c2d519f475e43431cbf49ed080c469e0c | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
-/
module
public meta import Lean.Elab.Tactic.Basic
public meta section
open Lean Elab Meta Tactic
namespace Batteries.Tactic
/-- Assuming there are `n` goals, `map_t... |
797 | lean_file_chunk | 61b1f99f46785e691756575951d766400990ff8ce6b1be41b950660fc76a82ed | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2023 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Batteries.Tactic.Alias
public meta section
/-! # `exact` tactic (`MetaM` version) -/
open Lean Meta
/--
`MetaM` version of `Lean.Elab.T... |
1,615 | lean_file_chunk | 58796a874cb9dda9797dbc82ed9f599ba15e2a631178352a80d7f2bc100bd578 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2021 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.DocString
public meta import Lean.Elab.Tactic.Basic
public meta section
/-!
Deprecation warnings for `match β― with.`, `fun.`, `Ξ».`, ... |
5,011 | lean_file_chunk | eb94ea125823e1f3b94f7d593cd9529bb70b426fec59d7c9ba9e85c7627e758b | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Elab.Command
public meta import Lean.Util.FoldConsts
public meta section
/-!
# `#print dependents` command
This is a variation on `... |
8,321 | lean_file_chunk | cb12b89afa31755e3ffb048f285960ab6aafcccbeb0456bb05d0f706be1e5055 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Siddhartha Gadgil. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Siddhartha Gadgil, Mario Carneiro
-/
module
public meta import Lean.Elab.Tactic.ElabTerm
public meta section
/-!
# `trans` tactic
This implements the `trans` tactic, which can a... |
2,053 | lean_file_chunk | 343253284bb37484c3cf1e7a5d7363616cc1753596503fdb4c81359bcc037880 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2024 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Damiano Testa
-/
module
public meta import Lean.Meta.Tactic.TryThis
public meta import Lean.Elab.Command
public meta section
/-!
# Control for `lemma` command
The ... |
4,547 | lean_file_chunk | d4e1ba1632a6bb6257e332bfd78bca4d11f3f9172dec576a164df73ef5898536 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2021 Shing Tak Lam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Shing Tak Lam, Daniel Selsam, Mario Carneiro
-/
module
public meta import Batteries.Lean.Util.EnvSearch
public meta import Lean.Elab.Tactic.Config
public meta import Lean.Elab.Command
... |
6,940 | lean_file_chunk | d7b2f1845017d700d52200bee64a1b6a0b336eec407c235c53ea64f7915095e1 | lean_source_file | pkg_batteries_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
-/
module
public meta import Lean.Elab.Command
public meta import Lean.Util.FoldConsts
public meta import Lean.Parser.Module
public meta section
open Lean Pars... |
14,597 | lean_file_chunk | 49effedecaf83acf7837cffb509df46386b544fbe6e624c45d3e0e9db5cd725d | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2024 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Edward van de Meent
-/
module
public meta import Lean.Elab.Syntax
public meta import Lean.DocString
public meta import Batteries.Util.LibraryNote
public meta section
... |
3,137 | lean_file_chunk | 84c59607723052fa931b0c98bafd4de576575db08c078d5f5ca1d740701d4c02 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2024 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public meta import Lean.Util.FoldConsts
public meta import Lean.Linter.UnusedVariables
public meta section
/-!
# The `#show_unused` command
`#show_unused d... |
1,498 | lean_file_chunk | aae08ee1fd288a438ddbf3acad7eb35915f06875369234c101b6aa034f05c162 | lean_source_file | pkg_batteries_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
-/
module
public import Lean.Elab.Command
import all Init.System.ST
@[expose] public section
/-!
# Construct `LawfulMonad` instances for the Lean monad stack.
-/
open L... |
3,719 | lean_file_chunk | 4abf2dedd869d7d087404c02ca33d4b24664713b757c96112a021eb9c6619160 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2023 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
@[expose] public section
namespace Float
/--
The floating point value "positive infinity", also used to represent numerical computations
which produce fi... |
929 | lean_file_chunk | 2afb2cc38512b2c3920393ade05d6f5a143b7570ca647abd0eb097761dd0e5a0 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 E.W.Ayers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: E.W.Ayers, Mario Carneiro
-/
module
public import Batteries.Lean.Float
public import Lean.Data.Json.FromToJson.Basic
@[expose] public section
open Lean
instance : OfScientific JsonNu... |
1,184 | lean_file_chunk | aa3545897724e555432badff927705785e78c1c638dac83e8fe12264d92c82db | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Std.Data.HashMap.Basic
@[expose] public section
namespace Std.HashMap
variable [BEq Ξ±] [Hashable Ξ±]
/--
`O(|other|)` amortized. Merge two `Ha... |
1,981 | lean_file_chunk | cff083efdeab97678aa4e3de4b855181fc1d5d1583785bff3f7eeb3b76d18c8e | lean_source_file | pkg_batteries_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
public import Lean.Util.Trace
@[expose] public section
open Lean
deriving instance DecidableEq for Except
namespace Except
/-- Visualize an `Except` using a... |
2,196 | lean_file_chunk | c88053387cd6294abbf015eaa9c01c8616ea9f42a7eaf05dd0aa78e835166da8 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Jannis Limperg. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jannis Limperg
-/
module
public import Lean.Data.PersistentHashSet
@[expose] public section
namespace Lean.PersistentHashSet
variable [BEq Ξ±] [Hashable Ξ±]
instance [Monad m] : For... |
676 | lean_file_chunk | be96db190bf573c07b499ca91a98f032a8b27241500818fcbf6f24ebe976a452 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
module
public import Lean.Attributes
@[expose] public section
/-- Get the list of declarations tagged with the tag attribute `attr`. -/
def Lean.TagAttribute.getDecl... |
6,797 | lean_file_chunk | 976be7827763675fb28df90d984382e8b937e5061c06f1233be2a1b55356814d | lean_source_file | pkg_batteries_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
-/
module
import all Init.Control.EState
@[expose] public section
namespace EStateM
open Backtrackable
namespace Result
/-- Map a function over an `EStateM.Result`, pr... |
581 | lean_file_chunk | 1098721f4aa74aa3c8559f13b82523efcbe21dee5b72ae54feed5dabc04eb6bc | lean_source_file | pkg_batteries_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
public import Lean.Syntax
@[expose] public section
/-!
# Helper functions for working with typed syntaxes.
-/
namespace Lean
/--
Applies the given f... |
2,760 | lean_file_chunk | 2f5332d457048c4e608cddfd36c0054a2d7c8e626c717810642605fa6b03e86a | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2025 Quang Dao. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Quang Dao
-/
module
public import Lean.Elab.Command
import all Lean.CoreM -- for unfolding `liftIOCore`
import all Init.System.IO -- for unfolding `BaseIO.toEIO`
import all Init.Control.... |
2,529 | lean_file_chunk | 00ceed00b62cb96e41ec4b18b0fc8b3c410302f52de9aff585f19353155522f0 | lean_source_file | pkg_batteries_source_file_chunks | /-
Copyright (c) 2022 E.W.Ayers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: E.W.Ayers
-/
module
public import Lean.Attributes
@[expose] public section
namespace Lean
/-- Forward port of lean4#12469 -/
local instance [Inhabited Ξ±] : Inhabited (Thunk Ξ±) := β¨.pure... |
1,516 | lean_file_chunk | d727acf5f029f20d4108bc0ad5eed769fc6520f958669433582fe61749b44f0c | lean_source_file | pkg_batteries_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
-/
module
public import Batteries.Classes.SatisfiesM
public import Batteries.Lean.LawfulMonad
public import Lean.Elab.Command
import all Init.System.ST
@[expose] public s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.