Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ functions
Functions
2,559 in github.com/BasisResearch/lean.py
⨍
Functions
2,559
◇
Types & classes
336
Method
decl_axioms
(self, name: str)
lean_py/kernel.py:309
Method
decl_value
(self, name: str)
lean_py/kernel.py:300
Method
declare_var
(self, *args: Any)
lean_py/z3/solver.py:886
Function
decode_and_check_prop
Decode a ``LeanObjHandle`` wrapping a ``Lean.Expr`` and check if Knuckledragger / Z3 can discharge the proposition. Called from the Lean tact
examples/05_knuckledragger/python/lean_to_z3.py:210
Function
decode_and_check_prop
Decode a ``LeanObjHandle`` wrapping a ``Lean.Expr`` and check if the proposition it represents is identically true according to SymPy. Called
examples/04_sympy_tactic/python/lean_to_sympy.py:210
Function
describe_probes
Print descriptions of all available probes.
lean_py/z3/tactic.py:386
Function
describe_tactics
Print descriptions of all available tactics.
lean_py/z3/tactic.py:370
Function
deserialize
Deserialize an expression from string.
lean_py/z3/core.py:4440
Method
diag
Diagnostic dump of the GoalState's internal mvar table.
lean_py/kernel.py:168
Method
domain
(self)
lean_py/z3/core.py:266
Method
ebits
(self)
lean_py/z3/core.py:3129
Method
entry
(self, i: int)
lean_py/z3/solver.py:1024
Function
example_lib
()
tests/conftest.py:23
Method
expr_echo
(self, src: str)
lean_py/kernel.py:324
Method
fact
(self, head: Any, name: str | None = None)
lean_py/z3/solver.py:930
Function
failing
(x: Annotated[int, Gt(0)])
examples/06_effectful_verifier/python/main.py:66
Method
find_func
(self, export_name: str)
lean_py/registry.py:230
Function
fpFP
Construct FP from sign/exponent/significand BitVecs.
lean_py/z3/core.py:3552
Function
fpInfinity
Generalized infinity constructor.
lean_py/z3/core.py:3538
Function
fpNEQ
FP not-equal: Not(fpEQ(a, b)).
lean_py/z3/core.py:3518
Function
fpRoundToIntegral
Round FP value to integral.
lean_py/z3/core.py:3523
Function
fpToFPUnsigned
Alias for fpUnsignedToFP.
lean_py/z3/core.py:3563
Function
fpToIEEEBV
Convert FP to IEEE BV representation.
lean_py/z3/core.py:3528
Function
fpZero
Generalized zero constructor.
lean_py/z3/core.py:3545
Method
fragment_exit
(self)
lean_py/kernel.py:115
Method
from_json
(cls, data: dict[str, Any])
lean_py/registry.py:114
Method
from_json
(cls, data: dict[str, Any])
lean_py/registry.py:139
Method
from_json
(cls, data: dict[str, Any])
lean_py/registry.py:165
Method
from_string
Parse SMT-LIB2 string (not supported).
lean_py/z3/solver.py:1145
Method
get_answer
(self)
lean_py/z3/solver.py:957
Function
get_as_array_func
Get FuncDeclRef from as-array expression.
lean_py/z3/solver.py:1086
Method
get_assertions
(self)
lean_py/z3/solver.py:969
Function
get_default_fp_sort
Return the current default FP sort.
lean_py/z3/core.py:3591
Function
get_default_rounding_mode
Return the current default rounding mode.
lean_py/z3/core.py:3580
Method
get_ground_sat_answer
(self)
lean_py/z3/solver.py:960
Method
get_key_value
(self, key: str)
lean_py/z3/solver.py:1059
Function
get_map_func
Get FuncDeclRef from mapped array expression.
lean_py/z3/solver.py:1091
Method
get_name
(self, i: int)
lean_py/z3/core.py:4600
Method
get_or_raise
Get the value if Ok, or raise an exception if Error. Raises: RuntimeError: If the result is an Error
lean_py/lean_types.py:100
Method
get_param
Get solver parameter value (always None).
lean_py/z3/solver.py:716
Method
get_rules
(self)
lean_py/z3/solver.py:963
Method
get_rules_along_trace
(self)
lean_py/z3/solver.py:966
Method
goal_names
(self)
lean_py/kernel.py:159
Method
handle
(self)
lean_py/kernel.py:81
Function
help_simplify
Return simplify help string.
lean_py/z3/core.py:4550
Method
import_model_converter
Import model converter from another solver (no-op).
lean_py/z3/solver.py:720
Function
in_html_mode
Check if HTML output mode is enabled.
lean_py/z3/core.py:4535
Function
inc_ref
Increment reference counter.
lean_py/_runtime.py:702
Function
io_result_is_ok
Check if an IO result is Ok (tag == 0).
lean_py/_runtime.py:716
Function
io_result_show_error
Display an IO error result.
lean_py/_runtime.py:720
Method
isZero
(self)
lean_py/z3/core.py:3216
Function
is_algebraic_value
True if a is an algebraic value. Always False for lean.py.
lean_py/z3/core.py:4193
Function
is_arith_sort
True if s is an arithmetic sort.
lean_py/z3/core.py:4161
Function
is_array_sort
True if s is an array sort.
lean_py/z3/core.py:4171
Function
is_as_array
Check if expression is an as-array.
lean_py/z3/solver.py:1081
Function
is_bv_sort
True if s is a bit-vector sort.
lean_py/z3/core.py:4166
Function
is_default
True if expression is a Default application.
lean_py/z3/core.py:4198
Method
is_digit
Check if char is a digit.
lean_py/z3/core.py:3809
Method
is_error
Check if result is Error.
lean_py/lean_types.py:96
Function
is_finite_domain
True if expression's sort is a finite domain.
lean_py/z3/core.py:4208
Function
is_finite_domain_sort
True if s is a finite domain sort.
lean_py/z3/core.py:4213
Function
is_finite_domain_value
True if a is a finite domain value.
lean_py/z3/core.py:4218
Function
is_finite_set
True if a is a finite set (array with Bool range).
lean_py/z3/core.py:3765
Function
is_finite_set_sort
True if s is a finite set sort (array sort with Bool range).
lean_py/z3/core.py:3773
Function
is_fp_sort
True if s is a floating-point sort.
lean_py/z3/core.py:4176
Function
is_fprm_sort
True if s is a rounding mode sort.
lean_py/z3/core.py:4181
Function
is_fprm_value
True if a is a rounding mode value.
lean_py/z3/core.py:4188
Method
is_internal_name
(self, name: str)
lean_py/kernel.py:306
Function
is_is_int
Check if expression is IsInt (ToInt(a) == a).
lean_py/z3/core.py:4150
Function
is_kernel_full
(item)
tests/conftest.py:40
Function
is_map
(a: object)
lean_py/z3/core.py:4130
Method
is_string
True if this is Seq(Char), i.e. String.
lean_py/z3/core.py:3868
Method
is_string
(self)
lean_py/z3/core.py:3911
Function
kernel
Initialize the kernel and load the Init env.
tests/test_transport_unification.py:22
Function
kernel
Initialise Lean's search path and load a baseline `Init` env.
tests/test_kernel.py:15
Function
kernel
(example_lib)
tests/test_kernel_extra.py:23
Function
kernel
(example_lib)
tests/test_z3_ported.py:412
Function
kernel
(example_lib)
tests/test_z3_compat.py:219
Function
kernel
Initialize the kernel and load the `Init` env.
tests/test_kernel_full.py:16
Function
kernel
(example_lib)
tests/test_z3_semantic.py:116
Method
kind
(self)
lean_py/z3/core.py:214
Function
lean_ctor_get_uint16
(self, o, byte_offset)
lean_py/_runtime.py:501
Function
lean_ctor_get_uint32
(self, o, byte_offset)
lean_py/_runtime.py:509
Function
lean_ctor_get_uint64
(self, o, byte_offset)
lean_py/_runtime.py:517
Function
lean_ctor_get_uint8
(self, o, byte_offset)
lean_py/_runtime.py:493
Function
lean_ctor_num_objs
(self, o)
lean_py/_runtime.py:464
Function
lean_ctor_scalar_addr
Base address + byte_offset into the m_objs region of a ctor.
lean_py/_runtime.py:487
Function
lean_ctor_set_uint16
(self, o, byte_offset, val)
lean_py/_runtime.py:505
Function
lean_ctor_set_uint32
(self, o, byte_offset, val)
lean_py/_runtime.py:513
Function
lean_ctor_set_uint64
(self, o, byte_offset, val)
lean_py/_runtime.py:521
Function
lean_ctor_set_uint8
(self, o, byte_offset, val)
lean_py/_runtime.py:497
Function
lean_has_rc
(self, o)
lean_py/_runtime.py:358
Function
lean_inc_n
(self, o, n)
lean_py/_runtime.py:406
Function
lean_include_dir
Directory containing `lean/lean.h`.
lean_py/utils.py:52
Function
lean_is_array
(self, o)
lean_py/_runtime.py:420
Function
lean_is_closure
(self, o)
lean_py/_runtime.py:417
Function
lean_is_ctor
(self, o)
lean_py/_runtime.py:414
Function
lean_is_exclusive
(self, o)
lean_py/_runtime.py:452
Function
lean_is_mpz
(self, o)
lean_py/_runtime.py:429
Function
lean_is_mt
(self, o)
lean_py/_runtime.py:349
← previous
next →
1,001–1,100 of 2,559, ranked by callers