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
8,997
lean_file_chunk
74029199e0d1645f6215c6956d1946c2fecb8cb755b111a54acfcb442cf3bf35
lean_source_file
lean_pool_source_file_chunks
(hclosedBall_subset : Metric.closedBall (0 : Domain n) R0 ⊆ Ω) (hflat : ScalarCutoffsConstNearOrigin R0) (hac : WeakEnergyAbsolutelyContinuousOnRadii Du R0) (henergy_radius : WeakEnergyRadiusIntegralFormula Du R0) (hradial_radius : WeakRadialEnergyRadiusIntegralFormula Du R0) (hdefect_loc : Lo...
11,842
lean_file_chunk
27e20ab3cab0d10f897834b40931a982709bad77b3b59476b50b929f9093af61
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.BoundaryBasics /-! # Primitive cutoff realization This module contains the primitive cutoff realization and the...
20,652
lean_file_chunk
fdc3094aab631ad9ffbf06d154bf0bc79896df68f9f60d16551ea8cf47031486
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadialGeometry /-! # Radial cutoff packages This mod...
23,976
lean_file_chunk
52012e6d4a1f561e8baceb548ca696eeb1e93709852e6c3a81300cf20595d820
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import Mathlib.Analysis.InnerProductSpace.Calculus import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.Euclidean /-! # Radial Geometry -/ noncomputable section op...
4,692
lean_file_chunk
48f29bd69cb4e39cba23e1bd7c10e1e3f108094a7bbc3124387177a07551dd11
lean_source_file
lean_pool_source_file_chunks
inner ℝ (partialDerivative u i x) (partialDerivative u j x)) := by let S : Target m := ∑ i : Fin n, SMul.smul (x i) (partialDerivative u i x) have hS : ‖S‖ ^ 2 = ∑ i : Fin n, ∑ j : Fin n, x i * x j * inner ℝ (partialDerivative u i x) (partialDerivative u j x) := by simpa ...
17,517
lean_file_chunk
9a707bec07458bda0de8477aadcf968be1ae9c3877ee1221e97c9b8e8913eba1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadialIntegrability /-! # Weak radial stationarity identity This module turns weak stationarity tested against ...
15,538
lean_file_chunk
0d63ee166d97b193e805bb7841d17fe4e611c02347b87fb3ffeda699ceca38a7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.EnergyQuantities import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadialCutoffs /-! # Weak radia...
23,238
lean_file_chunk
d5b9d8f5d40f5a7ab3238b7949308fb0d4be9380d17c0462cee47e9c38ae88ec
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import Mathlib.MeasureTheory.Constructions.HaarToSphere import Mathlib.MeasureTheory.VectorMeasure.Decomposition.RadonNikodym import LeanPool.LeanStationaryHarmonicMaps.Stationar...
23,994
lean_file_chunk
ed1a5133f1f945c1450dd88267184ca209d4b27e3a4a6681ec2a5bcdb6afa519
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import Mathlib.MeasureTheory.Integral.IntervalIntegral.DerivIntegrable import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.PrimitiveCutoffs import LeanPool.LeanStati...
12,501
lean_file_chunk
a53635ff2384e28194848d7e89400a8b9f8bfed09eac830a6e20bb4acd54ee50
lean_source_file
lean_pool_source_file_chunks
radialOpenShell_volume_le_ballVolume_dist (n := n) (E.2 i).1 (E.2 i).2) _ = ENNReal.ofReal (∑ i ∈ Finset.range E.1, dist ((volume (Metric.ball (0 : Domain n) (E.2 i).1)).toReal) ((volume (Metric.ball (0 : Domain n) (E.2 i).2)).toReal)) := by rw [EN...
23,997
lean_file_chunk
d624681b42e709c4376bf688d96d6e40a40f241ddf2007b0d3eae404211d1351
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.BallIntegralAC /-! # Weak radius formula constructors This module constructs the weak radius integration and on...
21,264
lean_file_chunk
ec6d632e28253fd8d00432eb92b62ed2624287cb04bd1d72b2541a7408cb8c69
lean_source_file
lean_pool_source_file_chunks
= - ∫ rho in (0 : ℝ)..R0, deriv F rho * E rho := by rw [← intervalIntegral.integral_neg] apply intervalIntegral.integral_congr_ae filter_upwards with rho _hrho simp [F, deriv_const_mul_field] ring_nf have hinterval : (∫ rho in (0 : ℝ)..R0, (-deriv phi rho) * (c * E rho)) = ...
23,999
lean_file_chunk
0e86cf840ae86db3d9b5fe110df03b3ada6cf7eee6dd65675003b903044e242b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import Mathlib.MeasureTheory.Integral.IntervalIntegral.AbsolutelyContinuousFun import Mathlib.Topology.Order.IsLocallyClosed import LeanPool.LeanStationaryHarmonicMaps.Stationary...
1,276
lean_file_chunk
1a4408cc659a79610ba65177a6c929cc16eaf018c10cb7d7d998dfdd069848df
lean_source_file
lean_pool_source_file_chunks
(Ioo a b).indicator (fun _ : ℝ => (1 : ℝ)) ‖x‖ * f x) := by rw [← integral_const_mul] apply setIntegral_congr_fun measurableSet_ball intro x _hx by_cases hx : ‖x‖ ∈ Ioo a b · simp [Set.indicator_of_mem hx] · simp [Set.indicator_of_notMem hx] have hright : (∫ rho in Ioo (0 : ℝ) R0, ...
23,945
lean_file_chunk
20e6bcd099cc0e50c2e88d5f1ea1f5e5d53295b3a20a6a04c6f6e62393c80c6f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadiusPrimitive /-! # Weighted radius derivative formulas This module upgrades interval-indicator radius deriva...
10,069
lean_file_chunk
c05e8398db75fd334c13a9efab84e6ed5d1fa212a41ae90df37412822d071bbb
lean_source_file
lean_pool_source_file_chunks
simpa [cSeq] using (hlim ‖x‖ hxI hxbad).mul_const (f x) · intro N have hsum_int : Integrable (fun rho : ℝ => ∑ i ∈ s N, (Ioo (a N i) (b N i)).indicator (fun _ : ℝ => k N i) rho * deriv F rho) (volume.restrict (Ioo (0 : ℝ) R0)) := by exact...
9,028
lean_file_chunk
dfadd85b51bfa28587a34fc00f21e6b1792636fc2f66d7b23f44d724cc8164d3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadiusPrimitive /-! # Weighted radial representation This module upgrades the simple-function radial Radon-Niko...
20,475
lean_file_chunk
c764b41204836e2027ebac5d33cde025c22168126780a35f8b3e05175445f546
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadialMeasure /-! # Radius Weights -/ noncomputable section open MeasureTheory Set open scoped Topology BigOpe...
4,947
lean_file_chunk
c326b3906d600dcdccc07a193b2defdbac158efded8f29fee33e2ffe259790ed
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.Monotonicity import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.WeakGradientBridge /-! # Sobolev b...
2,994
lean_file_chunk
303c36727730400144912085613ad9a4d58ce60fac825005f5fbc1927714e128
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.SobolevBridge /-! # Sobolev witnesses This file is the DGM-style Sobolev witness layer. It bundles a map toget...
6,945
lean_file_chunk
1dca21a77357f7290e4ef941f50b924549ed30960e9fa9a0d96612d86ad380e5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.SobolevBridge import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.FirstVariationBridge /-! # Statio...
2,831
lean_file_chunk
2862e2497c55484bd7aa43d7787c6e262822aec46a1a75a671a88b25c8461ae3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.SobolevWitness import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.StationarityBridge /-! # Station...
2,745
lean_file_chunk
ee8f236242d5cc99597e0c9d4adedf6ec4c14b66da8b1c2d3a600ea26789f1d7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.L2LocBridge /-! # Weak-gradient bridge This module gives the integration-by-parts weak-gradient relation a dist...
11,889
lean_file_chunk
4a97c5831d9a46ced1e4d4df90aef1dd90d979f38d504be68badbd52778363ac
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.StationaryHarmonicMap.RadialGeometry /-! # Weak Stationarity -/ noncomputable section open MeasureTheory Set open scoped Topology Bi...
3,265
lean_file_chunk
a7b23f8c769beadef7d9f44d07d33434efd0832750552477f0201d4bddc2d73f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Wei Wang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wei Wang -/ import LeanPool.LeanStationaryHarmonicMaps.Examples.StationaryMonotonicity import LeanPool.LeanStationaryHarmonicMaps.Examples.UseMainTheorem import LeanPool.LeanStationaryHarmo...
3,919
lean_file_chunk
0e948755b0018ef86f438bdd6922522946ce5863f6fa8bef2a356fed6679d72c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Defs import LeanPool.LehmerE10.Mahler import Mathlib.GroupTheory.OrderOfElement /-! # the finite contrast: the E₈ Coxeter element has order 30. ...
8,604
lean_file_chunk
a031c78bdf3c14b119990f5917f440b4dd4800a8a88774f018d819c62727bf0c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Kronecker import Mathlib.RingTheory.Polynomial.Cyclotomic.Eval import Mathlib.LinearAlgebra.Matrix.Charpoly.Basic import Mathlib.FieldTheory.Minp...
2,274
lean_file_chunk
caf18049c49669ef753f86ec02bed676ba2956361bd086748afc1061a611d48b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import Mathlib.LinearAlgebra.Matrix.Charpoly.Basic import Mathlib.LinearAlgebra.Matrix.Notation /-! # the objects of the claim. This file is intentionally byte-identical ...
2,278
lean_file_chunk
4c7760565df901d046dec54492c4650c6027d0bc7bc237622e25f05a6fd961e4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Main import LeanPool.LehmerE10.CyclotomicKill /-! # the E₁₀ Coxeter element as an ERGODIC toral automorphism. A matrix `M ∈ GL(n, ℤ)` acts on th...
5,889
lean_file_chunk
8ef1ada9585f0fec6b12614387aa7547ca8828dbb8ae2360f31556d1964c4c6a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Defs import Mathlib.NumberTheory.NumberField.InfinitePlace.Embeddings import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.Tactic...
8,122
lean_file_chunk
4eddb3f0b79450afacc64c36f1ce4de11f1b778443a82efd51aa574ebfa0a8d8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Main import Mathlib.Analysis.Polynomial.MahlerMeasure /-! # the Mahler measure of Lehmer's polynomial, in Mathlib's own API. Mathlib now has the...
23,961
lean_file_chunk
a06f4ae0f70521a34b74885675dcd895f82d547ba3fd42dc35686d006728ec82
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Defs import LeanPool.LehmerE10.UnitCircleFactors import LeanPool.LehmerE10.TraceQuintic /-! # the assembly: `Irreducible lehmerPolynomial` ...
3,606
lean_file_chunk
53e6bc9fe22ffa5260cba359f75d2b18f567f8a24113838877cac4d9103e3010
lean_source_file
lean_pool_source_file_chunks
rintro rfl; rw [mul_zero] at hab; exact lehmerPolynomial_monic.ne_zero hab have hdeg : a.natDegree + b.natDegree = 10 := by rw [← Polynomial.natDegree_mul ha0 hb0, ← hab, lehmerPolynomial_natDegree] have hlc : a.leadingCoeff * b.leadingCoeff = 1 := by rw [← Polynomial.leadingCoeff_mul, ← hab] ...
2,010
lean_file_chunk
7e73565eb2770053f5b97df1e5fa47e7be1305f1cbc1ff43a79a2f5f69b9e713
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Defs import LeanPool.LehmerE10.Main /-! # unimodularity and the reciprocal (Salem-pair) symmetry. Two small facts, downstream of `main_theorem`,...
5,252
lean_file_chunk
dc60824af9b8afad63382e3b52b13a2757d29d7756a3b4b04bc9adf9fef4be03
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import Mathlib.Analysis.SpecialFunctions.Complex.Circle import Mathlib.Topology.Order.IntermediateValue import Mathlib.Topology.Algebra.Polynomial /-! # locating the root...
6,490
lean_file_chunk
fb40c592925f68f70598ff19cdfa3cfd7f8b3a1b98cdbcd7852cd289dd8b0fbf
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.CyclotomicKill import Mathlib.Analysis.SpecialFunctions.Complex.Circle /-! # no factor of Lehmer's polynomial lives on the unit circle. Contents...
1,180
lean_file_chunk
b2d4f9d3a3981c211677ce83fe5c56946d56ba69651ec613beb24251e4e1cb24
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Dillon Ryan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dillon Ryan -/ import LeanPool.LehmerE10.Defs import LeanPool.LehmerE10.Main /-! # Lehmer's Polynomial and the E10 Coxeter Element Source: url:https://github.com/dillon-11/lehmer-E10 A...
21,301
lean_file_chunk
0c946b5086840ece83c74bea91c5ae69bbc440ff3cc099f2de53d1d48aa5f0bb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import Batteries.Util.ExtendedBinder import LeanPool.Lentil.Util import LeanPool.Lentil.Foldable open Lean LentilLib /-! ## A Shallow-Embedding of TLA -/ nam...
1,817
lean_file_chunk
3084108e3a64db188a5fe94ad5f48f5c1aebc4bd46fe2658bae820cc17b417b0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Basic namespace TLA.Expr open Lean Meta /-- Split a TLA conjunction `Expr` into its list of conjuncts. -/ def splitAndIntoParts (p : E...
1,602
lean_file_chunk
a0c8f103e500bca88440e6c110d47e5cceb12f48497dda45b309bf6e688d981c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean /-! ## A `Foldable` typeclass for big operators A small typeclass abstracting collections that can be folded with a commutative-associative operation, used to...
6,015
lean_file_chunk
46f4c406b0026439737f088f3ebb1a2f2b64a30a12de5f867ae564b3f725b568
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Rules.Basic import LeanPool.Lentil.Expr /-! Gadgets for providing different variants of a proven theorem. -/ namespace TLA.Deriving op...
10,807
lean_file_chunk
c48324970ef2fc3e1a35437a2b9e30310c7d0dbf432e54fd57846abab99cde09
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Basic /-! Gadgets for lifting a propositional theorem to the level of temporal logic. -/ namespace TLA.Lifting open Lean Meta Core Ela...
8,293
lean_file_chunk
a81b318a6285ddea887dc593dd91e7f44c56e3c3ad6c3cca727b40c557df39ad
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.BigOp namespace TLA.ProofMode open TLA LentilLib /-- A named proof-mode hypothesis. -/ structure NamedPred (σ : Type u) where /-- The hypo...
2,799
lean_file_chunk
dbb8c7ca7dde43e8235e1bd62eb5c833a7991e22c01843d977bf7a85315377fe
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic open Lean namespace TLA.ProofMode /-- Display syntax for a single proof-mode hypothesis. -/ syntax tlaPmHyp := ident " : " tlafml ...
4,577
lean_file_chunk
018c596de454b5ad326818564625eaf3ca5d6b4dc7f70cc2e8dfa05a69830457
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic /-- Syntax for referring to a proof-mode hypothesis by name or index. -/ syntax...
5,112
lean_file_chunk
04ed0c1b1eb2d461c30829848c0c87ef94778400c9c1f0d5533b57e93ba27e7b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Have import LeanPool.Lentil.Expr namespace TLA.ProofMode open Lean Meta Elab Tactic LentilLib theorem Entails_trans {σ : Type u}...
2,005
lean_file_chunk
a17058638ed59824488eda240367e0897bc9ff7ddaadbf7b7b2f8bed90b833b0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic theorem Entails_assumption {σ : Type u} {hyps : List (NamedPred σ)} {goal : pre...
3,401
lean_file_chunk
43c13e8a1e3993feb4a4271952db9d1ccdb8543307f3f601823ffe5a046bca0d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic -- CHECK Does this also appear somewhere else? private def parseCanonicalEntail...
2,725
lean_file_chunk
20964d865c598bf070492f0ec1ceb037886ea30a383bef1849993e40ff375d5d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic theorem Entails_drop_hyps {σ : Type u} {hyps : List (NamedPred σ)} {goal : pred...
10,812
lean_file_chunk
dffc5cb7c45caca4b73e100e29d55228b51a784d2094cb3d508fda3f83ab5577
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean.Meta.Tactic.Generalize import Lean.Meta.CollectFVars import Lean.Elab.Tactic.Config import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean M...
2,560
lean_file_chunk
5cb11ce7af533c4432f1e8622ae14419846e05cd93b38890b2e4a3b050b3a44b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Revert import LeanPool.Lentil.ProofMode.Tactics.Specialize namespace TLA.ProofMode open Lean Meta Elab Tactic section variable ...
1,013
lean_file_chunk
af6674f2e0d4b209c053ce87fd7c99a6b7a85900665ca6b348c23eb8123fc863
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic theorem Entails_exists {σ : Type u} {hyps : List (NamedPred σ)} {α : Sort v...
2,204
lean_file_chunk
096536f72224e2f4748d11d990ecb4803067f299d9dfeae9f1106172a3ff1716
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic -- FIXME: Replace this with `foldrDM` /-- Build the right-associative `tlaAnd` ...
11,931
lean_file_chunk
71cc44bf2203f22038264e3db17aded6a48059b4e34e75fa2544c3050ab9eef7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Clear import LeanPool.Lentil.ProofMode.Tactics.Specialize import LeanPool.Lentil.Expr namespace TLA.ProofMode open Lean Meta Elab...
3,710
lean_file_chunk
34af123c86581bb678788e49dfd08eb70e5c0794cedad332a2c78bfc69f26461
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.Basic import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic theorem Entails_intro_forall {σ : Type u} {h...
993
lean_file_chunk
491528ae28aaa04b11290d95b3f68eea59e0c1fb30196d0bb22fe2e3a9b16cac
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic section variable {σ : Type u} {hyps : List (NamedPred σ)} {a b : pred σ} -- N...
2,788
lean_file_chunk
61a24c92960875754c40dab41ce48430f01062c3c6db88ec2d10fe36b73e94f6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Monotone namespace TLA.ProofMode open Lean Meta Elab Tactic section variable {σ : Type u} {hyps : List (NamedPred σ)} {goal : p...
6,503
lean_file_chunk
b1e8132cad11a1fe46a389d658d32ab4d646097928b37791dbdf820d4224b2f9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic import LeanPool.Lentil.Rules.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic /-- Map a function over the predicates of a ...
971
lean_file_chunk
d322587c4cc039ee1fb86cc044ab9be655377f278f3d5bc841d2548afd4d33f1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic attribute [tlanormsimp ↓] TLA.impl_intro TLA.valid_eq_true_implies TLA.impl_int...
2,508
lean_file_chunk
521cba87025123ed8c73afac82af04bf8a6af18b68c4b8e9c5dbcdae2e5a1afe
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic import LeanPool.Lentil.ProofMode.Tactics.Intro import LeanPool.Lentil.ProofMode.Tactics.Revert namespace TLA.ProofMode open Lean Me...
18,361
lean_file_chunk
e9b6caa02e5d04c318dd72458508ac66a5d86f89ba7a84c6a8894bdd3d9ee2fd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Have import LeanPool.Lentil.ProofMode.Tactics.Clear import LeanPool.Lentil.ProofMode.Tactics.Rename import LeanPool.Lentil.ProofMod...
3,130
lean_file_chunk
0055ba71c9e9829f510a8bde0b02e843a54610dbbe94d92c3cec22c963d20c80
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Location namespace TLA.ProofMode open Lean Meta Elab Tactic local macro "renameFun" : term => `((fun ⟨_, pred⟩ => ⟨$(mkIdent `newName), ...
5,502
lean_file_chunk
e4f278e61d18b9cf379cea22042cb846bef7121d102a6ca1b947ffcea5f1d3bd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Intro namespace TLA.ProofMode open Lean Meta Elab Tactic -- NOTE: The following approach to restoring binder names is inspired b...
9,376
lean_file_chunk
09273c57f6498ae10dd6280df553e1b988108e5fff7892e53f589f054faa2ecd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Location namespace TLA.ProofMode open Lean Meta Elab Tactic LentilLib open Lean.Parser.Tactic /- Design notes. `tla_rewrite` operates o...
3,112
lean_file_chunk
55cf7d3fb7ece114b409d62a5158354f406f5008344c8499284d6db5f81b7c8d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Location namespace TLA.ProofMode open Lean Meta Elab Tactic open Lean.Parser.Tactic /- `tla_simp` and `tla_dsimp` are implemented direct...
12,706
lean_file_chunk
6917bf237f2d52adf2403b54bb9219d8cda75c90e56a47529151aaa61d5193e1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Rename namespace TLA.ProofMode open Lean Meta Elab Tactic LentilLib /- Design note: `tla_specialize` should be the shared specia...
757
lean_file_chunk
112c58455d32bdb15ac22b44ddaa1ec16ad488e1530d0cc63f6fe2d164e2f126
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic namespace TLA.ProofMode open Lean Meta Elab Tactic theorem Entails_and_split {σ : Type u} {hyps : List (NamedPred σ)} {g1 g2 : pre...
2,197
lean_file_chunk
841d488755bca85f1e86ee9095294f6058a71986e726fdfdf72a39e1f1329974
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Basic import LeanPool.Lentil.Expr namespace TLA.ProofMode open Lean Meta Elab Tactic private def sequentOpt (e : Expr) : Option (Expr × ...
2,846
lean_file_chunk
7fd7dc0cb50904f7aed7374b5ae31d784a55b8e8a83cc0ca57942b8065ea8bba
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.ProofMode.Tactics.Apply import LeanPool.Lentil.ProofMode.Tactics.Assumption import LeanPool.Lentil.ProofMode.Tactics.CheckGoalForm import LeanPool.Le...
12,267
lean_file_chunk
14155a4797ee188a63db7f0e23a557d4f2acf489b4831e4767d79135a2c5974c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Basic import LeanPool.Lentil.Tactics.Basic import LeanPool.Lentil.Gadgets.TheoremLifting /-! Basic theorems about TLA. -/ open Classical LentilLib ...
3,516
lean_file_chunk
341f08b61f3fb1a5faf73baafdf8dec46bcce4f0734a375a313e449385f41f36
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.Basic /-! Theorems about big operators (e.g., `⋀`, `⋁`). -/ open Classical LentilLib namespace TLA section bigop variable {α : Type u} {β ...
2,104
lean_file_chunk
dcabc79b3f6bf2e8056e96a3acf4e1fa375ca1f81d290c88df9454df555e9347
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Rules.Basic import LeanPool.Lentil.Gadgets.TheoremDeriving /-! Theorems about the leads-to operator. -/ open Classical namespace TLA ...
1,182
lean_file_chunk
8eda72edcd792d029e8e4f62046a3221cafbe37681a29caa30315185b8181f71
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.WF import LeanPool.Lentil.Tactics.FiniteWindow /-! Theorems specialized for state predicates. Their premises are typically pure Lean propo...
2,835
lean_file_chunk
d5779272461b6ea17e2dbf2bb66af404d26ef382d3ee9fb5ec2e957c4e0c704e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.Basic import LeanPool.Lentil.Gadgets.TheoremDeriving import LeanPool.Lentil.ProofMode.Tactics import LeanPool.Lentil.ProofMode.Display /-! The...
2,295
lean_file_chunk
c479934baa1190430a6b07068c7d72e256c6ce2e68e4b8d8bbdeae3d54b41bc4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Aesop import Batteries.Tactic.Basic import LeanPool.Lentil.Basic open Lean Meta Elab Tactic namespace TLA /-- Try to unfold the given identifiers everywhere. -/ s...
20,460
lean_file_chunk
fd196f11119bdf1cf8143b322f4502cb1eba8820e46041ad0f70c93ab73ce07d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Tactics.Basic open Lean namespace TLA /-! This file implements a finite-window reduction for local TLA obligations. The older `simp_f...
1,470
lean_file_chunk
fc337cf3072f37ecb5a11da71bbf19c4fd726530b633c3a42bb23ffa0afc9b4a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean import LeanPool.Lentil.Utils.MetaUtil import LeanPool.Lentil.Utils.SyntaxUtil import LeanPool.Lentil.Utils.MiscLemmas open Lean /-- Whether to use the custom ...
2,789
lean_file_chunk
c7ac809d9430b5ff5d80dd61383493732797d5c46bc1f8457c86a7c77b592bf2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean open Lean Meta Elab Tactic namespace LentilLib /-- Add a single theorem to the environment by providing its name, type and proof. -/ def simpleAddTheorem (na...
3,920
lean_file_chunk
9b81c6e793c6fc8bddd09f23cb8066b4fcef4bf9bb88e1034f44426f87ceda26
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean namespace LentilLib theorem forall_unit {p : PUnit → Prop} : (∀ x, p x) ↔ p PUnit.unit := by grind theorem exists_unit {p : PUnit → Prop} : (∃ x, p x) ↔ p PU...
539
lean_file_chunk
6d2299215842821a6ceaef999da8ce5127cdb729492ae8e22543a7db4071c1a6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import Lean open Lean namespace LentilLib /-- Convert a `binderIdent` into a function binder. -/ def binderIdentToFunBinder (stx : TSyntax ``binderIdent) : MacroM (TSynt...
1,341
lean_file_chunk
765dc887e7920dd2e794503c7317b9799f034c3d611fa1e8d517b2ec98cd8948
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Qiyuan Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Qiyuan Zhao -/ import LeanPool.Lentil.Rules.Basic import LeanPool.Lentil.Rules.BigOp import LeanPool.Lentil.Rules.LeadsTo import LeanPool.Lentil.Rules.StatePred import LeanPool.Lentil.Rul...
2,284
lean_file_chunk
12b0d0f6956fc598d2dd8c85c52aff41468b7be0f9c83e4b074f9f1d0046aa39
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.LinearAlgebra.FiniteDimensional.Basic import Mathlib.LinearAlgebra.LinearIndependent.Basic import M...
8,066
lean_file_chunk
65a0e944abbe02870a5f9298122e16817537bec749e80e3c4b4e935b14c3b13d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.LinearAlgebra.FiniteDimensional.Basic import Mathlib.LinearAlgebra.LinearIndependent.Basic import M...
23,991
lean_file_chunk
3e66a219c041e453180f180eba2658cf9329142fd8a8d53c16211afaa5661ceb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Semisimple.Defs import Mathlib.Algebra.Lie.Solvable import Mathlib.Algebra.Lie.Quotient...
5,791
lean_file_chunk
f5bdb4ff2818e3dff298281704f7640dc627f6e5d7374d16539db48c9618a647
lean_source_file
lean_pool_source_file_chunks
constructor exact { toFun := fun l => ![γ * l 0, l 1, γ * l 2] map_add' := by intro x y let x' : Fin 3 → K := x let y' : Fin 3 → K := y change (![γ * (x' + y') 0, (x' + y') 1, γ * (x' + y') 2] : Fin 3 → K) = (![γ * x' 0, x' 1, γ * x' 2] : Fin 3 → K) + ...
23,967
lean_file_chunk
712a767b4441df94c95407d767ff6ed30a5994a57053b33365a794fee23d8046
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.LinearAlgebra.LinearIndependent.Basic import Mathlib.LinearAlgebra.FiniteDimensional.Basic import M...
14,511
lean_file_chunk
13790897061b9897fb4636cd59e784e36a213b997650b0e791b120774561fd38
lean_source_file
lean_pool_source_file_chunks
(issolvable : LieAlgebra.IsSolvable L) : Module.finrank K (LieAlgebra.commutator K L) ≤ n := by have : Nontrivial L := Module.nontrivial_of_finrank_eq_succ dimn have s : LieAlgebra.commutator K L < ⊤ := by apply LieAlgebra.derivedSeries_lt_top_of_solvable K L have FD : FiniteDimensional K (⊤ : LieIdeal K L...
5,953
lean_file_chunk
6f110c25d1c106a5dc7b16ec4b9f1686f85e2d7783c58b780ddd161171eec2f5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Basic import Mathlib.Algebra.Lie.Abelian import Mathlib.Algebra.Lie.OfAssociative impor...
23,969
lean_file_chunk
4c474df4ca2df654353951c0173ff932a5968efc8ce823812d0218f03429bc8f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Basic import Mathlib.Algebra.Lie.Abelian import Mathlib.LinearAlgebra.AffineSpace.Affin...
23,312
lean_file_chunk
5382e1e64b80d9939190f762a1d6381d71404e3d37439dee35425d3ab91e08c8
lean_source_file
lean_pool_source_file_chunks
rw [finrank_eq_card_basis commutatorBasis, Fintype.card_fin] /-- TODO. -/ def _root_.LieAlgebra.Dim3.Hyperbolic.adjoint (x : Hyperbolic K) := ad K (Hyperbolic K) x /-- TODO. -/ def _root_.LieAlgebra.Dim3.Hyperbolic.ade₁ := adjoint (e₁ : Hyperbolic K) theorem _root_.LieAlgebra.Dim3.Hyperbolic.ad_preserves_commutator ...
23,998
lean_file_chunk
246bb9ec3a0c523d306497d9e6a82e94708a427158be8a0d3fc1b034af90c5e5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Semisimple.Defs import Mathlib.Algebra.Lie.Solvable import Mathlib.Algebra.Lie.Quotient...
23,987
lean_file_chunk
167b9ef90b9690bed425ed8cad765c6076e32ab93817e2a329fce350772564fa
lean_source_file
lean_pool_source_file_chunks
ucomm⟩) 0 + (B.repr ⟨v, vcomm⟩) 1) • B 1)) := by rw [Bn21] _ = ( (((B.repr ⟨u, ucomm⟩) 0 + (B.repr ⟨v, vcomm⟩) 1))) • B 1 + (-(((B.repr ⟨u, ucomm⟩) 0 + (B.repr ⟨v, vcomm⟩) 1)) • B 1) := by module _ = (( (((B.repr ⟨u, ucomm⟩) 0 + (B.repr ⟨v, vcomm⟩) 1))) + (-(((B.repr ⟨u, ucomm⟩) 0 ...
5,715
lean_file_chunk
7183f8a429a613404fff724fe8c2bd1f2e5346ea289d1de84ac1461313e155be
lean_source_file
lean_pool_source_file_chunks
rw [Set.mem_ofPred_eq] use α⁻¹ • B 0 use B 2 - β • B 1 simp_all only [Fin.isValue, ne_eq, lie_sub, smul_lie, smul_add, not_false_eq_true, inv_smul_smul₀, lie_smul] rw [smul_comm] simp have h2 : B 2 ∈ {x | ∃ (y z:L), ⁅y, z⁆ = x} :=by rw [Set.mem_ofPred_eq...
2,247
lean_file_chunk
a53167e7b20f6be411a31dd3e53140eb2f1c9f794dafe7dd670d77f2c382e854
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Solvable import Mathlib.Algebra.Lie.Quotient import Mathlib.Algebra.Lie.Nilpotent /-! ...
11,471
lean_file_chunk
0fc70675813efc343bf22fe99633dd40c6ca730e18cec041e2a39a2bbe6a7991
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import Mathlib.Algebra.Lie.Derivation.Basic import LeanPool.LowDimSolvClassification.GeneralResults import LeanPoo...
23,964
lean_file_chunk
435cc936cde54eec8bcf9b24f8bf3999bb3ce3213ce2970bb7936d9812878f11
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Heather Macbeth, the LieLean team -/ import Lean.Meta.Tactic.NormCast import Mathlib.Algebra.Algebra.Tower import Mathlib.Algebra.BigOperators.GroupWithZero.Action im...
107
lean_file_chunk
e40106749cbad756ec5d983cbc3082325a5198da55c8b42e00d078195ab8bf11
lean_source_file
lean_pool_source_file_chunks
theorem lie_solver3_example' (v₁ v₂ : L) : 4 • ⁅ v₁ , v₂ ⁆ + 4 • ⁅ v₂ , v₁ ⁆ = 0 := by simplify_lie
1,873
lean_file_chunk
a39d28ef8b956249bee9b9e812651241ea10f13212c35cd6feff54b381ce9c57
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 the LieLean team. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Viviana del Barco, Gustavo Infanti, Exequiel Rivas, Paul Schwahn -/ import LeanPool.LowDimSolvClassification.Classification1 import LeanPool.LowDimSolvClassification.Classification2...
5,133
lean_file_chunk
05647adfcddba03c7a4cf4ba060d08387aa123e9ac8f48c1db829cf5378769f7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.Map import LeanPool.MRiscX.AbstractSyntax.Instr import LeanPool.MRiscX.Parser.AssemblySyntax import Lean /-! # AbstractSyntax This m...
7,649
lean_file_chunk
ac74d44faffec267b57a7a682e13a64e78be3c4f529de45de6e8aac946a8336c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ /-- Definition of the Instructions. -/ inductive Instr : Type where /-- Load an address into a register Syntax: `la x dst, m` where `(dst m : UInt64)`....