Complete placement index
AssumptionProposition.and#
UniffiAssumptionProposition method
fun and ( other: UniffiAssumptionProposition) : UniffiAssumptionProposition
Provides the and operation on this mobile object.
AssumptionProposition.congruence_modulus#
UniffiAssumptionProposition method
fun congruenceModulus ( ) : UniffiExpression?
Provides the congruence_modulus operation on this mobile object.
AssumptionProposition.left_operand#
UniffiAssumptionProposition method
fun leftOperand ( ) : UniffiExpression?
Provides the left_operand operation on this mobile object.
AssumptionProposition.membership_element#
UniffiAssumptionProposition method
fun membershipElement ( ) : UniffiExpression?
Provides the membership_element operation on this mobile object.
AssumptionProposition.membership_set#
UniffiAssumptionProposition method
fun membershipSet ( ) : UniffiExpression?
Provides the membership_set operation on this mobile object.
AssumptionProposition.not#
UniffiAssumptionProposition method
fun not ( ) : UniffiAssumptionProposition
Provides the not operation on this mobile object.
AssumptionProposition.or#
UniffiAssumptionProposition method
fun or ( other: UniffiAssumptionProposition) : UniffiAssumptionProposition
Provides the or operation on this mobile object.
AssumptionProposition.plain_text#
UniffiAssumptionProposition method
fun plainText ( ) : kotlin. String
The canonical plain-text form of this assumption proposition.
AssumptionProposition.relation_kind#
UniffiAssumptionProposition method
fun relationKind ( ) : kotlin. String?
Provides the relation_kind operation on this mobile object.
AssumptionProposition.right_operand#
UniffiAssumptionProposition method
fun rightOperand ( ) : UniffiExpression?
Provides the right_operand operation on this mobile object.
AssumptionProposition.serialize#
UniffiAssumptionProposition method
fun serialize ( ) : kotlin. String
Provides the serialize operation on this mobile object.
CylindricalAlgebraicDecomposition.cell_count#
UniffiCylindricalAlgebraicDecomposition method
fun cellCount ( ) : kotlin. ULong
The number of full-dimensional cells partitioning R n \mathbb{R}^n R n .
CylindricalAlgebraicDecomposition.cell_dimension#
UniffiCylindricalAlgebraicDecomposition method
fun cellDimension ( index: kotlin. ULong) : kotlin. ULong
The geometric dimension of the full cell as a subset of R n \mathbb{R}^n R n (the number of sector coordinates along its cylindrical stack).
CylindricalAlgebraicDecomposition.cell_kind#
UniffiCylindricalAlgebraicDecomposition method
fun cellKind ( index: kotlin. ULong) : UniffiCadCellKind
"section" or "sector" — whether the cell is a root section or an open interval in its top variable.
CylindricalAlgebraicDecomposition.cell_sample_point#
UniffiCylindricalAlgebraicDecomposition method
fun cellSamplePoint ( index: kotlin. ULong) : List< kotlin. Double>
The coordinates of the full cell's sample point as floats — a numeric view via the multi-precision evaluator, not a decision.
CylindricalAlgebraicDecomposition.cell_sign_vector#
UniffiCylindricalAlgebraicDecomposition method
fun cellSignVector ( index: kotlin. ULong) : List< kotlin. Long>
The exact sign (− 1 -1 − 1 , 0 0 0 , or + 1 +1 + 1 ) of each input polynomial on the full cell, in input order.
CylindricalAlgebraicDecomposition.projection_operator_used#
UniffiCylindricalAlgebraicDecomposition method
fun projectionOperatorUsed ( ) : kotlin. String
The projection operator the decomposition was built with: "brown" for the well-oriented fast path, "lazard" when the well-orientedness guard forced the complete fallback, "equational_constraint" for an equational-constraint CAD.
Eigenpair.eigenvalue#
UniffiEigenpair method
fun eigenvalue ( ) : UniffiExpression
The eigenvalue of the pair.
Eigenpair.vectors#
UniffiEigenpair method
fun vectors ( ) : List< UniffiMatrix>
A basis of the eigenspace, as column matrices.
UniffiHermiteNormalFormDecomposition method
fun hermite ( ) : UniffiMatrix
The Hermite normal form H.
UniffiHermiteNormalFormDecomposition method
fun pivotColumns ( ) : List< kotlin. ULong>
The rank getter reuses the matrix rank heading above.
UniffiHermiteNormalFormDecomposition method
Rank via Bareiss fraction-free elimination.
UniffiHermiteNormalFormDecomposition method
fun transformation ( ) : UniffiMatrix
The unimodular transformation U satisfying U * matrix == H.
IntegerCokernelData.free_rank#
UniffiIntegerCokernelData method
fun freeRank ( ) : kotlin. ULong
Rank of the free part of the cokernel.
IntegerCokernelData.torsion_invariant_factors#
UniffiIntegerCokernelData method
fun torsionInvariantFactors ( ) : List< UniffiExpression>
The invariant factors of the torsion part of the cokernel.
IsolatingInterval.lower#
UniffiIsolatingInterval method
fun lower ( ) : UniffiExpression
Lower endpoint of the isolating interval.
IsolatingInterval.upper#
UniffiIsolatingInterval method
fun upper ( ) : UniffiExpression
Upper endpoint of the isolating interval.
JordanBlock.eigenvalue#
UniffiJordanBlock method
fun eigenvalue ( ) : UniffiExpression
The eigenvalue this Jordan block belongs to.
JordanBlock.size#
UniffiJordanBlock method
The size of this Jordan block.
JordanDecomposition.blocks#
UniffiJordanDecomposition method
fun blocks ( ) : List< UniffiJordanBlock>
The Jordan blocks, in the order they appear on the diagonal.
UniffiJordanDecomposition method
fun jordanForm ( ) : UniffiMatrix
The Jordan form J of the decomposed matrix.
JordanDecomposition.similarity#
UniffiJordanDecomposition method
fun similarity ( ) : UniffiMatrix
The change of basis S, satisfying matrix * S == S * jordan_form.
Matrix.add#
UniffiMatrix method
fun add ( other: UniffiMatrix) : UniffiMatrix
Entrywise sum of two matrices of the same shape.
Matrix.adjugate#
UniffiMatrix method
fun adjugate ( ) : UniffiMatrix
The classical adjoint (transpose of the cofactor matrix); satisfies M adj ( M ) = det ( M ) I M\operatorname{adj}(M) = \det(M) I M adj ( M ) = det ( M ) I .
Matrix.characteristic_polynomial#
UniffiMatrix method
fun characteristicPolynomial ( variable: kotlin. String) : UniffiExpression
det ( λ I − M ) \det(\lambda I - M) det ( λ I − M ) as a polynomial in the named variable.
Matrix.cofactor_matrix#
UniffiMatrix method
fun cofactorMatrix ( ) : UniffiMatrix
The matrix of cofactors, whose transpose is the adjugate.
UniffiMatrix method
fun columnHermiteNormalForm ( ) : UniffiHermiteNormalFormDecomposition
The transpose-dual column form, returning H, a unimodular V satisfying M V = H M V = H M V = H , the rank, and pivot metadata. Notes: WASM returns a hermite_normal_form_decomposition object.
Matrix.columns#
UniffiMatrix method
fun columns ( ) : kotlin. ULong
Number of columns.
Matrix.cosine#
UniffiMatrix method
fun cosine ( ) : UniffiMatrix
The primary matrix cosine cos(M), evaluated exactly through the certified Jordan decomposition and the trigonometric identity certificate.
Matrix.determinant#
UniffiMatrix method
fun determinant ( ) : UniffiExpression
Fraction-free (Berkowitz/Bareiss) determinant of a square matrix.
Matrix.eigenvalues#
UniffiMatrix method
fun eigenvalues ( ) : List< UniffiExpression>
Eigenvalues with multiplicity, via the characteristic polynomial and the root finder; eigenvalues the root finder cannot close remain as exact first-class polynomial_root values.
Matrix.eigenvectors#
UniffiMatrix method
fun eigenvectors ( ) : List< UniffiEigenpair>
For each eigenvalue, a basis of its eigenspace as column matrices. Notes: WASM returns eigenpair objects with eigenvalue/vectors getters.
Matrix.entry#
UniffiMatrix method
fun entry ( row: kotlin. ULong, column: kotlin. ULong) : UniffiExpression
Element access. Notes: Python uses indexing m[row, column] instead.
Matrix.execute#
UniffiMatrix method
fun execute ( ) : UniffiMatrix
Re-dispatch every unevaluated node (integral, derivative, summation, transform, ODE/recurrence placeholder) in the expression; useful after substitution has changed the inputs.
Matrix.exponential#
UniffiMatrix method
fun exponential ( ) : UniffiMatrix
The matrix exponential exp(M), evaluated through the certified Jordan decomposition. Declines on inputs whose eigenvalues cannot be certified exactly.
Matrix.has_complex_entries#
UniffiMatrix method
fun hasComplexEntries ( ) : UniffiTruthValue
Query whether every entry is finite complex.
Matrix.has_integer_entries#
UniffiMatrix method
fun hasIntegerEntries ( ) : UniffiTruthValue
Query whether every entry is an integer.
Matrix.has_real_entries#
UniffiMatrix method
fun hasRealEntries ( ) : UniffiTruthValue
Query whether every entry is real.
UniffiMatrix method
fun hermiteNormalForm ( ) : UniffiHermiteNormalFormDecomposition
Returns the canonical row-oriented Hermite normal form H, a unimodular transformation U satisfying U M = H U M = H U M = H , the rank, and the strictly increasing pivot-column indices. Entries must be exact integers. Every result is verified for Hermite shape, the certificate identity, and unimodularity before return. Notes: WASM returns a hermite_normal_form_decomposition object carrying the same four results as getters.
Matrix.hyperbolic_cosine#
UniffiMatrix method
fun hyperbolicCosine ( ) : UniffiMatrix
The primary hyperbolic matrix cosine cosh(M), evaluated exactly through the certified Jordan decomposition and the hyperbolic identity certificate.
Matrix.hyperbolic_sine#
UniffiMatrix method
fun hyperbolicSine ( ) : UniffiMatrix
The primary hyperbolic matrix sine sinh(M), evaluated exactly through the certified Jordan decomposition. The result is certified together with the hyperbolic matrix cosine by cosh(M)^2 - sinh(M)^2 = I.
Matrix.integer_cokernel_structure#
UniffiMatrix method
fun integerCokernelStructure ( ) : UniffiIntegerCokernelData
Returns the free rank and nontrivial torsion invariant factors of Z^m / M Z^n.
Matrix.integer_image_lattice_basis#
UniffiMatrix method
fun integerImageLatticeBasis ( ) : List< UniffiMatrix>
The nonzero columns of the column Hermite form, returned as column matrices; these form the canonical basis of M Z^n.
Matrix.integer_kernel_basis#
UniffiMatrix method
fun integerKernelBasis ( ) : List< UniffiMatrix>
A canonical basis of the integer kernel { x ∈ Z n : M x = 0 } \{x \in \mathbb{Z}^n : M x = 0\} { x ∈ Z n : M x = 0 } , returned as column matrices.
Matrix.integer_row_lattice_basis#
UniffiMatrix method
fun integerRowLatticeBasis ( ) : List< UniffiMatrix>
The nonzero rows of the row Hermite form, returned as row matrices; these form the canonical basis of the integer row lattice.
Matrix.inverse#
UniffiMatrix method
fun inverse ( ) : UniffiMatrix
Inverse via the adjugate; raises on singular input.
Matrix.is_diagonal_matrix#
UniffiMatrix method
fun isDiagonalMatrix ( ) : UniffiTruthValue
Query whether this matrix is diagonal.
Matrix.is_equality#
UniffiMatrix method
fun isEquality ( ) : kotlin. Boolean
Always false: a matrix is never an equal relation node.
Matrix.is_finite_set#
UniffiMatrix method
fun isFiniteSet ( ) : kotlin. Boolean
Always false: a matrix is never a finite set.
Matrix.is_full_rank_matrix#
UniffiMatrix method
fun isFullRankMatrix ( ) : UniffiTruthValue
Query whether this matrix has full rank.
Matrix.is_hermitian_matrix#
UniffiMatrix method
fun isHermitianMatrix ( ) : UniffiTruthValue
Query whether this matrix is Hermitian.
Matrix.is_identity_matrix#
UniffiMatrix method
fun isIdentityMatrix ( ) : UniffiTruthValue
Query whether this matrix is the identity matrix.
Matrix.is_image_set#
UniffiMatrix method
fun isImageSet ( ) : kotlin. Boolean
Always false: a matrix is never an image set.
Matrix.is_integral#
UniffiMatrix method
fun isIntegral ( ) : kotlin. Boolean
Always false: a matrix is never an unevaluated integral node.
Matrix.is_invertible_matrix#
UniffiMatrix method
fun isInvertibleMatrix ( ) : UniffiTruthValue
Query whether this matrix is invertible.
Matrix.is_matrix#
UniffiMatrix method
fun isMatrix ( ) : kotlin. Boolean
Always False on expressions and True on matrix objects, so mixed result streams can be discriminated.
Matrix.is_normal_matrix#
UniffiMatrix method
fun isNormalMatrix ( ) : UniffiTruthValue
Query whether this matrix is normal.
Matrix.is_orthogonal_matrix#
UniffiMatrix method
fun isOrthogonalMatrix ( ) : UniffiTruthValue
Query whether this matrix is orthogonal.
Matrix.is_positive#
UniffiMatrix method
fun isPositive ( ) : kotlin. Boolean?
Always None: positivity is a property of the entries, not of the matrix.
Matrix.is_positive_definite_matrix#
UniffiMatrix method
fun isPositiveDefiniteMatrix ( ) : UniffiTruthValue
Query whether this matrix is positive definite.
Matrix.is_positive_semidefinite_matrix#
UniffiMatrix method
fun isPositiveSemidefiniteMatrix ( ) : UniffiTruthValue
Query whether this matrix is positive semidefinite.
Matrix.is_real#
UniffiMatrix method
fun isReal ( ) : kotlin. Boolean?
Always None: realness is a property of the entries, not of the matrix.
Matrix.is_singular_matrix#
UniffiMatrix method
fun isSingularMatrix ( ) : UniffiTruthValue
Query whether this matrix is singular.
Matrix.is_square#
UniffiMatrix method
fun isSquare ( ) : UniffiTruthValue
Query whether this matrix is square.
Matrix.is_stale#
UniffiMatrix method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
Matrix.is_symmetric_matrix#
UniffiMatrix method
fun isSymmetricMatrix ( ) : UniffiTruthValue
Query whether this matrix is symmetric.
Matrix.is_union#
UniffiMatrix method
fun isUnion ( ) : kotlin. Boolean
Always false: a matrix is never a union of sets.
Matrix.is_unitary_matrix#
UniffiMatrix method
fun isUnitaryMatrix ( ) : UniffiTruthValue
Query whether this matrix is unitary.
Matrix.is_zero_matrix#
UniffiMatrix method
fun isZeroMatrix ( ) : UniffiTruthValue
Query whether this matrix is the zero matrix.
Matrix.jordan_decomposition#
UniffiMatrix method
fun jordanDecomposition ( ) : UniffiJordanDecomposition
The Jordan decomposition returned as (similarity, jordan_form, blocks) with similarity jordan_form similarity − 1 = M \operatorname{similarity} \operatorname{jordan\_form} \operatorname{similarity}^{-1} = M similarity jordan_form similarity − 1 = M , where blocks lists each Jordan block as an (eigenvalue, size) pair. Every root is certified over an exact algebraic field. Notes: WASM returns a jordan_decomposition result class with similarity/jordan_form/blocks getters, each block a jordan_block with eigenvalue/size getters.
Matrix.logarithm#
UniffiMatrix method
fun logarithm ( ) : UniffiMatrix
The principal matrix logarithm log(M).
Matrix.lower_upper_decomposition#
UniffiMatrix method
fun lowerUpperDecomposition ( ) : UniffiMatrixMatrixMatrixTuple
Partial-pivoting LU decomposition returned as (permutation, lower, upper) with permutation M = lower upper \operatorname{permutation} M = \operatorname{lower}\,\operatorname{upper} permutation M = lower upper .
Matrix.minimal_polynomial#
UniffiMatrix method
fun minimalPolynomial ( variable: kotlin. String) : UniffiExpression
The monic minimal polynomial over the rationals. The matrix must have rational entries.
Matrix.multiply#
UniffiMatrix method
fun multiply ( other: UniffiMatrix) : UniffiMatrix
Matrix product; inner dimensions must agree.
Matrix.nullspace_basis#
UniffiMatrix method
fun nullspaceBasis ( ) : List< UniffiMatrix>
A basis of the kernel, as column matrices; empty list for full column rank.
Matrix.rank#
UniffiMatrix method
Rank via Bareiss fraction-free elimination.
UniffiMatrix method
fun rationalCanonicalForm ( variable: kotlin. String) : UniffiRationalCanonicalForm
Returns the certified Frobenius canonical form over the rationals. Its invariant factors are monic and ordered by divisibility, and similarity satisfies matrix similarity = similarity canonical_form \operatorname{matrix}\,\operatorname{similarity} = \operatorname{similarity}\,\operatorname{canonical\_form} matrix similarity = similarity canonical_form exactly.
Matrix.row_reduce#
UniffiMatrix method
fun rowReduce ( ) : UniffiMatrix
Bareiss row-reduced form (fraction-free; pivots remain on the diagonal).
Matrix.rows#
UniffiMatrix method
Number of rows.
Matrix.scalar_multiply#
UniffiMatrix method
fun scalarMultiply ( scalar: UniffiExpression) : UniffiMatrix
Scale every entry by scalar.
Matrix.sine#
UniffiMatrix method
The primary matrix sine sin(M), evaluated exactly through the certified Jordan decomposition. The result is certified together with the matrix cosine by sin(M)^2 + cos(M)^2 = I.
UniffiMatrix method
fun smithNormalForm ( ) : UniffiSmithNormalFormDecomposition
Returns the canonical integer Smith normal form D, unimodular transformations U and V satisfying U M V = D U M V = D U M V = D , the rank, and the invariant factors including trailing zeros. The nonnegative positive prefix is divisibility-ordered. Every result is verified for diagonal shape, divisibility, the exact certificate, and unimodularity of both transformations before return. Notes: WASM returns a smith_normal_form_decomposition object carrying the same results as getters.
Matrix.square_root#
UniffiMatrix method
fun squareRoot ( ) : UniffiMatrix
The principal matrix square root sqrt(M); the result is verified to square back to M.
Matrix.subtract#
UniffiMatrix method
fun subtract ( other: UniffiMatrix) : UniffiMatrix
Entrywise difference of two matrices of the same shape.
Matrix.summary#
UniffiMatrix method
fun summary ( ) : kotlin. String
A one-line summary listing the entries row by row, Matrix([[a, b], [c, d]]). A matrix with more than eight rows or columns lists its leading eight of each, marks every elided run with ..., and states its full shape first.
Matrix.trace#
UniffiMatrix method
fun trace ( ) : UniffiExpression
Sum of the diagonal entries of a square matrix.
Matrix.transpose#
UniffiMatrix method
fun transpose ( ) : UniffiMatrix
The transpose, with rows and columns exchanged.
UniffiRationalCanonicalForm method
fun canonicalForm ( ) : UniffiMatrix
The Frobenius canonical form of the decomposed matrix.
UniffiRationalCanonicalForm method
fun characteristicPolynomial ( ) : UniffiExpression
det ( λ I − M ) \det(\lambda I - M) det ( λ I − M ) as a polynomial in the named variable.
UniffiRationalCanonicalForm method
fun invariantFactors ( ) : List< UniffiExpression>
The certified invariant factors, monic and ordered by divisibility.
UniffiRationalCanonicalForm method
fun minimalPolynomial ( ) : UniffiExpression
The monic minimal polynomial over the rationals. The matrix must have rational entries.
UniffiRationalCanonicalForm method
fun similarity ( ) : UniffiMatrix
The certified change of basis S, satisfying matrix * S == S * canonical_form.
UniffiSmithNormalFormDecomposition method
fun columnTransformation ( ) : UniffiMatrix
The unimodular column transformation V satisfying U * matrix * V == S.
UniffiSmithNormalFormDecomposition method
fun invariantFactors ( ) : List< UniffiExpression>
The certified invariant factors, monic and ordered by divisibility.
UniffiSmithNormalFormDecomposition method
Rank via Bareiss fraction-free elimination.
UniffiSmithNormalFormDecomposition method
fun rowTransformation ( ) : UniffiMatrix
The unimodular row transformation U satisfying U * matrix * V == S.
UniffiSmithNormalFormDecomposition method
fun smith ( ) : UniffiMatrix
The Smith normal form S.
add_assumptions#
Explicit context
fun addAssumptions ( proposition: UniffiAssumptionProposition) : Unit
Provides the add_assumptions operation on this mobile object.
algebraic_assumption#
Explicit context
fun algebraicAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the algebraic_assumption operation on this mobile object.
ask#
Explicit context
fun ask ( proposition: UniffiAssumptionProposition) : UniffiTruthValue
Provides the ask operation on this mobile object.
Calling forms and variants
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.ask
fun ask ( proposition: UniffiAssumptionProposition) : UniffiTruthValue
assuming#
Explicit context
fun assuming ( proposition: UniffiAssumptionProposition) : UniffiAssumptionScope
Provides the assuming operation on this mobile object.
Calling forms and variants
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.assuming
fun assuming ( proposition: UniffiAssumptionProposition) : UniffiAssumptionScope
assumption_proposition_from_logical_expression#
Explicit context
fun assumptionPropositionFromLogicalExpression ( logicalExpression: UniffiExpression) : UniffiAssumptionProposition
Provides the assumption_proposition_from_logical_expression operation on this mobile object.
change_monomial_order#
Explicit context
fun changeMonomialOrder (
basis: List< UniffiExpression> ,
variables: List< kotlin. String> ,
sourceOrder: UniffiMonomialOrdering,
targetOrder: UniffiMonomialOrdering,
) : List< UniffiExpression> ?
Convert a Gröbner basis of a zero-dimensional ideal from source_order to target_order by FGLM (Faugère–Gianni–Lazard–Mora) — linear algebra in the finite-dimensional quotient ring Q [ variables ] / I \mathbb{Q}[\text{variables}]/I Q [ variables ] / I , far cheaper than computing the target basis directly (the msolve route to a lexicographic basis is a cheap degrevlex basis followed by this conversion).
clear_all_assumptions#
Explicit context
fun clearAllAssumptions ( ) : Unit
Provides the clear_all_assumptions operation on this mobile object.
coefficient#
Explicit context
fun coefficient (
inputExpression: UniffiExpression,
variable: kotlin. String,
power: kotlin. ULong,
) : UniffiExpression
Coefficient of variable^power; integer 0 when the term is absent. Errors on non-polynomial input.
complex_assumption#
Explicit context
fun complexAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the complex_assumption operation on this mobile object.
complex_entries#
Explicit context
fun complexEntries ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the complex_entries operation on this mobile object.
composite_assumption#
Explicit context
fun compositeAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the composite_assumption operation on this mobile object.
congruent_assumption#
Explicit context
fun congruentAssumption (
left: UniffiExpression,
right: UniffiExpression,
modulus: UniffiExpression,
) : UniffiAssumptionProposition
Provides the congruent_assumption operation on this mobile object.
could_hold#
Explicit context
fun couldHold ( proposition: UniffiAssumptionProposition) : UniffiTruthValue
Provides the could_hold operation on this mobile object.
Calling forms and variants
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.couldHold
fun couldHold ( proposition: UniffiAssumptionProposition) : UniffiTruthValue
cylindrical_algebraic_decomposition#
Explicit context
fun cylindricalAlgebraicDecomposition (
expressions: List< UniffiExpression> ,
variables: List< kotlin. String> ,
equationalConstraints: List< kotlin. ULong> ,
) : UniffiCylindricalAlgebraicDecomposition
Construct the CAD of the polynomials in the given variable order x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n ; projection eliminates x n x_n x n first).
defined_assumption#
Explicit context
fun definedAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the defined_assumption operation on this mobile object.
degree#
Explicit context
fun degree (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : kotlin. ULong?
Degree in variable.
deserialize_assumption_proposition#
Explicit context
fun deserializeAssumptionProposition ( text: kotlin. String) : UniffiAssumptionProposition
Provides the deserialize_assumption_proposition operation on this mobile object.
diagonal_matrix#
Explicit context
fun diagonalMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the diagonal_matrix operation on this mobile object.
elimination_ideal#
Explicit context
fun eliminationIdeal (
generators: List< UniffiExpression> ,
variables: List< kotlin. String> ,
eliminate: List< kotlin. String> ,
) : List< UniffiExpression> ?
A Gröbner basis of the elimination ideal ⟨ generators ⟩ ∩ Q [ surviving variables ] \langle\operatorname{generators}\rangle \cap \mathbb{Q}[\text{surviving variables}] ⟨ generators ⟩ ∩ Q [ surviving variables ] , projecting away the variables named in eliminate via the Elimination Theorem (a block order ranks the eliminated variables high and the generators free of them are kept).
equal_assumption#
Explicit context
fun equalAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the equal_assumption operation on this mobile object.
even_assumption#
Explicit context
fun evenAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the even_assumption operation on this mobile object.
extended_real_assumption#
Explicit context
fun extendedRealAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the extended_real_assumption operation on this mobile object.
finite_assumption#
Explicit context
fun finiteAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the finite_assumption operation on this mobile object.
full_rank_matrix#
Explicit context
fun fullRankMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the full_rank_matrix operation on this mobile object.
greater_assumption#
Explicit context
fun greaterAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the greater_assumption operation on this mobile object.
greater_or_equal_assumption#
Explicit context
fun greaterOrEqualAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the greater_or_equal_assumption operation on this mobile object.
groebner_basis#
Explicit context
fun groebnerBasis (
generators: List< UniffiExpression> ,
variables: List< kotlin. String> ,
order: UniffiMonomialOrdering,
) : List< UniffiExpression> ?
The canonical reduced Gröbner basis of the ideal <generators> under the named monomial order — monic, autoreduced, and sorted, so it is unique for the (ideal, order) pair. None when any generator is outside Q [ variables ] \mathbb{Q}[\text{variables}] Q [ variables ] .
hermitian_matrix#
Explicit context
fun hermitianMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the hermitian_matrix operation on this mobile object.
ideal_intersection#
Explicit context
fun idealIntersection (
generatorsLeft: List< UniffiExpression> ,
generatorsRight: List< UniffiExpression> ,
variables: List< kotlin. String> ,
order: UniffiMonomialOrdering,
) : List< UniffiExpression> ?
A generating set of the ideal intersection I ∩ J I \cap J I ∩ J , computed by the standard tag-variable elimination construction t I + ( 1 − t ) J t I + (1-t) J t I + ( 1 − t ) J .
ideal_membership#
Explicit context
fun idealMembership (
element: UniffiExpression,
generators: List< UniffiExpression> ,
variables: List< kotlin. String> ,
order: UniffiMonomialOrdering,
) : kotlin. Boolean?
Whether element lies in the ideal <generators>, decided by reducing it to its normal form modulo the Gröbner basis (zero exactly when it is a member).
ideal_product#
Explicit context
fun idealProduct (
generatorsLeft: List< UniffiExpression> ,
generatorsRight: List< UniffiExpression> ,
variables: List< kotlin. String> ,
order: UniffiMonomialOrdering,
) : List< UniffiExpression> ?
A Gröbner basis of the ideal product I J I J I J , generated by all pairwise products of the two generator lists. None on a non-Q [ variables ] \mathbb{Q}[\text{variables}] Q [ variables ] generator.
ideal_sum#
Explicit context
fun idealSum (
generatorsLeft: List< UniffiExpression> ,
generatorsRight: List< UniffiExpression> ,
variables: List< kotlin. String> ,
order: UniffiMonomialOrdering,
) : List< UniffiExpression> ?
A Gröbner basis of the ideal sum I + J, the ideal generated by the two generator lists together. None on a non-Q [ variables ] \mathbb{Q}[\text{variables}] Q [ variables ] generator.
identity_matrix#
Explicit context
fun identityMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the identity_matrix operation on this mobile object.
implicitize#
Explicit context
fun implicitize (
coordinates: List< kotlin. String> ,
parameters: List< kotlin. String> ,
parametricExpressions: List< UniffiExpression> ,
) : List< UniffiExpression> ?
The implicit ideal of a parametric curve or surface x i = f i ( parameters ) x_i = f_i(\operatorname{parameters}) x i = f i ( parameters ) (the i-th coordinate paired with the i-th parametric expression), returned as a generator list over Q [ coordinates ] \mathbb{Q}[\text{coordinates}] Q [ coordinates ] — the elimination of the parameters (Cox–Little–O'Shea ch. 3).
infinite_assumption#
Explicit context
fun infiniteAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the infinite_assumption operation on this mobile object.
integer_assumption#
Explicit context
fun integerAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the integer_assumption operation on this mobile object.
integer_entries#
Explicit context
fun integerEntries ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the integer_entries operation on this mobile object.
invertible_matrix#
Explicit context
fun invertibleMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the invertible_matrix operation on this mobile object.
irrational_assumption#
Explicit context
fun irrationalAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the irrational_assumption operation on this mobile object.
isolate_real_roots#
Explicit context
fun isolateRealRoots (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : List< UniffiIsolatingInterval>
One (lower, upper) rational isolating interval per distinct real root, sorted ascending; a collapsed pair (r, r) marks an exact rational root. Requires a non-zero univariate polynomial with rational coefficients. Notes: WASM returns isolating_interval objects with lower/upper getters.
leading_coefficient#
Explicit context
fun leadingCoefficient (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Coefficient of the highest power of variable; may contain the other free variables. Errors on non-polynomial or zero input.
less_assumption#
Explicit context
fun lessAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the less_assumption operation on this mobile object.
less_or_equal_assumption#
Explicit context
fun lessOrEqualAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the less_or_equal_assumption operation on this mobile object.
lower_triangular_matrix#
Explicit context
fun lowerTriangularMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the lower_triangular_matrix operation on this mobile object.
matrix#
Explicit context
fun matrix ( rows: List< List< UniffiExpression> > ) : UniffiMatrix
Build a matrix from ordered rows. Direct Python construction and the facade module function use the shared default context. The raw wasm-bindgen compatibility layer retains (rows, columns, flat_entries); new JavaScript code should use the nested facade form.
matrix_diagonal#
Explicit context
fun matrixDiagonal ( entries: List< UniffiExpression> ) : UniffiMatrix
Square matrix with the given main diagonal and zeros elsewhere; the empty list raises.
matrix_identity#
Explicit context
fun matrixIdentity ( size: kotlin. ULong) : UniffiMatrix
The s i z e × s i z e \mathit{size}\times\mathit{size} size × size identity; size 0 raises.
matrix_shape#
Explicit context
fun matrixShape (
subject: UniffiMatrix,
rows: kotlin. ULong,
columns: kotlin. ULong,
) : UniffiAssumptionProposition
Provides the matrix_shape operation on this mobile object.
matrix_zero#
Explicit context
fun matrixZero ( rows: kotlin. ULong, columns: kotlin. ULong) : UniffiMatrix
The r o w s × c o l u m n s \mathit{rows}\times\mathit{columns} rows × columns zero matrix.
member_assumption#
Explicit context
fun memberAssumption (
element: UniffiExpression,
setExpression: UniffiExpression,
) : UniffiAssumptionProposition
Provides the member_assumption operation on this mobile object.
natural_assumption#
Explicit context
fun naturalAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the natural_assumption operation on this mobile object.
negative_assumption#
Explicit context
fun negativeAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the negative_assumption operation on this mobile object.
nonnegative_assumption#
Explicit context
fun nonnegativeAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the nonnegative_assumption operation on this mobile object.
nonpositive_assumption#
Explicit context
fun nonpositiveAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the nonpositive_assumption operation on this mobile object.
nonzero_assumption#
Explicit context
fun nonzeroAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the nonzero_assumption operation on this mobile object.
normal_matrix#
Explicit context
fun normalMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the normal_matrix operation on this mobile object.
not_equal_assumption#
Explicit context
fun notEqualAssumption (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiAssumptionProposition
Provides the not_equal_assumption operation on this mobile object.
odd_assumption#
Explicit context
fun oddAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the odd_assumption operation on this mobile object.
orthogonal_matrix#
Explicit context
fun orthogonalMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the orthogonal_matrix operation on this mobile object.
plain_text#
Expression method
fun plainText ( ) : kotlin. String
The canonical plain-text form of this expression.
polynomial_gcd#
Explicit context
fun polynomialGcd (
left: UniffiExpression,
right: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Greatest common divisor of the two expressions as polynomials in variable (primitive, with the core's sign normalisation).
positive_assumption#
Explicit context
fun positiveAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the positive_assumption operation on this mobile object.
positive_definite_matrix#
Explicit context
fun positiveDefiniteMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the positive_definite_matrix operation on this mobile object.
positive_integer_assumption#
Explicit context
fun positiveIntegerAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the positive_integer_assumption operation on this mobile object.
positive_semidefinite_matrix#
Explicit context
fun positiveSemidefiniteMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the positive_semidefinite_matrix operation on this mobile object.
prime_assumption#
Explicit context
fun primeAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the prime_assumption operation on this mobile object.
rational_assumption#
Explicit context
fun rationalAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the rational_assumption operation on this mobile object.
real_assumption#
Explicit context
fun realAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the real_assumption operation on this mobile object.
real_entries#
Explicit context
fun realEntries ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the real_entries operation on this mobile object.
refine#
Explicit context
fun refine (
target: UniffiExpression,
assumptions: UniffiAssumptionProposition? ,
) : UniffiExpression
Provides the refine operation on this mobile object.
Calling forms and variants
Expression method: UniffiExpression.refine
fun refine ( assumptions: UniffiAssumptionProposition? ) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.refine
fun refine ( target: UniffiExpression) : UniffiExpression
resultant#
Explicit context
fun resultant (
left: UniffiExpression,
right: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Resultant with respect to variable; zero exactly when the two polynomials share a root (over the algebraic closure).
singular_matrix#
Explicit context
fun singularMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the singular_matrix operation on this mobile object.
square_matrix#
Explicit context
fun squareMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the square_matrix operation on this mobile object.
symmetric_matrix#
Explicit context
fun symmetricMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the symmetric_matrix operation on this mobile object.
transcendental_assumption#
Explicit context
fun transcendentalAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the transcendental_assumption operation on this mobile object.
unitary_matrix#
Explicit context
fun unitaryMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the unitary_matrix operation on this mobile object.
upper_triangular_matrix#
Explicit context
fun upperTriangularMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the upper_triangular_matrix operation on this mobile object.
zero_assumption#
Explicit context
fun zeroAssumption ( subject: UniffiExpression) : UniffiAssumptionProposition
Provides the zero_assumption operation on this mobile object.
zero_equivalent#
Explicit context
fun zeroEquivalent (
target: UniffiExpression,
constraint: UniffiExpression? ,
) : UniffiZeroEquivalenceVerdict
Provides the zero_equivalent operation on this mobile object.
Calling forms
Expression method: UniffiExpression.zeroEquivalent
fun zeroEquivalent ( constraint: UniffiExpression? ) : UniffiZeroEquivalenceVerdict
zero_matrix#
Explicit context
fun zeroMatrix ( subject: UniffiMatrix) : UniffiAssumptionProposition
Provides the zero_matrix operation on this mobile object.
DefiniteIntegrationResult.decline_reason#
UniffiDefiniteIntegrationResult method
fun declineReason ( ) : UniffiDefiniteIntegrationDeclineReason?
The reason, present exactly when the verdict is declined.
DefiniteIntegrationResult.divergence_direction#
UniffiDefiniteIntegrationResult method
fun divergenceDirection ( ) : UniffiDefiniteIntegrationDivergenceDirection?
The signed infinity of a divergent request, when a single direction was established.
DefiniteIntegrationResult.interpretation#
UniffiDefiniteIntegrationResult method
fun interpretation ( ) : UniffiDefiniteIntegrationInterpretation
The interpretation under which the request was answered.
DefiniteIntegrationResult.value#
UniffiDefiniteIntegrationResult method
fun value ( ) : UniffiExpression?
The exact value, present exactly when the verdict is evaluated.
DefiniteIntegrationResult.verdict#
UniffiDefiniteIntegrationResult method
fun verdict ( ) : UniffiDefiniteIntegrationVerdict
Whether the request was evaluated, proved divergent, or declined.
LimitResult.decline_reason#
UniffiLimitResult method
fun declineReason ( ) : UniffiLimitDeclineReason?
The reason, present exactly when the status is unknown.
LimitResult.status#
UniffiLimitResult method
fun status ( ) : UniffiLimitStatus
Whether the limit is finite, a signed infinity, proved nonexistent, or undecided.
LimitResult.value#
UniffiLimitResult method
fun value ( ) : UniffiExpression?
The exact limit, present exactly when the status is finite.
complex_limit#
Explicit context
fun complexLimit (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
) : UniffiExpression
complex_limit(expression, variable, point) constructs the deferred limit of an expression as the variable tends to a finite point through a punctured complex disk.
complex_sector_limit#
Explicit context
fun complexSectorLimit (
target: UniffiExpression,
variable: kotlin. String,
lowerAngle: UniffiExpression,
upperAngle: UniffiExpression,
) : UniffiExpression
complex_sector_limit(expression, variable, lower_angle, upper_angle) constructs the deferred limit of an expression as the variable tends to infinity inside a closed sector.
continuous_domain#
Explicit context
fun continuousDomain (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
The subset of the real line on which the expression is continuous in variable, as a set expression. Compound rational square-root radicands are lowered to an exact univariate semialgebraic condition when supported, so, for example, sqrt(x + 1/x - 2) has continuous real domain (0, infinity).
Calling forms and variants
Expression method: UniffiExpression.continuousDomain
fun continuousDomain ( variable: kotlin. String) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.continuousDomain
fun continuousDomain (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
differentiate#
Explicit context
fun differentiate (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Symbolic derivative with respect to variable.
Calling forms
Expression method: UniffiExpression.differentiate
fun differentiate ( variable: kotlin. String) : UniffiExpression
evaluate_complex_limit#
Explicit context
fun evaluateComplexLimit (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
) : UniffiExpression
evaluate_complex_limit(expression, variable, point) evaluates a limit through a punctured complex disk. It returns the deferred complex_limit when the limit is not decided.
evaluate_complex_limit_detailed#
Explicit context
fun evaluateComplexLimitDetailed (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
) : UniffiLimitResult
Classify a limit through a punctured complex disk as finite, proved nonexistent, or undecided, keeping the status apart from the value.
evaluate_complex_sector_limit#
Explicit context
fun evaluateComplexSectorLimit (
target: UniffiExpression,
variable: kotlin. String,
lowerAngle: UniffiExpression,
upperAngle: UniffiExpression,
) : UniffiExpression
evaluate_complex_sector_limit(expression, variable, lower_angle, upper_angle) evaluates a limit at infinity inside a closed sector, or returns the deferred complex_sector_limit.
evaluate_complex_sector_limit_detailed#
Explicit context
fun evaluateComplexSectorLimitDetailed (
target: UniffiExpression,
variable: kotlin. String,
lowerAngle: UniffiExpression,
upperAngle: UniffiExpression,
) : UniffiLimitResult
Classify a limit at infinity inside a closed sector as finite, proved nonexistent, or undecided, keeping the status apart from the value.
evaluate_joint_limit#
Explicit context
fun evaluateJointLimit (
target: UniffiExpression,
variables: List< kotlin. String> ,
point: List< UniffiExpression> ,
relativeDomain: UniffiExpression? ,
) : UniffiExpression
evaluate_joint_limit(expression, variables, point, relative_domain=None) evaluates a joint limit of two or more real variables. It returns the deferred joint_limit when the limit is not decided.
evaluate_joint_limit_detailed#
Explicit context
fun evaluateJointLimitDetailed (
target: UniffiExpression,
variables: List< kotlin. String> ,
point: List< UniffiExpression> ,
relativeDomain: UniffiExpression? ,
) : UniffiLimitResult
Classify a joint limit of two or more real variables as finite, nonexistent or undecided, keeping the status apart from the value.
evaluate_limit#
Explicit context
fun evaluateLimit (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiExpression
evaluate_limit(expression, variable, point, direction="two_sided") runs the eager limit engine. It returns an unevaluated limit when the engine cannot close the result.
Calling forms and variants
Expression method: UniffiExpression.evaluateLimit
fun evaluateLimit (
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.evaluateLimit
fun evaluateLimit (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiExpression
evaluate_limit_detailed#
Explicit context
fun evaluateLimitDetailed (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiLimitResult
Classify a limit as finite, a signed infinity, proved nonexistent, or undecided, keeping the status apart from the value.
evaluate_on_grid#
Explicit context
fun evaluateOnGrid (
inputExpression: UniffiExpression,
variable: kotlin. String,
grid: List< kotlin. Double> ,
) : List< kotlin. Double>
Evaluate at each grid point, substituting variable.
evaluate_on_grid_points#
Explicit context
fun evaluateOnGridPoints (
inputExpression: UniffiExpression,
variables: List< kotlin. String> ,
points: List< kotlin. Double> ,
) : List< kotlin. Double>
Multi-variable companion to evaluate_on_grid: evaluate at each point of a flat row-major coordinate array (one coordinate per variable, so the points length must be a multiple of the variable count), returning one float per point. Positions where evaluation fails hold NaN. Raises when variables is empty or the lengths disagree. Intended for sampling surfaces and implicit curves.
evaluate_sequence_limit#
Explicit context
fun evaluateSequenceLimit (
target: UniffiExpression,
index: kotlin. String,
) : UniffiExpression
evaluate_sequence_limit(expression, index) evaluates the limit of a sequence as its positive-integer index tends to infinity. It returns the deferred sequence_limit when the engine cannot decide the limit.
Calling forms and variants
Expression method: UniffiExpression.evaluateSequenceLimit
fun evaluateSequenceLimit ( index: kotlin. String) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.evaluateSequenceLimit
fun evaluateSequenceLimit (
target: UniffiExpression,
index: kotlin. String,
) : UniffiExpression
evaluate_sequence_limit_detailed#
Explicit context
fun evaluateSequenceLimitDetailed (
target: UniffiExpression,
index: kotlin. String,
) : UniffiLimitResult
Classify a sequence limit as finite, a signed infinity, proved nonexistent, or undecided, keeping the status apart from the value.
execute#
Explicit context
fun execute ( target: UniffiExpression) : UniffiExpression
Re-dispatch every unevaluated node (integral, derivative, summation, transform, ODE/recurrence placeholder) in the expression; useful after substitution has changed the inputs.
Calling forms
Expression method: UniffiExpression.execute
fun execute ( ) : UniffiExpression
Explicit context
fun fourierTransform (
target: UniffiExpression,
timeVariable: kotlin. String,
frequencyVariable: kotlin. String,
) : UniffiExpression
Forward Fourier transform in the angular-frequency convention F ( ω ) = ∫ f ( t ) e − i ω t d t F(\omega) = \int f(t)e^{-i\omega t}\,dt F ( ω ) = ∫ f ( t ) e − iω t d t .
Calling forms and variants
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.fourierTransform
fun fourierTransform (
target: UniffiExpression,
timeVariable: kotlin. String,
frequencyVariable: kotlin. String,
) : UniffiExpression
integrate#
Explicit context
fun integrate (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Indefinite integration (no constant of integration).
Calling forms and variants
Expression method: UniffiExpression.integrate
fun integrate ( variable: kotlin. String) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.integrate
fun integrate (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
integrate_definite#
Explicit context
fun integrateDefinite (
inputExpression: UniffiExpression,
variable: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
) : UniffiExpression
Definite integration over [lower, upper] (bounds may be infinite).
Calling forms and variants
Expression method: UniffiExpression.integrateDefinite
fun integrateDefinite (
variable: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.integrateDefinite
fun integrateDefinite (
target: UniffiExpression,
variable: kotlin. String,
lowerBound: UniffiExpression,
upperBound: UniffiExpression,
) : UniffiExpression
integrate_definite_detailed#
Explicit context
fun integrateDefiniteDetailed (
target: UniffiExpression,
variable: kotlin. String,
lowerBound: UniffiExpression,
upperBound: UniffiExpression,
interpretation: UniffiDefiniteIntegrationInterpretation,
constraint: UniffiExpression? ,
) : UniffiDefiniteIntegrationResult
Evaluate a definite integral under an interpretation and an optional declared region, retaining whether it was evaluated, proved divergent, or declined.
integrate_definite_under_constraint#
Explicit context
fun integrateDefiniteUnderConstraint (
target: UniffiExpression,
variable: kotlin. String,
lowerBound: UniffiExpression,
upperBound: UniffiExpression,
constraint: UniffiExpression,
) : UniffiExpression
Definite integration under a local bounded logical constraint.
Calling forms
Expression method: UniffiExpression.integrateDefiniteUnderConstraint
fun integrateDefiniteUnderConstraint (
variable: kotlin. String,
lowerBound: UniffiExpression,
upperBound: UniffiExpression,
constraint: UniffiExpression,
) : UniffiExpression
integrate_iterated#
Explicit context
fun integrateIterated (
inputExpression: UniffiExpression,
variables: List< kotlin. String> ,
) : UniffiExpression
Iterated indefinite integration, applying the single-variable pipeline once per entry of variables in left-to-right order (innermost binder first).
Calling forms
Expression method: UniffiExpression.integrateIterated
fun integrateIterated ( variables: List< kotlin. String> ) : UniffiExpression
Explicit context
fun inverseFourierTransform (
target: UniffiExpression,
frequencyVariable: kotlin. String,
timeVariable: kotlin. String,
) : UniffiExpression
Inverse Fourier transform of the same convention.
Explicit context
fun inverseLaplaceTransform (
target: UniffiExpression,
frequencyVariable: kotlin. String,
timeVariable: kotlin. String,
) : UniffiExpression
Inverse Laplace transform; rational inputs route through a partial-fraction reverse lookup.
joint_limit#
Explicit context
fun jointLimit (
target: UniffiExpression,
variables: List< kotlin. String> ,
point: List< UniffiExpression> ,
relativeDomain: UniffiExpression? ,
) : UniffiExpression
joint_limit(expression, variables, point, relative_domain=None) constructs the deferred joint limit of an expression as the ordered variables tend together to the center, optionally relative to a domain given as a logical expression.
Explicit context
fun laplaceTransform (
target: UniffiExpression,
timeVariable: kotlin. String,
frequencyVariable: kotlin. String,
) : UniffiExpression
Forward Laplace transform F ( s ) = ∫ 0 ∞ f ( t ) e − s t d t F(s) = \int_0^\infty f(t)e^{-st}\,dt F ( s ) = ∫ 0 ∞ f ( t ) e − s t d t .
Calling forms and variants
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.laplaceTransform
fun laplaceTransform (
target: UniffiExpression,
timeVariable: kotlin. String,
frequencyVariable: kotlin. String,
) : UniffiExpression
laurent_series#
Explicit context
fun laurentSeries (
target: UniffiExpression,
variable: kotlin. String,
center: UniffiExpression,
order: kotlin. ULong,
) : UniffiExpression
Truncated Laurent expansion at center: every ( variable − center ) k (\operatorname{variable} - \operatorname{center})^k ( variable − center ) k term with − m ≤ k < order -m \le k < \operatorname{order} − m ≤ k < order , where m is the pole order. Analytic points degrade to the Taylor expansion. At an essential singularity (where pole_order declines) the result is an unevaluated series_unevaluated(...) placeholder, because no finite truncation of the principal part is correct.
Calling forms
Expression method: UniffiExpression.laurentSeries
fun laurentSeries (
variable: kotlin. String,
center: UniffiExpression,
order: kotlin. ULong,
) : UniffiExpression
limit#
Explicit context
fun limit (
target: UniffiExpression,
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiExpression
limit(expression, variable, point, direction="two_sided") constructs a deferred limit.
Calling forms
Expression method: UniffiExpression.limit
fun limit (
variable: kotlin. String,
point: UniffiExpression,
direction: UniffiLimitDirection,
) : UniffiExpression
maclaurin_series#
Explicit context
fun maclaurinSeries (
inputExpression: UniffiExpression,
variable: kotlin. String,
truncationOrder: kotlin. ULong,
) : UniffiExpression
taylor_series specialised to expansion point 0.
Calling forms
Expression method: UniffiExpression.maclaurinSeries
fun maclaurinSeries (
variable: kotlin. String,
truncationOrder: kotlin. ULong,
) : UniffiExpression
pole_order#
Explicit context
fun poleOrder (
inputExpression: UniffiExpression,
variable: kotlin. String,
center: UniffiExpression,
) : kotlin. Long?
Order of the singularity at center: 0 for analytic/removable points, m ≥ 1 m \ge 1 m ≥ 1 for a pole of order m m m .
Calling forms
Expression method: UniffiExpression.poleOrder
fun poleOrder (
variable: kotlin. String,
center: UniffiExpression,
) : kotlin. Long?
residue#
Explicit context
fun residue (
inputExpression: UniffiExpression,
variable: kotlin. String,
center: UniffiExpression,
) : UniffiExpression
Coefficient of ( variable − center ) − 1 (\operatorname{variable} - \operatorname{center})^{-1} ( variable − center ) − 1 in the Laurent expansion at center.
Calling forms
Expression method: UniffiExpression.residue
fun residue (
variable: kotlin. String,
center: UniffiExpression,
) : UniffiExpression
sequence_limit#
Explicit context
fun sequenceLimit (
target: UniffiExpression,
index: kotlin. String,
) : UniffiExpression
sequence_limit(expression, index) constructs the deferred limit of a sequence as its positive-integer index tends to infinity.
Calling forms
Expression method: UniffiExpression.sequenceLimit
fun sequenceLimit ( index: kotlin. String) : UniffiExpression
singularities#
Explicit context
fun singularities (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
The singular points of the expression in the complex plane, as a set expression (finite set, union, image set for periodic families, …).
Calling forms and variants
Expression method: UniffiExpression.singularities
fun singularities ( variable: kotlin. String) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.singularities
fun singularities (
target: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
taylor_series#
Explicit context
fun taylorSeries (
target: UniffiExpression,
variable: kotlin. String,
expansionPoint: UniffiExpression,
truncationOrder: kotlin. ULong,
) : UniffiExpression
Truncated Taylor expansion about expansion_point, keeping terms of degree strictly less than order (the remainder is O ( ( x − a ) order ) O((x-a)^{\operatorname{order}}) O (( x − a ) order ) .
Calling forms and variants
Expression method: UniffiExpression.taylorSeries
fun taylorSeries (
variable: kotlin. String,
expansionPoint: UniffiExpression,
truncationOrder: kotlin. ULong,
) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.taylorSeries
fun taylorSeries (
target: UniffiExpression,
variable: kotlin. String,
expansionPoint: UniffiExpression,
truncationOrder: kotlin. ULong,
) : UniffiExpression
Explicit context
fun e ( ) : UniffiExpression
Euler's number e e e , the base of the natural logarithm. exp(1) and this constant are the same expression.
euler_gamma#
Explicit context
fun eulerGamma ( ) : UniffiExpression
The Euler–Mascheroni constant γ \gamma γ .
imaginary_unit#
Explicit context
fun imaginaryUnit ( ) : UniffiExpression
The imaginary unit i i i with i 2 = − 1 i^2 = -1 i 2 = − 1 .
infinity#
Explicit context
fun infinity ( ) : UniffiExpression
Unsigned positive infinity ∞ \infty ∞ .
Explicit context
fun pi ( ) : UniffiExpression
The circle constant π \pi π .
derivative#
Explicit context
fun derivative (
target: UniffiExpression,
variable: kotlin. String,
order: kotlin. ULong,
) : UniffiExpression
Constructs a deferred derivative. The variable may be a name or a same-context symbol expression. Use execute to evaluate it.
Calling forms
Expression method: UniffiExpression.derivative
fun derivative (
variable: kotlin. String,
order: kotlin. ULong,
) : UniffiExpression
derivative_unevaluated#
Explicit context
fun derivativeUnevaluated (
target: UniffiExpression,
variable: kotlin. String,
order: kotlin. ULong,
) : UniffiExpression
Constructs the deferred derivative of the given order without differentiating; execute evaluates it. Use differentiate for the eager derivative.
Calling forms
Expression method: UniffiExpression.derivativeUnevaluated
fun derivativeUnevaluated (
variable: kotlin. String,
order: kotlin. ULong,
) : UniffiExpression
integer#
Explicit context
fun integer ( value: kotlin. Long) : UniffiExpression
Build an arbitrary-precision exact integer. Python bool values are rejected. JavaScript's recommended facade accepts bigint and safe integral number values.
integer_from_string#
Explicit context
fun integerFromString ( text: kotlin. String) : UniffiExpression
Build an arbitrary-precision integer literal from its decimal string.
integral#
Explicit context
fun integral (
integrand: UniffiExpression,
variable: kotlin. String,
lower: UniffiExpression? ,
upper: UniffiExpression? ,
) : UniffiExpression
Build an unevaluated integral node (indefinite when bounds are omitted).
parse#
Explicit context
fun parse ( text: kotlin. String) : UniffiExpression
Parse Symi textual syntax into an expression. Accepts ^ and ** for powers; knows the builtin function names (sin, log, sqrt, …) and the constants pi, e.
parse_latex#
Explicit context
fun parseLatex ( latex: kotlin. String) : UniffiMathematicalObject
Parse a LaTeX string in Symi's canonical input dialect — the inverse of to_latex and the parser the Symi frontend uses. Returns whichever top-level object the input denotes: an ordinary expression, a \begin{matrix}…\end{matrix}, or a geometry figure ((x, y) point, segment, polygon, or circle), wrapped in the matching exported class exactly as parse_serialized_object does. Coverage spans arithmetic, powers, fractions, roots, the elementary and many special functions, comparisons, integrals (including the bare-d differential), Leibniz derivatives (\frac{d}{dx} — differentiated eagerly), limits, summations, products, determinants, and actuarial annuities. The resolution is context-aware in a way parse is not: a bare i is the imaginary unit and a bare e is Euler's number unless the letter is a bound index (a summation / product / limit index shadows the constant), and \mathrm{d} — or a bare d that closes an integral — is the differential operator while a bare d elsewhere is an ordinary variable. Raises on syntax errors.
parse_latex_with_environment#
Explicit context
fun parseLatexWithEnvironment (
latex: kotlin. String,
serializedDefinitions: List< kotlin. String> ,
) : UniffiMathematicalObject
Parse LaTeX after building an ordered definition environment. Each serialized definition is a string with four fields separated by ASCII Unit Separator (U+001F): kind, name, parameters, and body_latex.
parse_serialized_object#
Explicit context
fun parseSerializedObject ( text: kotlin. String) : UniffiMathematicalObject
Inverse of serialize_object; returns the matching surface class.
product#
Explicit context
fun product (
multiplicand: UniffiExpression,
index: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
) : UniffiExpression
Definite indexed product ∏ i n d e x = l o w e r u p p e r m u l t i p l i c a n d \prod_{\mathit{index}=\mathit{lower}}^{\mathit{upper}} \mathit{multiplicand} ∏ index = lower upper multiplicand , a first-class indexed_product binder (rendered \prod in LaTeX).
product_indefinite#
Explicit context
fun productIndefinite (
multiplicand: UniffiExpression,
index: kotlin. String,
) : UniffiExpression
Indefinite (anti-quotient) product: the P(k) satisfying P(k+1)/P(k) = multiplicand(k), the multiplicative analogue of summation_indefinite.
rational#
Explicit context
fun rational (
numerator: kotlin. Long,
denominator: kotlin. Long,
) : UniffiExpression
Constructs an exact reduced rational from arbitrary-size integers. A zero denominator is an argument error. Python also accepts fractions.Fraction wherever an expression-like input is accepted.
reset_context#
Explicit context
Replace the context's entire symbol table and expression store with fresh empty ones. Warning: existing expression/matrix/geometry objects from this context become stale and must not be used afterwards — their symbol identifiers no longer resolve. Deliberately not available at module level: resetting the shared default context would strand every live object, and the weak expression store already keeps memory bounded by live objects (see the default context).
serialize_object#
Explicit context
fun serializeObject ( object : UniffiMathematicalObject) : kotlin. String
Serialize an expression, matrix, or geometry object to the stable Symi serialization format, round-trippable via parse_serialized_object.
Calling forms and variants
Expression method: UniffiExpression.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiCircle2d method: UniffiCircle2d.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiMatrix method: UniffiMatrix.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiPoint2d method: UniffiPoint2d.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiPolygon2d method: UniffiPolygon2d.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiSegment2d method: UniffiSegment2d.serializeObject
fun serializeObject ( ) : kotlin. String
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.serializeObject
fun serializeObject ( ) : kotlin. String
summation#
Explicit context
fun summation (
summand: UniffiExpression,
index: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
) : UniffiExpression
Build a summation node ∑ \sum ∑ .
summation_indefinite#
Explicit context
fun summationIndefinite (
summand: UniffiExpression,
index: kotlin. String,
) : UniffiExpression
Anti-difference: a closed form F F F with F ( index + 1 ) − F ( index ) = summand F(\operatorname{index}+1) - F(\operatorname{index}) = \operatorname{summand} F ( index + 1 ) − F ( index ) = summand .
Calling forms
Expression method: UniffiExpression.summationIndefinite
fun summationIndefinite ( index: kotlin. String) : UniffiExpression
symbol#
Explicit context
fun symbol ( name: kotlin. String) : UniffiExpression
Intern a symbol and (optionally) attach assumptions used by the assumption engine and the simplifier. Domain flags refine in the order natural → \to → integer → \to → rational → \to → real; positive/negative also set nonzero, and nonzero may be requested independently.
to_latex#
Explicit context
fun toLatex ( target: UniffiExpression) : kotlin. String
Render an expression as LaTeX. Matrices and geometry objects have their own to_latex methods.
Calling forms and variants
Expression method: UniffiExpression.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiCircle2d method: UniffiCircle2d.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiMatrix method: UniffiMatrix.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiPoint2d method: UniffiPoint2d.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiPolygon2d method: UniffiPolygon2d.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiSegment2d method: UniffiSegment2d.toLatex
fun toLatex ( ) : kotlin. String
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.toLatex
fun toLatex ( ) : kotlin. String
to_latex_with_options#
Explicit context
fun toLatexWithOptions (
inputExpression: UniffiExpression,
options: UniffiLatexPresentationOptions,
) : kotlin. String
Render an expression as LaTeX with presentation flags. Each argument is a string naming the choice for one flag; an unrecognized name falls back to that flag's canonical default (so to_latex_with_options(e, "", "", "") equals to_latex(e)):
Calling forms
Expression method: UniffiExpression.toLatexWithOptions
fun toLatexWithOptions ( options: UniffiLatexPresentationOptions) : kotlin. String
assumptions_of#
Explicit context
fun assumptionsOf ( variable: kotlin. String) : List< UniffiAssumptionProposition>
Return every assumption declared about one symbol, as a list of proposition texts such as "real(x)" or "prime(n)". The variable may be a name or same-context symbol. The list is what was declared, not what can be proved; use ask for a three-valued verdict.
clear_assumptions#
Explicit context
fun clearAssumptions ( variable: kotlin. String) : Unit
Reset one symbol's assumptions to the default (complex domain, every property unknown).
interner_length#
Explicit context
fun internerLength ( ) : kotlin. ULong
Number of live expressions currently interned in the context. Dead entries awaiting the amortized sweep are not counted. Useful for observing memory in long-running sessions and in tests that assert the store stays bounded.
IntegerSolutionTuple.coordinates#
UniffiIntegerSolutionTuple method
fun coordinates ( ) : List< UniffiExpression>
The coordinates, in the order of the requested unknowns.
IntegerSolveReport.complete#
UniffiIntegerSolveReport method
fun complete ( ) : kotlin. Boolean
Whether the report states the whole integer solution set; false only when declined.
IntegerSolveReport.decline_reason#
UniffiIntegerSolveReport method
fun declineReason ( ) : UniffiIntegerSolveDeclineReason?
The reason, present exactly when the verdict is declined.
IntegerSolveReport.lattice_basis#
UniffiIntegerSolveReport method
fun latticeBasis ( ) : List< UniffiIntegerSolutionTuple>
A Hermite-reduced basis of the direction lattice of a lattice_family report.
IntegerSolveReport.lattice_particular#
UniffiIntegerSolveReport method
fun latticeParticular ( ) : UniffiIntegerSolutionTuple?
One point of the solution lattice of a lattice_family report.
IntegerSolveReport.modulus#
UniffiIntegerSolveReport method
fun modulus ( ) : UniffiExpression?
The positive modulus of the residue class of a congruence_family report.
IntegerSolveReport.parameters#
UniffiIntegerSolveReport method
fun parameters ( ) : List< UniffiExpression>
The parameters of the solution tuples, each ranging over every integer.
IntegerSolveReport.pell_equation#
UniffiIntegerSolveReport method
fun pellEquation ( ) : UniffiExpression?
The normalized equation x^2 - D*y^2 = N of a pell_orbits report, in the unknowns.
IntegerSolveReport.pell_seeds#
UniffiIntegerSolveReport method
fun pellSeeds ( ) : List< UniffiIntegerSolutionTuple>
One seed per orbit, the representative in the fundamental interval of the unit, in the order of the requested unknowns.
IntegerSolveReport.pell_unit#
UniffiIntegerSolveReport method
fun pellUnit ( ) : UniffiIntegerSolutionTuple?
The fundamental solution (u, v) of u^2 - D*v^2 = 1 generating every orbit.
IntegerSolveReport.proof_methods#
UniffiIntegerSolveReport method
fun proofMethods ( ) : List< UniffiIntegerSolveProofMethod>
The kinds of exact evidence the result rests on.
IntegerSolveReport.residue#
UniffiIntegerSolveReport method
fun residue ( ) : UniffiExpression?
The least nonnegative member of the residue class of a congruence_family report.
IntegerSolveReport.solutions#
UniffiIntegerSolveReport method
fun solutions ( ) : List< UniffiIntegerSolutionTuple>
The solution tuples, exact in the integer parameters.
IntegerSolveReport.undefined_points#
UniffiIntegerSolveReport method
fun undefinedPoints ( ) : List< UniffiIntegerSolutionTuple>
The integer points at which some source equation is undefined; no solution is one.
IntegerSolveReport.unknowns#
UniffiIntegerSolveReport method
fun unknowns ( ) : List< UniffiExpression>
The requested unknowns, in the order every tuple uses.
IntegerSolveReport.verdict#
UniffiIntegerSolveReport method
fun verdict ( ) : UniffiIntegerSolveVerdict
What the solve established: finite, empty, lattice_family, congruence_family, pell_orbits, or declined.
PrimeFactor.multiplicity#
UniffiRootMultiplicity method
fun multiplicity ( ) : kotlin. ULong
The multiplicity of the root.
QuadraticContinuedFractionExpansion.initial_terms#
UniffiQuadraticContinuedFractionExpansion method
fun initialTerms ( ) : List< UniffiExpression>
The terms preceding the periodic part of the expansion.
QuadraticContinuedFractionExpansion.periodic_terms#
UniffiQuadraticContinuedFractionExpansion method
fun periodicTerms ( ) : List< UniffiExpression>
The repeating terms of the expansion.
RootMultiplicity.root#
UniffiRootMultiplicity method
fun root ( ) : UniffiExpression
Principal n-th root, stored as x^(1/n).
SetEnumeration.elements#
UniffiSetEnumeration method
fun elements ( ) : List< UniffiExpression>
The exact elements produced, in increasing order.
SetEnumeration.outcome#
UniffiSetEnumeration method
fun outcome ( ) : UniffiEnumerationVerdict
"complete", "truncated", or "declined".
bell_number#
Explicit context
fun bellNumber ( argument: UniffiExpression) : UniffiExpression
The n-th Bell number.
catalan_number#
Explicit context
fun catalanNumber ( argument: UniffiExpression) : UniffiExpression
The n-th Catalan number.
chinese_remainder#
Explicit context
fun chineseRemainder ( residuesAndModuli: List< UniffiExpressionExpressionTuple> ) : UniffiExpression
The smallest non-negative solution of the simultaneous congruences x ≡ r i ( m o d m i ) x \equiv r_i \pmod{m_i} x ≡ r i ( mod m i ) .
complex_plane#
Explicit context
fun complexPlane ( ) : UniffiExpression
The set C \mathbb{C} C — the ambient universe, and the domain a variable ranges over when it carries no realness assumption.
condition_set#
Explicit context
fun conditionSet (
variable: kotlin. String,
condition: UniffiExpression,
domain: UniffiExpression,
) : UniffiExpression
The set { variable ∈ domain : condition } \{\operatorname{variable} \in \operatorname{domain} : \operatorname{condition}\} { variable ∈ domain : condition } .
Explicit context
fun conjunctiveNormalForm ( inputExpression: UniffiExpression) : UniffiExpression
The dual of disjunctive_normal_form: a reduced conjunctive normal form (an AND of OR-clauses over literals).
Calling forms
Expression method: UniffiExpression.conjunctiveNormalForm
fun conjunctiveNormalForm ( ) : UniffiExpression
continued_fraction_quadratic_irrational#
Explicit context
fun continuedFractionQuadraticIrrational ( value: UniffiExpression) : UniffiQuadraticContinuedFractionExpansion
Eventually-periodic expansion of d \sqrt{d} d for a non-negative integer d, returned as (initial_terms, periodic_part).
continued_fraction_rational#
Explicit context
fun continuedFractionRational ( value: UniffiExpression) : List< UniffiExpression>
Terminating continued-fraction expansion [a0; a1, a2, ...] of an integer or rational expression leaf.
Explicit context
fun disjunctiveNormalForm ( inputExpression: UniffiExpression) : UniffiExpression
Rewrite a propositional formula into a reduced disjunctive normal form (an OR of AND-terms over literals): derived connectives are eliminated, negations are pushed to the atoms, the formula is distributed, and contradictory, duplicate, and subsumed terms are dropped.
Calling forms
Expression method: UniffiExpression.disjunctiveNormalForm
fun disjunctiveNormalForm ( ) : UniffiExpression
divisor_count#
Explicit context
fun divisorCount ( argument: UniffiExpression) : UniffiExpression
Number of positive divisors τ ( n ) \tau(n) τ ( n ) .
divisor_sigma#
Explicit context
fun divisorSigma (
argument: UniffiExpression,
power: kotlin. ULong,
) : UniffiExpression
Sum of the power-th powers of the positive divisors σ p o w e r ( n ) \sigma_{\mathit{power}}(n) σ power ( n ) ; power = 0 gives divisor_count, power = 1 the divisor sum.
eliminate_derived_logical_connectives#
Explicit context
fun eliminateDerivedLogicalConnectives ( inputExpression: UniffiExpression) : UniffiExpression
Rewrite every implies, equivalent, and exclusive_or occurrence into the logical_and / logical_or / logical_not basis. This is a directed presentation request, not a cost decision, so the result may be larger than the input; a formula already in the basis, and a conversion that would cross the fixed size ceiling, both return the input unchanged.
Calling forms
Expression method: UniffiExpression.eliminateDerivedLogicalConnectives
fun eliminateDerivedLogicalConnectives ( ) : UniffiExpression
empty_set#
Explicit context
fun emptySet ( ) : UniffiExpression
The empty set ∅ \varnothing ∅ .
enumerate_set_in_interval#
Explicit context
fun enumerateSetInInterval (
set : UniffiExpression,
lower: UniffiExpression,
upper: UniffiExpression,
lowerInclusive: kotlin. Boolean,
upperInclusive: kotlin. Boolean,
limit: kotlin. ULong? ,
) : UniffiSetEnumeration
Exact elements of a set inside [ lower , upper ] [\operatorname{lower}, \operatorname{upper}] [ lower , upper ] , in increasing order, as {"outcome": str, "elements": list[expression]}. outcome is "complete" when those are exactly the elements in the interval, "truncated" when limit cut the list short (the family is still solved), and "declined" when the set's shape is not enumerable — never a licence to approximate.
euler_totient#
Explicit context
fun eulerTotient ( value: UniffiExpression) : UniffiExpression
Euler's φ ( n ) \varphi(n) φ ( n ) ; requires a positive integer.
evaluate_truth#
Explicit context
fun evaluateTruth ( target: UniffiExpression) : UniffiTruthValue
evaluate_truth(predicate) uses exact three-valued logic. Python returns True, False, or None; JavaScript returns true, false, or null; Rust returns truth_value. The third value means undecided, never false: a host-language if reads it as falsy, so compare against True / False explicitly. Order, equality and sign relations between closed-form real constants — rationals, pi, radicals and real algebraic numbers — are decided exactly by rational arithmetic; transcendental, symbolic and provably non-real operands decline rather than guess.
Calling forms
Expression method: UniffiExpression.evaluateTruth
fun evaluateTruth ( ) : UniffiTruthValue
extended_euclidean#
Explicit context
fun extendedEuclidean (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpressionExpressionExpressionTuple
(gcd, x, y) with a x + b y = gcd a x + b y = \operatorname{gcd} a x + b y = gcd .
factor_integer#
Explicit context
fun factorInteger ( argument: UniffiExpression) : List< UniffiExpressionUnsignedIntegerTuple>
Prime factorization as (prime, multiplicity) pairs, ascending. Errors on zero. Notes: WASM returns prime_factor objects with prime/multiplicity getters; the sign − 1 -1 − 1 of a negative input is carried as a leading (-1, 1) factor exactly as the core reports it.
falling_factorial#
Explicit context
fun fallingFactorial (
value: UniffiExpression,
order: UniffiExpression,
) : UniffiExpression
base ( base − 1 ) ⋯ ( base − length + 1 ) \operatorname{base}(\operatorname{base}-1)\cdots(\operatorname{base}-\operatorname{length}+1) base ( base − 1 ) ⋯ ( base − length + 1 ) ; length must be a non-negative integer, base may be any integer.
fibonacci_number#
Explicit context
fun fibonacciNumber ( argument: UniffiExpression) : UniffiExpression
The n-th Fibonacci number (F(0) = 0, F(1) = 1).
finite_set#
Explicit context
fun finiteSet ( elements: List< UniffiExpression> ) : UniffiExpression
Finite set; elements are deduplicated and canonically ordered. An empty list gives the empty set.
image_set#
Explicit context
fun imageSet (
lambdaExpression: UniffiExpression,
variable: kotlin. String,
domain: UniffiExpression,
) : UniffiExpression
The set { lambda_expression : variable ∈ domain } \{\operatorname{lambda\_expression} : \operatorname{variable} \in \operatorname{domain}\} { lambda_expression : variable ∈ domain } ; variable is a binder over lambda_expression.
integer_gcd#
Explicit context
fun integerGcd (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Greatest common divisor (non-negative).
integer_lcm#
Explicit context
fun integerLcm (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Least common multiple.
integer_nth_root#
Explicit context
fun integerNthRoot (
argument: UniffiExpression,
rootIndex: kotlin. ULong,
) : UniffiExpression
⌊ n 1 / r o o t _ i n d e x ⌋ \lfloor n^{1/\mathit{root\_index}}\rfloor ⌊ n 1/ root_index ⌋ ; odd indices accept negative n. Errors when no real root exists (even index, negative n).
integer_set#
Explicit context
fun integerSet ( ) : UniffiExpression
The set Z \mathbb{Z} Z .
integer_square_root#
Explicit context
fun integerSquareRoot ( argument: UniffiExpression) : UniffiExpression
⌊ n ⌋ \lfloor\sqrt{n}\rfloor ⌊ n ⌋ for non-negative n.
interval#
Explicit context
fun interval (
lower: UniffiExpression,
upper: UniffiExpression,
lowerInclusive: kotlin. Boolean,
upperInclusive: kotlin. Boolean,
) : UniffiExpression
Real-line interval. Closed by default; endpoints at infinity are forced open. Degenerate shapes collapse (empty interval → \to → empty set, single point → \to → finite set, ( − ∞ , ∞ ) → (-\infty, \infty)\to ( − ∞ , ∞ ) → real line).
introduce_derived_logical_connectives#
Explicit context
fun introduceDerivedLogicalConnectives ( inputExpression: UniffiExpression) : UniffiExpression
Recognise the exact canonical definitions of implication, equivalence, and exclusive-or inside an and/or/not formula and replace each match with the derived connective, but only where the replacement is strictly smaller. It is a local structural compressor: a formula merely equivalent to a definition, without matching it, is left unchanged.
Calling forms
Expression method: UniffiExpression.introduceDerivedLogicalConnectives
fun introduceDerivedLogicalConnectives ( ) : UniffiExpression
is_member#
Explicit context
fun isMember (
element: UniffiExpression,
set : UniffiExpression,
) : UniffiTruthValue
Three-valued membership: True only on structural proof, False only on a structural counterexample, None otherwise. Covers ∅ \varnothing ∅ , R \mathbb{R} R , finite sets, intervals, unions, intersections, complements.
is_prime#
Explicit context
fun isPrime ( argument: UniffiExpression) : kotlin. Boolean?
Deterministic primality verdict; None when the input is outside the classifier's domain (e.g. not a natural number ≥ 0 \geq 0 ≥ 0 representation it handles).
Calling forms
Expression method: UniffiExpression.isPrime
fun isPrime ( ) : UniffiTruthValue
is_subset#
Explicit context
fun isSubset (
smaller: UniffiExpression,
larger: UniffiExpression,
) : UniffiTruthValue
Three-valued subset query: ∅ ⊆ \varnothing \subseteq ∅ ⊆ anything, structural equality, finite-set element checks, interval-in-interval endpoint tests; None otherwise.
jacobi_symbol#
Explicit context
fun jacobiSymbol (
numerator: UniffiExpression,
denominator: UniffiExpression,
) : kotlin. Long
The Jacobi symbol ( n / d ) ∈ { − 1 , 0 , 1 } (n/d) \in \{-1, 0, 1\} ( n / d ) ∈ { − 1 , 0 , 1 } ; the denominator must be a positive odd integer.
kronecker_symbol#
Explicit context
fun kroneckerSymbol (
numerator: UniffiExpression,
denominator: UniffiExpression,
) : kotlin. Long
The Kronecker extension of the Jacobi symbol to all integer denominators.
legendre_symbol#
Explicit context
fun legendreSymbol (
numerator: UniffiExpression,
prime: UniffiExpression,
) : kotlin. Long
The Legendre symbol; the second argument must be an odd prime.
length#
Expression method
fun length ( ) : kotlin. ULong
Number of elements of a finite-set expression.
logical_false#
Explicit context
fun logicalFalse ( ) : UniffiExpression
The Boolean constant false (⊥ \bot ⊥ ).
logical_true#
Explicit context
fun logicalTrue ( ) : UniffiExpression
The Boolean constant true (⊤ \top ⊤ ).
minimize_logical#
Explicit context
fun minimizeLogical ( inputExpression: UniffiExpression) : UniffiExpression
The smaller of the minimum sum-of-products and product-of-sums two-level forms. Within a practical atom bound this is the exact Quine–McCluskey minimum (prime implicants, essential extraction, and Petrick's method on the residual chart); above it, an Espresso-style heuristic returns a good — not provably minimal — cover.
Calling forms
Expression method: UniffiExpression.minimizeLogical
fun minimizeLogical ( ) : UniffiExpression
mobius#
Explicit context
fun mobius ( argument: UniffiExpression) : UniffiExpression
Möbius μ ( n ) ∈ { − 1 , 0 , 1 } \mu(n) \in \{-1, 0, 1\} μ ( n ) ∈ { − 1 , 0 , 1 } ; requires a positive integer.
modular_inverse#
Explicit context
fun modularInverse (
value: UniffiExpression,
modulus: UniffiExpression,
) : UniffiExpression
Multiplicative inverse of value modulo modulus; errors when gcd ( value , modulus ) ≠ 1 \operatorname{gcd}(\operatorname{value}, \operatorname{modulus}) \ne 1 gcd ( value , modulus ) = 1 .
modular_power#
Explicit context
fun modularPower (
base: UniffiExpression,
exponent: UniffiExpression,
modulus: UniffiExpression,
) : UniffiExpression
base^exponent mod modulus by square-and-multiply; requires positive modulus and non-negative exponent.
multinomial#
Explicit context
fun multinomial ( parts: List< UniffiExpression> ) : UniffiExpression
Multinomial coefficient ( ∑ parts ) ! / ∏ ( part i ! ) (\sum \operatorname{parts})! / \prod (\operatorname{part}_i!) ( ∑ parts )! / ∏ ( part i !) ; parts must be non-negative integers.
partition_count#
Explicit context
fun partitionCount ( argument: UniffiExpression) : UniffiExpression
Number of integer partitions p(n).
pell_solutions#
Explicit context
fun pellSolutions (
radicand: UniffiExpression,
count: kotlin. ULong,
) : List< UniffiExpression>
The first count positive solutions of x 2 − D y 2 = 1 x^2 - D y^2 = 1 x 2 − D y 2 = 1 , materialised from the fundamental solution by the Pell recurrence and returned as a flat list [ x 1 , y 1 , x 2 , y 2 , … ] [x_1, y_1, x_2, y_2, \ldots] [ x 1 , y 1 , x 2 , y 2 , … ] .
real_line#
Explicit context
fun realLine ( ) : UniffiExpression
The set R \mathbb{R} R .
rising_factorial#
Explicit context
fun risingFactorial (
value: UniffiExpression,
order: UniffiExpression,
) : UniffiExpression
base ( base + 1 ) ⋯ ( base + length − 1 ) \operatorname{base}(\operatorname{base}+1)\cdots(\operatorname{base}+\operatorname{length}-1) base ( base + 1 ) ⋯ ( base + length − 1 ) (the Pochhammer symbol on integers).
set_complement#
Explicit context
fun setComplement (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
The relative complement a ∖ b a \setminus b a ∖ b .
set_intersection#
Explicit context
fun setIntersection (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Intersection, computed eagerly where the structural rules allow (interval pairs, finite-set membership filtering; R \mathbb{R} R drops, ∅ \varnothing ∅ absorbs); otherwise the structural set_intersection node.
set_union#
Explicit context
fun setUnion (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Union, computed eagerly where the structural rules allow (overlapping or touching interval pairs merge; nested unions splice, ∅ \varnothing ∅ drops, R \mathbb{R} R absorbs); otherwise the structural set_union node.
simplify_logical#
Explicit context
fun simplifyLogical ( inputExpression: UniffiExpression) : UniffiExpression
Return whichever of the original form, the disjunctive and conjunctive normal forms, and the two minimal two-level forms has the smallest weighted size.
Calling forms
Expression method: UniffiExpression.simplifyLogical
fun simplifyLogical ( ) : UniffiExpression
solve_integers#
Explicit context
fun solveIntegers (
equations: List< UniffiExpression> ,
unknowns: List< kotlin. String> ,
congruences: List< UniffiExpression> ,
moduli: List< UniffiExpression> ,
options: UniffiIntegerSolveOptions,
) : UniffiIntegerSolveReport
Solve equations and linear congruences over the integers, returning the complete exact solution set as tuples in integer parameters, or a typed decline.
solve_linear_diophantine#
Explicit context
fun solveLinearDiophantine (
coefficients: List< UniffiExpression> ,
constant: UniffiExpression,
) : List< UniffiExpression>
General integer solution of a 1 x 1 + … + a n x n = c a_1 x_1 + \ldots + a_n x_n = c a 1 x 1 + … + a n x n = c , returned as the parametric coordinates — one expression per unknown, affine in fresh integer parameter symbols (diophantine_parameter_k) shared across the coordinates so that choosing any integers for the parameters yields a solution tuple. The list is empty when the equation has no integer solution (gcd ( a i ) ∤ c \gcd(a_i) \nmid c g cd( a i ) ∤ c ).
solve_linear_diophantine_system#
Explicit context
fun solveLinearDiophantineSystem (
coefficientMatrix: UniffiMatrix,
constants: List< UniffiExpression> ,
) : List< UniffiExpression>
General integer solution of the rectangular system A x = b A x = b A x = b , returned as one parametric coordinate expression per column of A.
solve_negative_pell#
Explicit context
fun solveNegativePell ( radicand: UniffiExpression) : List< UniffiExpression>
Fundamental solution [x, y] of the negative-Pell equation x 2 − D y 2 = − 1 x^2 - D y^2 = -1 x 2 − D y 2 = − 1 when it is solvable (exactly when the continued fraction of D \sqrt{D} D has odd period), and an empty list otherwise.
solve_pell#
Explicit context
fun solvePell ( radicand: UniffiExpression) : List< UniffiExpression>
Fundamental solution [x, y] of x 2 − D y 2 = 1 x^2 - D y^2 = 1 x 2 − D y 2 = 1 for a positive non-square integer D, the smallest positive solution from which all others are generated by the recurrence x k + 1 = x 1 x k + D y 1 y k x_{k+1} = x_1 x_k + D y_1 y_k x k + 1 = x 1 x k + D y 1 y k , y k + 1 = x 1 y k + y 1 x k y_{k+1} = x_1 y_k + y_1 x_k y k + 1 = x 1 y k + y 1 x k .
stirling_first_signed#
Explicit context
fun stirlingFirstSigned (
upper: UniffiExpression,
lower: UniffiExpression,
) : UniffiExpression
Signed Stirling number of the first kind s(n, k).
stirling_second#
Explicit context
fun stirlingSecond (
upper: UniffiExpression,
lower: UniffiExpression,
) : UniffiExpression
Stirling number of the second kind S(n, k).
UniffiEquationTransformation method
fun condition ( ) : UniffiExpression
The Boolean condition on the free symbols under which the relation is claimed.
UniffiEquationTransformation method
fun equation ( ) : UniffiExpression
The transformed equation.
UniffiEquationTransformation method
fun relation ( ) : UniffiEquationRelation
Whether the transformed equation is equivalent to its input or only implied by it.
abs#
Explicit context
fun abs ( argument: UniffiExpression) : UniffiExpression
Absolute value of x.
absolute_value#
Explicit context
fun absoluteValue ( argument: UniffiExpression) : UniffiExpression
Provides the absolute_value operation on this mobile object.
Calling forms
Expression method: UniffiExpression.absoluteValue
fun absoluteValue ( ) : UniffiExpression
arccos#
Explicit context
fun arccos ( argument: UniffiExpression) : UniffiExpression
Inverse cosine of x.
arccosh#
Explicit context
fun arccosh ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic cosine of x.
arccot#
Explicit context
fun arccot ( argument: UniffiExpression) : UniffiExpression
Inverse cotangent of x.
arccoth#
Explicit context
fun arccoth ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic cotangent of x.
arccsc#
Explicit context
fun arccsc ( argument: UniffiExpression) : UniffiExpression
Inverse cosecant of x.
arccsch#
Explicit context
fun arccsch ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic cosecant of x.
arcsec#
Explicit context
fun arcsec ( argument: UniffiExpression) : UniffiExpression
Inverse secant of x.
arcsech#
Explicit context
fun arcsech ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic secant of x.
arcsin#
Explicit context
fun arcsin ( argument: UniffiExpression) : UniffiExpression
Inverse sine of x.
arcsinh#
Explicit context
fun arcsinh ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic sine of x.
arctan#
Explicit context
fun arctan ( argument: UniffiExpression) : UniffiExpression
Inverse tangent of x.
arctanh#
Explicit context
fun arctanh ( argument: UniffiExpression) : UniffiExpression
Inverse hyperbolic tangent of x.
binomial#
Explicit context
fun binomial (
upper: UniffiExpression,
lower: UniffiExpression,
) : UniffiExpression
Binomial coefficient C(n, k).
ceiling#
Explicit context
fun ceiling ( argument: UniffiExpression) : UniffiExpression
Least integer greater than or equal to x.
conjugate#
Explicit context
fun conjugate ( argument: UniffiExpression) : UniffiExpression
Complex conjugate.
cos#
Explicit context
fun cos ( argument: UniffiExpression) : UniffiExpression
Cosine of x.
Calling forms
Expression method: UniffiExpression.cos
fun cos ( ) : UniffiExpression
cosh#
Explicit context
fun cosh ( argument: UniffiExpression) : UniffiExpression
Hyperbolic cosine of x.
cot#
Explicit context
fun cot ( argument: UniffiExpression) : UniffiExpression
Cotangent of x, the reciprocal of the tangent.
coth#
Explicit context
fun coth ( argument: UniffiExpression) : UniffiExpression
Hyperbolic cotangent of x, the reciprocal of the hyperbolic tangent.
csc#
Explicit context
fun csc ( argument: UniffiExpression) : UniffiExpression
Cosecant of x, the reciprocal of the sine.
csch#
Explicit context
fun csch ( argument: UniffiExpression) : UniffiExpression
Hyperbolic cosecant of x, the reciprocal of the hyperbolic sine.
equal#
Explicit context
fun equal (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left = right without deciding its truth.
Calling forms
Expression method: UniffiExpression.equal
fun equal ( other: UniffiExpression) : UniffiExpression
equation#
Explicit context
fun equation (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build an immutable equation value without deciding its truth.
Calling forms
Expression method: UniffiExpression.equation
fun equation ( other: UniffiExpression) : UniffiExpression
exp#
Explicit context
fun exp ( argument: UniffiExpression) : UniffiExpression
The natural exponential.
Calling forms
Expression method: UniffiExpression.exp
fun exp ( ) : UniffiExpression
factorial#
Explicit context
fun factorial ( argument: UniffiExpression) : UniffiExpression
Factorial of x, evaluated exactly on nonnegative integers.
floor#
Explicit context
fun floor ( argument: UniffiExpression) : UniffiExpression
Greatest integer less than or equal to x.
greater_than#
Explicit context
fun greaterThan (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left > right without deciding its truth.
Calling forms
Expression method: UniffiExpression.greaterThan
fun greaterThan ( other: UniffiExpression) : UniffiExpression
greater_than_or_equal#
Explicit context
fun greaterThanOrEqual (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left >= right without deciding its truth.
Calling forms
Expression method: UniffiExpression.greaterThanOrEqual
fun greaterThanOrEqual ( other: UniffiExpression) : UniffiExpression
less_than#
Explicit context
fun lessThan (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left < right without deciding its truth.
Calling forms
Expression method: UniffiExpression.lessThan
fun lessThan ( other: UniffiExpression) : UniffiExpression
less_than_or_equal#
Explicit context
fun lessThanOrEqual (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left <= right without deciding its truth.
Calling forms
Expression method: UniffiExpression.lessThanOrEqual
fun lessThanOrEqual ( other: UniffiExpression) : UniffiExpression
log#
Explicit context
fun log (
argument: UniffiExpression,
base: UniffiExpression? ,
) : UniffiExpression
Natural logarithm; with base given, log(x)/log(base).
max#
Explicit context
fun max ( arguments: List< UniffiExpression> ) : UniffiExpression
Maximum of the arguments (variadic in Python; a JS array in WASM).
min#
Explicit context
fun min ( arguments: List< UniffiExpression> ) : UniffiExpression
Minimum of the arguments (variadic in Python; a JS array in WASM).
not_equal#
Explicit context
fun notEqual (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
Build the relation left != right without deciding its truth.
Calling forms
Expression method: UniffiExpression.notEqual
fun notEqual ( other: UniffiExpression) : UniffiExpression
root#
Explicit context
fun root (
radicand: UniffiExpression,
index: UniffiExpression,
) : UniffiExpression
Principal n-th root, stored as x^(1/n).
sec#
Explicit context
fun sec ( argument: UniffiExpression) : UniffiExpression
Secant of x, the reciprocal of the cosine.
sech#
Explicit context
fun sech ( argument: UniffiExpression) : UniffiExpression
Hyperbolic secant of x, the reciprocal of the hyperbolic cosine.
sin#
Explicit context
fun sin ( argument: UniffiExpression) : UniffiExpression
Sine of x.
Calling forms
Expression method: UniffiExpression.sin
fun sin ( ) : UniffiExpression
sinh#
Explicit context
fun sinh ( argument: UniffiExpression) : UniffiExpression
Hyperbolic sine of x.
sqrt#
Explicit context
fun sqrt ( argument: UniffiExpression) : UniffiExpression
Principal square root, stored as x^(1/2).
Calling forms
Expression method: UniffiExpression.sqrt
fun sqrt ( ) : UniffiExpression
tan#
Explicit context
fun tan ( argument: UniffiExpression) : UniffiExpression
Tangent of x.
tanh#
Explicit context
fun tanh ( argument: UniffiExpression) : UniffiExpression
Hyperbolic tangent of x.
Explicit context
fun transformEquation (
left: UniffiExpression,
right: UniffiExpression,
operation: UniffiEquationOperation,
) : UniffiEquationTransformation
Apply one arithmetic operation to an equation, reporting how the result relates to it.
AffineSystemFamily.direction_vectors#
UniffiAffineSystemFamily method
fun directionVectors ( ) : List< UniffiAffineSystemDirection>
Getter on affine_system_family: an independent basis of the homogeneous solution space, whose size is the dimension of the family.
AffineSystemFamily.particular_solution#
UniffiAffineSystemFamily method
fun particularSolution ( ) : List< UniffiExpression>
Getter on affine_system_family: one exact solution of the system, aligned with variables.
ConditionalSystemBranch.condition#
UniffiConditionalSystemBranch method
fun condition ( ) : UniffiExpression
Getter on conditional_system_branch: the exact condition selecting this branch.
ConditionalSystemBranch.solution#
UniffiConditionalSystemBranch method
fun solution ( ) : UniffiPolynomialSystemSolution
Getter on conditional_system_branch: the complete result established under condition.
CriticalPoint.classification#
UniffiCriticalPoint method
fun classification ( ) : UniffiExtremumClassification
The verdict string of a critical point: "local_minimum", "local_maximum", "saddle_point", or "inconclusive".
CriticalPoint.multiplier_values#
UniffiCriticalPoint method
fun multiplierValues ( ) : List< UniffiExpression>
The solved values of those multipliers, in the same order as multiplier_variables.
CriticalPoint.multiplier_variables#
UniffiCriticalPoint method
fun multiplierVariables ( ) : List< kotlin. String>
The names of the introduced Lagrange / KKT multipliers at a constrained critical point (empty for the unconstrained case).
CriticalPoint.values#
UniffiCriticalPoint method
fun values ( ) : List< UniffiExpression>
Getter on system_assignment: the assigned value expressions, aligned with variables.
CriticalPoint.variables#
UniffiCriticalPoint method
fun variables ( ) : List< kotlin. String>
Getter on system_assignment: the unknown names, in order.
EquationGuardedBranch.certified_set#
UniffiEquationGuardedBranch method
fun certifiedSet ( ) : UniffiExpression
The exact solution set certified by this report or guarded branch.
EquationGuardedBranch.guard#
UniffiEquationGuardedBranch method
fun guard ( ) : UniffiExpression
The exact parameter condition selecting this guarded branch.
EquationSolveReport.certified_set#
UniffiEquationSolveReport method
fun certifiedSet ( ) : UniffiExpression
The exact solution set certified by this report or guarded branch.
EquationSolveReport.complete#
UniffiEquationSolveReport method
fun complete ( ) : kotlin. Boolean
Whether exact replay proved that the certified result is exhaustive.
EquationSolveReport.diagnostics#
UniffiEquationSolveReport method
fun diagnostics ( ) : List< UniffiSolveReportDiagnostic>
Non-impossibility reasons that prevented a stronger report.
EquationSolveReport.guarded_branches#
UniffiEquationSolveReport method
fun guardedBranches ( ) : List< UniffiEquationGuardedBranch>
The exact guarded strata carried by this report.
EquationSolveReport.proof_summary#
UniffiEquationSolveReport method
fun proofSummary ( ) : UniffiSolveProofSummary
The root checked proof rule, without exposing the internal proof graph.
EquationSolveReport.real_root_count_certificate#
UniffiEquationSolveReport method
fun realRootCountCertificate ( ) : kotlin. ULong?
Exact real-root count when this complete report established a finite real root set.
EquationSolveReport.requested_domain#
UniffiEquationSolveReport method
fun requestedDomain ( ) : UniffiSolveRequestedDomain
The ambient domain in which the report was checked.
EquationSolveReport.status#
UniffiEquationSolveReport method
fun status ( ) : UniffiSolveReportStatus
The checked report status: complete, partial, or declined.
EquationSolveReport.unique_root_intervals#
UniffiEquationSolveReport method
fun uniqueRootIntervals ( ) : List< UniffiExpression>
Exact singleton intervals for named roots whose real-root count was certified.
EquationSolveReport.unresolved_condition#
UniffiEquationSolveReport method
fun unresolvedCondition ( ) : UniffiExpression?
The retained source-condition residue, absent only after an exhaustive proof.
FirstOrderNonlinearParametricSolution.coordinate#
UniffiFirstOrderNonlinearParametricSolution method
fun coordinate ( ) : UniffiExpression
The independent coordinate as a function of the parameter.
FirstOrderNonlinearParametricSolution.generated_constants#
UniffiFirstOrderNonlinearParametricSolution method
fun generatedConstants ( ) : List< UniffiExpression>
The integration constants of this parameterized branch.
FirstOrderNonlinearParametricSolution.parameter#
UniffiFirstOrderNonlinearParametricSolution method
fun parameter ( ) : UniffiExpression
The exact parameter symbol for this parameterized branch.
FirstOrderNonlinearParametricSolution.value#
UniffiFirstOrderNonlinearParametricSolution method
fun value ( ) : UniffiExpression
The dependent value as a function of the parameter.
FirstOrderNonlinearSolutionAnalysis.parametric_solutions#
UniffiFirstOrderNonlinearSolutionAnalysis method
fun parametricSolutions ( ) : List< UniffiFirstOrderNonlinearParametricSolution>
Every certified parameterized branch.
FirstOrderNonlinearSolutionAnalysis.regular_family#
UniffiFirstOrderNonlinearSolutionAnalysis method
fun regularFamily ( ) : UniffiFirstOrderNonlinearSolutionBranch?
The certified regular one-parameter family, when one was proved.
FirstOrderNonlinearSolutionAnalysis.singular_solutions#
UniffiFirstOrderNonlinearSolutionAnalysis method
fun singularSolutions ( ) : List< UniffiFirstOrderNonlinearSolutionBranch>
Every certified singular or equilibrium branch outside the regular family.
FirstOrderNonlinearSolutionBranch.expression#
UniffiFirstOrderNonlinearSolutionBranch method
fun expression ( ) : UniffiExpression
The branch value or its implicit residual relation.
UniffiFirstOrderNonlinearSolutionBranch method
fun form ( ) : UniffiOrdinaryDifferentialEquationSolutionForm
Whether this branch gives a value or an implicit relation read as zero.
FirstOrderNonlinearSolutionBranch.generated_constants#
UniffiFirstOrderNonlinearSolutionBranch method
fun generatedConstants ( ) : List< UniffiExpression>
The free constants generated for this branch.
LinearDifferentialOperator.coefficients#
UniffiLinearDifferentialOperator method
fun coefficients ( ) : List< UniffiExpression>
Coefficients in ascending derivative order.
LinearDifferentialOperator.forcing#
UniffiLinearDifferentialOperator method
fun forcing ( ) : UniffiExpression
The forcing in L[y] = forcing.
LinearDifferentialOperator.order#
UniffiLinearDifferentialOperator method
fun order ( ) : kotlin. ULong
The order of this differential operator.
LinearDifferentialOperator.restrictions#
UniffiLinearDifferentialOperator method
fun restrictions ( ) : List< UniffiExpression>
Denominators required to remain nonzero on the operator chart.
OptimizationOutcome.complete#
UniffiOptimizationOutcome method
fun complete ( ) : kotlin. Boolean
Getter on polynomial_system_solution: whether the solver certified it found every solution.
OptimizationOutcome.points#
UniffiOptimizationOutcome method
fun points ( ) : List< UniffiCriticalPoint>
The list of critical_point objects in an optimization_outcome (WASM).
OptimizationOutcome.verdict#
UniffiOptimizationOutcome method
fun verdict ( ) : UniffiOptimizationVerdict
The optimization result classification.
OrdinaryDifferentialEquationPointSymmetry.horizontal_component#
UniffiOrdinaryDifferentialEquationPointSymmetry method
fun horizontalComponent ( ) : UniffiExpression
The horizontal component of the verified infinitesimal generator.
OrdinaryDifferentialEquationPointSymmetry.vertical_component#
UniffiOrdinaryDifferentialEquationPointSymmetry method
fun verticalComponent ( ) : UniffiExpression
The vertical component of the verified infinitesimal generator.
OrdinaryDifferentialEquationPointSymmetrySearch.decline#
UniffiOrdinaryDifferentialEquationPointSymmetrySearch method
fun decline ( ) : UniffiOrdinaryDifferentialEquationPointSymmetrySearchDecline?
The typed reason no symmetry was proved, when the bounded search declined.
OrdinaryDifferentialEquationPointSymmetrySearch.symmetries#
UniffiOrdinaryDifferentialEquationPointSymmetrySearch method
fun symmetries ( ) : List< UniffiOrdinaryDifferentialEquationPointSymmetry>
Every independently verified generator found within the fixed search budget.
OrdinaryDifferentialEquationSeries.expansion_point#
UniffiOrdinaryDifferentialEquationSeries method
fun expansionPoint ( ) : UniffiExpression
The expansion point.
OrdinaryDifferentialEquationSeries.initial_coefficients#
UniffiOrdinaryDifferentialEquationSeries method
fun initialCoefficients ( ) : List< UniffiExpression>
Normalized Taylor coefficients from the supplied initial derivative jet.
OrdinaryDifferentialEquationSeries.operator#
UniffiOrdinaryDifferentialEquationSeries method
fun operator ( ) : UniffiLinearDifferentialOperator
The normalized operator defining this local problem.
OrdinaryDifferentialEquationSeries.proof_status#
UniffiOrdinaryDifferentialEquationSeries method
fun proofStatus ( ) : UniffiOrdinaryDifferentialEquationSeriesProofStatus
The exact proof status of this series.
OrdinaryDifferentialEquationSeries.recurrence#
UniffiOrdinaryDifferentialEquationSeries method
fun recurrence ( ) : UniffiOrdinaryDifferentialEquationSeriesRecurrence
The all-index recurrence proved by formal coefficient comparison.
OrdinaryDifferentialEquationSeriesRecurrence.forcing_coefficients#
UniffiOrdinaryDifferentialEquationSeriesRecurrence method
fun forcingCoefficients ( ) : List< UniffiExpression>
Shifted forcing coefficients.
OrdinaryDifferentialEquationSeriesRecurrence.index_start#
UniffiOrdinaryDifferentialEquationSeriesRecurrence method
fun indexStart ( ) : kotlin. ULong
The first nonnegative recurrence index.
OrdinaryDifferentialEquationSeriesRecurrence.operator_coefficient_series#
UniffiOrdinaryDifferentialEquationSeriesRecurrence method
fun operatorCoefficientSeries ( ) : List< UniffiExpression>
Concatenated shifted coefficient series in derivative-order sequence.
OrdinaryDifferentialEquationSeriesRecurrence.operator_coefficient_series_lengths#
UniffiOrdinaryDifferentialEquationSeriesRecurrence method
fun operatorCoefficientSeriesLengths ( ) : List< kotlin. ULong>
The length of each derivative-order coefficient series in the concatenation.
OrdinaryDifferentialEquationSeriesRecurrence.order#
UniffiOrdinaryDifferentialEquationSeriesRecurrence method
fun order ( ) : kotlin. ULong
The order of the operator defining this recurrence.
OrdinaryDifferentialEquationSolveResult.decline#
UniffiOrdinaryDifferentialEquationSolveResult method
fun decline ( ) : UniffiOrdinaryDifferentialEquationSolveDecline?
The typed reason no certified candidate was produced.
UniffiOrdinaryDifferentialEquationSolveResult method
fun form ( ) : UniffiOrdinaryDifferentialEquationSolutionForm?
Whether the solution is the value of the unknown or a relation read as zero.
OrdinaryDifferentialEquationSolveResult.frequency_domain_equation#
UniffiOrdinaryDifferentialEquationSolveResult method
fun frequencyDomainEquation ( ) : UniffiExpression?
The frequency-domain equation of a Laplace transform solution, read as zero.
OrdinaryDifferentialEquationSolveResult.generality#
UniffiOrdinaryDifferentialEquationSolveResult method
fun generality ( ) : UniffiOrdinaryDifferentialEquationGeneralityVerdict?
The rank decision behind a complete-family claim, when the request required one.
OrdinaryDifferentialEquationSolveResult.generated_constants#
UniffiOrdinaryDifferentialEquationSolveResult method
fun generatedConstants ( ) : List< UniffiExpression>
Exactly the constants the solution treats as free.
OrdinaryDifferentialEquationSolveResult.image#
UniffiOrdinaryDifferentialEquationSolveResult method
fun image ( ) : UniffiExpression?
The image of the unknown a Laplace transform solution solved for.
OrdinaryDifferentialEquationSolveResult.method#
UniffiOrdinaryDifferentialEquationSolveResult method
fun method ( ) : UniffiOrdinaryDifferentialEquationMethod
The method the request actually ran.
OrdinaryDifferentialEquationSolveResult.solution#
UniffiOrdinaryDifferentialEquationSolveResult method
fun solution ( ) : UniffiExpression?
The certified solution, which no declined request carries.
OrdinaryDifferentialEquationSolveResult.verdict#
UniffiOrdinaryDifferentialEquationSolveResult method
fun verdict ( ) : UniffiOrdinaryDifferentialEquationSolveVerdict
Whether the request was solved or declined.
OrdinaryDifferentialEquationSolveResult.verification#
UniffiOrdinaryDifferentialEquationSolveResult method
fun verification ( ) : UniffiOrdinaryDifferentialEquationVerificationVerdict?
The independent verifier's decision on the candidate, when verification ran.
OrdinaryDifferentialEquationSystemSolveResult.components#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun components ( ) : List< UniffiExpression>
One explicit value per declared unknown, in declaration order, when solved.
OrdinaryDifferentialEquationSystemSolveResult.decline#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun decline ( ) : UniffiOrdinaryDifferentialEquationSystemSolveDecline?
The typed reason no certified assignment was produced.
OrdinaryDifferentialEquationSystemSolveResult.generality#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun generality ( ) : UniffiOrdinaryDifferentialEquationGeneralityVerdict?
The rank decision on the constants-to-initial-jet map, when verification ran.
OrdinaryDifferentialEquationSystemSolveResult.generated_constants#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun generatedConstants ( ) : List< UniffiExpression>
Exactly the constants the assignment treats as free.
OrdinaryDifferentialEquationSystemSolveResult.method#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun method ( ) : UniffiOrdinaryDifferentialEquationSystemMethod
The method the system request actually ran.
OrdinaryDifferentialEquationSystemSolveResult.route#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun route ( ) : UniffiOrdinaryDifferentialEquationSystemRoute?
The route the certified assignment came from.
OrdinaryDifferentialEquationSystemSolveResult.verdict#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun verdict ( ) : UniffiOrdinaryDifferentialEquationSolveVerdict
Whether the system was solved or declined.
OrdinaryDifferentialEquationSystemSolveResult.verification#
UniffiOrdinaryDifferentialEquationSystemSolveResult method
fun verification ( ) : UniffiOrdinaryDifferentialEquationVerificationVerdict?
The independent verifier's decision on the assignment, when verification ran.
OrdinaryDifferentialEquationSystemVerificationReport.generality#
UniffiOrdinaryDifferentialEquationSystemVerificationReport method
fun generality ( ) : UniffiOrdinaryDifferentialEquationGeneralityVerdict
The rank decision on the map from the supplied constants to the initial jet.
OrdinaryDifferentialEquationSystemVerificationReport.required_rank#
UniffiOrdinaryDifferentialEquationSystemVerificationReport method
fun requiredRank ( ) : kotlin. ULong
The dimension a complete family of the system must span.
OrdinaryDifferentialEquationSystemVerificationReport.verdict#
UniffiOrdinaryDifferentialEquationSystemVerificationReport method
fun verdict ( ) : UniffiOrdinaryDifferentialEquationVerificationVerdict
The decision on every equation residual and every datum of the supplied assignment.
PartialDifferentialEquationArbitraryFunction.arity#
UniffiPartialDifferentialEquationArbitraryFunction method
fun arity ( ) : kotlin. ULong
The recorded and validated function arity.
PartialDifferentialEquationArbitraryFunction.name#
UniffiPartialDifferentialEquationArbitraryFunction method
fun name ( ) : kotlin. String
The collision-free allocated function name.
PartialDifferentialEquationArbitraryFunction.summary#
UniffiPartialDifferentialEquationArbitraryFunction method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationCanonicalizationResult.canonicalized#
UniffiPartialDifferentialEquationCanonicalizationResult method
fun canonicalized ( ) : kotlin. Boolean
Whether verified canonical coordinates were constructed.
PartialDifferentialEquationCanonicalizationResult.decline#
UniffiPartialDifferentialEquationCanonicalizationResult method
fun decline ( ) : UniffiPartialDifferentialEquationCanonicalizationDecline?
The exact reason automatic canonicalization declined.
UniffiPartialDifferentialEquationCanonicalizationResult method
fun principalForm ( ) : UniffiPartialDifferentialEquationCanonicalPrincipalForm?
The exact canonical principal form that was reached.
PartialDifferentialEquationCanonicalizationResult.summary#
UniffiPartialDifferentialEquationCanonicalizationResult method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
UniffiPartialDifferentialEquationCanonicalizationResult method
fun transformation ( ) : UniffiPartialDifferentialEquationTransformationResult?
The verified coordinate transformation of a successful canonicalization.
UniffiPartialDifferentialEquationCanonicalizationResult method
fun transformationDecline ( ) : UniffiPartialDifferentialEquationTransformationDecline?
The underlying coordinate-transformation decline, when one caused the decline.
PartialDifferentialEquationClassification.coefficient_data#
UniffiPartialDifferentialEquationClassification method
fun coefficientData ( ) : UniffiPartialDifferentialEquationCoefficientData
The exact affine coefficient data extracted from the governing residual.
PartialDifferentialEquationClassification.linearity#
UniffiPartialDifferentialEquationClassification method
fun linearity ( ) : UniffiPartialDifferentialEquationLinearity
The most-specific exact linearity class.
PartialDifferentialEquationClassification.method_candidates#
UniffiPartialDifferentialEquationClassification method
fun methodCandidates ( ) : List< UniffiPartialDifferentialEquationMethodCandidate>
The advisory methods in deterministic preference order.
PartialDifferentialEquationClassification.order#
UniffiPartialDifferentialEquationClassification method
fun order ( ) : kotlin. ULong
The exact highest derivative order.
PartialDifferentialEquationClassification.second_order_principal_part#
UniffiPartialDifferentialEquationClassification method
fun secondOrderPrincipalPart ( ) : UniffiPartialDifferentialEquationPrincipalPart?
The exact second-order principal metadata, when the equation has one.
PartialDifferentialEquationClassification.summary#
UniffiPartialDifferentialEquationClassification method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationCoefficientData.full_coefficients#
UniffiPartialDifferentialEquationCoefficientData method
fun fullCoefficients ( ) : List< UniffiPartialDifferentialEquationJetCoefficient> ?
Every jet coefficient, when the equation is exactly linear.
PartialDifferentialEquationCoefficientData.highest_order_coefficients#
UniffiPartialDifferentialEquationCoefficientData method
fun highestOrderCoefficients ( ) : List< UniffiPartialDifferentialEquationJetCoefficient> ?
The highest-order jet coefficients, when the equation is affine in them.
PartialDifferentialEquationCoefficientData.homogeneous#
UniffiPartialDifferentialEquationCoefficientData method
fun homogeneous ( ) : kotlin. Boolean?
Whether the equation was proved homogeneous, when that statement is meaningful.
PartialDifferentialEquationCoefficientData.remainder#
UniffiPartialDifferentialEquationCoefficientData method
fun remainder ( ) : UniffiExpression?
The exact jet-free remainder term, when one was extracted.
PartialDifferentialEquationCoefficientData.summary#
UniffiPartialDifferentialEquationCoefficientData method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationCoordinateChange.forward_coordinates#
UniffiPartialDifferentialEquationCoordinateChange method
fun forwardCoordinates ( ) : List< UniffiExpression>
The ordered source-to-target coordinate expressions.
PartialDifferentialEquationCoordinateChange.inverse_coordinates#
UniffiPartialDifferentialEquationCoordinateChange method
fun inverseCoordinates ( ) : List< UniffiExpression>
The ordered target-to-source coordinate expressions.
PartialDifferentialEquationCoordinateChange.jacobian#
UniffiPartialDifferentialEquationCoordinateChange method
fun jacobian ( ) : UniffiExpression
The exact forward-map Jacobian determinant.
PartialDifferentialEquationCoordinateChange.serialize_object#
UniffiPartialDifferentialEquationCoordinateChange method
fun serializeObject ( ) : kotlin. String
Serialize this coordinate change in the versioned canonical object grammar.
PartialDifferentialEquationCoordinateChange.source_variables#
UniffiPartialDifferentialEquationCoordinateChange method
fun sourceVariables ( ) : List< kotlin. String>
The ordered source coordinate names.
PartialDifferentialEquationCoordinateChange.summary#
UniffiPartialDifferentialEquationCoordinateChange method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationCoordinateChange.target_dependent_function#
UniffiPartialDifferentialEquationCoordinateChange method
fun targetDependentFunction ( ) : kotlin. String
The target unknown-function name.
PartialDifferentialEquationCoordinateChange.target_variables#
UniffiPartialDifferentialEquationCoordinateChange method
fun targetVariables ( ) : List< kotlin. String>
The ordered target coordinate names.
PartialDifferentialEquationJetCoefficient.coefficient#
UniffiPartialDifferentialEquationJetCoefficient method
fun coefficient ( ) : UniffiExpression
The exact coefficient expression.
PartialDifferentialEquationJetCoefficient.summary#
UniffiPartialDifferentialEquationJetCoefficient method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationMethodCandidate.method#
UniffiPartialDifferentialEquationMethodCandidate method
fun method ( ) : UniffiPartialDifferentialEquationMethod
The stable advisory method name.
PartialDifferentialEquationMethodCandidate.proof_obligations#
UniffiPartialDifferentialEquationMethodCandidate method
fun proofObligations ( ) : List< UniffiPartialDifferentialEquationProofObligation>
The exact obligations this method must discharge before it may solve.
PartialDifferentialEquationMethodCandidate.summary#
UniffiPartialDifferentialEquationMethodCandidate method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationPointSymmetryAction.admits_additive_solution_symmetry#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun admitsAdditiveSolutionSymmetry ( ) : kotlin. Boolean
Whether the action adds an arbitrary solution by linear superposition.
PartialDifferentialEquationPointSymmetryAction.amplitude#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun amplitude ( ) : UniffiExpression?
The amplitude multiplying the transformed seed.
PartialDifferentialEquationPointSymmetryAction.applied_to_seed#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun appliedToSeed ( seed: UniffiUndefinedFunction) : UniffiExpression
The transformed seed solution under the action.
PartialDifferentialEquationPointSymmetryAction.applied_to_seed_with_additive_solution#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun appliedToSeedWithAdditiveSolution (
seed: UniffiUndefinedFunction,
additiveSolution: UniffiUndefinedFunction,
) : UniffiExpression
The transformed seed solution plus an added solution under the action.
PartialDifferentialEquationPointSymmetryAction.decline#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun decline ( ) : UniffiPartialDifferentialEquationSymmetryActionDecline?
The typed reason the action was not constructed.
PartialDifferentialEquationPointSymmetryAction.intertwining#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun intertwining ( ) : UniffiPartialDifferentialEquationVerificationVerdict?
The exact decision on the intertwining identity.
PartialDifferentialEquationPointSymmetryAction.invertibility#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun invertibility ( ) : UniffiPartialDifferentialEquationVerificationVerdict?
The exact decision that the coordinate map is invertible on its chart.
PartialDifferentialEquationPointSymmetryAction.multiplier#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun multiplier ( ) : UniffiExpression?
The multiplier of the intertwining identity.
PartialDifferentialEquationPointSymmetryAction.outstanding_obligations#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun outstandingObligations ( ) : List< UniffiPartialDifferentialEquationSymmetryObligation>
The claims the action explicitly does not make.
PartialDifferentialEquationPointSymmetryAction.parameters#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun parameters ( ) : List< UniffiExpression>
The group parameters the closed forms depend on.
PartialDifferentialEquationPointSymmetryAction.point_symmetry_decline#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun pointSymmetryDecline ( ) : UniffiPartialDifferentialEquationPointSymmetryDecline?
The reason the underlying point-symmetry algebra was not derived, when it was not.
PartialDifferentialEquationPointSymmetryAction.summary#
UniffiPartialDifferentialEquationPointSymmetryAction method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
UniffiPartialDifferentialEquationPointSymmetryAction method
fun transformedCoordinates ( ) : List< UniffiExpression>
The coordinates at which a seed solution is evaluated.
PartialDifferentialEquationPointSymmetryAlgebra.admits_additive_solution_symmetry#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun admitsAdditiveSolutionSymmetry ( ) : kotlin. Boolean
Whether adding any solution of the linear homogeneous equation is also a symmetry.
PartialDifferentialEquationPointSymmetryAlgebra.basis#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun basis ( ) : List< UniffiPartialDifferentialEquationPointSymmetryGenerator>
The independently verified basis generators, one per parameter.
PartialDifferentialEquationPointSymmetryAlgebra.decline#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun decline ( ) : UniffiPartialDifferentialEquationPointSymmetryDecline?
The typed reason the algebra was not derived.
PartialDifferentialEquationPointSymmetryAlgebra.determining_equations#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun determiningEquations ( ) : List< UniffiExpression>
The determining equations exactly as derived, before any reduction.
PartialDifferentialEquationPointSymmetryAlgebra.general_generator#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun generalGenerator ( ) : UniffiPartialDifferentialEquationPointSymmetryGenerator?
The general generator, a combination of the basis through the parameters.
PartialDifferentialEquationPointSymmetryAlgebra.outstanding_obligations#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun outstandingObligations ( ) : List< UniffiPartialDifferentialEquationSymmetryObligation>
The claims the algebra explicitly does not make.
PartialDifferentialEquationPointSymmetryAlgebra.parameters#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun parameters ( ) : List< UniffiExpression>
The constants of the general generator, one per basis generator.
PartialDifferentialEquationPointSymmetryAlgebra.summary#
UniffiPartialDifferentialEquationPointSymmetryAlgebra method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationPointSymmetryGenerator.coordinate_infinitesimals#
UniffiPartialDifferentialEquationPointSymmetryGenerator method
fun coordinateInfinitesimals ( ) : List< UniffiExpression>
The coordinate infinitesimals in the problem's independent-variable order.
PartialDifferentialEquationPointSymmetryGenerator.dependent_infinitesimal#
UniffiPartialDifferentialEquationPointSymmetryGenerator method
fun dependentInfinitesimal ( ) : UniffiExpression
The dependent infinitesimal of the generator.
PartialDifferentialEquationPointSymmetryGenerator.summary#
UniffiPartialDifferentialEquationPointSymmetryGenerator method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationPrincipalCoefficient.coefficient#
UniffiPartialDifferentialEquationPrincipalCoefficient method
fun coefficient ( ) : UniffiExpression
The raw coefficient expression, before mixed terms are halved.
PartialDifferentialEquationPrincipalCoefficient.summary#
UniffiPartialDifferentialEquationPrincipalCoefficient method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationPrincipalPart.derivative_coefficients#
UniffiPartialDifferentialEquationPrincipalPart method
fun derivativeCoefficients ( ) : List< UniffiPartialDifferentialEquationPrincipalCoefficient>
The raw mixed-derivative coefficients, before symmetrization halves them.
PartialDifferentialEquationPrincipalPart.matrix#
UniffiPartialDifferentialEquationPrincipalPart method
fun matrix ( ) : UniffiMatrix
The symmetric principal matrix whose quadratic form is the exact principal symbol.
PartialDifferentialEquationPrincipalPart.summary#
UniffiPartialDifferentialEquationPrincipalPart method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationProblem.boundary_conditions#
UniffiPartialDifferentialEquationProblem method
fun boundaryConditions ( ) : List< UniffiExpression>
The boundary-condition residuals in insertion order.
PartialDifferentialEquationProblem.dependent_function#
UniffiPartialDifferentialEquationProblem method
fun dependentFunction ( ) : kotlin. String
The declared dependent-function name.
PartialDifferentialEquationProblem.equation#
UniffiPartialDifferentialEquationProblem method
fun equation ( ) : UniffiExpression
The governing residual, interpreted as equal to zero.
PartialDifferentialEquationProblem.independent_variables#
UniffiPartialDifferentialEquationProblem method
fun independentVariables ( ) : List< kotlin. String>
The independent variables in their semantic declared order.
PartialDifferentialEquationProblem.initial_conditions#
UniffiPartialDifferentialEquationProblem method
fun initialConditions ( ) : List< UniffiExpression>
The initial-condition residuals in insertion order.
PartialDifferentialEquationProblem.serialize_object#
UniffiPartialDifferentialEquationProblem method
fun serializeObject ( ) : kotlin. String
Serialize this problem in the versioned canonical object grammar.
PartialDifferentialEquationProblem.to_latex#
UniffiPartialDifferentialEquationProblem method
fun toLatex ( ) : kotlin. String
Render this problem as LaTeX, as a system when it carries conditions.
PartialDifferentialEquationSecondOrderClassification.cases#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun cases ( ) : List< UniffiPartialDifferentialEquationSecondOrderTypeCase>
The complete exact case table, when the verdict is conditional.
PartialDifferentialEquationSecondOrderClassification.decline#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun decline ( ) : UniffiPartialDifferentialEquationSecondOrderClassificationDecline?
The exact reason an unknown analysis could not be completed.
PartialDifferentialEquationSecondOrderClassification.discriminant#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun discriminant ( ) : UniffiExpression
The exact discriminant b^2 - a*c of the symmetric principal matrix.
PartialDifferentialEquationSecondOrderClassification.equation_type#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun equationType ( ) : UniffiPartialDifferentialEquationSecondOrderType?
The single proved classical type, when the verdict is definite.
PartialDifferentialEquationSecondOrderClassification.principal_matrix#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun principalMatrix ( ) : UniffiMatrix
The frozen symmetric principal matrix this analysis classified.
PartialDifferentialEquationSecondOrderClassification.proof_obligations#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun proofObligations ( ) : List< UniffiPartialDifferentialEquationProofObligation>
The obligations a downstream canonical-coordinate route must discharge.
PartialDifferentialEquationSecondOrderClassification.summary#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSecondOrderClassification.verdict#
UniffiPartialDifferentialEquationSecondOrderClassification method
fun verdict ( ) : UniffiPartialDifferentialEquationSecondOrderTypeVerdict
Whether one type, a complete case table, or neither was proved.
PartialDifferentialEquationSecondOrderTypeCase.condition#
UniffiPartialDifferentialEquationSecondOrderTypeCase method
fun condition ( ) : UniffiAssumptionProposition
The exact condition under which this case's classical type holds.
PartialDifferentialEquationSecondOrderTypeCase.equation_type#
UniffiPartialDifferentialEquationSecondOrderTypeCase method
fun equationType ( ) : UniffiPartialDifferentialEquationSecondOrderType
The classical type proved under this case's condition.
PartialDifferentialEquationSecondOrderTypeCase.summary#
UniffiPartialDifferentialEquationSecondOrderTypeCase method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSeparatedEquation.independent_variable_name#
UniffiPartialDifferentialEquationSeparatedEquation method
fun independentVariableName ( ) : kotlin. String
The name of this equation's independent variable.
PartialDifferentialEquationSeparatedEquation.residual#
UniffiPartialDifferentialEquationSeparatedEquation method
fun residual ( ) : UniffiExpression
The exact residual of this one-variable ordinary differential equation.
PartialDifferentialEquationSeparatedEquation.summary#
UniffiPartialDifferentialEquationSeparatedEquation method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSeparationResult.first_equation#
UniffiPartialDifferentialEquationSeparationResult method
fun firstEquation ( ) : UniffiPartialDifferentialEquationSeparatedEquation
The first exact one-variable ordinary differential equation.
PartialDifferentialEquationSeparationResult.reconstruction#
UniffiPartialDifferentialEquationSeparationResult method
fun reconstruction ( ) : UniffiExpression
The exact reconstruction expression for the separated factors.
PartialDifferentialEquationSeparationResult.second_equation#
UniffiPartialDifferentialEquationSeparationResult method
fun secondEquation ( ) : UniffiPartialDifferentialEquationSeparatedEquation
The second exact one-variable ordinary differential equation.
PartialDifferentialEquationSeparationResult.separation_constant#
UniffiPartialDifferentialEquationSeparationResult method
fun separationConstant ( ) : UniffiExpression
The fresh exact separation constant.
PartialDifferentialEquationSeparationResult.summary#
UniffiPartialDifferentialEquationSeparationResult method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSeparationResult.verification#
UniffiPartialDifferentialEquationSeparationResult method
fun verification ( ) : UniffiPartialDifferentialEquationVerificationVerdict
The aggregate verdict of the independently replayed separation certificate.
PartialDifferentialEquationSimilaritySolution.decline#
UniffiPartialDifferentialEquationSimilaritySolution method
fun decline ( ) : UniffiPartialDifferentialEquationSimilarityReductionDecline?
The typed reason no similarity family was produced.
PartialDifferentialEquationSimilaritySolution.invariant#
UniffiPartialDifferentialEquationSimilaritySolution method
fun invariant ( ) : UniffiExpression?
The invariant of the generator's base field.
PartialDifferentialEquationSimilaritySolution.lifted_constants#
UniffiPartialDifferentialEquationSimilaritySolution method
fun liftedConstants ( ) : List< UniffiExpression>
The constants the lifted family is parameterized by.
PartialDifferentialEquationSimilaritySolution.lifted_family#
UniffiPartialDifferentialEquationSimilaritySolution method
fun liftedFamily ( ) : UniffiPartialDifferentialEquationSolutionFamily?
The invariant solutions of the original equation.
PartialDifferentialEquationSimilaritySolution.lifted_family_verification#
UniffiPartialDifferentialEquationSimilaritySolution method
fun liftedFamilyVerification ( ) : UniffiPartialDifferentialEquationVerificationVerdict?
The exact decision that the lifted family solves the original equation.
PartialDifferentialEquationSimilaritySolution.multiplier#
UniffiPartialDifferentialEquationSimilaritySolution method
fun multiplier ( ) : UniffiExpression?
The multiplier of the reduction identity.
PartialDifferentialEquationSimilaritySolution.outstanding_obligations#
UniffiPartialDifferentialEquationSimilaritySolution method
fun outstandingObligations ( ) : List< UniffiPartialDifferentialEquationSymmetryObligation>
The claims the family explicitly does not make.
PartialDifferentialEquationSimilaritySolution.reduced_equation#
UniffiPartialDifferentialEquationSimilaritySolution method
fun reducedEquation ( ) : UniffiExpression?
The reduced ordinary differential equation for the profile, read as zero.
PartialDifferentialEquationSimilaritySolution.similarity_variable#
UniffiPartialDifferentialEquationSimilaritySolution method
fun similarityVariable ( ) : UniffiExpression?
The coordinate of the reduced equation, standing for the invariant.
PartialDifferentialEquationSimilaritySolution.summary#
UniffiPartialDifferentialEquationSimilaritySolution method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSimilaritySolution.weight#
UniffiPartialDifferentialEquationSimilaritySolution method
fun weight ( ) : UniffiExpression?
The weight of invariant solutions.
PartialDifferentialEquationSolutionFamily.arbitrary_functions#
UniffiPartialDifferentialEquationSolutionFamily method
fun arbitraryFunctions ( ) : List< UniffiPartialDifferentialEquationArbitraryFunction>
The functions that stay arbitrary and opaque throughout verification.
PartialDifferentialEquationSolutionFamily.establishes_completeness#
UniffiPartialDifferentialEquationSolutionFamily method
fun establishesCompleteness ( ) : kotlin. Boolean
Whether the family carries a completeness theorem whose every identity was proved.
UniffiPartialDifferentialEquationSolutionFamily method
fun form ( ) : UniffiPartialDifferentialEquationSolutionForm
Whether this candidate is an explicit value or an implicit residual.
PartialDifferentialEquationSolutionFamily.proof_obligations#
UniffiPartialDifferentialEquationSolutionFamily method
fun proofObligations ( ) : List< UniffiPartialDifferentialEquationProofObligation>
The obligations recorded against this candidate family.
PartialDifferentialEquationSolutionFamily.summary#
UniffiPartialDifferentialEquationSolutionFamily method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSolutionProvenance.discharged_obligations#
UniffiPartialDifferentialEquationSolutionProvenance method
fun dischargedObligations ( ) : List< UniffiPartialDifferentialEquationProofObligation>
The obligations discharged by exact query before the solution was returned.
PartialDifferentialEquationSolutionProvenance.linearity#
UniffiPartialDifferentialEquationSolutionProvenance method
fun linearity ( ) : UniffiPartialDifferentialEquationLinearity
The exact linearity class recorded at the time the candidate was produced.
PartialDifferentialEquationSolutionProvenance.method#
UniffiPartialDifferentialEquationSolutionProvenance method
fun method ( ) : UniffiPartialDifferentialEquationMethod
The method identity this solution was produced by.
PartialDifferentialEquationSolutionProvenance.order#
UniffiPartialDifferentialEquationSolutionProvenance method
fun order ( ) : kotlin. ULong
The exact order recorded at the time the candidate was produced.
PartialDifferentialEquationSolutionProvenance.summary#
UniffiPartialDifferentialEquationSolutionProvenance method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSolveResult.classification#
UniffiPartialDifferentialEquationSolveResult method
fun classification ( ) : UniffiPartialDifferentialEquationClassification?
The exact classification the dispatcher established, when it reached one.
PartialDifferentialEquationSolveResult.decline#
UniffiPartialDifferentialEquationSolveResult method
fun decline ( ) : UniffiPartialDifferentialEquationSolveDecline?
The stable decline reason, when no solution was produced.
PartialDifferentialEquationSolveResult.method#
UniffiPartialDifferentialEquationSolveResult method
fun method ( ) : UniffiPartialDifferentialEquationMethod?
The method that produced a solution, when one did.
PartialDifferentialEquationSolveResult.provenance#
UniffiPartialDifferentialEquationSolveResult method
fun provenance ( ) : UniffiPartialDifferentialEquationSolutionProvenance?
The mathematical provenance a verified solution carries.
PartialDifferentialEquationSolveResult.solution#
UniffiPartialDifferentialEquationSolveResult method
fun solution ( ) : UniffiPartialDifferentialEquationSolutionFamily?
The verified solution family, which no declined route may carry.
PartialDifferentialEquationSolveResult.summary#
UniffiPartialDifferentialEquationSolveResult method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationSolveResult.verdict#
UniffiPartialDifferentialEquationSolveResult method
fun verdict ( ) : UniffiPartialDifferentialEquationSolveVerdict
Whether the dispatcher solved or honestly declined.
PartialDifferentialEquationSolveResult.verification#
UniffiPartialDifferentialEquationSolveResult method
fun verification ( ) : UniffiPartialDifferentialEquationVerificationReport?
The independent verification report a solved result must carry.
UniffiPartialDifferentialEquationTransformationResult method
fun coordinateChange ( ) : UniffiPartialDifferentialEquationCoordinateChange?
The validated coordinate change of a successful transformation.
UniffiPartialDifferentialEquationTransformationResult method
fun decline ( ) : UniffiPartialDifferentialEquationTransformationDecline?
The exact reason no transformation was produced.
UniffiPartialDifferentialEquationTransformationResult method
fun normalizationMultiplier ( ) : UniffiExpression?
The proved-nonzero residual-normalization multiplier.
UniffiPartialDifferentialEquationTransformationResult method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
UniffiPartialDifferentialEquationTransformationResult method
fun targetProblem ( ) : UniffiPartialDifferentialEquationProblem?
The transformed PDE problem stated in the target coordinates.
UniffiPartialDifferentialEquationTransformationResult method
fun transformed ( ) : kotlin. Boolean
Whether a verified transformation was produced.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun claimedGoverningResidual ( ) : UniffiExpression
The governing residual the transformation claimed.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun compositionResiduals ( ) : List< UniffiExpression>
Every forward and inverse map-composition residual.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun jacobian ( ) : UniffiExpression
The independently recomputed forward-map Jacobian.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun principalCongruenceResiduals ( ) : List< UniffiExpression>
The exact principal-matrix congruence residuals.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun transformedGoverningResidual ( ) : UniffiExpression
The independently transformed source governing residual.
UniffiPartialDifferentialEquationTransformationVerificationReport method
fun verdict ( ) : UniffiPartialDifferentialEquationVerificationVerdict
The aggregate exact verification verdict.
PartialDifferentialEquationVerificationReport.boundary_condition_residuals#
UniffiPartialDifferentialEquationVerificationReport method
fun boundaryConditionResiduals ( ) : List< UniffiPartialDifferentialEquationVerificationResidual>
One reduced residual per boundary condition, in insertion order.
PartialDifferentialEquationVerificationReport.explicit_branch#
UniffiPartialDifferentialEquationVerificationReport method
fun explicitBranch ( ) : UniffiExpression?
The isolated explicit branch checked for an implicit candidate.
PartialDifferentialEquationVerificationReport.governing_residual#
UniffiPartialDifferentialEquationVerificationReport method
fun governingResidual ( ) : UniffiPartialDifferentialEquationVerificationResidual
Independently reduced governing-equation evidence.
PartialDifferentialEquationVerificationReport.inconclusive_reason#
UniffiPartialDifferentialEquationVerificationReport method
fun inconclusiveReason ( ) : UniffiPartialDifferentialEquationVerificationInconclusiveReason?
The deterministic reason verification could not reach a proof.
PartialDifferentialEquationVerificationReport.initial_condition_residuals#
UniffiPartialDifferentialEquationVerificationReport method
fun initialConditionResiduals ( ) : List< UniffiPartialDifferentialEquationVerificationResidual>
One reduced residual per initial condition, in insertion order.
PartialDifferentialEquationVerificationReport.proof_obligations#
UniffiPartialDifferentialEquationVerificationReport method
fun proofObligations ( ) : List< UniffiPartialDifferentialEquationProofObligation>
The obligations consulted or left unresolved by this verification.
PartialDifferentialEquationVerificationReport.summary#
UniffiPartialDifferentialEquationVerificationReport method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationVerificationReport.verdict#
UniffiPartialDifferentialEquationVerificationReport method
fun verdict ( ) : UniffiPartialDifferentialEquationVerificationVerdict
The aggregate exact verification verdict.
PartialDifferentialEquationVerificationResidual.residual#
UniffiPartialDifferentialEquationVerificationResidual method
fun residual ( ) : UniffiExpression
The independently reduced residual expression.
PartialDifferentialEquationVerificationResidual.summary#
UniffiPartialDifferentialEquationVerificationResidual method
fun summary ( ) : kotlin. String
A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.
PartialDifferentialEquationVerificationResidual.verdict#
UniffiPartialDifferentialEquationVerificationResidual method
fun verdict ( ) : UniffiPartialDifferentialEquationVerificationVerdict
The exact verdict proved about this one residual.
PolynomialSystemSolution.affine_families#
UniffiPolynomialSystemSolution method
fun affineFamilies ( ) : List< UniffiAffineSystemFamily>
Getter on polynomial_system_solution: the complete affine families, empty unless the verdict is "affine".
PolynomialSystemSolution.complete#
UniffiPolynomialSystemSolution method
fun complete ( ) : kotlin. Boolean
Getter on polynomial_system_solution: whether the solver certified it found every solution.
PolynomialSystemSolution.conditional_branches#
UniffiPolynomialSystemSolution method
fun conditionalBranches ( ) : List< UniffiConditionalSystemBranch>
Getter on polynomial_system_solution: the exhaustive guarded branches, empty unless the verdict is "conditional".
PolynomialSystemSolution.parametric_components#
UniffiPolynomialSystemSolution method
fun parametricComponents ( ) : List< UniffiSystemParametricComponent>
Getter on polynomial_system_solution: the certified explicit charts, empty unless the verdict is "parametric_components".
PolynomialSystemSolution.solutions#
UniffiPolynomialSystemSolution method
fun solutions ( ) : List< UniffiSystemAssignment>
Getter on polynomial_system_solution: the array of system_assignment tuples (empty for the non-finite verdicts).
PolynomialSystemSolution.verdict#
UniffiPolynomialSystemSolution method
fun verdict ( ) : UniffiSystemVerdict
Getter on polynomial_system_solution: the verdict string, one of "finite", "empty", "affine", "conditional", "positive_dimensional", or "declined".
SystemAssignment.values#
UniffiSystemAssignment method
fun values ( ) : List< UniffiExpression>
Getter on system_assignment: the assigned value expressions, aligned with variables.
Calling forms and variants
Variant for this object — UniffiAffineSystemDirection method: UniffiAffineSystemDirection.values
fun values ( ) : List< UniffiExpression>
SystemAssignment.variables#
UniffiSystemAssignment method
fun variables ( ) : List< kotlin. String>
Getter on system_assignment: the unknown names, in order.
Calling forms and variants
Variant for this object — UniffiAffineSystemDirection method: UniffiAffineSystemDirection.variables
fun variables ( ) : List< kotlin. String>
Variant for this object — UniffiAffineSystemFamily method: UniffiAffineSystemFamily.variables
fun variables ( ) : List< kotlin. String>
SystemParametricComponent.assignments#
UniffiSystemParametricComponent method
fun assignments ( ) : UniffiSystemAssignment
Getter on system_parametric_component: the exact solved-variable assignments.
SystemParametricComponent.certificate_summary#
UniffiSystemParametricComponent method
fun certificateSummary ( ) : kotlin. String
Getter on system_parametric_component: a concise exact construction certificate.
SystemParametricComponent.parameter_guard#
UniffiSystemParametricComponent method
fun parameterGuard ( ) : UniffiExpression
Getter on system_parametric_component: the parameter-space guard of this chart.
SystemParametricComponent.parameters#
UniffiSystemParametricComponent method
fun parameters ( ) : List< kotlin. String>
Getter on system_parametric_component: the fresh independent parameter names.
SystemParametricComponent.source_conditions#
UniffiSystemParametricComponent method
fun sourceConditions ( ) : List< UniffiExpression>
Getter on system_parametric_component: source definedness conditions retained by this chart.
SystemSolveReport.certified_solution#
UniffiSystemSolveReport method
fun certifiedSolution ( ) : UniffiPolynomialSystemSolution
The assignments or families checked against the original system.
SystemSolveReport.complete#
UniffiSystemSolveReport method
fun complete ( ) : kotlin. Boolean
Whether exact replay proved that the certified result is exhaustive.
SystemSolveReport.diagnostics#
UniffiSystemSolveReport method
fun diagnostics ( ) : List< UniffiSolveReportDiagnostic>
Non-impossibility reasons that prevented a stronger report.
SystemSolveReport.guarded_branches#
UniffiSystemSolveReport method
fun guardedBranches ( ) : List< UniffiConditionalSystemBranch>
The exact guarded strata carried by this report.
SystemSolveReport.proof_summary#
UniffiSystemSolveReport method
fun proofSummary ( ) : UniffiSolveProofSummary
The root checked proof rule, without exposing the internal proof graph.
SystemSolveReport.requested_domain#
UniffiSystemSolveReport method
fun requestedDomain ( ) : UniffiSolveRequestedDomain
The ambient domain in which the report was checked.
SystemSolveReport.status#
UniffiSystemSolveReport method
fun status ( ) : UniffiSolveReportStatus
The checked report status: complete, partial, or declined.
SystemSolveReport.unresolved_equations#
UniffiSystemSolveReport method
fun unresolvedEquations ( ) : List< UniffiExpression>
The retained original equations when a system report is not complete.
UndefinedFunction.call#
UniffiUndefinedFunction method
fun call ( arguments: List< UniffiExpression> ) : UniffiExpression
WASM spelling of the Python f(x, …) call syntax on undefined_function.
UndefinedFunction.derivative#
UniffiUndefinedFunction method
fun derivative (
orders: List< kotlin. ULong> ,
arguments: List< UniffiExpression> ,
) : UniffiExpression
Constructs the structural derivative of this named function, one order per argument: y.derivative([1], [x]) is y'(x). This is the shape the differential-equation classifiers recognise, not a deferred derivative of an arbitrary expression.
analyze_first_order_nonlinear_equation#
Explicit context
fun analyzeFirstOrderNonlinearEquation (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
) : UniffiFirstOrderNonlinearSolutionAnalysis?
Classify a nonlinear first-order equation into every separately certified branch.
canonicalize_partial_differential_equation#
Explicit context
fun canonicalizePartialDifferentialEquation ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationCanonicalizationResult
Construct and independently verify exact canonical coordinates for a supported PDE.
change_partial_differential_equation_variables#
Explicit context
fun changePartialDifferentialEquationVariables (
problem: UniffiPartialDifferentialEquationProblem,
targetVariables: List< kotlin. String> ,
forwardCoordinates: List< UniffiExpression> ? ,
inverseCoordinates: List< UniffiExpression> ? ,
targetDependentFunction: UniffiUndefinedFunction? ,
) : UniffiPartialDifferentialEquationTransformationResult
Transform a two-variable PDE through an exact user-supplied change of variables.
classify_partial_differential_equation#
Explicit context
fun classifyPartialDifferentialEquation ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationClassification
Classify a validated scalar partial differential equation with exact structural analysis.
classify_second_order_partial_differential_equation#
Explicit context
fun classifySecondOrderPartialDifferentialEquation ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationSecondOrderClassification
Classify a two-variable linear second-order PDE over real coordinates.
classify_unconstrained#
Explicit context
fun classifyUnconstrained (
objective: UniffiExpression,
variables: List< kotlin. String> ,
pointVariables: List< kotlin. String> ,
pointValues: List< UniffiExpression> ,
) : UniffiExtremumClassification
Classify one given interior point — supplied as the parallel point_variables / point_values lists — by Hessian definiteness, returning the verdict string.
clear_function_declarations#
Explicit context
fun clearFunctionDeclarations ( function: UniffiUndefinedFunction) : Unit
Withdraw everything declared about an undefined function.
compare_real_roots#
Explicit context
fun compareRealRoots (
firstExpression: UniffiExpression,
firstVariable: kotlin. String,
firstIndex: kotlin. ULong,
secondExpression: UniffiExpression,
secondVariable: kotlin. String,
secondIndex: kotlin. ULong,
) : kotlin. Long?
Compare two real algebraic numbers exactly, each given as the index-th smallest real root of a univariate polynomial over the rationals. Returns -1, 0, or 1 according to whether the first is less than, equal to, or greater than the second — a total order decided exactly (for example compare_real_roots of 2 \sqrt{2} 2 and 3 3 \sqrt[3]{3} 3 3 returns -1).
construct_partial_differential_equation_point_symmetry_action#
Explicit context
fun constructPartialDifferentialEquationPointSymmetryAction ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationPointSymmetryAction
Integrate and compose the point-symmetry algebra of a PDE into its connected local action.
count_distinct_real_roots#
Explicit context
fun countDistinctRealRoots (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : kotlin. ULong?
Number of distinct real roots over all of R \mathbb{R} R .
declare_bijection#
Explicit context
fun declareBijection (
function: UniffiUndefinedFunction,
source: UniffiExpression,
target: UniffiExpression,
) : Unit
Declare an undefined function a bijection from a source set onto a target set.
declare_bijection_with_inverse#
Explicit context
fun declareBijectionWithInverse (
function: UniffiUndefinedFunction,
source: UniffiExpression,
target: UniffiExpression,
inverse: UniffiUndefinedFunction,
) : Unit
Declare an undefined function a bijection from a source set onto a target set, with a named inverse.
derive_partial_differential_equation_point_symmetries#
Explicit context
fun derivePartialDifferentialEquationPointSymmetries ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationPointSymmetryAlgebra
Derive the point-symmetry algebra of a scalar PDE, each basis generator independently verified.
discover_partial_differential_equation#
Explicit context
fun discoverPartialDifferentialEquation (
equation: UniffiExpression,
initialConditions: List< UniffiExpression> ,
boundaryConditions: List< UniffiExpression> ,
) : UniffiPartialDifferentialEquationProblem
Discover the unique scalar partial differential equation signature from one governing residual, in the default context.
eliminate_quantifiers#
Explicit context
fun eliminateQuantifiers (
matrix: UniffiExpression,
quantifiers: List< UniffiQuantifier> ,
variables: List< kotlin. String> ,
) : UniffiExpression
context.eliminate_quantifiers(matrix, quantifiers: list[str], variables: list[VariableLike])
explicit_partial_differential_equation_solution#
Explicit context
fun explicitPartialDifferentialEquationSolution ( solution: UniffiExpression) : UniffiPartialDifferentialEquationSolutionFamily
Create an explicit partial differential equation solution family in the default context.
find_ordinary_differential_equation_symmetries#
Explicit context
fun findOrdinaryDifferentialEquationSymmetries (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
) : UniffiOrdinaryDifferentialEquationPointSymmetrySearch
Find every first-order point symmetry proved within the fixed deterministic search budget.
global_optimum_on_semialgebraic#
Explicit context
fun globalOptimumOnSemialgebraic (
objective: UniffiExpression,
constraints: UniffiExpression,
variables: List< kotlin. String> ,
direction: UniffiOptimizationDirection,
) : UniffiOptimizationOutcome
context.global_optimum_on_semialgebraic(objective, constraints, variables: list[VariableLike], direction: str)
implicit_partial_differential_equation_solution#
Explicit context
fun implicitPartialDifferentialEquationSolution ( residual: UniffiExpression) : UniffiPartialDifferentialEquationSolutionFamily
Create an implicit partial differential equation solution family in the default context.
karush_kuhn_tucker_points#
Explicit context
fun karushKuhnTuckerPoints (
objective: UniffiExpression,
inequalityConstraints: List< UniffiExpression> ,
equalityConstraints: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : UniffiOptimizationOutcome
The Karush–Kuhn–Tucker points found by active-set enumeration. Each inequality is read as inequality ≤ 0 \operatorname{inequality} \le 0 inequality ≤ 0 and each equality as equality = 0.
lagrange_critical_points#
Explicit context
fun lagrangeCriticalPoints (
objective: UniffiExpression,
constraints: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : UniffiOptimizationOutcome
The equality-constrained critical points via Lagrange multipliers: stationarity of L = f + ∑ i λ i g i L = f + \sum_i \lambda_i g_i L = f + ∑ i λ i g i together with each constraint = 0, classified by the bordered Hessian. The solved multiplier values appear in each point's multipliers.
linear_differential_operator#
Explicit context
fun linearDifferentialOperator (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
) : UniffiLinearDifferentialOperator?
Extract a rational-coefficient scalar linear differential operator from an ODE residual.
minimal_polynomial_of#
Explicit context
fun minimalPolynomialOf (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression?
Return an exact polynomial in the requested variable for a first-class polynomial-root atom. Its dense primitive integer coefficients are independent of the source variable, coefficient scale, and current isolation precision.
ordinary_differential_equation_series#
Explicit context
fun ordinaryDifferentialEquationSeries (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
expansionPoint: UniffiExpression,
initialDerivatives: List< UniffiExpression> ,
) : UniffiOrdinaryDifferentialEquationSeries?
Derive an exact formal Taylor series from an ordinary-point initial-value problem.
partial_differential_equation#
Explicit context
fun partialDifferentialEquation (
equation: UniffiExpression,
dependentFunction: UniffiUndefinedFunction,
independentVariables: List< kotlin. String> ,
initialConditions: List< UniffiExpression> ,
boundaryConditions: List< UniffiExpression> ,
) : UniffiPartialDifferentialEquationProblem
Construct a validated scalar partial differential equation in the default context, with an explicit dependent function and independent-variable order.
partial_differential_equation_arbitrary_function#
Explicit context
fun partialDifferentialEquationArbitraryFunction (
preferredName: kotlin. String,
arity: kotlin. ULong,
) : UniffiPartialDifferentialEquationArbitraryFunction
Allocate a collision-free arbitrary function for a PDE candidate family.
partial_differential_equation_point_symmetry_generator#
Explicit context
fun partialDifferentialEquationPointSymmetryGenerator (
problem: UniffiPartialDifferentialEquationProblem,
coordinateInfinitesimals: List< UniffiExpression> ,
dependentInfinitesimal: UniffiExpression,
) : UniffiPartialDifferentialEquationPointSymmetryGenerator
Construct a candidate point-symmetry generator of a PDE from its infinitesimals.
polynomial_root#
Explicit context
fun polynomialRoot (
inputExpression: UniffiExpression,
variable: kotlin. String,
index: kotlin. ULong,
) : UniffiExpression?
Construct the zero-based index-th exact root of a univariate rational polynomial. Roots use canonical mathematical order: increasing real roots first, then non-real roots ordered by exact real part and exact imaginary part; indexing counts multiplicity. Coefficient scale and the variable name do not affect the resulting atom. Invalid, constant, non-rational, out-of-range, or uncertifiable inputs return None.
real_root_count#
Explicit context
fun realRootCount (
inputExpression: UniffiExpression,
variable: kotlin. String,
lower: kotlin. Long,
upper: kotlin. Long,
) : kotlin. ULong?
Number of distinct real roots of a univariate polynomial in the interval (lower, upper] via Sturm sequences. None when the expression is not a univariate polynomial over the rationals.
real_root_sign#
Explicit context
fun realRootSign (
inputExpression: UniffiExpression,
variable: kotlin. String,
index: kotlin. ULong,
) : kotlin. Long?
The exact sign (-1, 0, or 1) of the index-th smallest real root of a univariate polynomial over the rationals, decided exactly through the real algebraic number layer rather than by numeric evaluation. None when the expression is not a univariate polynomial over the rationals or index is out of range.
reduce_ordinary_differential_equation_by_symmetry#
Explicit context
fun reduceOrdinaryDifferentialEquationBySymmetry (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
symmetry: UniffiOrdinaryDifferentialEquationPointSymmetry,
) : UniffiFirstOrderNonlinearSolutionBranch?
Reduce an equation through a symmetry previously verified by this session.
roots_with_multiplicities#
Explicit context
fun rootsWithMultiplicities (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : List< UniffiRootMultiplicity>
Roots of a polynomial with their multiplicities. Notes: Python returns a dict keyed by root; WASM returns an array of root_multiplicity objects.
Calling forms
Expression method: UniffiExpression.rootsWithMultiplicities
fun rootsWithMultiplicities ( variable: kotlin. String) : List< UniffiRootMultiplicity>
separate_partial_differential_equation#
Explicit context
fun separatePartialDifferentialEquation ( problem: UniffiPartialDifferentialEquationProblem) : UniffiPartialDifferentialEquationSeparationResult
Separate a supported PDE and return its independently verified one-variable equations.
solve#
Explicit context
fun solve (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : List< UniffiExpression>
Solve an equation (an equal node, or an expression implicitly equated to zero) for variable, returning a list of solutions. Solutions outside the solver's reach are simply absent — prefer solveset when you need an honest "unsolved" residue.
Calling forms
Expression method: UniffiExpression.solve
fun solve ( variable: kotlin. String) : List< UniffiExpression>
solve_detailed#
Explicit context
fun solveDetailed (
equation: UniffiExpression,
variable: kotlin. String,
options: UniffiEquationSolveOptions,
) : UniffiEquationSolveReport
Solve an equation with certified roots, an exact unresolved residue, and proof metadata.
solve_linear_recurrence#
Explicit context
fun solveLinearRecurrence (
equation: UniffiExpression,
sequenceCall: UniffiExpression,
indexVariable: kotlin. String,
initialConditions: List< UniffiExpressionExpressionTuple> ? ,
) : UniffiExpression
Solve a linear recurrence with polynomial coefficients for the unknown sequence named by sequence_call (e.g. a(n)), via Petkovšek's Hyper algorithm. The general solution carries one fresh symbolic constant per basis element; initial_conditions is a list of (index, value) pairs fitted by back-substitution. Constant-coefficient polynomial-exponential forcing and coefficients rational in n and c^n are also solved; other shapes return the unevaluated recurrence_equation placeholder. WASM passes a flat interleaved array.
solve_ordinary_differential_equation#
Explicit context
fun solveOrdinaryDifferentialEquation (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
initialConditions: List< UniffiExpressionExpressionTuple> ? ,
) : UniffiExpression
Solve an ODE for the unknown function named by dependent_function_call (e.g. y(x)).
solve_ordinary_differential_equation_request#
Explicit context
fun solveOrdinaryDifferentialEquationRequest (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
scope: UniffiDifferentialEquationSolutionScope,
conditionResiduals: List< UniffiExpression> ,
method: UniffiOrdinaryDifferentialEquationMethod,
regularity: UniffiOrdinaryDifferentialEquationRegularity,
) : UniffiOrdinaryDifferentialEquationSolveResult
Solve one scalar ODE request with its data, method, scope, and regularity, keeping the evidence behind the answer.
solve_ordinary_differential_equation_system_request#
Explicit context
fun solveOrdinaryDifferentialEquationSystemRequest (
equations: List< UniffiExpression> ,
dependentFunctionCalls: List< UniffiExpression> ,
independentVariable: kotlin. String,
conditionResiduals: List< UniffiExpression> ,
method: UniffiOrdinaryDifferentialEquationSystemMethod,
) : UniffiOrdinaryDifferentialEquationSystemSolveResult
Solve a system of ODEs in one coordinate through the requested route, keeping the evidence behind the assignment.
solve_ordinary_differential_equation_with_history#
Explicit context
fun solveOrdinaryDifferentialEquationWithHistory (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
historyValue: UniffiExpression,
historyStart: UniffiExpression,
historyEnd: UniffiExpression,
) : UniffiOrdinaryDifferentialEquationSolveResult
Solve a retarded delay ODE from a constant history stated on an explicit interval.
solve_ordinary_differential_equation_with_particular_solution#
Explicit context
fun solveOrdinaryDifferentialEquationWithParticularSolution (
equation: UniffiExpression,
dependentFunctionCall: UniffiExpression,
independentVariable: kotlin. String,
particularSolution: UniffiExpression,
) : UniffiExpression
Riccati-specific entry: with a known particular solution y 1 y_1 y 1 , the substitution y = y 1 + 1 / v y = y_1 + 1/v y = y 1 + 1/ v reduces the Riccati equation to a linear first-order ODE. Falls back to the unevaluated placeholder when the shape is not Riccati.
solve_partial_differential_equation#
Explicit context
fun solvePartialDifferentialEquation (
problem: UniffiPartialDifferentialEquationProblem,
method: UniffiPartialDifferentialEquationMethod,
) : UniffiPartialDifferentialEquationSolveResult
Run the sound partial differential equation dispatcher under a stable method name.
solve_partial_differential_equation_by_similarity_reduction#
Explicit context
fun solvePartialDifferentialEquationBySimilarityReduction (
problem: UniffiPartialDifferentialEquationProblem,
generator: UniffiPartialDifferentialEquationPointSymmetryGenerator,
) : UniffiPartialDifferentialEquationSimilaritySolution
Reduce a two-variable PDE by a point symmetry, solve the reduction, and lift its family.
solve_partial_differential_equation_request#
Explicit context
fun solvePartialDifferentialEquationRequest (
problem: UniffiPartialDifferentialEquationProblem,
scope: UniffiDifferentialEquationSolutionScope,
geometricDomain: UniffiPartialDifferentialEquationGeometricDomain,
regularity: UniffiPartialDifferentialEquationRegularity,
solutionClass: UniffiPartialDifferentialEquationSolutionClass,
method: UniffiPartialDifferentialEquationMethod,
) : UniffiPartialDifferentialEquationSolveResult
Solve a PDE request whose scope, geometry, regularity, and solution class are part of the question.
Explicit context
fun solvePartialDifferentialEquationWithTransformAxisSpecifications (
problem: UniffiPartialDifferentialEquationProblem,
method: UniffiPartialDifferentialEquationMethod,
transformAxisSpecifications: List< kotlin. String> ,
) : UniffiPartialDifferentialEquationSolveResult
Solve a PDE with ordered explicit transform-axis specifications.
solve_polynomial_system#
Explicit context
fun solvePolynomialSystem (
equations: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : UniffiPolynomialSystemSolution
Solve a multivariate polynomial system { equation_i = 0 } for the named unknowns. Every other free symbol is a parameter carried symbolically in the coefficient ring. The solver is sound and honestly incomplete: every returned tuple has been back-substituted into every equation and reduced to a provable zero, and the verdict never overstates completeness.
solve_semialgebraic#
Explicit context
fun solveSemialgebraic (
matrix: UniffiExpression,
variables: List< kotlin. String> ,
) : UniffiExpression
context.solve_semialgebraic(matrix, variables: list[VariableLike])
solve_system_detailed#
Explicit context
fun solveSystemDetailed (
equations: List< UniffiExpression> ,
variables: List< kotlin. String> ,
options: UniffiEquationSolveOptions,
) : UniffiSystemSolveReport
Solve a polynomial system with certified assignments, unresolved equations, and proof metadata.
solveset#
Explicit context
fun solveset (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Solution set of the equation or inequality: a finite set, interval, union, image set (periodic families), or condition set (the honest "unsolved" residue).
Calling forms
Expression method: UniffiExpression.solveset
fun solveset ( variable: kotlin. String) : UniffiExpression
solveset_in_domain#
Explicit context
fun solvesetInDomain (
inputExpression: UniffiExpression,
variable: kotlin. String,
domain: UniffiExpression,
) : UniffiExpression
solveset restricted to an explicit domain set (e.g. real_line(), integer_set(), an interval).
unconstrained_critical_points#
Explicit context
fun unconstrainedCriticalPoints (
objective: UniffiExpression,
variables: List< kotlin. String> ,
) : UniffiOptimizationOutcome
The critical points of objective as the solutions of ∇ f = 0 \nabla f = 0 ∇ f = 0 , each classified by the definiteness of the Hessian (Sylvester's criterion on the leading principal minors).
undefined_function#
Explicit context
fun undefinedFunction ( name: kotlin. String) : UniffiUndefinedFunction
A callable proxy for a user-named function. Calling it with expression arguments builds the function-call expression (see the object-model page and the worked ODE example).
verify_ordinary_differential_equation_system_solution#
Explicit context
fun verifyOrdinaryDifferentialEquationSystemSolution (
equations: List< UniffiExpression> ,
dependentFunctionCalls: List< UniffiExpression> ,
independentVariable: kotlin. String,
components: List< UniffiExpression> ,
generatedConstants: List< UniffiExpression> ,
conditionResiduals: List< UniffiExpression> ,
) : UniffiOrdinaryDifferentialEquationSystemVerificationReport
Verify a supplied assignment for a system of ODEs without solving it again.
Explicit context
fun verifyPartialDifferentialEquationCoordinateTransformation (
problem: UniffiPartialDifferentialEquationProblem,
transformation: UniffiPartialDifferentialEquationTransformationResult,
) : UniffiPartialDifferentialEquationTransformationVerificationReport
Independently verify an exact PDE coordinate transformation.
verify_partial_differential_equation_solution#
Explicit context
fun verifyPartialDifferentialEquationSolution (
problem: UniffiPartialDifferentialEquationProblem,
solution: UniffiPartialDifferentialEquationSolutionFamily,
) : UniffiPartialDifferentialEquationVerificationReport
Independently verify a partial differential equation candidate with exact residual reasoning.
add#
Expression method
fun add ( other: UniffiExpression) : UniffiExpression
Entrywise sum of two matrices of the same shape.
cancel#
Explicit context
fun cancel ( target: UniffiExpression) : UniffiExpression
Rational normal form: write as a single fraction and divide out the polynomial GCD of numerator and denominator.
Calling forms
Expression method: UniffiExpression.cancel
fun cancel ( ) : UniffiExpression
collect#
Explicit context
fun collect (
inputExpression: UniffiExpression,
generator: UniffiExpression,
) : UniffiExpression
Regroup the additive terms of expression by the numeric (integer or rational) powers of a single generator, which may be a variable or an arbitrary subexpression, writing the result as a sum of generator^k coefficient(k) terms without expanding the coefficients. For example, collecting ax^2 + bx^2 + ax - bx + c by x yields x^2(a + b) + x(a - b) + c.
Calling forms
Expression method: UniffiExpression.collect
fun collect ( generator: UniffiExpression) : UniffiExpression
collect_radicals#
Explicit context
fun collectRadicals ( inputExpression: UniffiExpression) : UniffiExpression
Collect like numeric radical kernels in a top-level sum. For example, a*sqrt(2) + b*sqrt(2) + 3 becomes (a + b)*sqrt(2) + 3.
Calling forms
Expression method: UniffiExpression.collectRadicals
fun collectRadicals ( ) : UniffiExpression
combine_logarithm#
Explicit context
fun combineLogarithm ( inputExpression: UniffiExpression) : UniffiExpression
log a + log b → log ( a b ) \log a + \log b \rightarrow \log(a b) log a + log b → log ( ab ) and n log a → log ( a n ) n\log a \rightarrow \log(a^n) n log a → log ( a n ) when the transformation preserves the expression's domain.
Calling forms
Expression method: UniffiExpression.combineLogarithm
fun combineLogarithm ( ) : UniffiExpression
combine_powers#
Explicit context
fun combinePowers ( inputExpression: UniffiExpression) : UniffiExpression
Combine same-exponent powers into a single power of the merged base (x^a y^a -> (xy)^a) at every product node where the rewrite is provably valid. This identity is false across the branch cut of the complex logarithm — at x = y = -1 and a = 1/2 the left side is ii = -1 while the right side is sqrt(1) = 1 — so it fires only when the exponent is provably an integer or when every combined base is provably positive. Positivity of the merged base is not enough: (-2)^x (-3)^x is left alone, because at x = 1/2 combining it to 6^x would flip the sign of the result. Positive numeric-literal bases need no assumptions at all, so 2^x 3^x becomes 6^x and (1/2)^x 3^x becomes (3/2)^x.
Calling forms
Expression method: UniffiExpression.combinePowers
fun combinePowers ( ) : UniffiExpression
combine_trigonometric#
Explicit context
fun combineTrigonometric ( target: UniffiExpression) : UniffiExpression
Inverse direction of expand_trigonometric: product-to-sum and angle-recombination rules.
Calling forms
Expression method: UniffiExpression.combineTrigonometric
fun combineTrigonometric ( ) : UniffiExpression
complete_the_square#
Explicit context
fun completeTheSquare (
inputExpression: UniffiExpression,
variable: UniffiExpression,
) : UniffiExpression
Rewrite an expression that is quadratic in variable into the exact vertex form a*(variable - h)^2 + k, with h = -b/(2*a) and k = c - b^2/(4*a) built from the degree-2, degree-1 and degree-0 coefficients a, b, c of the expression collected in variable.
Calling forms
Expression method: UniffiExpression.completeTheSquare
fun completeTheSquare ( variable: UniffiExpression) : UniffiExpression
denest_powers#
Explicit context
fun denestPowers ( inputExpression: UniffiExpression) : UniffiExpression
Flatten a power of a power into a single power ((x^a)^b -> x^(a*b)) at every power node whose outer exponent is provably an integer, which is valid on the principal branch because an integer power never routes through log.
Calling forms
Expression method: UniffiExpression.denestPowers
fun denestPowers ( ) : UniffiExpression
denest_radicals#
Explicit context
fun denestRadicals ( inputExpression: UniffiExpression) : UniffiExpression
Denest the bounded depth-two real-radical subset bottom-up: rational quadratic surds, up to three inner quadratic surds, and cbrt(a + b*sqrt(c)) when its exact resolvent has a rational root. For example, sqrt(3 + 2*sqrt(2)) becomes 1 + sqrt(2) and cbrt(2 + sqrt(5)) becomes (1 + sqrt(5))/2.
Calling forms
Expression method: UniffiExpression.denestRadicals
fun denestRadicals ( ) : UniffiExpression
denominator#
Explicit context
fun denominator ( target: UniffiExpression) : UniffiExpression
Returns the structural denominator from numerator_denominator.
Calling forms
Expression method: UniffiExpression.denominator
fun denominator ( ) : UniffiExpression
divide#
Expression method
fun divide ( other: UniffiExpression) : UniffiExpression
Quotient of this expression and other.
duplicate#
Expression method
fun duplicate ( ) : UniffiExpression
An independent handle to the same underlying expression. The recommended JavaScript facade duplicates values before passing them through ownership-transferring raw WASM arrays, so ordinary facade calls are non-destructive. Callers using facade.raw directly must still duplicate a handle they intend to retain. Python arguments are borrowed.
equals#
Expression method
fun equals ( other: UniffiExpression) : kotlin. Boolean
Mathematical equality test: simplify ( self − other ) = 0 \operatorname{simplify}(\operatorname{self} - \operatorname{other}) = 0 simplify ( self − other ) = 0 .
expand#
Explicit context
fun expand ( target: UniffiExpression) : UniffiExpression
Expand products, integer powers, and supported algebraic forms.
Calling forms
Expression method: UniffiExpression.expand
fun expand ( ) : UniffiExpression
expand_complex#
Explicit context
fun expandComplex ( inputExpression: UniffiExpression) : UniffiExpression
Decompose an expression exactly as real_part(expression) + i*imaginary_part(expression).
Calling forms
Expression method: UniffiExpression.expandComplex
fun expandComplex ( ) : UniffiExpression
expand_logarithm#
Explicit context
fun expandLogarithm ( inputExpression: UniffiExpression) : UniffiExpression
log ( a b ) → log a + log b \log(a b) \rightarrow \log a + \log b log ( ab ) → log a + log b and log ( a n ) → n log a \log(a^n) \rightarrow n\log a log ( a n ) → n log a , applied only where the operands are provably positive. Operands of unknown sign pass through unchanged.
Calling forms
Expression method: UniffiExpression.expandLogarithm
fun expandLogarithm ( ) : UniffiExpression
expand_power_base#
Explicit context
fun expandPowerBase ( inputExpression: UniffiExpression) : UniffiExpression
Split a power whose base is structurally a product into a product of powers ((xy)^a -> x^a y^a) at every power node whose exponent is provably an integer — the only unconditionally valid gate for this direction, since the split introduces x^a and y^a individually and each needs its own base off the cut. With n declared an integer, (xy)^n becomes x^n y^n.
Calling forms
Expression method: UniffiExpression.expandPowerBase
fun expandPowerBase ( ) : UniffiExpression
expand_trigonometric#
Explicit context
fun expandTrigonometric ( target: UniffiExpression) : UniffiExpression
Expand trig/hyperbolic functions of sums and multiple angles.
Calling forms
Expression method: UniffiExpression.expandTrigonometric
fun expandTrigonometric ( ) : UniffiExpression
expression_type#
Expression method
fun expressionType ( ) : kotlin. String
Top-level node kind: one of integer, rational, symbol, constant, sum, product, power, factorial, function_call, derivative, integral, summation, laplace_transform, inverse_laplace_transform, fourier_transform, inverse_fourier_transform, piecewise, ordinary_differential_equation, recurrence_equation, interval, finite_set, set_union, set_intersection, set_complement, image_set, condition_set.
factor#
Explicit context
fun factor ( target: UniffiExpression) : UniffiExpression
Polynomial factorization over the rationals (full multivariate).
Calling forms
Expression method: UniffiExpression.factor
fun factor ( ) : UniffiExpression
factor_common_terms#
Explicit context
fun factorCommonTerms ( inputExpression: UniffiExpression) : UniffiExpression
Pull the greatest common monomial and exact rational content out of the terms of a general — not necessarily polynomial — sum, producing a single product of a common factor and a reduced sum, without invoking full polynomial factorization. For example, 6*x*y + 9*x^2*sin(z) becomes 3*x*(2*y + 3*x*sin(z)).
Calling forms
Expression method: UniffiExpression.factorCommonTerms
fun factorCommonTerms ( ) : UniffiExpression
free_variables#
Expression method
fun freeVariables ( ) : List< kotlin. String>
Sorted names of the free symbols. Bound binders (integration variables, image-set parameters) are excluded; the constants pi/e are not symbols.
image_set_domain#
Expression method
fun imageSetDomain ( ) : UniffiExpression
The domain an image_set expression maps over.
image_set_lambda_expression#
Expression method
fun imageSetLambdaExpression ( ) : UniffiExpression
The body an image_set expression applies to its bound variable.
image_set_variable#
Expression method
fun imageSetVariable ( ) : kotlin. String
The name of the variable an image_set expression binds.
imaginary_part#
Explicit context
fun imaginaryPart ( target: UniffiExpression) : UniffiExpression
Return the exact imaginary component of an expression. For example, if y is declared real, imaginary_part(exp(i*y)) is sin(y).
Calling forms
Expression method: UniffiExpression.imaginaryPart
fun imaginaryPart ( ) : UniffiExpression
integral_integrand#
Expression method
fun integralIntegrand ( ) : UniffiExpression
The integrand of an unevaluated integral expression.
integral_lower_bound#
Expression method
fun integralLowerBound ( ) : UniffiExpression?
None for indefinite integrals.
integral_upper_bound#
Expression method
fun integralUpperBound ( ) : UniffiExpression?
The upper bound of an unevaluated integral, or None when it is indefinite.
integral_variable#
Expression method
fun integralVariable ( ) : kotlin. String
The name of the variable an unevaluated integral integrates over.
interval_lower#
Expression method
fun intervalLower ( ) : UniffiExpression
Lower endpoint of an interval node; raises on other shapes.
interval_upper#
Expression method
fun intervalUpper ( ) : UniffiExpression
The upper endpoint of an interval expression.
is_algebraic#
Expression method
fun isAlgebraic ( ) : UniffiTruthValue
Provides the is_algebraic operation on this mobile object.
is_complex#
Expression method
fun isComplex ( ) : UniffiTruthValue
Provides the is_complex operation on this mobile object.
is_composite#
Expression method
fun isComposite ( ) : UniffiTruthValue
Provides the is_composite operation on this mobile object.
is_defined#
Expression method
fun isDefined ( ) : UniffiTruthValue
Whether the expression is known to denote one scalar value at the active point.
is_equality#
Expression method
fun isEquality ( ) : kotlin. Boolean
True for equal(a, b) relation nodes.
is_even#
Expression method
fun isEven ( ) : UniffiTruthValue
Provides the is_even operation on this mobile object.
is_extended_real#
Expression method
fun isExtendedReal ( ) : UniffiTruthValue
Provides the is_extended_real operation on this mobile object.
is_finite#
Expression method
fun isFinite ( ) : UniffiTruthValue
Whether the expression is known finite, or None when the assumptions cannot decide it.
is_finite_set#
Expression method
fun isFiniteSet ( ) : kotlin. Boolean
Whether this expression is a finite_set.
is_image_set#
Expression method
fun isImageSet ( ) : kotlin. Boolean
Whether this expression is an image_set.
is_infinite#
Expression method
fun isInfinite ( ) : UniffiTruthValue
Provides the is_infinite operation on this mobile object.
is_integer#
Expression method
fun isInteger ( ) : UniffiTruthValue
Whether the expression is known to be an integer, or None when the assumptions cannot decide it.
is_integral#
Expression method
fun isIntegral ( ) : kotlin. Boolean
True for unevaluated integral nodes. (Distinct from the assumption query is_integer.)
is_interval#
Expression method
fun isInterval ( ) : kotlin. Boolean
Whether this expression is an interval.
is_irrational#
Expression method
fun isIrrational ( ) : UniffiTruthValue
Provides the is_irrational operation on this mobile object.
is_matrix#
Expression method
fun isMatrix ( ) : kotlin. Boolean
Always False on expressions and True on matrix objects, so mixed result streams can be discriminated.
is_natural#
Expression method
fun isNatural ( ) : UniffiTruthValue
Provides the is_natural operation on this mobile object.
is_negative#
Expression method
fun isNegative ( ) : UniffiTruthValue
Whether the expression is known to be negative, or None when the assumptions cannot decide it.
is_nonnegative#
Expression method
fun isNonnegative ( ) : UniffiTruthValue
Answers whether the expression is nonnegative in the extended-real universe. Non-real values are refuted; unsupported real expressions remain None.
is_nonpositive#
Expression method
fun isNonpositive ( ) : UniffiTruthValue
Provides the is_nonpositive operation on this mobile object.
is_nonzero#
Expression method
fun isNonzero ( ) : UniffiTruthValue
Whether the expression is known to be nonzero, or None when the assumptions cannot decide it.
is_odd#
Expression method
fun isOdd ( ) : UniffiTruthValue
Provides the is_odd operation on this mobile object.
is_positive#
Expression method
fun isPositive ( ) : UniffiTruthValue
Whether the expression is known to be positive, or None when the assumptions cannot decide it.
is_positive_integer#
Expression method
fun isPositiveInteger ( ) : UniffiTruthValue
Provides the is_positive_integer operation on this mobile object.
is_rational#
Expression method
fun isRational ( ) : UniffiTruthValue
Whether the expression is known to be rational, or None when the assumptions cannot decide it.
is_real#
Expression method
fun isReal ( ) : UniffiTruthValue
Whether the expression is known to be real, or None when the assumptions cannot decide it.
is_stale#
Expression method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
is_transcendental#
Expression method
fun isTranscendental ( ) : UniffiTruthValue
Provides the is_transcendental operation on this mobile object.
is_union#
Expression method
fun isUnion ( ) : kotlin. Boolean
Whether this expression is a union of sets.
is_zero#
Expression method
fun isZero ( ) : UniffiTruthValue
Provides the is_zero operation on this mobile object.
multiply#
Expression method
fun multiply ( other: UniffiExpression) : UniffiExpression
Matrix product; inner dimensions must agree.
negate#
Expression method
fun negate ( ) : UniffiExpression
Negation of this expression.
node_count#
Expression method
fun nodeCount ( ) : kotlin. ULong
Number of nodes in the expression tree — the size measure used by the simplifier; useful for comparing alternative forms.
numerator#
Explicit context
fun numerator ( target: UniffiExpression) : UniffiExpression
Returns the structural numerator from numerator_denominator.
Calling forms
Expression method: UniffiExpression.numerator
fun numerator ( ) : UniffiExpression
numerator_denominator#
Explicit context
fun numeratorDenominator ( target: UniffiExpression) : UniffiExpressionExpressionTuple
Returns the exact structural numerator and denominator without combining sums or cancelling factors. Python returns a two-tuple and the JavaScript facade returns a record.
Calling forms
Expression method: UniffiExpression.numeratorDenominator
fun numeratorDenominator ( ) : UniffiExpressionExpressionTuple
partial_fractions#
Explicit context
fun partialFractions (
inputExpression: UniffiExpression,
variable: kotlin. String,
) : UniffiExpression
Decompose a rational expression into polynomial and proper-fraction terms over the named variable.
Calling forms
Expression method: UniffiExpression.partialFractions
fun partialFractions ( variable: kotlin. String) : UniffiExpression
piecewise_fold#
Explicit context
fun piecewiseFold ( inputExpression: UniffiExpression) : UniffiExpression
Expand abs, signum, and heaviside_step definitions recursively and fold piecewise operands of sums, products, powers, factorials, and ordinary function calls into one top-level piecewise expression. For example, x*abs(x - 1) becomes the exact two-branch definition with values x*(x - 1) and -x*(x - 1).
Calling forms
Expression method: UniffiExpression.piecewiseFold
fun piecewiseFold ( ) : UniffiExpression
power#
Expression method
fun power ( exponent: UniffiExpression) : UniffiExpression
This expression raised to exponent.
Explicit context
fun presentationNormalForm ( inputExpression: UniffiExpression) : UniffiExpression
The cheap, bounded display-oriented pass run at solver output seams: rational normal form only, kept only when the weighted complexity does not grow. Unlike simplify it never runs the full heuristic ladder, so it is fast and deterministic in shape.
Calling forms
Expression method: UniffiExpression.presentationNormalForm
fun presentationNormalForm ( ) : UniffiExpression
rationalize_denominator#
Explicit context
fun rationalizeDenominator ( inputExpression: UniffiExpression) : UniffiExpression
Rationalize a radical denominator through exact multiquadratic conjugation or extended-Euclidean inversion in one rational n-th-root extension. For example, 1 / (sqrt(3) - sqrt(2)) becomes sqrt(3) + sqrt(2), and 1 / (1 + 2^(1/3)) becomes (1 - 2^(1/3) + 2^(2/3))/3.
Calling forms
Expression method: UniffiExpression.rationalizeDenominator
fun rationalizeDenominator ( ) : UniffiExpression
real_part#
Explicit context
fun realPart ( target: UniffiExpression) : UniffiExpression
Return the exact real component of an expression. For example, if y is declared real, real_part(exp(i*y)) is cos(y).
Calling forms
Expression method: UniffiExpression.realPart
fun realPart ( ) : UniffiExpression
rewrite_as_exponential#
Explicit context
fun rewriteAsExponential ( inputExpression: UniffiExpression) : UniffiExpression
Euler-form rewriter: replace every trigonometric/hyperbolic call with the equivalent complex-exponential expression (bottom-up).
Calling forms
Expression method: UniffiExpression.rewriteAsExponential
fun rewriteAsExponential ( ) : UniffiExpression
rewrite_as_trigonometric#
Explicit context
fun rewriteAsTrigonometric ( inputExpression: UniffiExpression) : UniffiExpression
Inverse of rewrite_as_exponential.
Calling forms
Expression method: UniffiExpression.rewriteAsTrigonometric
fun rewriteAsTrigonometric ( ) : UniffiExpression
rewrite_in_terms_of#
Explicit context
fun rewriteInTermsOf (
target: UniffiExpression,
source: UniffiExpression,
replacement: UniffiExpression,
) : UniffiExpression
Rewrite the target in terms of replacement under the caller-supplied formal relation replacement = source.
Calling forms
Expression method: UniffiExpression.rewriteInTermsOf
fun rewriteInTermsOf (
source: UniffiExpression,
replacement: UniffiExpression,
) : UniffiExpression
rewrite_special_functions#
Explicit context
fun rewriteSpecialFunctions (
target: UniffiExpression,
basis: UniffiSpecialFunctionBasis,
) : UniffiExpression
Rewrite beta, gamma, binomial, factorial, and rising-factorial representations into the requested "gamma", "factorial", "binomial", or "rising_factorial" basis. The exact identities are applied only when their domain gates are proven: factorial and binomial conversions require the relevant non-negative integers, rising-factorial conversions additionally require a positive base, and beta-to-gamma requires two positive arguments. For example, with n declared a positive integer, n! may be rewritten into the gamma basis and gamma(n) into the factorial basis. A site with unconstrained arguments is returned unchanged. Gamma ratios with a literal non-negative argument offset are minimized to their exact shifted product.
Calling forms
Expression method: UniffiExpression.rewriteSpecialFunctions
fun rewriteSpecialFunctions ( basis: UniffiSpecialFunctionBasis) : UniffiExpression
rewrite_trigonometric_basis#
Explicit context
fun rewriteTrigonometricBasis (
target: UniffiExpression,
basis: UniffiTrigonometricBasis,
) : UniffiExpression
Rewrite trigonometric and hyperbolic calls toward one of five named bases: sine_cosine, tangent, exponential, trigonometric, or hyperbolic.
Calling forms
Expression method: UniffiExpression.rewriteTrigonometricBasis
fun rewriteTrigonometricBasis ( basis: UniffiTrigonometricBasis) : UniffiExpression
simplify#
Explicit context
fun simplify ( target: UniffiExpression) : UniffiExpression
The full heuristic simplification ladder: weighted-complexity-guided search over rational normal form, radical denesting, trigonometric/log rewrites, parity and absolute-value rules. The result is never accepted if its weighted complexity grows. Principal square roots extract structural square content only under a realness proof: sqrt(x^2) becomes abs(x) for real x, while sqrt(z^2) remains unchanged for a default-complex z.
Calling forms and variants
Expression method: UniffiExpression.simplify
fun simplify ( ) : UniffiExpression
Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.simplify
fun simplify ( target: UniffiExpression) : UniffiExpression
simplify_trigonometric#
Explicit context
fun simplifyTrigonometric ( target: UniffiExpression) : UniffiExpression
Fu-style trigonometric simplification toward fewer/cheaper trig calls.
Calling forms
Expression method: UniffiExpression.simplifyTrigonometric
fun simplifyTrigonometric ( ) : UniffiExpression
simplify_under_constraint#
Explicit context
fun simplifyUnderConstraint (
target: UniffiExpression,
constraint: UniffiExpression,
) : UniffiExpression
Simplify an expression under a local bounded logical constraint without changing symbol assumptions.
Calling forms
Expression method: UniffiExpression.simplifyUnderConstraint
fun simplifyUnderConstraint ( constraint: UniffiExpression) : UniffiExpression
substitute#
Expression method
fun substitute (
variable: UniffiExpression,
value: UniffiExpression,
) : UniffiExpression
Replace every free occurrence of the named symbol with value, re-running auto-simplification.
subtract#
Expression method
fun subtract ( other: UniffiExpression) : UniffiExpression
Entrywise difference of two matrices of the same shape.
symbol_name#
Expression method
fun symbolName ( ) : kotlin. String
Returns the name of a symbol expression and rejects every other expression kind.
to_list#
Expression method
fun toList ( ) : List< UniffiExpression>
Elements of a finite set; raises on other shapes. Python finite sets also support len() and iteration.
together#
Explicit context
fun together ( target: UniffiExpression) : UniffiExpression
Combine a sum of fractions over a common denominator. On Symi's representation together and cancel coincide; both names exist because they are distinct user intents.
Calling forms
Expression method: UniffiExpression.together
fun together ( ) : UniffiExpression
union_components#
Expression method
fun unionComponents ( ) : List< UniffiExpression>
The components of a set union, as a list of expressions.
Circle2d.area#
UniffiCircle2d method
fun area ( ) : UniffiExpression
Area of the circle, π r 2 \pi r^2 π r 2 .
Circle2d.center#
UniffiCircle2d method
fun center ( ) : UniffiPoint2d
The center of the circle.
Circle2d.circumference#
UniffiCircle2d method
fun circumference ( ) : UniffiExpression
Circumference of the circle.
Circle2d.equation#
UniffiCircle2d method
fun equation (
variableX: kotlin. String,
variableY: kotlin. String,
) : UniffiExpression
The circle as an equal relation in x and y.
Circle2d.is_stale#
UniffiCircle2d method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
Circle2d.radius#
UniffiCircle2d method
fun radius ( ) : UniffiExpression
The radius of the circle.
Point2d.coordinates#
UniffiPoint2d method
fun coordinates ( ) : UniffiExpressionExpressionTuple
The (x, y) coordinate pair of the point.
Point2d.distance_to#
UniffiPoint2d method
fun distanceTo ( other: UniffiPoint2d) : UniffiExpression
Euclidean distance, exact (a sqrt expression in general).
Point2d.intersection#
UniffiPoint2d method
fun intersection ( other: UniffiGeometry2d) : List< UniffiGeometryIntersectionComponent>
Return the complete exact boundary intersection with another supported plane geometry.
Calling forms and variants
Variant for this object — UniffiCircle2d method: UniffiCircle2d.intersection
fun intersection ( other: UniffiGeometry2d) : List< UniffiGeometryIntersectionComponent>
Variant for this object — UniffiPolygon2d method: UniffiPolygon2d.intersection
fun intersection ( other: UniffiGeometry2d) : List< UniffiGeometryIntersectionComponent>
Variant for this object — UniffiSegment2d method: UniffiSegment2d.intersection
fun intersection ( other: UniffiGeometry2d) : List< UniffiGeometryIntersectionComponent>
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.intersection
fun intersection ( other: UniffiGeometry2d) : List< UniffiGeometryIntersectionComponent>
Point2d.is_stale#
UniffiPoint2d method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
Point2d.x#
UniffiPoint2d method
fun x ( ) : UniffiExpression
The x coordinate of the point.
Point2d.y#
UniffiPoint2d method
fun y ( ) : UniffiExpression
The y coordinate of the point.
Polygon2d.area#
UniffiPolygon2d method
fun area ( ) : UniffiExpression
Shoelace area of the polygon.
Calling forms and variants
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.area
fun area ( ) : UniffiExpression
Polygon2d.centroid#
UniffiPolygon2d method
fun centroid ( ) : UniffiPoint2d
Centroid of the polygon's vertices.
Calling forms and variants
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.centroid
fun centroid ( ) : UniffiPoint2d
Polygon2d.interior_angles#
UniffiPolygon2d method
fun interiorAngles ( ) : List< UniffiVertexAngle>
Each vertex paired with its interior angle. Notes: WASM returns vertex_angle objects with vertex/angle getters.
Calling forms and variants
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.interiorAngles
fun interiorAngles ( ) : List< UniffiVertexAngle>
Polygon2d.is_stale#
UniffiPolygon2d method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
Polygon2d.perimeter#
UniffiPolygon2d method
fun perimeter ( ) : UniffiExpression
Perimeter of the polygon, the sum of its edge lengths.
Calling forms and variants
Variant for this object — UniffiTriangle2d method: UniffiTriangle2d.perimeter
fun perimeter ( ) : UniffiExpression
Segment2d.is_stale#
UniffiSegment2d method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
Segment2d.length#
UniffiSegment2d method
fun length ( ) : UniffiExpression
Also the finite-set length accessor on expression in WASM; context disambiguates.
Segment2d.midpoint#
UniffiSegment2d method
fun midpoint ( ) : UniffiPoint2d
Midpoint of the segment.
Segment2d.perpendicular_bisector_equation#
UniffiSegment2d method
fun perpendicularBisectorEquation (
variableX: kotlin. String,
variableY: kotlin. String,
) : UniffiExpression
The bisector line as an equal relation in x and y.
Triangle2d.is_stale#
UniffiTriangle2d method
fun isStale ( ) : kotlin. Boolean
Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.
VertexAngle.angle#
UniffiVertexAngle method
fun angle ( ) : UniffiExpression
The interior angle at the vertex.
VertexAngle.vertex#
UniffiVertexAngle method
fun vertex ( ) : UniffiPoint2d
The vertex the angle is measured at.
circle_2d#
Explicit context
fun circle2d (
center: UniffiPoint2d,
radius: UniffiExpression,
) : UniffiCircle2d
Construct the circle with the given center and radius.
point_2d#
Explicit context
fun point2d (
coordinateX: UniffiExpression,
coordinateY: UniffiExpression,
) : UniffiPoint2d
Construct the point (x, y).
polygon_2d#
Explicit context
fun polygon2d ( vertices: List< UniffiPoint2d> ) : UniffiPolygon2d
Simple polygon from its vertex list in order; degenerate inputs raise.
segment_2d#
Explicit context
fun segment2d ( start: UniffiPoint2d, end: UniffiPoint2d) : UniffiSegment2d
Construct the segment running from start to end.
triangle_2d#
Explicit context
fun triangle2d (
first: UniffiPoint2d,
second: UniffiPoint2d,
third: UniffiPoint2d,
) : UniffiTriangle2d
Collinear vertices raise.
CompiledNumericFunction.capabilities#
UniffiCompiledNumericFunction method
fun capabilities ( ) : UniffiNumericFunctionCapabilities
Report what this function can do and how; derivative and Jacobian availability come from compiling them once.
CompiledNumericFunction.derivative#
UniffiCompiledNumericFunction method
fun derivative ( variable: UniffiExpression) : UniffiCompiledNumericFunction
Compile the checked exact derivative of every output with respect to one input variable.
CompiledNumericFunction.domain#
UniffiCompiledNumericFunction method
fun domain ( ) : UniffiNumericFunctionDomain
The input and result domain chosen at compilation.
CompiledNumericFunction.evaluate_batch_complex#
UniffiCompiledNumericFunction method
fun evaluateBatchComplex (
realCoordinates: List< kotlin. Double> ,
imaginaryCoordinates: List< kotlin. Double> ,
pointCount: kotlin. ULong,
) : UniffiNumericFunctionBatch
Evaluate split real and imaginary point-major coordinate lists at point_count points in one call.
CompiledNumericFunction.evaluate_batch_real#
UniffiCompiledNumericFunction method
fun evaluateBatchReal (
coordinates: List< kotlin. Double> ,
pointCount: kotlin. ULong,
) : UniffiNumericFunctionBatch
Evaluate a point-major list of real coordinates at point_count points in one call.
CompiledNumericFunction.evaluate_detailed_complex#
UniffiCompiledNumericFunction method
fun evaluateDetailedComplex (
realArguments: List< kotlin. Double> ,
imaginaryArguments: List< kotlin. Double> ,
) : UniffiNumericFunctionEvaluation
Evaluate every output at one point given as split real and imaginary coordinate lists, keeping the value or the status of each.
CompiledNumericFunction.evaluate_detailed_real#
UniffiCompiledNumericFunction method
fun evaluateDetailedReal ( arguments: List< kotlin. Double> ) : UniffiNumericFunctionEvaluation
Evaluate every output at one real point, keeping the value or the status of each.
CompiledNumericFunction.evaluate_intervals#
UniffiCompiledNumericFunction method
fun evaluateIntervals (
lowerBounds: List< kotlin. Double> ,
upperBounds: List< kotlin. Double> ,
) : UniffiNumericFunctionIntervalEvaluation
Enclose every output over one box of real inputs, given as one finite lower and upper bound for each variable in variable order.
CompiledNumericFunction.evaluate_real#
UniffiCompiledNumericFunction method
fun evaluateReal ( arguments: List< kotlin. Double> ) : List< kotlin. Double>
Evaluate every output at one real point; fails if any output has no real machine value.
CompiledNumericFunction.interval_bridged_kernels#
UniffiCompiledNumericFunction method
fun intervalBridgedKernels ( ) : List< kotlin. String>
The heads interval evaluation encloses through certified ball kernels.
CompiledNumericFunction.interval_directed_kernels#
UniffiCompiledNumericFunction method
fun intervalDirectedKernels ( ) : List< kotlin. String>
The heads interval evaluation encloses with outward-rounded binary64 arithmetic alone.
CompiledNumericFunction.interval_unsupported_kernels#
UniffiCompiledNumericFunction method
fun intervalUnsupportedKernels ( ) : List< kotlin. String>
The heads with no interval kernel; an output that reaches one has no enclosure.
CompiledNumericFunction.is_stale#
UniffiCompiledNumericFunction method
fun isStale ( ) : kotlin. Boolean
Whether resetting the owner session has retired this compiled function.
CompiledNumericFunction.jacobian#
UniffiCompiledNumericFunction method
fun jacobian ( ) : UniffiCompiledNumericFunction
Compile the checked exact Jacobian, flattened row-major as outputs by variables.
CompiledNumericFunction.output_count#
UniffiCompiledNumericFunction method
fun outputCount ( ) : kotlin. ULong
The ordered number of flattened scalar outputs.
CompiledNumericFunction.output_shape#
UniffiCompiledNumericFunction method
fun outputShape ( ) : List< kotlin. ULong>
The dimensions of the output shape: none for a scalar, the length of a vector, and the rows then the columns of a matrix.
CompiledNumericFunction.variable_count#
UniffiCompiledNumericFunction method
fun variableCount ( ) : kotlin. ULong
The ordered number of scalar input variables.
Matrix.evaluate_numeric#
UniffiMatrix method
fun evaluateNumeric ( options: UniffiNumericOptions) : UniffiNumericMatrix
The numeric value of every entry; the first entry that declines makes the whole evaluation decline.
NumericEvaluationReport.absolute_bound#
UniffiNumericEvaluationReport method
fun absoluteBound ( ) : UniffiNumericValue?
A proved bound on the modulus of a value below resolution.
NumericEvaluationReport.best_enclosure#
UniffiNumericEvaluationReport method
fun bestEnclosure ( ) : UniffiNumericValue?
The last certified enclosure reached before a decline.
NumericEvaluationReport.certified_attempts#
UniffiNumericEvaluationReport method
fun certifiedAttempts ( ) : kotlin. ULong
The number of certified ball evaluations performed.
NumericEvaluationReport.decline_reason#
UniffiNumericEvaluationReport method
fun declineReason ( ) : UniffiNumericDeclineReason?
Why no value was produced, when none was.
NumericEvaluationReport.estimated_heads#
UniffiNumericEvaluationReport method
fun estimatedHeads ( ) : List< kotlin. String>
The heads the estimated engine evaluated.
NumericEvaluationReport.exact_decisions#
UniffiNumericEvaluationReport method
fun exactDecisions ( ) : kotlin. ULong
The number of undecided balls settled by an exact decision.
NumericEvaluationReport.heads#
UniffiNumericEvaluationReport method
fun heads ( ) : List< kotlin. String>
The builtin heads and constants of the evaluated expression.
NumericEvaluationReport.responsible_heads#
UniffiNumericEvaluationReport method
fun responsibleHeads ( ) : List< kotlin. String>
The heads without a certified kernel.
NumericEvaluationReport.status#
UniffiNumericEvaluationReport method
fun status ( ) : UniffiNumericEvaluationStatus
Whether a value was produced.
NumericEvaluationReport.substitution_symbol#
UniffiNumericEvaluationReport method
fun substitutionSymbol ( ) : kotlin. String?
The symbol whose bound value was rejected.
NumericEvaluationReport.summary#
UniffiNumericEvaluationReport method
fun summary ( ) : kotlin. String
A one-line description of the outcome.
NumericEvaluationReport.unbound_symbols#
UniffiNumericEvaluationReport method
fun unboundSymbols ( ) : List< kotlin. String>
The free symbols left without a value.
NumericEvaluationReport.value#
UniffiNumericEvaluationReport method
fun value ( ) : UniffiNumericValue?
The value, when one was produced.
NumericEvaluationReport.working_precision_bits#
UniffiNumericEvaluationReport method
fun workingPrecisionBits ( ) : kotlin. ULong
The last working precision used, in bits.
NumericFunctionBatch.all_evaluated#
UniffiNumericFunctionBatch method
fun allEvaluated ( ) : kotlin. Boolean
Whether every output of every point has a machine value.
NumericFunctionBatch.bridge_used#
UniffiNumericFunctionBatch method
fun bridgeUsed ( ) : List< kotlin. Boolean>
Point-major observations, aligned with the real parts, of whether a certified bridge computed a value the output depends on.
NumericFunctionBatch.guard_refined#
UniffiNumericFunctionBatch method
fun guardRefined ( ) : List< kotlin. Boolean>
Point-major observations, aligned with the real parts, of whether a semantic guard the output depends on needed a working precision above its first one.
NumericFunctionBatch.imaginary_values#
UniffiNumericFunctionBatch method
fun imaginaryValues ( ) : List< kotlin. Double>
Point-major imaginary parts aligned with the real parts.
NumericFunctionBatch.output_count#
UniffiNumericFunctionBatch method
fun outputCount ( ) : kotlin. ULong
The number of flattened scalar outputs each point carries.
NumericFunctionBatch.output_shape#
UniffiNumericFunctionBatch method
fun outputShape ( ) : List< kotlin. ULong>
The dimensions of the output shape of each point: none for a scalar, the length of a vector, and the rows then the columns of a matrix.
NumericFunctionBatch.point_count#
UniffiNumericFunctionBatch method
fun pointCount ( ) : kotlin. ULong
The explicit number of points represented by this batch.
NumericFunctionBatch.real_values#
UniffiNumericFunctionBatch method
fun realValues ( ) : List< kotlin. Double>
Point-major real parts; an entry whose status is not evaluated is a placeholder.
NumericFunctionBatch.require_all_evaluated#
UniffiNumericFunctionBatch method
fun requireAllEvaluated ( ) : Unit
Fail for the first output that has no machine value.
NumericFunctionBatch.statuses#
UniffiNumericFunctionBatch method
fun statuses ( ) : List< UniffiNumericFunctionOutputStatus>
Point-major output statuses aligned with the real parts.
NumericFunctionBatch.underflow_observed#
UniffiNumericFunctionBatch method
fun underflowObserved ( ) : List< kotlin. Boolean>
Point-major underflow observations aligned with the real parts.
NumericFunctionCapabilities.accuracy#
UniffiNumericFunctionCapabilities method
fun accuracy ( ) : kotlin. String
The result category of every value: machine_approximation, with no implied digits and no error radius.
UniffiNumericFunctionCapabilities method
fun arithmeticFormat ( ) : kotlin. String
The machine format of every input, intermediate, and result: binary64.
NumericFunctionCapabilities.backends#
UniffiNumericFunctionCapabilities method
fun backends ( ) : List< kotlin. String>
The backends that can run the function: cpu_register for point and batch evaluation, and cpu_interval for interval evaluation of a real-domain function.
NumericFunctionCapabilities.bridged_heads#
UniffiNumericFunctionCapabilities method
fun bridgedHeads ( ) : List< kotlin. String>
The heads the function runs through certified bridges, sorted: builtins by name, and factorial for the factorial of a computed argument.
NumericFunctionCapabilities.derivative_variables#
UniffiNumericFunctionCapabilities method
fun derivativeVariables ( ) : List< kotlin. String>
The variables, in argument order, with respect to which derivative compiles.
NumericFunctionCapabilities.direct_heads#
UniffiNumericFunctionCapabilities method
fun directHeads ( ) : List< kotlin. String>
The heads the function runs directly on binary64 registers, sorted: builtins by name, and sum, product, power, and factorial for its own operations.
NumericFunctionCapabilities.domain#
UniffiNumericFunctionCapabilities method
fun domain ( ) : UniffiNumericFunctionDomain
The input and result domain chosen at compilation.
NumericFunctionCapabilities.guard_kinds#
UniffiNumericFunctionCapabilities method
fun guardKinds ( ) : List< UniffiNumericFunctionGuardKind>
The kinds of checks made at an evaluation point.
NumericFunctionCapabilities.interval_bridged_kernels#
UniffiNumericFunctionCapabilities method
fun intervalBridgedKernels ( ) : List< kotlin. String>
The heads interval evaluation encloses through certified ball kernels.
NumericFunctionCapabilities.interval_directed_kernels#
UniffiNumericFunctionCapabilities method
fun intervalDirectedKernels ( ) : List< kotlin. String>
The heads interval evaluation encloses with outward-rounded binary64 arithmetic alone.
NumericFunctionCapabilities.interval_unsupported_kernels#
UniffiNumericFunctionCapabilities method
fun intervalUnsupportedKernels ( ) : List< kotlin. String>
The heads with no interval kernel.
NumericFunctionCapabilities.jacobian_available#
UniffiNumericFunctionCapabilities method
fun jacobianAvailable ( ) : kotlin. Boolean
Whether jacobian compiles.
NumericFunctionCapabilities.output_shape#
UniffiNumericFunctionCapabilities method
fun outputShape ( ) : List< kotlin. ULong>
The dimensions of the output shape: none for a scalar, the length of a vector, and the rows then the columns of a matrix.
NumericFunctionCapabilities.requirement_symbols#
UniffiNumericFunctionCapabilities method
fun requirementSymbols ( ) : List< kotlin. String>
The names of the symbols the outputs' captured requirements mention, sorted.
NumericFunctionCapabilities.unsupported_capabilities#
UniffiNumericFunctionCapabilities method
fun unsupportedCapabilities ( ) : List< kotlin. String>
The capabilities the function lacks, one per refusal, aligned with unsupported_reasons.
NumericFunctionCapabilities.unsupported_reasons#
UniffiNumericFunctionCapabilities method
fun unsupportedReasons ( ) : List< kotlin. String>
Why each entry of unsupported_capabilities is unsupported.
NumericFunctionCapabilities.variables#
UniffiNumericFunctionCapabilities method
fun variables ( ) : List< kotlin. String>
The names of the input variables, in argument order.
NumericFunctionEvaluation.all_evaluated#
UniffiNumericFunctionEvaluation method
fun allEvaluated ( ) : kotlin. Boolean
Whether every output has a machine value.
NumericFunctionEvaluation.bridge_used#
UniffiNumericFunctionEvaluation method
fun bridgeUsed ( ) : List< kotlin. Boolean>
Whether a certified bridge computed a value each output depends on.
NumericFunctionEvaluation.failure_path#
UniffiNumericFunctionEvaluation method
fun failurePath ( output: kotlin. ULong) : List< kotlin. ULong> ?
The child indices from the root of one output to the node its failure arose at; none for an evaluated output and for a status decided before any operation.
NumericFunctionEvaluation.guard_refined#
UniffiNumericFunctionEvaluation method
fun guardRefined ( ) : List< kotlin. Boolean>
Whether a semantic guard each output depends on needed a working precision above its first one.
NumericFunctionEvaluation.imaginary_values#
UniffiNumericFunctionEvaluation method
fun imaginaryValues ( ) : List< kotlin. Double>
The imaginary part of each output, NaN where the output has no value.
NumericFunctionEvaluation.output_count#
UniffiNumericFunctionEvaluation method
fun outputCount ( ) : kotlin. ULong
The number of flattened scalar outputs; every list has one entry per output.
NumericFunctionEvaluation.output_shape#
UniffiNumericFunctionEvaluation method
fun outputShape ( ) : List< kotlin. ULong>
The dimensions of the output shape: none for a scalar, the length of a vector, and the rows then the columns of a matrix.
NumericFunctionEvaluation.real_values#
UniffiNumericFunctionEvaluation method
fun realValues ( ) : List< kotlin. Double>
The real part of each output, NaN where the output has no value.
NumericFunctionEvaluation.require_all_evaluated#
UniffiNumericFunctionEvaluation method
fun requireAllEvaluated ( ) : Unit
Fail for the first output that has no machine value.
NumericFunctionEvaluation.statuses#
UniffiNumericFunctionEvaluation method
fun statuses ( ) : List< UniffiNumericFunctionOutputStatus>
The status of each output.
NumericFunctionEvaluation.underflow_observed#
UniffiNumericFunctionEvaluation method
fun underflowObserved ( ) : List< kotlin. Boolean>
Whether a nonzero quantity was observed as a subnormal or zero on the way to each output.
NumericFunctionIntervalEvaluation.all_enclosed#
UniffiNumericFunctionIntervalEvaluation method
fun allEnclosed ( ) : kotlin. Boolean
Whether every output has a valid enclosure.
NumericFunctionIntervalEvaluation.definedness#
UniffiNumericFunctionIntervalEvaluation method
fun definedness ( ) : List< UniffiNumericFunctionDefinedness>
Where on the box each output has a real value.
NumericFunctionIntervalEvaluation.enclosure_valid#
UniffiNumericFunctionIntervalEvaluation method
fun enclosureValid ( ) : List< kotlin. Boolean>
Whether each output's bounds are a proved enclosure of every real value it takes on the box.
NumericFunctionIntervalEvaluation.lower_bounds#
UniffiNumericFunctionIntervalEvaluation method
fun lowerBounds ( ) : List< kotlin. Double>
The lower bound of each enclosure, possibly negative infinity; NaN where the enclosure is not valid.
NumericFunctionIntervalEvaluation.output_count#
UniffiNumericFunctionIntervalEvaluation method
fun outputCount ( ) : kotlin. ULong
The number of flattened scalar outputs; every list has one entry per output.
NumericFunctionIntervalEvaluation.output_shape#
UniffiNumericFunctionIntervalEvaluation method
fun outputShape ( ) : List< kotlin. ULong>
The dimensions of the output shape: none for a scalar, the length of a vector, and the rows then the columns of a matrix.
NumericFunctionIntervalEvaluation.proved_continuous#
UniffiNumericFunctionIntervalEvaluation method
fun provedContinuous ( ) : List< kotlin. Boolean>
Whether each output is proved real and continuous at every point of the box; false means continuity was not established.
NumericFunctionIntervalEvaluation.statuses#
UniffiNumericFunctionIntervalEvaluation method
fun statuses ( ) : List< UniffiNumericFunctionOutputStatus>
The status of each output: evaluated exactly where its enclosure is valid.
NumericFunctionIntervalEvaluation.upper_bounds#
UniffiNumericFunctionIntervalEvaluation method
fun upperBounds ( ) : List< kotlin. Double>
The upper bound of each enclosure, possibly positive infinity; NaN where the enclosure is not valid.
NumericMatrix.columns#
UniffiNumericMatrix method
fun columns ( ) : kotlin. ULong
The number of columns.
NumericMatrix.entries#
UniffiNumericMatrix method
fun entries ( ) : List< UniffiNumericValue>
Every entry in row-major order.
NumericMatrix.entry#
UniffiNumericMatrix method
fun entry ( row: kotlin. ULong, column: kotlin. ULong) : UniffiNumericValue
The numeric value of one entry.
NumericMatrix.rows#
UniffiNumericMatrix method
The number of rows.
NumericPolynomialRootsResult.complete#
UniffiNumericPolynomialRootsResult method
fun complete ( ) : kotlin. Boolean
Whether every root of the polynomial is listed: true exactly for a certified result.
NumericPolynomialRootsResult.decline_reason#
UniffiNumericPolynomialRootsResult method
fun declineReason ( ) : UniffiNumericPolynomialRootsDeclineReason?
Why no roots were returned, for a declined request.
NumericPolynomialRootsResult.degree#
UniffiNumericPolynomialRootsResult method
fun degree ( ) : kotlin. ULong
The exact degree of the polynomial; zero for a declined request.
NumericPolynomialRootsResult.iterations#
UniffiNumericPolynomialRootsResult method
fun iterations ( ) : kotlin. ULong
The number of multiprecision iteration sweeps taken.
NumericPolynomialRootsResult.multiplicities#
UniffiNumericPolynomialRootsResult method
fun multiplicities ( ) : List< kotlin. ULong>
The exact multiplicity of each root, in the order of the values.
NumericPolynomialRootsResult.status#
UniffiNumericPolynomialRootsResult method
fun status ( ) : UniffiNumericPolynomialRootsStatus
certified or declined.
NumericPolynomialRootsResult.summary#
UniffiNumericPolynomialRootsResult method
fun summary ( ) : kotlin. String
The outcome in one line: each root with its multiplicity, or the decline reason.
NumericPolynomialRootsResult.unbound_symbols#
UniffiNumericPolynomialRootsResult method
fun unboundSymbols ( ) : List< kotlin. String>
The symbols other than the variable, for an unbound_symbol decline.
NumericPolynomialRootsResult.values#
UniffiNumericPolynomialRootsResult method
fun values ( ) : List< UniffiNumericValue>
Each distinct root once, in canonical order; empty for a declined request.
NumericPolynomialRootsResult.variable#
UniffiNumericPolynomialRootsResult method
fun variable ( ) : kotlin. String
The name of the polynomial's variable.
NumericPolynomialRootsResult.working_precision_bits#
UniffiNumericPolynomialRootsResult method
fun workingPrecisionBits ( ) : kotlin. ULong
The last working precision used, in bits.
NumericRootEnclosure.lower#
UniffiNumericRootEnclosure method
fun lower ( ) : UniffiExpression
The exact rational lower bound of the enclosure.
NumericRootEnclosure.status#
UniffiNumericRootEnclosure method
fun status ( ) : UniffiNumericRootEnclosureStatus
What the search proved about the roots inside this enclosure.
NumericRootEnclosure.upper#
UniffiNumericRootEnclosure method
fun upper ( ) : UniffiExpression
The exact rational upper bound of the enclosure.
NumericRootFindingResult.decline_reason#
UniffiNumericRootFindingResult method
fun declineReason ( ) : UniffiNumericRootFindingDeclineReason?
Why no root was returned, for a declined request.
NumericRootFindingResult.domain#
UniffiNumericRootFindingResult method
fun domain ( ) : UniffiNumericRootFindingDomain
The domain searched: real or complex once resolved.
NumericRootFindingResult.iterations#
UniffiNumericRootFindingResult method
fun iterations ( ) : kotlin. ULong
The number of iteration or bracketing steps taken.
NumericRootFindingResult.method#
UniffiNumericRootFindingResult method
fun method ( ) : UniffiNumericRootFindingMethod
The method that located the root, or the requested method of a declined request.
NumericRootFindingResult.multiplicity_estimate#
UniffiNumericRootFindingResult method
fun multiplicityEstimate ( ) : kotlin. ULong?
For one equation, the estimated multiplicity of an estimated root.
NumericRootFindingResult.residuals#
UniffiNumericRootFindingResult method
fun residuals ( ) : List< UniffiNumericValue>
One residual per equation; empty for a declined request.
NumericRootFindingResult.status#
UniffiNumericRootFindingResult method
fun status ( ) : UniffiNumericRootFindingStatus
certified, converged_uncertified, or declined.
NumericRootFindingResult.summary#
UniffiNumericRootFindingResult method
fun summary ( ) : kotlin. String
The outcome in one line: each variable's value, or the decline reason.
NumericRootFindingResult.unbound_symbols#
UniffiNumericRootFindingResult method
fun unboundSymbols ( ) : List< kotlin. String>
The symbols that are not variables, for an unbound_symbol decline.
NumericRootFindingResult.value#
UniffiNumericRootFindingResult method
fun value ( name: kotlin. String) : UniffiNumericValue?
The value of one variable, by name, when a root was returned.
NumericRootFindingResult.values#
UniffiNumericRootFindingResult method
fun values ( ) : List< UniffiNumericValue>
One value per variable, in the variables' order; empty for a declined request.
NumericRootFindingResult.variable_values#
UniffiNumericRootFindingResult method
fun variableValues ( ) : List< UniffiTextNumericValueTuple>
Each variable's name paired with its value, in the variables' order.
NumericRootFindingResult.variables#
UniffiNumericRootFindingResult method
fun variables ( ) : List< kotlin. String>
The variable names, in the order the values are given.
NumericRootFindingResult.working_precision_bits#
UniffiNumericRootFindingResult method
fun workingPrecisionBits ( ) : kotlin. ULong
The last working precision used, in bits.
NumericRootIsolationResult.complete#
UniffiNumericRootIsolationResult method
fun complete ( ) : kotlin. Boolean
Whether every root of the requested domain is accounted for by an enclosure.
NumericRootIsolationResult.coverage#
UniffiNumericRootIsolationResult method
fun coverage ( ) : UniffiNumericRootCoverage?
How much of the requested domain the enclosures account for.
NumericRootIsolationResult.decline_reason#
UniffiNumericRootIsolationResult method
fun declineReason ( ) : UniffiNumericRootIsolationDeclineReason?
The reason, present exactly when the verdict is declined.
NumericRootIsolationResult.enclosures#
UniffiNumericRootIsolationResult method
fun enclosures ( ) : List< UniffiNumericRootEnclosure>
The disjoint certified enclosures, in ascending order.
NumericRootIsolationResult.precision_bits#
UniffiNumericRootIsolationResult method
fun precisionBits ( ) : kotlin. ULong?
The working precision the accepted enclosures were produced at.
NumericRootIsolationResult.unresolved_regions#
UniffiNumericRootIsolationResult method
fun unresolvedRegions ( ) : List< UniffiNumericRootUnresolvedRegion>
The regions the search could neither clear nor resolve into an enclosure.
NumericRootIsolationResult.verdict#
UniffiNumericRootIsolationResult method
fun verdict ( ) : UniffiNumericRootIsolationVerdict
Whether the search ran or declined.
NumericRootUnresolvedRegion.lower#
UniffiNumericRootUnresolvedRegion method
fun lower ( ) : UniffiExpression?
The lower endpoint, absent when the region reaches negative infinity.
NumericRootUnresolvedRegion.upper#
UniffiNumericRootUnresolvedRegion method
fun upper ( ) : UniffiExpression?
The upper endpoint, absent when the region reaches positive infinity.
NumericValue.accuracy#
UniffiNumericValue method
fun accuracy ( ) : UniffiNumericAccuracy
Whether the radii are proved bounds or estimates.
NumericValue.achieved_relative_precision_bits#
UniffiNumericValue method
fun achievedRelativePrecisionBits ( ) : kotlin. ULong?
The relative accuracy in bits, absent when both components are exact.
NumericValue.certified_sign#
UniffiNumericValue method
fun certifiedSign ( ) : kotlin. Long?
The proved sign of a real value, absent when it is not proved.
NumericValue.contains_zero#
UniffiNumericValue method
fun containsZero ( ) : kotlin. Boolean
Whether zero lies within the stated radius of both components.
NumericValue.error_bound#
UniffiNumericValue method
fun errorBound ( ) : UniffiNumericValue?
A proved bound on the error of a certified value.
NumericValue.error_estimate#
UniffiNumericValue method
fun errorEstimate ( ) : UniffiNumericValue?
The estimated error of an estimated value.
NumericValue.imaginary_part#
UniffiNumericValue method
fun imaginaryPart ( ) : UniffiNumericValue
The imaginary part, with the same accuracy.
NumericValue.is_exactly_real#
UniffiNumericValue method
fun isExactlyReal ( ) : kotlin. Boolean
Whether the value is known to be real.
NumericValue.is_exactly_zero#
UniffiNumericValue method
fun isExactlyZero ( ) : kotlin. Boolean
Whether the value is known to be exactly zero.
NumericValue.real_part#
UniffiNumericValue method
fun realPart ( ) : UniffiNumericValue
The real part, with the same accuracy.
NumericValue.requested_significant_digits#
UniffiNumericValue method
fun requestedSignificantDigits ( ) : kotlin. ULong
The number of significant digits the value was requested with.
NumericValue.summary#
UniffiNumericValue method
fun summary ( ) : kotlin. String
The value at its requested digits followed by its accuracy.
NumericValue.to_complex_f64#
UniffiNumericValue method
fun toComplexF64 ( ) : UniffiFloatingPointFloatingPointTuple
The nearest doubles to the real and imaginary midpoints.
NumericValue.to_decimal_string#
UniffiNumericValue method
fun toDecimalString ( significantDigits: kotlin. ULong) : kotlin. String
The value in decimal with at most the given faithful digits per component.
NumericValue.to_f64#
UniffiNumericValue method
fun toF64 ( ) : kotlin. Double
The nearest double to the midpoint of a value known to be exactly real.
NumericValue.to_latex#
UniffiNumericValue method
fun toLatex ( significantDigits: kotlin. ULong) : kotlin. String
The value in LaTeX with at most the given faithful digits per component.
NumericValue.to_rational#
UniffiNumericValue method
fun toRational ( ) : UniffiExpression
The exact midpoint as an exact expression.
NumericValue.to_simplest_rational#
UniffiNumericValue method
fun toSimplestRational ( ) : UniffiExpression
The simplest rational inside each component's ball.
compile_numeric_function#
Explicit context
fun compileNumericFunction (
outputs: UniffiNumericFunctionOutputs,
variables: List< UniffiExpression> ,
options: UniffiNumericFunctionOptions,
) : UniffiCompiledNumericFunction
Compile a scalar, a vector, or a matrix of exact outputs for repeated binary64 evaluation over ordered variables.
evaluate_numeric#
Explicit context
fun evaluateNumeric (
inputExpression: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericValue
The numeric value of a closed expression to the requested significant digits.
Calling forms
Expression method: UniffiExpression.evaluateNumeric
fun evaluateNumeric ( options: UniffiNumericOptions) : UniffiNumericValue
evaluate_numeric_detailed#
Explicit context
fun evaluateNumericDetailed (
inputExpression: UniffiExpression,
options: UniffiNumericOptions,
substitutions: List< UniffiExpressionExpressionTuple> ,
numericSubstitutions: List< UniffiExpressionNumericValueTuple> ,
) : UniffiNumericEvaluationReport
The report of a numeric evaluation: its value, or why it declined.
evaluate_numeric_with_substitutions#
Explicit context
fun evaluateNumericWithSubstitutions (
inputExpression: UniffiExpression,
options: UniffiNumericOptions,
substitutions: List< UniffiExpressionExpressionTuple> ,
numericSubstitutions: List< UniffiExpressionNumericValueTuple> ,
) : UniffiNumericValue
The numeric value of an expression with symbols bound to exact or numeric values.
evaluate_to_float#
Expression method
fun evaluateToFloat ( ) : kotlin. Double
The nearest double to the certified real value; raises unless the value is certified and exactly real (free symbols, complex values, poles, and estimated-only heads all raise).
find_root_numeric#
Explicit context
fun findRootNumeric (
equations: List< UniffiExpression> ,
variables: List< kotlin. String> ,
start: List< UniffiExpression> ,
domain: UniffiNumericRootFindingDomain,
method: UniffiNumericRootFindingMethod,
options: UniffiNumericOptions,
) : UniffiNumericRootFindingResult
Find one root of the square system equations = 0 numerically, starting from start (one value per variable, real or complex).
find_root_numeric_in_bracket#
Explicit context
fun findRootNumericInBracket (
equation: UniffiExpression,
variable: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericRootFindingResult
Find one real root of equation = 0 in the bracket [lower, upper], whose ends are exact rational numbers at which the equation's values have opposite signs.
integrate_definite_numeric#
Explicit context
fun integrateDefiniteNumeric (
inputExpression: UniffiExpression,
variable: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericValue
The numerical value of a definite integral, to options.significant_digits digits.
isolate_real_roots_numeric#
Explicit context
fun isolateRealRootsNumeric (
inputExpression: UniffiExpression,
variable: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
precisionBits: kotlin. ULong,
workBudget: kotlin. ULong,
) : UniffiNumericRootIsolationResult
Isolate the real roots of an expression with certified rational enclosures.
polynomial_roots_numeric#
Explicit context
fun polynomialRootsNumeric (
polynomial: UniffiExpression,
variable: kotlin. String,
options: UniffiNumericOptions,
) : UniffiNumericPolynomialRootsResult
Find every complex root of the polynomial polynomial in variable numerically, each once with its exact multiplicity.
rational_from_float#
Explicit context
fun rationalFromFloat (
value: kotlin. Double,
maximumDenominator: kotlin. ULong,
) : UniffiExpression
Closest rational with denominator ≤ \leq ≤ max_denominator (the Fraction.limit_denominator algorithm).
summation_numeric#
Explicit context
fun summationNumeric (
summand: UniffiExpression,
index: kotlin. String,
lower: UniffiExpression,
upper: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericValue
The numerical value of a definite sum, to options.significant_digits digits.
Explicit context
fun affineProcessTransformation (
name: kotlin. String,
source: UniffiExpression,
multiplier: UniffiExpression,
offset: UniffiExpression,
) : UniffiExpression
Construct the exact pointwise affine image of a certified Gaussian process.
archimedean_copula#
Explicit context
fun archimedeanCopula (
family: kotlin. String,
marginals: List< UniffiExpression> ,
parameter: UniffiExpression,
) : UniffiExpression
Construct a supported Archimedean copula from continuous marginals and its parameter.
characteristic_function#
Explicit context
fun characteristicFunction (
randomVariable: UniffiExpression,
auxiliaryVariable: kotlin. String,
) : UniffiExpression
Closed-form characteristic function φ X ( t ) \varphi_X(t) φ X ( t ) of random_variable in the named auxiliary variable, when elementary; otherwise an unevaluated structural form.
component#
Explicit context
fun component (
randomVector: UniffiExpression,
position: kotlin. ULong,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
conditional_process_slice_distribution#
Explicit context
fun conditionalProcessSliceDistribution (
process: UniffiExpression,
selectedIndices: List< UniffiExpression> ,
conditioningIndices: List< UniffiExpression> ,
conditioningValues: List< UniffiExpression> ,
) : UniffiExpression
Condition one finite process slice on another through the common continuous-law engine.
covariance#
Explicit context
fun covariance (
left: UniffiExpression,
right: UniffiExpression,
randomVariables: List< UniffiExpression> ,
) : UniffiExpression
Covariance of left and right over the listed independent random variables; zero for independent operands.
cumulant#
Explicit context
fun cumulant (
randomVariable: UniffiExpression,
order: UniffiExpression,
) : UniffiExpression
The order-th cumulant of random_variable.
cumulative_distribution#
Explicit context
fun cumulativeDistribution (
randomVariable: UniffiExpression,
point: UniffiExpression,
) : UniffiExpression
Cumulative distribution function of random_variable evaluated at point.
density#
Explicit context
fun density (
randomVariable: UniffiExpression,
point: UniffiExpression,
) : UniffiExpression
Probability density (continuous families) or probability mass (discrete families) of random_variable evaluated at point.
dirichlet#
Explicit context
fun dirichlet ( parameters: List< UniffiExpression> ) : UniffiExpression
Expose the native joint-law operation through the session worker.
discrete_markov_chain#
Explicit context
fun discreteMarkovChain (
name: kotlin. String,
states: List< UniffiExpression> ,
transitionMatrix: UniffiMatrix,
initialProbabilities: List< UniffiExpression> ,
) : UniffiExpression
Construct an exact finite-state time-homogeneous Markov chain.
distribution#
Explicit context
fun distribution (
name: kotlin. String,
parameters: List< UniffiExpression> ,
) : UniffiExpression
Build a distribution node from a family name and its ordered parameter list (e.g. distribution("normal", [mean, standard_deviation])).
estimate_archimedean_copula_parameter#
Explicit context
fun estimateArchimedeanCopulaParameter (
family: kotlin. String,
observations: UniffiMatrix,
) : UniffiExpression
Estimate an exactly invertible Archimedean copula parameter from bivariate ranks.
estimate_archimedean_copula_parameter_numeric#
Explicit context
fun estimateArchimedeanCopulaParameterNumeric (
family: kotlin. String,
observations: UniffiMatrix,
parameter: UniffiExpression,
lower: UniffiExpression,
upper: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericRootFindingResult
Numerically estimate a Frank copula parameter from exact bivariate ranks in a requested bracket.
expectation#
Explicit context
fun expectation (
target: UniffiExpression,
randomVariables: List< UniffiExpression> ,
) : UniffiExpression
Expectation of target over the listed independent random variables. Linearity and the constant-factor lift are applied; bare and power-of-random-variable leaves consume the distribution's mean and raw moments.
expected_hitting_time#
Explicit context
fun expectedHittingTime (
process: UniffiExpression,
startState: UniffiExpression,
targetStates: List< UniffiExpression> ,
) : UniffiExpression
Return the exact expected time to reach a target state set.
finite_dimensional_random_vector#
Explicit context
fun finiteDimensionalRandomVector (
process: UniffiExpression,
indices: List< UniffiExpression> ,
coordinateNames: List< kotlin. String> ,
) : UniffiExpression
Construct a random vector from an ordered finite stochastic-process slice.
gaussian_copula#
Explicit context
fun gaussianCopula (
marginals: List< UniffiExpression> ,
correlation: UniffiMatrix,
) : UniffiExpression
Construct a Gaussian copula from continuous marginals and a correlation matrix.
hitting_probability#
Explicit context
fun hittingProbability (
process: UniffiExpression,
startState: UniffiExpression,
targetStates: List< UniffiExpression> ,
) : UniffiExpression
Return the exact probability of ever reaching a target state set.
independent_gaussian_process_sum#
Explicit context
fun independentGaussianProcessSum (
name: kotlin. String,
firstSource: UniffiExpression,
secondSource: UniffiExpression,
) : UniffiExpression
Construct the pointwise sum of two explicitly independent Gaussian processes.
independent_process_product#
Explicit context
fun independentProcessProduct (
firstProcess: UniffiExpression,
firstIndices: List< UniffiExpression> ,
secondProcess: UniffiExpression,
secondIndices: List< UniffiExpression> ,
) : UniffiExpression
Construct the explicit independent block product of two finite process slices.
independent_product#
Explicit context
fun independentProduct ( factors: List< UniffiExpression> ) : UniffiExpression
Expose the native joint-law operation through the session worker.
intrinsic_simplex_density#
Explicit context
fun intrinsicSimplexDensity (
jointDistribution: UniffiExpression,
points: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_correlation_matrix#
Explicit context
fun jointCorrelationMatrix ( jointDistribution: UniffiExpression) : UniffiMatrix
Expose the native joint-law operation through the session worker.
joint_covariance_matrix#
Explicit context
fun jointCovarianceMatrix ( jointDistribution: UniffiExpression) : UniffiMatrix
Expose the native joint-law operation through the session worker.
joint_cumulative_distribution#
Explicit context
fun jointCumulativeDistribution (
jointDistribution: UniffiExpression,
points: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_density#
Explicit context
fun jointDensity (
jointDistribution: UniffiExpression,
points: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_distribution#
Explicit context
fun jointDistribution ( randomVector: UniffiExpression) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_mean#
Explicit context
fun jointMean ( jointDistribution: UniffiExpression) : List< UniffiExpression>
Expose the native joint-law operation through the session worker.
joint_probability_mass_function#
Explicit context
fun jointProbabilityMassFunction (
jointDistribution: UniffiExpression,
points: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_raw_moment#
Explicit context
fun jointRawMoment (
jointDistribution: UniffiExpression,
orders: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_rectangle_probability#
Explicit context
fun jointRectangleProbability (
jointDistribution: UniffiExpression,
lowerBounds: List< UniffiExpression> ,
upperBounds: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
joint_support#
Explicit context
fun jointSupport ( jointDistribution: UniffiExpression) : UniffiExpression
Expose the native joint-law operation through the session worker.
marginal#
Explicit context
fun marginal (
jointDistribution: UniffiExpression,
positions: List< kotlin. ULong> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
maximum#
Explicit context
fun maximum (
baseLaw: UniffiExpression,
sampleSize: UniffiExpression,
) : UniffiExpression
Construct the maximum of an i.i.d. sample from a scalar law.
minimum#
Explicit context
fun minimum (
baseLaw: UniffiExpression,
sampleSize: UniffiExpression,
) : UniffiExpression
Construct the minimum of an i.i.d. sample from a scalar law.
moment#
Explicit context
fun moment (
randomVariable: UniffiExpression,
order: UniffiExpression,
) : UniffiExpression
The order-th raw moment E[X^order] of random_variable.
moment_generating_function#
Explicit context
fun momentGeneratingFunction (
randomVariable: UniffiExpression,
auxiliaryVariable: kotlin. String,
) : UniffiExpression
Closed-form moment generating function M_X(t) of random_variable in the named auxiliary variable, when elementary; otherwise an unevaluated structural form.
multinomial_distribution#
Explicit context
fun multinomialDistribution (
trialCount: UniffiExpression,
probabilities: List< UniffiExpression> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
multivariate_normal#
Explicit context
fun multivariateNormal (
mean: List< UniffiExpression> ,
covariance: UniffiMatrix,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
order_statistic#
Explicit context
fun orderStatistic (
baseLaw: UniffiExpression,
sampleSize: UniffiExpression,
rank: UniffiExpression,
) : UniffiExpression
Construct the rank order statistic of an i.i.d. sample from a scalar law.
permute#
Explicit context
fun permute (
jointDistribution: UniffiExpression,
permutation: List< kotlin. ULong> ,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
probability#
Explicit context
fun probability (
predicate: UniffiExpression,
randomVariables: List< UniffiExpression> ,
) : UniffiExpression
Probability that predicate (a tail comparison such as X > t) holds over the listed independent random variables.
product_copula#
Explicit context
fun productCopula ( marginals: List< UniffiExpression> ) : UniffiExpression
Construct the product copula of continuous scalar marginals.
quantile_numeric#
Explicit context
fun quantileNumeric (
distribution: UniffiExpression,
probability: UniffiExpression,
quantileVariable: UniffiExpression,
lower: UniffiExpression,
upper: UniffiExpression,
options: UniffiNumericOptions,
) : UniffiNumericRootFindingResult
Numerically invert a scalar distribution CDF on an explicitly supplied exact bracket.
random_variable#
Explicit context
fun randomVariable (
name: kotlin. String,
distribution: UniffiExpression,
) : UniffiExpression
Build a random variable named name drawn from distribution.
random_vector#
Explicit context
fun randomVector (
coordinateNames: List< kotlin. String> ,
jointDistribution: UniffiExpression,
) : UniffiExpression
Expose the native joint-law operation through the session worker.
stationary_distributions#
Explicit context
fun stationaryDistributions ( process: UniffiExpression) : UniffiMatrix
Return the extreme stationary laws of a finite Markov chain.
transition_probability#
Explicit context
fun transitionProbability (
process: UniffiExpression,
fromState: UniffiExpression,
toState: UniffiExpression,
startIndex: UniffiExpression,
endIndex: UniffiExpression,
) : UniffiExpression
Return an exact finite-horizon Markov transition probability.
variance#
Explicit context
fun variance (
target: UniffiExpression,
randomVariables: List< UniffiExpression> ,
) : UniffiExpression
Variance of target over the listed independent random variables.
beta#
Explicit context
fun beta (
left: UniffiExpression,
right: UniffiExpression,
) : UniffiExpression
The beta function B ( x , y ) = Γ ( x ) Γ ( y ) / Γ ( x + y ) \operatorname{B}(x, y) = \Gamma(x)\Gamma(y)/\Gamma(x+y) B ( x , y ) = Γ ( x ) Γ ( y ) /Γ ( x + y ) .
carlson_rc#
Explicit context
fun carlsonRc (
firstArgument: UniffiExpression,
secondArgument: UniffiExpression,
) : UniffiExpression
Carlson's degenerate symmetric elliptic integral R C ( x , y ) R_C(x,y) R C ( x , y ) .
carlson_rd#
Explicit context
fun carlsonRd (
firstArgument: UniffiExpression,
secondArgument: UniffiExpression,
thirdArgument: UniffiExpression,
) : UniffiExpression
Carlson's symmetric elliptic integral R D ( x , y , z ) R_D(x,y,z) R D ( x , y , z ) .
carlson_rf#
Explicit context
fun carlsonRf (
firstArgument: UniffiExpression,
secondArgument: UniffiExpression,
thirdArgument: UniffiExpression,
) : UniffiExpression
Carlson's symmetric elliptic integral R F ( x , y , z ) R_F(x,y,z) R F ( x , y , z ) .
carlson_rj#
Explicit context
fun carlsonRj (
firstArgument: UniffiExpression,
secondArgument: UniffiExpression,
thirdArgument: UniffiExpression,
fourthArgument: UniffiExpression,
) : UniffiExpression
Carlson's symmetric elliptic integral R J ( x , y , z , p ) R_J(x,y,z,p) R J ( x , y , z , p ) .
chebyshev_polynomial_first_kind#
Explicit context
fun chebyshevPolynomialFirstKind (
degree: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Chebyshev polynomial T n ( x ) T_n(x) T n ( x ) .
chebyshev_polynomial_second_kind#
Explicit context
fun chebyshevPolynomialSecondKind (
degree: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Chebyshev polynomial U n ( x ) U_n(x) U n ( x ) .
cosine_integral#
Explicit context
fun cosineIntegral ( argument: UniffiExpression) : UniffiExpression
The cosine integral Ci ( x ) \operatorname{Ci}(x) Ci ( x ) , with Ci ′ ( x ) = cos ( x ) / x \operatorname{Ci}'(x) = \cos(x)/x Ci ′ ( x ) = cos ( x ) / x .
digamma#
Explicit context
fun digamma ( argument: UniffiExpression) : UniffiExpression
The digamma function ψ ( x ) = Γ ′ ( x ) / Γ ( x ) \psi(x) = \Gamma'(x)/\Gamma(x) ψ ( x ) = Γ ′ ( x ) /Γ ( x ) .
elliptic_e#
Explicit context
fun ellipticE ( parameter: UniffiExpression) : UniffiExpression
The complete second-kind elliptic integral E ( m ) E(m) E ( m ) , with parameter m = k 2 m=k^2 m = k 2 .
elliptic_e_incomplete#
Explicit context
fun ellipticEIncomplete (
amplitude: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
The incomplete second-kind elliptic integral E ( ϕ ∣ m ) E(\phi\mid m) E ( ϕ ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
elliptic_f#
Explicit context
fun ellipticF (
amplitude: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
The incomplete first-kind elliptic integral F ( ϕ ∣ m ) F(\phi\mid m) F ( ϕ ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
elliptic_k#
Explicit context
fun ellipticK ( parameter: UniffiExpression) : UniffiExpression
The complete first-kind elliptic integral K ( m ) K(m) K ( m ) , with parameter m = k 2 m=k^2 m = k 2 .
elliptic_pi#
Explicit context
fun ellipticPi (
characteristic: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
The complete third-kind elliptic integral Π ( n ∣ m ) \Pi(n\mid m) Π ( n ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
elliptic_pi_incomplete#
Explicit context
fun ellipticPiIncomplete (
characteristic: UniffiExpression,
amplitude: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
The incomplete third-kind elliptic integral Π ( n ; ϕ ∣ m ) \Pi(n;\phi\mid m) Π ( n ; ϕ ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
error_function#
Explicit context
fun errorFunction ( argument: UniffiExpression) : UniffiExpression
The error function erf ( x ) = 2 π ∫ 0 x e − t 2 d t \operatorname{erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2}\,dt erf ( x ) = π 2 ∫ 0 x e − t 2 d t .
error_function_complementary#
Explicit context
fun errorFunctionComplementary ( argument: UniffiExpression) : UniffiExpression
The complementary error function erfc ( x ) = 1 − erf ( x ) \operatorname{erfc}(x) = 1 - \operatorname{erf}(x) erfc ( x ) = 1 − erf ( x ) .
exponential_integral#
Explicit context
fun exponentialIntegral ( argument: UniffiExpression) : UniffiExpression
The exponential integral Ei ( x ) \operatorname{Ei}(x) Ei ( x ) , with Ei ′ ( x ) = e x / x \operatorname{Ei}'(x) = e^x/x Ei ′ ( x ) = e x / x .
fresnel_cosine_integral#
Explicit context
fun fresnelCosineIntegral ( argument: UniffiExpression) : UniffiExpression
The Fresnel cosine integral C ( x ) = ∫ 0 x cos ( π t 2 / 2 ) d t C(x) = \int_0^x \cos(\pi t^2/2)\,dt C ( x ) = ∫ 0 x cos ( π t 2 /2 ) d t .
fresnel_sine_integral#
Explicit context
fun fresnelSineIntegral ( argument: UniffiExpression) : UniffiExpression
The Fresnel sine integral S ( x ) = ∫ 0 x sin ( π t 2 / 2 ) d t S(x) = \int_0^x \sin(\pi t^2/2)\,dt S ( x ) = ∫ 0 x sin ( π t 2 /2 ) d t .
gamma#
Explicit context
fun gamma ( argument: UniffiExpression) : UniffiExpression
The gamma function Γ ( x ) \Gamma(x) Γ ( x ) , the analytic continuation of (x-1)!.
gegenbauer_polynomial#
Explicit context
fun gegenbauerPolynomial (
degree: UniffiExpression,
parameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Gegenbauer polynomial C n ( λ ) ( x ) C_n^{(\lambda)}(x) C n ( λ ) ( x ) .
generalized_laguerre_polynomial#
Explicit context
fun generalizedLaguerrePolynomial (
degree: UniffiExpression,
parameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The generalized Laguerre polynomial L n ( α ) ( x ) L_n^{(\alpha)}(x) L n ( α ) ( x ) .
hermite_polynomial#
Explicit context
fun hermitePolynomial (
degree: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The physicists' Hermite polynomial H n ( x ) H_n(x) H n ( x ) .
hurwitz_zeta#
Explicit context
fun hurwitzZeta (
s: UniffiExpression,
a: UniffiExpression,
) : UniffiExpression
The Hurwitz zeta function ζ ( s , a ) = ∑ k ≥ 0 ( k + a ) − s \zeta(s, a) = \sum_{k\geq 0} (k+a)^{-s} ζ ( s , a ) = ∑ k ≥ 0 ( k + a ) − s , the numeric primitive of the family. hurwitz_zeta(s, 1) folds to zeta(s); hurwitz_zeta(s, 1/2) to ( 2 s − 1 ) ζ ( s ) (2^s - 1)\zeta(s) ( 2 s − 1 ) ζ ( s ) ; a positive integer second argument reduces to zeta(s) minus the finite head; a non-positive integer first argument gives a Bernoulli polynomial in a.
hypergeometric_0f1#
Explicit context
fun hypergeometric0f1 (
lowerParameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The confluent limit 0 F 1 ( ; b ; z ) {}_0F_1(; b; z) 0 F 1 ( ; b ; z ) , lowered to hypergeometric_pfq.
hypergeometric_1f1#
Explicit context
fun hypergeometric1f1 (
upperParameter: UniffiExpression,
lowerParameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
Kummer's confluent hypergeometric function 1 F 1 ( a ; b ; z ) {}_1F_1(a; b; z) 1 F 1 ( a ; b ; z ) .
hypergeometric_2f1#
Explicit context
fun hypergeometric2f1 (
firstUpperParameter: UniffiExpression,
secondUpperParameter: UniffiExpression,
lowerParameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Gauss hypergeometric function 2 F 1 ( a , b ; c ; z ) {}_2F_1(a, b; c; z) 2 F 1 ( a , b ; c ; z ) .
hypergeometric_pfq#
Explicit context
fun hypergeometricPfq (
upperParameters: List< UniffiExpression> ,
lowerParameters: List< UniffiExpression> ,
argument: UniffiExpression,
) : UniffiExpression
The generalized hypergeometric function p F q ( a ; b ; z ) {}_pF_q(\mathbf a; \mathbf b; z) p F q ( a ; b ; z ) . The two parameter groups are ordered sequences: order and repetition are significant, so a set or frozenset is rejected.
imaginary_error_function#
Explicit context
fun imaginaryErrorFunction ( argument: UniffiExpression) : UniffiExpression
The imaginary error function erfi ( x ) = 2 π ∫ 0 x e t 2 d t = − i erf ( i x ) \operatorname{erfi}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{t^2}\,dt = -i\operatorname{erf}(ix) erfi ( x ) = π 2 ∫ 0 x e t 2 d t = − i erf ( i x ) .
jacobi_amplitude#
Explicit context
fun jacobiAmplitude (
argument: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
The pinned Jacobi amplitude am ( u ∣ m ) \operatorname{am}(u\mid m) am ( u ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
jacobi_cn#
Explicit context
fun jacobiCn (
argument: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
Jacobi's elliptic function cn ( u ∣ m ) \operatorname{cn}(u\mid m) cn ( u ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
jacobi_dn#
Explicit context
fun jacobiDn (
argument: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
Jacobi's elliptic function dn ( u ∣ m ) \operatorname{dn}(u\mid m) dn ( u ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
jacobi_polynomial#
Explicit context
fun jacobiPolynomial (
degree: UniffiExpression,
firstParameter: UniffiExpression,
secondParameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Jacobi polynomial P n ( α , β ) ( x ) P_n^{(\alpha,\beta)}(x) P n ( α , β ) ( x ) .
jacobi_sn#
Explicit context
fun jacobiSn (
argument: UniffiExpression,
parameter: UniffiExpression,
) : UniffiExpression
Jacobi's elliptic function sn ( u ∣ m ) \operatorname{sn}(u\mid m) sn ( u ∣ m ) , with parameter m = k 2 m=k^2 m = k 2 .
jacobi_theta_1#
Explicit context
fun jacobiTheta1 (
argument: UniffiExpression,
halfPeriodRatio: UniffiExpression,
) : UniffiExpression
Jacobi's first theta function θ 1 ( z ∣ τ ) \theta_1(z\mid\tau) θ 1 ( z ∣ τ ) , with half-period ratio τ \tau τ .
jacobi_theta_2#
Explicit context
fun jacobiTheta2 (
argument: UniffiExpression,
halfPeriodRatio: UniffiExpression,
) : UniffiExpression
Jacobi's second theta function θ 2 ( z ∣ τ ) \theta_2(z\mid\tau) θ 2 ( z ∣ τ ) , with half-period ratio τ \tau τ .
jacobi_theta_3#
Explicit context
fun jacobiTheta3 (
argument: UniffiExpression,
halfPeriodRatio: UniffiExpression,
) : UniffiExpression
Jacobi's third theta function θ 3 ( z ∣ τ ) \theta_3(z\mid\tau) θ 3 ( z ∣ τ ) , with half-period ratio τ \tau τ .
jacobi_theta_4#
Explicit context
fun jacobiTheta4 (
argument: UniffiExpression,
halfPeriodRatio: UniffiExpression,
) : UniffiExpression
Jacobi's fourth theta function θ 4 ( z ∣ τ ) \theta_4(z\mid\tau) θ 4 ( z ∣ τ ) , with half-period ratio τ \tau τ .
laguerre_polynomial#
Explicit context
fun laguerrePolynomial (
degree: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Laguerre polynomial, lowered to generalized Laguerre with parameter zero.
legendre_polynomial#
Explicit context
fun legendrePolynomial (
degree: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The Legendre polynomial P n ( x ) P_n(x) P n ( x ) .
lerch_phi#
Explicit context
fun lerchPhi (
argument: UniffiExpression,
order: UniffiExpression,
shift: UniffiExpression,
) : UniffiExpression
The principal Lerch transcendent Φ ( z , s , a ) \Phi(z, s, a) Φ ( z , s , a ) .
log_gamma#
Explicit context
fun logGamma ( argument: UniffiExpression) : UniffiExpression
The principal-branch log-gamma function (not log(gamma(x)) off the real axis).
logarithmic_integral#
Explicit context
fun logarithmicIntegral ( argument: UniffiExpression) : UniffiExpression
The logarithmic integral li ( x ) \operatorname{li}(x) li ( x ) , with li ′ ( x ) = 1 / log ( x ) \operatorname{li}'(x) = 1/\log(x) li ′ ( x ) = 1/ log ( x ) .
meijer_g#
Explicit context
fun meijerG (
upperNumeratorParameters: List< UniffiExpression> ,
upperDenominatorParameters: List< UniffiExpression> ,
lowerNumeratorParameters: List< UniffiExpression> ,
lowerDenominatorParameters: List< UniffiExpression> ,
argument: UniffiExpression,
) : UniffiExpression
The Meijer G-function G p , q m , n G_{p,q}^{m,n} G p , q m , n from its four ordered parameter groups. The orders m, n, p, and q are read from the group lengths and are never supplied separately.
polygamma#
Explicit context
fun polygamma (
order: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The polygamma function ψ ( n ) ( x ) \psi^{(n)}(x) ψ ( n ) ( x ) , the order-th derivative of digamma; polygamma(0, x) reduces to digamma(x).
polylogarithm#
Explicit context
fun polylogarithm (
order: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The principal-branch polylogarithm Li s ( z ) \operatorname{Li}_s(z) Li s ( z ) .
sine_integral#
Explicit context
fun sineIntegral ( argument: UniffiExpression) : UniffiExpression
The sine integral Si ( x ) = ∫ 0 x sin ( t ) / t d t \operatorname{Si}(x) = \int_0^x \sin(t)/t\,dt Si ( x ) = ∫ 0 x sin ( t ) / t d t .
ultraspherical_polynomial#
Explicit context
fun ultrasphericalPolynomial (
degree: UniffiExpression,
parameter: UniffiExpression,
argument: UniffiExpression,
) : UniffiExpression
The ultraspherical polynomial, lowered to the Gegenbauer head.
zeta#
Explicit context
fun zeta ( argument: UniffiExpression) : UniffiExpression
The Riemann zeta function ζ ( s ) = ∑ k ≥ 1 k − s \zeta(s) = \sum_{k\geq 1} k^{-s} ζ ( s ) = ∑ k ≥ 1 k − s .
curl#
Explicit context
fun curl (
vectorComponents: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : List< UniffiExpression>
∇ × F \nabla\times F ∇ × F .
divergence#
Explicit context
fun divergence (
vectorComponents: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : UniffiExpression
∇ ⋅ F = ∑ i ∂ F i / ∂ x i \nabla\cdot F = \sum_i \partial F_i/\partial x_i ∇ ⋅ F = ∑ i ∂ F i / ∂ x i ; component and variable counts must match.
gradient#
Explicit context
fun gradient (
scalarField: UniffiExpression,
variables: List< kotlin. String> ,
) : List< UniffiExpression>
∇ f \nabla f ∇ f : the partial derivatives in the order of variables.
hessian#
Explicit context
fun hessian (
scalarField: UniffiExpression,
variables: List< kotlin. String> ,
) : UniffiMatrix
The n × n n\times n n × n matrix of second partials, computed as the Jacobian of the gradient; structurally symmetric on smooth input.
jacobian#
Explicit context
fun jacobian (
vectorComponents: List< UniffiExpression> ,
variables: List< kotlin. String> ,
) : UniffiMatrix
The matrix with entry ( i , j ) = ∂ F i / ∂ x j (i, j) = \partial F_i/\partial x_j ( i , j ) = ∂ F i / ∂ x j (rows index components, columns index variables).
laplacian#
Explicit context
fun laplacian (
scalarField: UniffiExpression,
variables: List< kotlin. String> ,
) : UniffiExpression
Δ f = ∇ ⋅ ∇ f \Delta f = \nabla\cdot\nabla f Δ f = ∇ ⋅ ∇ f .