chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
23,987 | lean_file_chunk | 4192fe0cfc3783c9bc91feb246da1779182fdc0e97c610cc3de6863179a80002 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Thomas Waring
-/
module
public import Cslib.Foundations.Relation.Domain
public import Cslib.Foundations.Semantics.LTS.Simulation
public import Cslib.Foundations.S... |
1,321 | lean_file_chunk | 2d5a61dade5f7f71f15db8e2c2f368bf6dbc16e7ebdf47cadd018b2cfa3096cc | lean_source_file | cslib_source_file_chunks | IsWeakBisimulation lts₁ lts₃ (Relation.Comp r1 r2) := by
simp_all only [IsWeakBisimulation]
exact h1.comp h2
/-- The composition of two sw-bisimulations is an sw-bisimulation. -/
theorem IsSWBisimulation.comp
[HasTau Label] {lts₁ : LTS State₁ Label} {lts₂ : LTS State₂ Label} {lts₃ : LTS State₃ Label}
(h1 :... |
1,254 | lean_file_chunk | e2028d016a8d9eed1f824f234bf693cd7d6935a1d646ae5682b41b3fb006062f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.HasTau
public import Cslib.Foundations.Semantics.LTS.OmegaExecution
/-!
# Divergence of LTS
-/
@[expose] ... |
2,581 | lean_file_chunk | 40ab21fe30a28344be2d84a7725abd74f32b679ccd23b0d10ed11e98d1539069 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
module
public import Cslib.Foundations.Semantics.LTS.Termination
public import Mathlib.Order.WellFounded
/-!
# Examples separating boundedness, termination... |
4,942 | lean_file_chunk | ced9a04fe90f69b39372a74f770ce0e7676a8151d9c2a3595264ba67537cf94d | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Ching-Tsun Chou
-/
module
public import Cslib.Foundations.Semantics.LTS.Basic
/-!
# Finite executions of LTS
-/
@[expose] public section
namespace Cslib.LTS
v... |
7,966 | lean_file_chunk | dde3d581cf39c6dac960bfe7ab6e6e3947489df0fc19d50583bca53622f1f36c | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Relation
/-!
# LTS with a special "internal" transition `τ`.
-/
@[expose] public section
namespace Cslib... |
3,050 | lean_file_chunk | de0b8fd0d16af9b0d5f1a041b4339ab1d340a77dc839bc5bf2dc733a689bd489 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Ayberk Tosun (Zeroth Research). All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ayberk Tosun
-/
module
public import Mathlib.CategoryTheory.Category.Basic
public import Cslib.Foundations.Semantics.LTS.Basic
public import Mathlib.Control.Basic
/-... |
994 | lean_file_chunk | de852ae2ac3275d0562cf4b3499c0c921c3c90a1690590bf87dc3265690bf82c | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Basic
/-!
# Label map operation for LTS.
-/
@[expose] public section
namespace Cslib.LTS
section MapLa... |
3,856 | lean_file_chunk | 79d6c54185ad6408a4324776584aca3e97fcb2b48042002fefc289459f7c885b | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Chris Henson
-/
module
public import Cslib.Foundations.Semantics.LTS.Relation
/-!
# Notations about LTS
-/
namespace Cslib.LTS
public meta section
open Lean E... |
4,933 | lean_file_chunk | fd71c0e3067fcf8b3c88a87d487aa9aa9ed633228b4437222148ad9b91459859 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Ching-Tsun Chou
-/
module
public import Cslib.Foundations.Data.OmegaSequence.Flatten
public import Cslib.Foundations.Semantics.LTS.Execution
/-!
# Infinite execu... |
4,182 | lean_file_chunk | fdda62f54151dc17f8c538e5cf4e1c02539fefae0800636c490d803cbd510ab4 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Basic
/-!
# Conversions between `LTS` and `Relation`.
-/
@[expose] public section
namespace Cslib.LTS
v... |
8,085 | lean_file_chunk | 7441db68b05266c9563e172e6c923c779a2dcdebeb3df80a9748c151a3cc7d2d | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.HasTau
/-! # IsSimulation and Similarity
A simulation is a binary relation on the states of two `LTS`s: i... |
3,291 | lean_file_chunk | cb3d82e6679e964429897291c3c4fcfa98f7e2fd5bf8af55cd7ed78b9c490c11 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Relation.Confluence
public import Cslib.Foundations.Semantics.LTS.Execution
public import Mathlib.Data.Fintype.Card
publi... |
4,462 | lean_file_chunk | 15e2e97301501e18df4f33d8225ad5ab9709a886bc053079a9736cad9f5fb971 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Ching-Tsun Chou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ching-Tsun Chou
-/
module
public import Cslib.Foundations.Semantics.FLTS.Basic
public import Cslib.Foundations.Semantics.LTS.OmegaExecution
/-!
# Total LTS
This file defines, and ... |
7,121 | lean_file_chunk | 7f3d925615c42b811cca0c4d35d57e0edac211fc47a47abdf75bb0788c726cce | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Basic
public import Cslib.Foundations.Semantics.LTS.Simulation
/-!
# Trace Equivalence
Definitions and re... |
2,104 | lean_file_chunk | c3ecc792a11d77ab27cee1678788b05e664634ff01588b1a1ea612800008cbde | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Basic
/-!
# Union of LTSs
Note: there is a nontrivial balance between ergonomics and generality here. The... |
1,739 | lean_file_chunk | 9dc4a8c68060d6950104bbce9e750acf97a63c44c7049c6e1aadf36dd38f8ac9 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Syntax.Context
public import Mathlib.Algebra.Order.Monoid.Unbundled.Defs
/-! Typeclass for congruence over a context. -/... |
959 | lean_file_chunk | 77a9d487c2801458b5f68912b26f9f5155b155c5200829452ec48ebc40ece61a | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
/-! Typeclasses for contexts, with heterogeneous and homogeneous variants. -/
@[expose] public section
namespace Cslib
/-- C... |
527 | lean_file_chunk | 56a0b921075ae6a6e2e2a4b306e9deb4375bb76aae46c29e9ac2518a200add93 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
/-! Notation typeclass for α-equivalence. -/
public section
namespace Cslib
/-- Typeclass for the α-equivalence notation `x ... |
1,303 | lean_file_chunk | 21c3d2342753dd21d486fe44612674aaca457f634fc8ad4b18bbbb526fb10235 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
/-! Notation typeclass for substitution. -/
public section
namespace Cslib
/-- Typeclass for substitution relations and acce... |
559 | lean_file_chunk | 4cd9062d294bda6f4a8e5ca3671c5ee3f99becba78d4090fd3ffb0b11fa82a9f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
/-! Notation typeclass for well-formedness. -/
public section
namespace Cslib
/-- Typeclass for types equipped with a well-f... |
596 | lean_file_chunk | 52bdc08a1f70cf544f2b5f7f94c8a04e9e47ce3e511e19bc0e522c2a6c5f4944 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Jesse Alama. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jesse Alama
-/
module -- shake: keep-downstream, shake: keep-all
public import Cslib.Foundations.Lint.Basic
public import Mathlib.Init
public import Mathlib.Tactic.Common
/-!
# CSLib I... |
4,795 | lean_file_chunk | b5a341bc4de918a2b144c865537a2dc04dcbce1e7e65b898651302452916ff75 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Syntax.Context
public import Mathlib.Tactic.ToAdditive
public import Mathlib.Tactic.ToDual
/-! # Calculus of Communicati... |
13,273 | lean_file_chunk | 86a807c6ccd5139feada1b9b7a9bcbc4b5b58e3926d3ea277e91a0cce325d464 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.Bisimulation
public import Cslib.Foundations.Syntax.Congruence
public import Cslib.Languages.CCS.Semantics
... |
1,675 | lean_file_chunk | ec56d04d2659761d039578901f69827107dac43a2812559de269c36341e8511b | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Semantics.LTS.HasTau
public meta import Cslib.Foundations.Semantics.LTS.Notation
public import Cslib.Languages.CCS.Basic
... |
14,183 | lean_file_chunk | 8141d29b8f3129593d5572348406de34e967e376e060176de316256e37d238a6 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Languages.CombinatoryLogic.Defs
/-!
# Basic results for the SKI calculus
## Main definition
- `Polynomial`: the type of SKI terms with f... |
7,442 | lean_file_chunk | c0ff09aa10aa1f9b61d6f8f6b5edeb8a62ef6e5d9e3a6f4b14a17cbce41b88de | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Languages.CombinatoryLogic.Defs
public import Cslib.Foundations.Relation.Confluence
/-!
# SKI reduction is confluent
This file proves the... |
3,689 | lean_file_chunk | 72e40964ad6b2957f557e64d6a35a1715bebe9331c65de09bd05580d3a4c26ad | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Foundations.Relation.Attr
public import Cslib.Foundations.Relation.Defs
public meta import Mathlib.Tactic.ToDual
/-!
# SKI Combinatory Log... |
12,511 | lean_file_chunk | 3928e962d5dbb3bdead4edb6ab45069afb099e2eadb8fc68ff275e8f0a81fa56 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Languages.CombinatoryLogic.Confluence
public import Cslib.Languages.CombinatoryLogic.Recursion
/-!
# Evaluation results
This file formali... |
9,964 | lean_file_chunk | 5fc7a535a7b9ff152b00521b2375bf8743150abd7075d458624345bb96b642f8 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Jesse Alama. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jesse Alama
-/
module
public import Cslib.Languages.CombinatoryLogic.Recursion
/-!
# Church-Encoded Lists in SKI Combinatory Logic
Church-encoded lists for proving SKI ≃ TM equivalenc... |
23,517 | lean_file_chunk | 134374aa976417bb3fc19b6a20af72f02f5b299a63a0dab199887489b83a0e07 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring, Jesse Alama
-/
module
public import Cslib.Languages.CombinatoryLogic.Basic
public import Mathlib.Data.Nat.Pairing
/-!
# General recursion in the SKI calculus
In this ... |
2,223 | lean_file_chunk | 22754c8d1359bdd0d424b423913e9141ddaf470969e4d84d4d8c6db7cdc92705 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Syntax.HasWellFormed
public import Mathlib.Data.Finset.Dedup
public import Mathlib.Data.List.Sigma
/-! # λ-calculus
Contexts a... |
3,351 | lean_file_chunk | 4bf6a7a70cd8aa7224c87d0058b9957a03eadf155d0e973720982af1eb9e21ae | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Data.HasFresh
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Context
/-! # λ-calculus
The λ-calculus with polymor... |
16,194 | lean_file_chunk | 863e0375b96d2dbad7325d49cfde3370c7b897b7570384756142d3e075235555 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Syntax.HasSubstitution
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Basic
/-! # λ-calculus
The λ-calculus ... |
3,721 | lean_file_chunk | e6fa7dbeda0a1c2c5835ab0672cdd9d308963025d55a5ec79a8851360f437930 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Relation.Attr
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Opening
/-! # λ-calculus
The λ-calculus with po... |
4,743 | lean_file_chunk | a470320ab7c2772d828fb1d5621c4864af0a77dab4489f2058d91a955e0f8b45 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Typing
/-! # λ-calculus
The λ-calculus with polymorphism and subtyping, with a locally namele... |
6,164 | lean_file_chunk | c3c8560e5619e32640b6387b0ceda6c981e829df6f5fb8db6bf013dd2392c343 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.WellFormed
/-! # λ-calculus
The λ-calculus with polymorphism and subtyping, with a locally na... |
10,053 | lean_file_chunk | cc36f1d5dd2853ffbc7416c165ebd91cd6a4d544531ce821b17a63ab18923f6b | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Reduction
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Subtype
/-! # λ-ca... |
7,388 | lean_file_chunk | 64ad751c901a8ae8654510029ce580bfe86143acce5fd59f8a3867d81a97bf49 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Fsub.Opening
/-! # λ-calculus
The λ-calculus with polymorphism and subtyping, with a locally namel... |
4,017 | lean_file_chunk | 427dd4ad6b19f6b3b9f00a45dfbba547c78d2309b0d96a560c1cea5e1fb0f5b2 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Context
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.Properties
/-! # λ-cal... |
3,312 | lean_file_chunk | 444cb1a4f794e900d302734b365159f214e6e9b61c1bcee91d8bd5c211700fd3 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Stlc.Basic
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBeta
public impo... |
5,197 | lean_file_chunk | 8711dfa669e3a610dc2162ef6c993633a8c1638a948c6eba84e00a3e4c293038 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 David Wegmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Wegmann
-/
module
public import Cslib.Foundations.Data.HasFresh
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Stlc.Basic
public import Cslib.Languages.LambdaCalcu... |
4,124 | lean_file_chunk | 090bdf11f12d594aec88da6b2193215b23389326896c69a63ca73bb56815c7f3 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Data.HasFresh
public import Cslib.Foundations.Syntax.HasSubstitution
/-! # λ-calculus
The untyped λ-calculus, with a locally na... |
7,893 | lean_file_chunk | 32e93e8e3f18f2291f5c162fd5e2310792b17c7169ce63688a57fe44bb9f3bc7 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.CallByName
/-! # Redex Positions
This module defines β-reduc... |
2,495 | lean_file_chunk | 57e059a622dcfa685f86c0b76f0ba64058c1c243109c296868f7fa7b77a82e45 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBeta
public import Cslib.Languages.LambdaCalculus.LocallyN... |
1,395 | lean_file_chunk | fb82fa454236d765e56c84a5e76a1c6e4b2b3c267993982ced414d9e4245168f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.Properties
/-! # Congruence for the λ-calculus -/
public sec... |
7,413 | lean_file_chunk | 51fd257af3c46ac59bfd4de6a70102f47e2e638ffe19ea28b97b0febbc01c0d2 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Foundations.Relation.Attr
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.Properties
public import Cslib.Languages.Lambd... |
7,703 | lean_file_chunk | 2675015484a26079fac1fc5b4c534f15e1e29e4c20fc0a07fde5fba291b25ca2 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBeta
public import Cslib.Foundations.Relation.Confluence
/-! # β-confluence for the λ-c... |
1,480 | lean_file_chunk | 41dbb7a029487a3592ca6ebf9f0a662703a5347ba841c5340d3f63d1d310c071 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez, Yijun Leng
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBetaConfluence
public import Cslib.Languages.L... |
3,238 | lean_file_chunk | a59398c14c67d9845bb411039d8b2e6fb6f019e39fa8e22bb9331675df104278 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBetaConfluence
public import Cslib.Languages.LambdaCalculu... |
6,196 | lean_file_chunk | c42a27fbaf27d94e85f8850dcbe28733a149922456a219655f96c8fb7344425d | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Foundations.Relation.Attr
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.Properties
publi... |
2,199 | lean_file_chunk | afc91d6db139bffff5b45a54f48ef027caf8317fafa3ba051ff010970a1acc77 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullEta
public import Cslib.Foundations.Relation.Confluence
/... |
4,778 | lean_file_chunk | d6d3fae70012215e3fbb2397760cd0c633a09009d6b8d4dc8c6a67353225bf30 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Elimia (Sehun Kim). All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Elimia (Sehun Kim)
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.Basic
/-!
Alternative Definitions for LC:
This module defines `LcAt k M`, a m... |
5,049 | lean_file_chunk | 318f5418da1a110919938031a464382b63eb3ef781ef7d4a9d9ab49bd258a1ae | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.StandardReduction
/-! # The Leftmost Reduction Theorem
## Re... |
6,095 | lean_file_chunk | 359a3b6759e8b0f2eb7bd53284fde1368a54490c90152ecc9a42427f34b07a7d | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 David Wegmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Wegmann
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBeta
/-! Multiple application for untyped lambda calculus. -/
set_option linter.unu... |
3,152 | lean_file_chunk | 2faeb75f22100a3db1174de403b4f37c28031f987211e08af02384a654b70d6c | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 David Wegmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Wegmann
-/
module
public import Cslib.Foundations.Data.HasFresh
public import Cslib.Foundations.Syntax.HasSubstitution
public import Cslib.Languages.LambdaCalculus.LocallyNamel... |
6,133 | lean_file_chunk | 6ebf744bfc9a492d424999a5f0b5ec4c1a5c2617086d15e57bcdd9c81d653c63 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Chris Henson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Henson
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.LcAt
/-! General properties of opening and substitution in untyped lambda calculus terms. -... |
16,547 | lean_file_chunk | e632e87424eb813bff51fd00baaa309edbc03301712d1795f2fdd34cf0506c1b | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Maximiliano Onofre Martínez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Maximiliano Onofre Martínez
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.BetaAt
/-! # Standard Reduction and the Standardization Theor... |
6,411 | lean_file_chunk | 08f5127dcccbd8d19a50aa62552b252a2623f6284af5f76ce2a21c2d1b9dd4c1 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 David Wegmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Wegmann
-/
module
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.FullBeta
public import Cslib.Languages.LambdaCalculus.LocallyNameless.Untyped.MultiApp
pub... |
5,009 | lean_file_chunk | 98bc85cdad08d369d6b0779e5516d1ca9e4d2990bce5fd5d80118b3ff5c02354 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Data.HasFresh
public import Cslib.Foundations.Syntax.HasAlphaEquiv
public import Cslib.Foundations.Syntax.HasSubstitution... |
4,324 | lean_file_chunk | 18ccd1e4ba562f84e54ba76487a1308942703fed3d15d0f62bc75523089162a1 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
public import Mathlib.Data.Finset.Basic
/-!
# Choreography
A choreography defines the collective behaviour of a system of comm... |
3,057 | lean_file_chunk | 1dd8148472524a6e447c0ff1bb0c04b734ad0ce7edadb3dcb805769e966b276a | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Foundations.Syntax.HasSubstitution
/-!
# Local expressions, stores, and evaluation
Choreographic programming and associated languag... |
6,550 | lean_file_chunk | 90333bd40234cc5bed590d0a6b36fbeb2bae335cff5b0820bef828c2a41571cf | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Languages.Mech.LocalComputation
public import Cslib.Foundations.Semantics.LTS.Basic
set_option linter.style.header false in
set_opti... |
4,694 | lean_file_chunk | d328f803c7df04ac3993b83deb8cf1cf3a8146568688af74473f74bc69d1cbd5 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Languages.StatefulProcesses.Basic
public import Cslib.Foundations.Syntax.HasSubstitution
/-! # Networks of stateful processes and th... |
13,617 | lean_file_chunk | f3cdc9694bd0130470934dae566a76590bd188b6d781d2fa0cb64ee635531230 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Marco Peressotti, Alexandre Rademaker
-/
module
public import Cslib.Foundations.Semantics.LTS.Bisimulation
public import Cslib.Foundations.Logic.Operators
public ... |
6,132 | lean_file_chunk | c6fc2ee549ea221c9b37d1514a0399792c90ca9e61e1cf82dd8782b9965d2109 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.HML.Basic
public import Cslib.Foundations.Logic.LogicalEquivalence
/-! # Logical Equivalence in HML
This module defines logi... |
23,932 | lean_file_chunk | 08720b74d7a2866b2ec1262866bda03d293b89619a3102ec101adb74961748b0 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Init
public import Cslib.Foundations.Syntax.Context
public import Cslib.Foundations.Logic.InferenceSystem
public import Cslib.Foundat... |
890 | lean_file_chunk | 084c676c57db53d8fc12c0aba05d42d86958c77439d5e86ebe53674efc8d0085 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.LinearLogic.CLL.Basic
/-! -/
@[expose] public section
namespace Cslib.Logic.CLL
open Cslib.Logic.InferenceSystem
/-- A `C... |
4,617 | lean_file_chunk | cc102c173207c2e8a53037e4b15c67fb2e29c27806bd2655d87cce404b9068ee | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.LinearLogic.CLL.Basic
/-! # η-expansion for Classical Linear Logic (CLL) -/
@[expose] public section
namespace Cslib.Logic.... |
8,121 | lean_file_chunk | 14c5feb10b3a67423f0ba6f83bd2cecc6b62e9ddc30889e17c89fdc68ec866f0 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.LinearLogic.CLL.Basic
public import Cslib.Foundations.Logic.InferenceSystem
/-! # Multiplicative Classical Linear Logic (MLL)... |
23,972 | lean_file_chunk | ef473ff556d076af4e9814cee669726ef0a4c1de8cb9d0ca868916ea31c77b5f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Tanner Duve. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Tanner Duve, Bhavik Mehta
-/
module
public import Mathlib.Algebra.Group.Pointwise.Set.Basic
public import Mathlib.Algebra.Group.Idempotent
public import Mathlib.Order.Closure
public imp... |
778 | lean_file_chunk | 6383e590ec4cb7d7e294cf716736c5c1eee94f1ea5b4b84d189a47163129885f | lean_source_file | cslib_source_file_chunks | /-! ## Interpretation of propositions -/
/--
The interpretation of a CLL proposition in a phase space, given a valuation of atoms to facts.
-/
def interpProp [PhaseSpace M] (v : Atom → Fact M) : Proposition Atom → Fact M
| .atom a => v a
| .atomDual a => (v a)ᗮ
| .one => 1
| .zero => 0... |
11,692 | lean_file_chunk | d0fd234bb3c47e1ded299607d8215c8a417937741484cb47206cebada4b88b5a | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Marianna Girlando
-/
module
public import Cslib.Foundations.Logic.Operators
public import Cslib.Foundations.Logic.InferenceSystem
public import Mathlib.Data.Set.B... |
4,158 | lean_file_chunk | 39cf5514ce55a4e96f3d00c4ee1dbd5889dff57590b7e22301316a655cbffbeb | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi, Marianna Girlando
-/
module
public import Cslib.Logics.Modal.Basic
/-! # Modal Logic Cube
This module formalises the Modal Cube, including all the 15 foundation... |
1,687 | lean_file_chunk | 8be5eb85e6ad65acb1178872485d8e8ee067d5e20001839f0876c2ca1e20fd31 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.Modal.Basic
/-! # Denotational semantics for Modal Logic
A denotational semantics for modal logic, inspired by the one for H... |
4,795 | lean_file_chunk | f34406d7810302d1cde1873798107c59c9fe8126b9f9be43bc3e6b4e6fad4ec8 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Fabrizio Montesi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fabrizio Montesi
-/
module
public import Cslib.Logics.Modal.Basic
public import Cslib.Foundations.Logic.LogicalEquivalence
/-! # Logical Equivalence in Modal Logic
This module de... |
5,702 | lean_file_chunk | 41d6b290884e26104f04704723e3a27c79bbd0675c93abf9004d6dc88a3f1b4b | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Foundations.Logic.Operators
public import Cslib.Foundations.Logic.InferenceSystem
public import Mathlib.Data.FunLike.Basic
public import Ma... |
16,170 | lean_file_chunk | e0f23e6bc331c0c5eb9e6f1efe86b96663474aca2b2f30bc423509d4d46fd88f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Logics.Propositional.Defs
public import Cslib.Foundations.Logic.InferenceSystem
public import Mathlib.Data.Finset.Insert
public import Mathl... |
3,928 | lean_file_chunk | 4e7df938db5445df30790630924c8d9192b3dc5cedb69cfa95e6afe004797d9f | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2025 Thomas Waring. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Waring
-/
module
public import Cslib.Logics.Propositional.NaturalDeduction.Basic
/-! # Results on propositional theories
In this file we prove the expected results that `IPL A... |
23,950 | lean_file_chunk | 2a0379d0ac075ac96d798d07fccc5fcf2cf86c70f641702110d5c648f09f72cf | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
module
public import Cslib.Init
public import Mathlib.MeasureTheory.Measure.MeasureSpace
public import Mathlib.MeasureTheory.Constructions.Pi
public import ... |
3,946 | lean_file_chunk | 064f4ddb32920cfa74d8bd442cc1db53b2eb1775371af318ed1b034ff4cc894f | lean_source_file | cslib_source_file_chunks | /-- `sampleComplexity_mono_C` for a learnable class (learnability at the *larger* class
`C'` is the hypothesis). -/
theorem IsPACLearnable.sampleComplexity_mono_C
{C C' : ConceptClass α β} {𝒟 : Set (Measure (α × β))}
(hL : IsPACLearnable C' 𝒟) (hC : C ⊆ C') {ε δ : Set.Ioo (0 : ℝ≥0) 1} :
sampleComplexity I... |
5,227 | lean_file_chunk | 061b209673617ec26f09335be68f2950d0f6643e14417411418a8a4da54dacf2 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
module
public import Cslib.MachineLearning.PACLearning.Defs
public import Mathlib.Combinatorics.SetFamily.Shatter
/-! # VC Dimension for Concept Classes
T... |
12,458 | lean_file_chunk | f56198041b4b3bba5692e28f3910d22198be64acaef68cefa61f336021e4cf42 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Dhruv Gupta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dhruv Gupta
-/
module
public import Cslib.MachineLearning.PACLearning.Defs
public import Mathlib.MeasureTheory.Measure.Dirac
public import Mathlib.MeasureTheory.Measure.Map
/-! # Versi... |
3,989 | lean_file_chunk | 86083c5a94b044e2cce9750734143f5ac89e615f320cafefb91365576a97e885 | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Dhruv Gupta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dhruv Gupta
-/
module
public import Cslib.MachineLearning.PACLearning.VersionSpace
public import Mathlib.Data.Fin.Tuple.Basic
public import Mathlib.Data.Set.Card
public import Mathlib.D... |
5,226 | lean_file_chunk | e1554d7b67b1c4d689e12f2d2b0a8790fb16a958faeb571760bde03674b9bace | lean_source_file | cslib_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
module
public import Cslib.Init
public import Mathlib.Probability.ProbabilityMassFunction.Monad
public import Mathlib.Probability.Distributions.Uniform
/-!... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.