Skip to content

Greater ​

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

Greater-than comparison (strictly greater than).

✓ checked against that system · ! checked, with disagreements (hover a chip)FungrimGreaterWolfram LanguageGreater!
Greater(any, any*) -> booleanas compute-engine declares it
SymPyGt(any, any*)Rustgreater(any, any*)
Typed signatures
TypePackageApplies
(any, any*) -> booleancompute-enginealways

Domain: Compute engine

Examples

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

Comparison of integers

live ↗
In0<10\lt1OutTrue\mathrm{True}
Scope #

Exact rationals compare without rounding

live ↗
In43<32\frac{4}{3}\lt\frac{3}{2}OutTrue\mathrm{True}

A tiny offset is still seen as below 1

live ↗
In1−128×(10−16)<11-128×(10^{-16})\lt1OutTrue\mathrm{True}

A doubled offset is likewise below 1

live ↗
In1−256×(10−16)<11-256×(10^{-16})\lt1OutTrue\mathrm{True}
live ↗
Inπe<eππ^{e}\lt e^{π}OutTrue\mathrm{True}
Properties #

Positivity of xx lets x2\sqrt{x^2} simplify to xx

live ↗
InRefine(x2,x>0)\mathrm{Refine}(\sqrt{x^2}, x\gt0)Outxx
live ↗
In∫−∞∞∫−∞∞ ⁣[1<x2+y2<2]x2 dxdy\int_{-∞}^{∞}\int_{-∞}^{∞}\!\lbrack1\lt x^2+y^2\lt2\rbrack x^2\, \mathrm{d}x \mathrm{d}yOut∫−∞∞ ⁣∫−∞∞ ⁣[1<x2+y2<2]x2 dy dx\int_{-∞}^{∞}\!\int_{-∞}^{∞}\!\lbrack1\lt x^2+y^2\lt2\rbrack x^2\, \mathrm{d}y\, \mathrm{d}x
About
Examples9
Checked againstWolfram Language 6 agree2 differSymPy 5 agree2 differ1 errormpmath 5 agree1 differ1 errorRust 5 agree1 differ
CrosswalkFungrimWolfram LanguageSymPy ×2Rust

Implementation

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

A chain is the conjunction of its neighbors.

mappedrustpackages/oracle/src/mappings.ts