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
2,658
lean_file_chunk
9cd3f403fe13d112b8df2ccfe07dfa9c1ad46fd3da93fdc159604d5945e3a939
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.BVCheck public section /-! This module contains the implementation of `bv_decide?`. -/ namespace Lea...
17,317
lean_file_chunk
33a795339ba1d0ba55a17b31210dd66d31eb630ba8b5060497545b8cf95e8e90
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.BVDecide.SatAtBVLogical public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize public import Lean.E...
4,433
lean_file_chunk
55504be89e618682f2558550f2ef0949e2aa3a7f73f047695c0c1157a5f29931
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.FalseOrByContra public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public import Lean.Elab.Tactic.BVDecide....
2,434
lean_file_chunk
d0623a18e3030cab772d8b777948e512198e642326ecf56b67416dc39ddaa635
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.BVDecide public import Lean.Meta.Tactic.TryThis public section /-! This modules provides the implemen...
8,608
lean_file_chunk
4a2400ff02dd3509264e92f6a4d5ab78f411a2e7862dc4910ba3bbee6513482d
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 Init.Data.Nat.Fold public import Std.Tactic.BVDecide.LRAT.Actions public import Std.Data.HashMap import Init.Data.Range.Polymorphic import...
16,202
lean_file_chunk
c7821d495d0a5ad8c514c6df4cfdd0c1b428db2e1ec1b8ea96b32bac2a0d35b0
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.BVDecide.ReifiedLemmas import Lean.Meta.LitValues public section /-! Reifies `BitVec` problems with boo...
3,787
lean_file_chunk
a5f6ce633f1bd354360f4c6ef285d14ba1d65b192d0e7e9af8d4c12ddb16f961
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.BVDecide.ReifiedBVLogical public section /-! Provides the logic for generating auxiliary lemmas durin...
13,467
lean_file_chunk
e1394c5cc473524b22f5c9b1efe4322d82872aa4a51eb8a155f5305f6788d9fd
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.Data.HashMap public import Std.Tactic.BVDecide.Bitblast.BVExpr.Basic public import Lean.Meta.AppBuilder public import Lean.Data.RArray...
5,248
lean_file_chunk
53786a8b5ffff29630521a8db7406ecb508a6d853eaae4b71fe9120d3ccd280e
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.BVDecide.ReifiedBVPred public section /-! Provides the logic for reifying `BitVec` problems with bool...
4,017
lean_file_chunk
7eac1cb5758669797a5a3578bcd996337218a0c1fa840cf038a52720eeb982b3
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.BVDecide.ReifiedBVExpr public section /-! Provides the logic for reifying predicates on `BitVec`. -/ ...
2,392
lean_file_chunk
8834d6dc323a94f381698853ffef04ae27fb971e306d1dc0fb74d0c34a74d776
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.BVDecide.Reflect public import Std.Tactic.BVDecide.Reflect import Lean.Meta.LitValues public section /-!...
2,766
lean_file_chunk
bddc2a474e9b7831daf338d5e1fcfdd082dc7e8f6873b8d359db4034d3028a5f
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.BVDecide.Reify public section /-! This module is the main entry point for reifying `BitVec` problems ...
23,966
lean_file_chunk
5fe24bc084323aea058b11e5b5b38dca1ee5ffe167d4ebe0d34aa240eece9608
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: Henrik Böving -/ module prelude public import Std.Tactic.BVDecide.Normalize public import Lean.Elab.Tactic.BVDecide.Frontend.Attr import Init.Omega public section /-! This module con...
23,956
lean_file_chunk
ae5019f359f211ecc4beb4efa35969a9fa7436c45740bfa9ba9f550d7a895851
lean_source_file
lean_toolchain_source_file_chunks
let constBeqAddConstBeq : MetaM (Option Simp.Step) := do let_expr HAdd.hAdd _ _ _ _ rlhs rrhs := rhs | return none let some ⟨_, rrhsVal⟩ ← getBitVecValue? rrhs | return none let some ⟨w, lhsVal⟩ ← getBitVecValue? lhs | return none let wExpr := toExpr w let expr := BitVec.mkBEq rlhs (BitVec...
6,730
lean_file_chunk
26ee4bfae3cc5935611d55c01ded07c13dc81253e22681422311e33458465bd4
lean_source_file
lean_toolchain_source_file_chunks
builtin_simproc [bv_normalize] bv_elim_setWidth (BitVec.setWidth _ _) := fun e => do let_expr BitVec.setWidth oldWidthExpr newWidthExpr targetExpr := e | return .continue let some oldWidth ← getNatValue? oldWidthExpr | return .continue let some newWidth ← getNatValue? newWidthExpr | return .continue if newWidth...
2,244
lean_file_chunk
0400cedbe2a42770a4c8964a33815e05353bbf62cedf661b5c9ea17e05f85f48
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: Henrik Böving -/ module prelude public import Std.Tactic.BVDecide.Normalize.Bool public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public section /-! This module conta...
4,010
lean_file_chunk
0206a6cec5b9d557a29ef2d9d77336e41da297cc21ea1f8a8e29a5c0e2b3ee1f
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: Henrik Böving -/ module prelude public import Std.Tactic.BVDecide.Normalize.Bool public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public section /-! This module conta...
20,655
lean_file_chunk
ca183943495e0ec71dc5b08514c021da5f56ae2c3ddb6e6255a7dcada3802296
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: Henrik Böving -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Structures public section /-! This module contains the implementation of the pre processing...
5,576
lean_file_chunk
8c0c081134d1b9be4bc5ab7ce692bb50eaea606556871ec21592338431110472
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: Henrik Böving -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Attr public section /-! This module contains the basic preprocessing pipeline framework for `bv_norma...
1,850
lean_file_chunk
b22912d341b0f20c9021c09daee94108666e3c0bba1a3e5a9bc4a50a28d291f6
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: Henrik Böving -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public section /-! This module contains the implementation of the rewriting pass in t...
3,058
lean_file_chunk
3d1ec0bdb94abb51d791dcd4c0c3c75ea427e2e6a48a01c9f7777d50225f1e9a
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: Henrik Böving -/ module prelude public import Lean.Meta.Tactic.Simp import Init.ByCases import Init.Omega public section /-! This modules contains simprocs and functions to compute d...
1,845
lean_file_chunk
d2f27113af1c0ca416b245d98f0b6a694b5e3ee1dadfc34cb3300a867e436ef0
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2025 Tobias Grosser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tobias Grosser -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public import Std.Tactic.BVDecide.Normalize.BitVec public section /-! This module c...
7,747
lean_file_chunk
54fcb5886145067d9f5619627f8dbd9ede2701c95713889d10ec7b24405df9f3
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: Henrik Böving -/ module prelude public import Std.Tactic.BVDecide.Normalize.BitVec public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic import Init.ByCases public section ...
4,207
lean_file_chunk
25b4e8b73b81d88e12b6fd35a85af2d61ae707d0c8729ee2b820e315e23071e1
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: Henrik Böving -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.ApplyControlFlow public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.TypeAnalysis publ...
6,791
lean_file_chunk
d9446f87c7dfb70f35b2b8f29efe4e67046dcb26fe0c2c6e50b7a52adef70967
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: Henrik Böving -/ module prelude public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public section /-! This module contains the implementation of the pre processing pass...
12,645
lean_file_chunk
6c042dfe4a324c7bba18e2372923ef66d204a660e26c3f1ce0e0524834ce4c18
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: Henrik Böving, Alex Keizer, Siddharth Bhat -/ module prelude public import Lean.Meta.Tactic.AC.Main public import Lean.Elab.Tactic.BVDecide.Frontend.Normalize.Basic public section na...
5,139
lean_file_chunk
e11dc6e01bd134d043c7835ffdd79afe37eea5f8f32874e989579ee1a82d5e34
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.PreDefinition.FixedParams import Init.Internal.Order.Basic import Lean.Meta.Tactic.Delta import Lean.Meta.Tactic.Ref...
22,388
lean_file_chunk
2316c1e703371b0eb0f870b6559e1fc8da210684337ab5936578110b17c9f710
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: Joachim Breitner -/ module prelude import Lean.Meta.Injective -- for elimOptParam import Lean.Elab.PreDefinition.PartialFixpoint.Eqns import Init.Internal.Order.Basic import Lean.Meta...
10,929
lean_file_chunk
517e54e0d7ee53fe127164a5962db70af0fc27d42ab80b90e34d708d43ec4e67
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: Joachim Breitner -/ module prelude public import Lean.Elab.PreDefinition.MkInhabitant public import Lean.Elab.PreDefinition.Mutual public import Lean.Elab.PreDefinition.PartialFixpoint...
4,078
lean_file_chunk
554644d5147f9cc5edeec97046abfeb1879de5ad27fcd183925e25d2382ff3f0
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2024 Lean FRO. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joachim Breitner -/ module prelude public import Lean.Meta.InferType public section /-! This module contains the types * `IndGroupInfo`, a variant of `InductiveVal` with information that ...
13,858
lean_file_chunk
a0562f3406ed20bf21e92ff11a683d77b849fbfdf3b896d29c0cac8630728e91
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, Joachim Breitner -/ module prelude public import Lean.Elab.PreDefinition.TerminationMeasure public import Lean.Elab.PreDefinition.Structural.Basic public imp...
15,173
lean_file_chunk
dacfae39cc0adf7069ead29990c6474272b52e33efbff826b45e9cc71094432e
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, Joachim Breitner -/ module prelude public import Lean.Util.HasConstCache public import Lean.Meta.PProdN public import Lean.Meta.Match.MatcherApp.Transform pu...
1,535
lean_file_chunk
6e86240c6288857bdc8461345dfe3a97988fde8bca0efb27ffa7430b73e8bacd
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.RecAppSyntax public import Lean.Meta.WHNF public section namespace Lean.Elab.Structural open Meta private def sho...
8,983
lean_file_chunk
6cca3d2007addabb76b3c4a49025ce027722f34a3db0b5d44859aee8763a0c64
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.PreDefinition.FixedParams import Lean.Elab.PreDefinition.EqnsUtils import Lean.Meta.Tactic.CasesOnStuckLHS import Le...
3,269
lean_file_chunk
a197906ec4bec41e9ded6f320116fd2f672066bfd7b8255274855461d6cb067f
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, Joachim Breitner -/ module prelude public import Lean.Meta.ForEachExpr public section namespace Lean.Elab.Structural /-- Return true iff `e` contains an...
2,805
lean_file_chunk
d09d324977a6ef376b4200b134a86b407e3729fc9d6f9facf679d74342a22125
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, Joachim Breitner -/ module prelude public import Lean.Elab.PreDefinition.FixedParams public import Lean.Elab.PreDefinition.Structural.IndGroupInfo public se...
3,212
lean_file_chunk
fdc07b9f811a35a475410c2299ea6603fe18846a48adfd8377cf0cbe4147ef47
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.PreDefinition.Basic public import Lean.Elab.PreDefinition.Structural.Basic public section namespace Lean.Elab.Stru...
11,388
lean_file_chunk
60a9410f303f47ceefb8590ce4345396638b89620b2ad5165af1c289f7989b4c
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, Joachim Breitner -/ module prelude public import Lean.Elab.PreDefinition.Mutual public import Lean.Elab.PreDefinition.Structural.FindRecArg public import Lea...
7,065
lean_file_chunk
183d7da456ed9c066380530211c1b940f52507bf1bafba858e86f91a51fe3a7b
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.Elab.PreDefinition.Structural.Basic public import Lean.Elab.PreDefinition.Structural.RecArgInfo import Lean.Util.HasConstCache ...
3,152
lean_file_chunk
c270b500767a5519ca3dd0cd674f64bed07e282fb7522132bc80f990db27993e
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.Rename public import Lean.Elab.PreDefinition.TerminationMeasure public import Lean.Elab.PreDefinition.FixedPa...
5,749
lean_file_chunk
8dc945aefc485d7ecce6f1eb249260609e7f8cad1368647d360323a6d52ce6a4
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, Joachim Breitner -/ module prelude public import Lean.Meta.ArgsPacker public import Lean.Elab.PreDefinition.WF.Eqns public section /-! This module contains...
8,246
lean_file_chunk
e82611ad01725cd0b544ec7ee96220c504268b2a932d21497b3180fcb0fce7b3
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 public import Lean.Elab.Tactic.Simp public section /-! This module implements the preprocessing of function definitions involved in well-founded re...
12,772
lean_file_chunk
1736adb0c60e73690a2dd3b1ca4fc5311a71d57e6dcbd481838e461f19fe54f1
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, Joachim Breitner -/ module prelude public import Lean.Elab.PreDefinition.Basic public import Lean.Meta.Tactic.Simp.Types import Lean.Elab.PreDefinition.EqnsU...
1,018
lean_file_chunk
4cbc2fb48d0a5dc3182c4397ec78396972c9623d8c4144aa59534c53550a8ba4
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.Transform public import Lean.Elab.RecAppSyntax public section namespace Lean.Elab.WF open Meta /-- Preprocesses t...
3,011
lean_file_chunk
0085f66c1c1ccd2444051343673ad44f0e47ead0255dbb116be1b5ac21d979ba
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.PreDefinition.FixedParams public import Lean.Meta.ArgsPacker.Basic namespace Lean.Elab.WF open Meta public structu...
824
lean_file_chunk
d94e2bf25fb4f60ab5033fd639589a52f74ed0735b7e98cdbe676f57719734d8
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: Joachim Breitner -/ module prelude public import Lean.Elab.Tactic.Basic public section namespace Lean.Elab.WF register_builtin_option debug.rawDecreasingByGoal : Bool := { defVal...
23,922
lean_file_chunk
9c93a27200d957a1c9f44add573e093d4a80563d2dc6109ffdeb2d03bb9b221f
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: Joachim Breitner -/ module prelude public import Lean.Util.HasConstCache public import Lean.Meta.Match.MatcherApp.Transform public import Lean.Meta.Tactic.Cleanup public import Lean.Me...
10,921
lean_file_chunk
f72af3b422c25b85f0e51f62adcc9b26c4fa9c7901305f94dad4ef894f1bb57d
lean_source_file
lean_toolchain_source_file_chunks
go (fidx : Nat) : OptionT (ReaderT (Array Nat) (StateM (Array (Array Nat)))) Unit := do if h : fidx < numMeasures.size then let n := numMeasures[fidx] for idx in *...n do withReader (·.push idx) (go (fidx + 1)) else let comb ← read unless comb.all (· == comb[0]!) do modify (·.pus...
5,076
lean_file_chunk
108bda74ca0bf35e886e4ef4ca238f68a9da5a9c976066ba533f31cacc4b024b
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.PreDefinition.WF.PackMutual public import Lean.Elab.PreDefinition.WF.FloatRecApp public import Lean.Elab.PreDefiniti...
14,432
lean_file_chunk
b08e0250fb12bf21e7dff70c3dd3552f3d83085613395bb86fe957167d762aeb
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.Data.Array public import Lean.Elab.PreDefinition.Basic public import Lean.Elab.PreDefinition.WF.Basic public import Lean....
4,784
lean_file_chunk
3f117977e949b3b3608ffde7fb1a5c8fbe8de9a4615174a4757c6703221c8eda
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 public import Lean.Parser.Extension public import Init.While import Init.Data.Array.Attach import Init.Data.Array.Mem namespace Lean.Doc open ...
5,914
lean_file_chunk
b6ce9b970fa576d261a5d92c22fee521e2665f0309a995d471e9ce07975de906
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 public import Lean.Elab.Term.TermElabM set_option linter.missingDocs true public section namespace Lean.Doc open Lean Elab Term /-- A name...
20,616
lean_file_chunk
bde28fd910c51008c2f0c2931abda03d18f1bc539542fb0cf1e0a2d81927e3a2
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 public import Lean.Elab.DocString.Builtin.Scopes public import Lean.Elab.DocString.Builtin.Postponed public meta import Lean.Elab.DocString.Bu...
1,152
lean_file_chunk
c3d992b7004013e88c07e529e7f9c8c917c49ab735ff5baba6207e6882e49232
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 public import Lean.Elab.DocString public import Lean.Elab.DocString.Builtin.Parsing namespace Lean.Doc open Lean.Parser public section indu...
3,537
lean_file_chunk
e5e8ef4dcc84e1f99ceacbe9677ab5e9d412aad9e303de254b2d3fbee194dd60
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, Marc Huisinga -/ module prelude public import Lean.Language.Lean.Types public import Lean.Server.Snapshots public import Lean.Server.AsyncList public section ...
17,021
lean_file_chunk
2a917a270f3d87f17c2f03b1e77adfded253e4091a5802b41b9ac6d89b43fec7
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: Wojciech Nawrocki -/ module prelude public import Lean.Server.Rpc.RequestHandling public import Lean.Server.FileWorker.RequestHandling import Lean.PrettyPrinter.Delaborator.B...
23,865
lean_file_chunk
d10a64fad185d189c8ba553aaf5ac69fd1f9ea5cd49f3c9197317abee7e6bd9b
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ module prelude public import Lean.Server.FileWorker.ExampleHover public import Lean.Server.FileWorker.InlayHints public import Lean.Server.File...
4,329
lean_file_chunk
f49ba8ffd9f15e6e1f501df573fd2feea0bb5affc95971173eba64321c1c2bb0
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: David Thrane Christiansen -/ module prelude public import Lean.Elab.Do public section /-! This module contains helpers used for formatting hovers according to docstring conventions. ...
23,584
lean_file_chunk
5cb57a27d28a0bcfa76b15fb835ce7341019309a5dd682f5963724d9e48d3f1d
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 Ullrich, Marc Huisinga -/ module prelude public import Lean.Server.Requests public section namespace Lean.Server.FileWorker open Lsp open RequestM /-- `SyntaxNodeKind`s fo...
9,909
lean_file_chunk
1d81ffa17d285c7c0678af06239a90ede22609d19e09abfaa6930e7c0dde2136
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.Server.InfoUtils public import Lean.Data.Lsp public import Init.Data.List.Sort.Basic import Lean.PrettyPrinter.Delaborator public se...
10,595
lean_file_chunk
04006825dcab2076f176d4fc156b04844c0c8dfc9b3e619db44ef2a95198ba5e
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.Server.GoTo public import Lean.Server.Requests public section namespace Lean.Elab def InlayHintLinkLocation.toLspLocation (text : ...
3,423
lean_file_chunk
d65ccd65d2e85509e828534a6391a06936a0932189a50b1be92c77312e57ab45
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: Sebastian Ullrich, Marc Huisinga -/ module prelude public import Lean.Server.Utils public import Lean.Util.LakePath public import Lean.Server.ServerTask public section namespace Lean...
6,569
lean_file_chunk
61b0ba66c0d1ccfec521b2e4885904588bb40c04e564b176f14b95d251fad430
lean_source_file
lean_toolchain_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 prelude public import Lean.Server.CodeActions.Basic import Lean.Compiler.IR.CompilerM public section /-! # Initial setup for code action attributes * Attri...
8,762
lean_file_chunk
1e58492fe94ca44a658a0522fba7ce2f2ccf7bb5bb76c2903a1333f7780f4cad
lean_source_file
lean_toolchain_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 prelude public import Std.Data.Iterators.Producers.Range public import Std.Data.Iterators.Combinators.StepSize public import Lean.Elab.BuiltinTerm public impo...
7,428
lean_file_chunk
7354a2bef361d029f050a96cda4a926dd9ea847a0c9b3a75f4ce49491928bb4d
lean_source_file
lean_toolchain_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 prelude public import Lean.Server.Requests public section namespace Lean.Server open Lsp open RequestM open Snapshots /-- A code action optionally supporting a laz...
13,920
lean_file_chunk
b722e787705bd1279e5daaed9619141094b7e9fb5aef62cd3e22ea4e0794c5bd
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.Server.Completion.CompletionInfoSelection public import Lean.Server.CodeActions.Basic public section namespace Lean.Server.FileWork...
6,797
lean_file_chunk
cb72908f72e1d1bbc7a9994d046a50a2d734d487bfd1a4cd2a40e71a9f6dd049
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: Marc Huisinga -/ module prelude public import Lean.Util.LakePath public import Lean.Data.Lsp public import Lean.Parser.Module meta import Lean.Parser.Module public section namespace ...
13,236
lean_file_chunk
dc9ba3a6a706be307e28241182685b34e3561b59cb6c570b06ec74679fd127d9
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: Marc Huisinga -/ module prelude public import Lean.Server.InfoUtils public import Lean.Server.Completion.CompletionUtils public section namespace Lean.Server.Completion open Elab pr...
23,985
lean_file_chunk
2c6595fde65c0f553ea26ed5970321d1b2b7c81333c7a4261895a5c1855882c9
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: Leonardo de Moura, Marc Huisinga -/ module prelude public import Lean.Data.FuzzyMatching public import Lean.Elab.Tactic.Doc public import Lean.Server.Completion.CompletionResolution pu...
1,180
lean_file_chunk
4193f316332b69642efe6e32080d6d8d9559020c300dff0f06832bb32b7777d2
lean_source_file
lean_toolchain_source_file_chunks
let idComponent := idComponents[j]! if idComponent != scopeName then isPrefixMatch := false break if isPrefixMatch then r := r.push <| mkCandidate (i + idComponents.size - 1) return r where mkCandidate (idx : Nat) : String := ".".intercalate scopeNames[idx:].toList def endSectio...
3,520
lean_file_chunk
5e644a74cf0e740eb0f24fe86f4eb950805d8f19e4ff4cdeff19b805c7d4020a
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: Marc Huisinga -/ module prelude public import Lean.Meta.CompletionName public import Lean.Data.Lsp.LanguageFeatures public import Lean.AddDecl public import Lean.ProjFns public import ...
3,356
lean_file_chunk
db38cdbab97b645105a3040c7c4d550e1c8df76714dcb977574fc78a3a82e67b
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: Leonardo de Moura, Marc Huisinga -/ module prelude public import Lean.Data.Lsp public import Lean.Server.Completion.CompletionInfoSelection public import Lean.Linter.Deprecated public...
4,160
lean_file_chunk
a047f57878a541c44f507bff83b36e7fc5f567684f78f6aff1fc9ffbfc03eece
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.Data.Lsp.LanguageFeatures import Init.Omega namespace Lean.Lsp.ResolvableCompletionList @[inline] def compressItemDataFast (acc : S...
6,283
lean_file_chunk
50bc93f6985563ad67b6b1aaeee85b28775fe895ff7dd3384014601920993df2
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: Leonardo de Moura, Marc Huisinga -/ module prelude public import Lean.Server.Completion.SyntheticCompletion public section namespace Lean.Server.Completion open Elab private def fil...
4,471
lean_file_chunk
0ab9e16f5a175d0197129afc2e4039e749203fb8352975e7b2ad24d80bc5acdc
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: Leonardo de Moura, Marc Huisinga -/ module prelude public import Lean.Meta.WHNF public section partial def String.charactersIn (a b : String) : Bool := goFastScalar ⟨0⟩ ⟨0⟩ where ...
6,044
lean_file_chunk
f7bf5be941213285cdd0ba6cb57e3b94d3f5c4e4a5a1f196027b729d30afabae
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: Wojciech Nawrocki -/ module prelude public import Lean.Server.Requests public section namespace Lean.Server structure RpcProcedure where private mk :: wrapper : (session...
8,796
lean_file_chunk
8b21284cd84e77b650a69e3720b2cb6f3d83869f23b3e75ed4112532fc89d0b3
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: Wojciech Nawrocki -/ module prelude public import Init.Dynamic public import Lean.Data.Json.FromToJson.Basic public section /-! Allows LSP clients to make Remote Procedure C...
5,921
lean_file_chunk
e6c2883ee1bbeeed1d990259155f16a195bcd16a541ba14e2f39eb335d566053
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: Wojciech Nawrocki -/ module prelude public import Lean.Elab.Deriving.Basic public section namespace Lean.Server.RpcEncodable open Meta Elab Command Term def isOptField (n...
5,388
lean_file_chunk
91a8324e18e65c6da5df8d2a78950bc0be5d2f667b80a7bf2eb5c0bfb8f5ff4f
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2023 Lean FRO. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Implementation of the Lean language: parsing and processing of header and commands, incremental recompilation Authors: Sebastian Ullrich -/ module prelude public import Lean.Elab.Command public ...
15,606
lean_file_chunk
c746892c4b57cd9fcd0991f45e329eb870c3ad4745f301271a22c68ef49c122b
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: David Thrane Christiansen -/ module prelude public import Lean.Environment import Lean.Elab.InfoTree.Main meta import Lean.Parser.Attr import Lean.Parser.Extension import Lean.ExtraMod...
1,349
lean_file_chunk
2145d823827c0d3c3dd0b0cc4313789122417dfc4d80351938dd9263cd0c2043
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, Sebastian Ullrich -/ module prelude public import Lean.Parser.Command public section namespace Lean namespace Parser namespace Module def moduleTk := le...
3,822
lean_file_chunk
b2bf774b7a6d744106f70b8c447d676c242f8c7fb19f9e1d3f25d8eaf5c60ef8
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: Markus Himmel -/ module prelude public import Lean.Parser.Extension public section /-! Environment extension to register preferred spellings of notations in identifiers. -/ set_opti...
14,489
lean_file_chunk
cbac4ac7706f2066f87ef43c0ec501bf7aad5a423436657e2d7c6cefa3dddaf2
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, Sebastian Ullrich, Mario Carneiro -/ module prelude public import Lean.Parser.Attr public import Lean.Parser.Level public import Lean.Parser.Term.Doc meta im...
717
lean_file_chunk
284d6647f1430ba881d0ee1c2e3ce661c6667e125b3910b9fcdca37e777a7dde
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ module prelude public import Lean.Data.NameMap.Basic public import Std.Data.TreeSet.AdditionalOperations public section namespace Lean namespace NameMap ...
3,831
lean_file_chunk
28caf05b5054c7395816aa34b81ebddf76f189b78999729a7c4caa69d0f770dc
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ module prelude public import Std.Data.HashSet.Basic public import Std.Data.TreeSet.Basic public import Lean.Data.SSet public import Lean.Data.Name public s...
516
lean_file_chunk
97e3ae6bae1e850dcea7d3b0aa7b19c398e90769ecadd047aebe6ef86066daa7
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.JsonRpc public section /-! # Defines `Lean.Lsp.CancelParams`. This is separate from `Lean.Data.Lsp.Basic`...
2,983
lean_file_chunk
9f2ad601917201ffb56f42225d00752f4d09a041c6ddfe82280d59100b565b7a
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Lsp.Basic public section /-! Section "Text Document Synchronization" of the LSP spec. -/ namespace Lean n...
1,287
lean_file_chunk
6491ff84338fbe60083e08dbdfceb92f79bbfcd49a9618775b4874fbf223a378
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Json.FromToJson.Basic public section /- This module exists to cut the dependency on `Std.Data.TreeMap.Addi...
15,237
lean_file_chunk
81fa7165b354d8efc5cea6fc56385900f92a2e866245be37a03e7c547dc04ee3
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2022 Joscha Mennicken. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joscha Mennicken -/ module prelude public import Lean.Data.Lsp.Basic public import Lean.Data.JsonRpc public import Lean.Data.DeclarationRange public import Init.Data.Array.GetLit i...
1,093
lean_file_chunk
7404cad57ab0882736106556280fb767e1ae519d2f8d7f9f8c3e329ec91c4dc6
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: Marc Huisinga -/ module prelude public import Lean.Data.Json.FromToJson.Basic public section open Lean inductive MessageType where | error | warning | info | log instance :...
506
lean_file_chunk
56fc6bfa7c24f10b2834926e241bd893386d81db880ed7fa7a3367cb438b6c39
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2021 Joscha Mennicken. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joscha Mennicken -/ module prelude public import Lean.Data.Lsp.Basic public section namespace Lean namespace Lsp open Json structure Registration where id : String method :...
15,413
lean_file_chunk
80c1447b0ce7ed74357ea09bcb6ddd6c98876608984ca1358fe0ad62fb0a0f65
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Json public import Lean.Data.Lsp.BasicAux public import Init.Data.Option.Coe public section /-! Defines mo...
13,251
lean_file_chunk
08411148927aa7c24e72c966b06bd6173305b188e9e680d6c7fc42748303aa4e
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Lsp.Communication public import Lean.Data.Lsp.Diagnostics public import Lean.Data.Lsp.Extra import Init.Data...
1,597
lean_file_chunk
34351f9d5a9bf97bc742b6ad1e243e09e8008598d95a327d860b95d2009a090a
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 -/ module prelude public import Lean.Data.Lsp.Basic public section namespace Lean namespace Lsp open Json structure WorkspaceFolder where uri : DocumentUri...
20,459
lean_file_chunk
f64e0869f9cdab9dbc724e0c6ee246d489512349859e0c06cca78df909b409e5
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 -/ module prelude public import Lean.Data.Lsp.Basic public import Lean.Expr public import Init.Data.String.Search public import Init.Data.Array.GetLit meta impor...
4,263
lean_file_chunk
7b05f0937749a39f374e87ac7486c14faad8b712d75094852abebf58cbb06c00
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Lsp.Capabilities public import Lean.Data.Lsp.Workspace public section /-! Functionality to do with initial...
4,968
lean_file_chunk
688711d23a7a1e95e350560ed44015d860bd1b580ad5a56492d95b7e408686f8
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.JsonRpc public import Lean.Data.Lsp.LanguageFeatures public import Lean.Data.Lsp.CodeActions public import L...
7,492
lean_file_chunk
74930ab5fdee273acb08dde5e020daa47a631dce09ac1b6e6d39ba5de25f6789
lean_source_file
lean_toolchain_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 prelude public import Lean.Data.Lsp.Diagnostics public section namespace Lean.Lsp open Json /-- The kind of a code action. Kinds are a hierarchical list of identi...
4,619
lean_file_chunk
cb7c743ee2436f15126c59219403f8537ab0a24d2517cada177b9e59c827169a
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.JsonRpc import Init.Data.String.TakeDrop import Init.Data.String.Search import Init.Data.Iterators.Consumers...
4,648
lean_file_chunk
ece0d8cb09e652484f7f5a745aa1256975e3b1fcefe798e70e697aef4bc0fbd8
lean_source_file
lean_toolchain_source_file_chunks
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ module prelude public import Lean.Data.Lsp.BasicAux public import Lean.DeclarationRange import Init.Data.String.Search public section /-! LSP use...