Skip to content

LessEqual ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.

Less-than-or-equal comparison (less than or equal to).

✓ checked against that system · ! checked, with disagreements (hover a chip)FungrimLessEqualWolfram LanguageLessEqual!
LessEqual(any, any*) -> booleanas compute-engine declares it
SymPyLe(any, any*)Rustless_equal(any, any*)
Typed signatures
TypePackageApplies
(any, any*) -> booleancompute-enginealways

Domain: Compute engine

Examples

3 more kept as data, checked against the oracles
Basic #

A chain of non-strict inequalities, resolved exactly

live ↗
In217≤15≤π10\frac{2}{17}≤\frac{1}{5}≤\frac{π}{10}OutTrue\mathrm{True}
Scope #

Exact rationals again: 32≤53\frac{3}{2} \le \frac{5}{3}

live ↗
In32≤53\frac{3}{2}≤\frac{5}{3}OutTrue\mathrm{True}

A 20-digit approximation of π\pi lies below π\pi itself

live ↗
InN(π,20)≤πN(π, 20)≤πOutTrue\mathrm{True}

Nested radicals compared exactly, with equality in fact: 2+3=5+26\sqrt2+\sqrt3 = \sqrt{5+2\sqrt6}

live ↗
In2+3≤5+26\sqrt{2}+\sqrt{3}≤\sqrt{5+2\sqrt{6}}OutTrue\mathrm{True}
live ↗
InN(π,20)≤π(1−256×(10−20))N(π, 20)≤π(1-256×(10^{-20}))OutTrue\mathrm{True}
live ↗
Inx≤xx≤xOutTrue\mathrm{True}
live ↗
Inπe≤eππ^{e}≤e^{π}OutTrue\mathrm{True}
Properties #

A non-strict assumption x≤0x\le 0 gives the same −x-x

live ↗
InRefine(x2,x≤0)\mathrm{Refine}(\sqrt{x^2}, x≤0)Out−x-x
live ↗
In∫−∞∞∫−∞∞ ⁣[1≤x2+y2≤2]x2 dxdy\int_{-∞}^{∞}\int_{-∞}^{∞}\!\lbrack1≤x^2+y^2≤2\rbrack x^2\, \mathrm{d}x \mathrm{d}yOut∫−∞∞ ⁣∫−∞∞ ⁣[1≤x2+y2≤2]x2 dy dx\int_{-∞}^{∞}\!\int_{-∞}^{∞}\!\lbrack1≤x^2+y^2≤2\rbrack x^2\, \mathrm{d}y\, \mathrm{d}x
About
Examples12
Checked againstWolfram Language 6 agree5 differSymPy 5 agree5 differmpmath 4 agree4 differRust 5 agree3 differ
CrosswalkFungrimWolfram LanguageSymPy ×2Rust

Implementation

mappedsympypackages/oracle/src/mappings.ts
mappedsympypackages/oracle/src/mappings.ts

A chain is the conjunction of its neighbors.

mappedmpmathpackages/oracle/src/mappings.ts
mappedrustpackages/oracle/src/mappings.ts