AFTD Auto-Formalizing Theoretical Domains

Cslib.FreeM.FreeWriter

abbrevimported Lean

Writer monad implemented via the FreeM monad construction. This provides a more efficient implementation than the traditional WriterT transformer, as it avoids buffering the log.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u v w w' w'' in
abbrev Cslib.FreeM.FreeWriter (ω : Type u)
Defined in
CSLib, `Cslib.FreeM.FreeWriter`
Lean proof
By Tanner Duve, 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.
Verified
08 Oct 2026
Axioms
none listed
Built on 8
Used by 16

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u v w w' w'' in
/-- Writer monad implemented via the `FreeM` monad construction. This provides a more efficient implementation than the traditional `WriterT` transformer, as it avoids buffering the log. -/
abbrev Cslib.FreeM.FreeWriter (ω : Type u) := FreeM (WriterF ω)
See it in the graphDiscuss this resultChallenge it