MCPcopy Create free account

hub / github.com/BasisResearch/lean.py / types & classes

Types & classes336 in github.com/BasisResearch/lean.py

↓ 78 callersClassSolver
z3py-compatible solver interface. ``check()`` builds the conjunction of all assertions, negates it, and tries to prove the negation via grind
lean_py/z3/solver.py:544
↓ 58 callersClassBoolRef
Boolean / Prop expression.
lean_py/z3/core.py:395
↓ 35 callersClassArithRef
Arithmetic expression (Int, Nat, Real).
lean_py/z3/core.py:433
↓ 33 callersClassTactic
A named tactic that dispatches to Pantograph.
lean_py/z3/tactic.py:77
↓ 26 callersClassBinOpNode
lean_py/z3/_ast.py:189
↓ 23 callersClassAppNode
lean_py/z3/_ast.py:223
↓ 21 callersClassExprRef
Base expression node.
lean_py/z3/core.py:282
↓ 20 callersClassBitVecRef
Bit-vector expression, maps to Lean's ``BitVec n``.
lean_py/z3/core.py:621
↓ 18 callersClassTypeWrapper
A pair of py↔lean conversion functions for a particular `TypeRepr`. For types that can appear as inline scalar fields inside a ``lean_ctor_ob
lean_py/marshal.py:122
↓ 17 callersClassGoal
A proof goal — a collection of constraints to be proved.
lean_py/z3/tactic.py:16
↓ 14 callersClassProbe
Probe — measures properties of goals.
lean_py/z3/tactic.py:233
↓ 12 callersClassArrayRef
SMT array expression, maps to Lean function type.
lean_py/z3/core.py:776
↓ 12 callersClassIntLit
lean_py/z3/_ast.py:168
↓ 12 callersClassLeanInductiveValue
A Python representation of a Lean inductive constructor. Attributes: ctor: the constructor name (unqualified). tag: integer
lean_py/marshal.py:232
↓ 12 callersClassModelRef
Placeholder — Lean is a proof checker, not an SMT solver.
lean_py/z3/solver.py:510
↓ 11 callersClassSelectNode
lean_py/z3/_ast.py:234
↓ 10 callersClassApplyResult
Result of applying a tactic: a list of sub-goals.
lean_py/z3/tactic.py:47
↓ 10 callersClassGoalState
Opaque handle to a Lean ``GoalState``. Methods dispatch back into the underlying Lean library.
lean_py/kernel.py:70
↓ 10 callersClassStringRef
String expression.
lean_py/z3/core.py:2245
↓ 9 callersClassFPRef
Floating-point expression.
lean_py/z3/core.py:3136
↓ 9 callersClassReRef
Regex expression.
lean_py/z3/core.py:2370
↓ 8 callersClassGt
Refinement: value > n.
examples/06_effectful_verifier/python/refine.py:31
↓ 8 callersClassKernel
The kernel facade. Wraps a :class:`LeanLibrary` whose Lean source has imported ``LeanPy.Kernel`` and exposed the standard ``@[python]`` surfa
lean_py/kernel.py:239
↓ 8 callersClassOptimize
Optimization solver. Lean is a proof checker, not an optimization solver, so optimization queries return ``unknown``. Programs that build Opt
lean_py/z3/solver.py:801
↓ 7 callersClassAstVector
Vector of AST nodes.
lean_py/z3/core.py:3047
↓ 7 callersClassFuncDeclRef
Uninterpreted function declaration, created via ``Function(...)``.
lean_py/z3/core.py:898
↓ 7 callersClassUnOpNode
lean_py/z3/_ast.py:196
↓ 6 callersClassArithSortRef
lean_py/z3/core.py:178
↓ 6 callersClassAstMap
Map from AST nodes to AST nodes.
lean_py/z3/core.py:3081
↓ 6 callersClassFPNumRef
Floating-point numeral.
lean_py/z3/core.py:3198
↓ 6 callersClassFixedpoint
Fixedpoint (Datalog) solver backed by Lean's ``grind`` tactic. Encodes facts as hypotheses and rules as universally-quantified implications,
lean_py/z3/solver.py:865
↓ 6 callersClassFpLitNode
FP value encoded as IEEE 754 bit pattern (always a non-negative int).
lean_py/z3/_ast.py:432
↓ 6 callersClassToRealNode
lean_py/z3/_ast.py:278
↓ 5 callersClassFPRMRef
Floating-point rounding mode.
lean_py/z3/core.py:3222
↓ 5 callersClassLeanObj
Owned Python-side handle to a Lean object pointer. On construction the object's reference count is *not* incremented — we assume the caller p
lean_py/marshal.py:51
↓ 5 callersClassRatNumRef
Rational numeral — concrete rational value with extraction methods.
lean_py/z3/core.py:571
↓ 5 callersClassSeqRef
Sequence expression.
lean_py/z3/core.py:3873
↓ 4 callersClassCharRef
Character expression.
lean_py/z3/core.py:3789
↓ 4 callersClassCharToNatNode
lean_py/z3/_ast.py:486
↓ 4 callersClassContext
Z3 context — lean.py uses a single global context.
lean_py/z3/core.py:3011
↓ 4 callersClassIntNumRef
Integer numeral — concrete integer value with extraction methods.
lean_py/z3/core.py:554
↓ 4 callersClassIteNode
lean_py/z3/_ast.py:202
↓ 4 callersClass_DatatypeBuilder
Build an algebraic datatype backed by a real Lean inductive.
lean_py/z3/core.py:1216
↓ 3 callersClassBvLit
lean_py/z3/_ast.py:183
↓ 3 callersClassCharSortRef
Character sort.
lean_py/z3/core.py:3783
↓ 3 callersClassCheckSatResult
lean_py/z3/solver.py:123
↓ 3 callersClassDatatypeRef
Datatype expression (constructor application result).
lean_py/z3/core.py:389
↓ 3 callersClassFuncEntry
A single entry in a function interpretation.
lean_py/z3/solver.py:987
↓ 3 callersClassFuncInterp
Function interpretation in a model.
lean_py/z3/solver.py:1010
↓ 3 callersClassInductiveASTSort
lean_py/z3/_ast.py:76
↓ 3 callersClassLeanError
Base class for any error raised by lean-py at the FFI boundary. Attributes: kind: short tag identifying the Lean `IO.Error` constructor
lean_py/exceptions.py:25
↓ 3 callersClassLeanValue
Base class for Python-friendly Lean value wrappers.
lean_py/lean_types.py:17
↓ 3 callersClassNumeral
Wrapper around numeric ExprRef values for z3py compatibility.
lean_py/z3/core.py:4450
↓ 3 callersClassSeqSortRef
Sequence sort.
lean_py/z3/core.py:3855
↓ 3 callersClassSortRef
Base sort.
lean_py/z3/core.py:121
↓ 3 callersClassStatistics
Solver statistics.
lean_py/z3/solver.py:1041
↓ 3 callersClassStringASTSort
lean_py/z3/_ast.py:60
↓ 3 callersClassToIntNode
lean_py/z3/_ast.py:283
↓ 3 callersClass_CtorMeta
Metaclass for constructor pattern-match classes. Overrides ``isinstance`` so that ``isinstance(value, Name.str)`` returns True when ``value``
lean_py/marshal.py:181
↓ 2 callersClassArraySortRef
SMT array sort, maps to Lean function type ``dom → rng``.
lean_py/z3/core.py:256
↓ 2 callersClassArrowASTSort
lean_py/z3/_ast.py:54
↓ 2 callersClassBitVecSortRef
Fixed-width bit-vector sort, maps to Lean's ``BitVec n``.
lean_py/z3/core.py:238
↓ 2 callersClassBoolLit
lean_py/z3/_ast.py:178
↓ 2 callersClassBoolSortRef
lean_py/z3/core.py:174
↓ 2 callersClassCharASTSort
lean_py/z3/_ast.py:81
↓ 2 callersClassConstArrayNode
lean_py/z3/_ast.py:247
↓ 2 callersClassDatatypeSortRef
Sort backed by a Lean inductive type.
lean_py/z3/core.py:188
↓ 2 callersClassDistinctNode
lean_py/z3/_ast.py:229
↓ 2 callersClassExtractNode
lean_py/z3/_ast.py:253
↓ 2 callersClassFPSortRef
Floating-point sort (IEEE 754).
lean_py/z3/core.py:3119
↓ 2 callersClassForAllNode
lean_py/z3/_ast.py:209
↓ 2 callersClassFpOpNode
Named FP operation with pre-compiled args (RM already stripped).
lean_py/z3/_ast.py:441
↓ 2 callersClassFuncDecl
lean_py/_parse.py:41
↓ 2 callersClassFuncParam
lean_py/_parse.py:35
↓ 2 callersClassInReNode
lean_py/z3/_ast.py:421
↓ 2 callersClassInductiveCtorNode
lean_py/z3/_ast.py:455
↓ 2 callersClassInt2BvNode
lean_py/z3/_ast.py:272
↓ 2 callersClassIntASTSort
lean_py/z3/_ast.py:22
↓ 2 callersClassIntToStrNode
lean_py/z3/_ast.py:360
↓ 2 callersClassLambdaNode
lean_py/z3/_ast.py:288
↓ 2 callersClassNatLit
lean_py/z3/_ast.py:173
↓ 2 callersClassPropSort
lean_py/z3/_ast.py:17
↓ 2 callersClassQuantifierRef
Quantified expression (ForAll / Exists).
lean_py/z3/core.py:793
↓ 2 callersClassRCFNum
Real closed field number (not natively supported).
lean_py/z3/core.py:4627
↓ 2 callersClassReComplementNode
lean_py/z3/_ast.py:409
↓ 2 callersClassReIntersectNode
lean_py/z3/_ast.py:391
↓ 2 callersClassReLoopNode
lean_py/z3/_ast.py:414
↓ 2 callersClassReOptionNode
lean_py/z3/_ast.py:380
↓ 2 callersClassRePlusNode
lean_py/z3/_ast.py:375
↓ 2 callersClassReStarNode
lean_py/z3/_ast.py:370
↓ 2 callersClassReUnionNode
lean_py/z3/_ast.py:385
↓ 2 callersClassRealASTSort
lean_py/z3/_ast.py:32
↓ 2 callersClassSignExtNode
lean_py/z3/_ast.py:266
↓ 2 callersClassStoreNode
lean_py/z3/_ast.py:240
↓ 2 callersClassStrConcatNode
lean_py/z3/_ast.py:335
↓ 2 callersClassStrContainsNode
lean_py/z3/_ast.py:310
↓ 2 callersClassStrIndexOfNode
lean_py/z3/_ast.py:348
↓ 2 callersClassStrLenNode
lean_py/z3/_ast.py:305
↓ 2 callersClassStrPrefixOfNode
lean_py/z3/_ast.py:316
↓ 2 callersClassStrReplaceNode
lean_py/z3/_ast.py:328
next →1–100 of 336, ranked by callers