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.Cslib.Logic.CLL.PhaseSpace← Cslib.Logic.CLL.PhaseSpace (Cslib/Logics/LinearLogic/CLL/PhaseSemantics/Basic.lean:70): adapted
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
- Cslib.Logic.CLL.PhaseSpace.orth_iUnionGiven a phase space (P, ⊥) and a set of subsets (Gᵢ)_{i ∈ I} of P, we have that (⋃ᵢ Gᵢ)⫠ = ⋂ᵢ Gᵢ⫠.
- Cslib.Logic.CLL.PhaseSpace.orthogonal_defCslib.Logic.CLL.PhaseSpace.orthogonal_def
- Cslib.Logic.CLL.PhaseSpace.biorthogonalClosureThe biorthogonal closure operator on sets in a phase space.
- Cslib.Logic.CLL.PhaseSpace.FactThe type of facts in a phase space.
- Cslib.Logic.CLL.PhaseSpace.impImplication between two setsin a phase space: the set of elements m such that for all x ∈ X, we have m * x ∈ Y.
- Cslib.Logic.CLL.PhaseSpace.instPartialOrderFactCslib.Logic.CLL.PhaseSpace.instPartialOrderFact
- Cslib.Logic.CLL.PhaseSpace.iInter_biorth_eq_orth_iUnion_orthGiven a phase space (P, ⊥) and a set of subsets (Gᵢ)_{i ∈ I} of P, we have that ∩ᵢ Gᵢ⫠⫠ = (∪ᵢ Gᵢ⫠)⫠.
- Cslib.Logic.CLL.PhaseSpace.instHasSubsetFactCslib.Logic.CLL.PhaseSpace.instHasSubsetFact
- Cslib.Logic.CLL.PhaseSpace.triple_orthThe triple orthogonal equals the orthogonal: X⫠⫠⫠ = X⫠.
- Cslib.Logic.CLL.PhaseSpace.isFactA fact is a subset of a phase space that equals its biorthogonal closure.
- Cslib.Logic.CLL.PhaseSpace.subset_dual_dualCslib.Logic.CLL.PhaseSpace.subset_dual_dual
- Cslib.Logic.CLL.PhaseSpace.instSetLikeFactCslib.Logic.CLL.PhaseSpace.instSetLikeFact
- Cslib.Logic.CLL.PhaseSpace.triple_dualCslib.Logic.CLL.PhaseSpace.triple_dual
- Cslib.Logic.CLL.PhaseSpace.orth_antitoneThe orthogonal operation is antitone: if X ⊆ Y then Y⫠ ⊆ X⫠.
- Cslib.Logic.CLL.PhaseSpace.orth_extensiveThe biorthogonal operation is extensive: X ⊆ X⫠⫠ for any set X.
- Cslib.Logic.CLL.PhaseSpace.orthogonalThe orthogonal
X⫠of a set X: the set of elements that map X into ⊥ under multiplication.
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