AFTD Auto-Formalizing Theoretical Domains

Cslib.Logic.CLL.PhaseSpace.imp

defimported Lean

Implication between two setsin a phase space: the set of elements m such that for all x ∈ X, we have m * x ∈ Y.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Cslib Cslib.Logic Cslib.Logic.CLL in
universe u v in
open scoped Pointwise in
open Set in
attribute [local grind _=_] Set.le_iff_subset in
variable {P : Type*} [PhaseSpace P] {p q : P} in
def Cslib.Logic.CLL.PhaseSpace.imp [PhaseSpace M] (X Y : Set M) : Set M
Defined in
CSLib, `Cslib.Logic.CLL.PhaseSpace.imp`
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.imp
--- Cslib/Logics/LinearLogic/CLL/PhaseSemantics/Basic.lean:84 (Cslib.Logic.CLL.PhaseSpace.imp)
+++ as compiled here
@@ -1,5 +1,9 @@
-/--
-Implication between two setsin a phase space: the set of elements m such that
-for all x ∈ X, we have m * x ∈ Y.
--/
-def imp [PhaseSpace M] (X Y : Set M) : Set M := {m | ∀ x ∈ X, m * x ∈ Y}
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open Cslib Cslib.Logic Cslib.Logic.CLL in
+universe u v in
+open scoped Pointwise in
+open Set in
+attribute [local grind _=_] Set.le_iff_subset in
+variable {P : Type*} [PhaseSpace P] {p q : P} in
+def Cslib.Logic.CLL.PhaseSpace.imp [PhaseSpace M] (X Y : Set M) : Set M := {m | ∀ x ∈ X, m * x ∈ Y}
Verified
08 Oct 2026
Axioms
none listed
Built on 1
  • Cslib.Logic.CLL.PhaseSpaceA phase space is a commutative monoid M equipped with a distinguished subset ⊥. This forms the algebraic foundation for interpreting…
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Cslib Cslib.Logic Cslib.Logic.CLL in
universe u v in
open scoped Pointwise in
open Set in
attribute [local grind _=_] Set.le_iff_subset in
variable {P : Type*} [PhaseSpace P] {p q : P} in
/-- Implication between two setsin a phase space: the set of elements m such that for all x ∈ X, we have m * x ∈ Y. -/
def Cslib.Logic.CLL.PhaseSpace.imp [PhaseSpace M] (X Y : Set M) : Set M := {m | ∀ x ∈ X, m * x ∈ Y}
See it in the graphDiscuss this resultChallenge it