AFTD Auto-Formalizing Theoretical Domains

Cslib.Logic.CLL.PhaseSpace

classimported Lean

A phase space is a commutative monoid M equipped with a distinguished subset ⊥. This forms the algebraic foundation for interpreting linear logic propositions.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u v in
open scoped Pointwise in
open Set in
attribute [local grind _=_] Set.le_iff_subset in
class Cslib.Logic.CLL.PhaseSpace (M : Type u) extends CommMonoid M
Defined in
CSLib, `Cslib.Logic.CLL.PhaseSpace`
Lean proof
By Tanner Duve, Bhavik Mehta, from github.com/leanprover/cslib at 3951377e5a3f (Copyright (c) 2025 Tanner Duve. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.
What was changed in Cslib.Logic.CLL.PhaseSpace
--- Cslib/Logics/LinearLogic/CLL/PhaseSemantics/Basic.lean:70 (Cslib.Logic.CLL.PhaseSpace)
+++ as compiled here
@@ -1,6 +1,8 @@
-/--
-A phase space is a commutative monoid M equipped with a distinguished subset ⊥.
-This forms the algebraic foundation for interpreting linear logic propositions.
--/
-class PhaseSpace (M : Type u) extends CommMonoid M where
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+universe u v in
+open scoped Pointwise in
+open Set in
+attribute [local grind _=_] Set.le_iff_subset in
+class Cslib.Logic.CLL.PhaseSpace (M : Type u) extends CommMonoid M where
   /-- The distinguished subset ⊥ used to define orthogonality -/
Verified
08 Oct 2026
Axioms
none listed
Used by 16

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u v in
open scoped Pointwise in
open Set in
attribute [local grind _=_] Set.le_iff_subset in
/-- A phase space is a commutative monoid M equipped with a distinguished subset ⊥. This forms the algebraic foundation for interpreting linear logic propositions. -/
class Cslib.Logic.CLL.PhaseSpace (M : Type u) extends CommMonoid M where
  /-- The distinguished subset ⊥ used to define orthogonality -/
  bot : Set M
See it in the graphDiscuss this resultChallenge it