Skip to content

And ​

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

Logical conjunction (AND): true when all operands are true. Short-circuits: operands are evaluated left to right and evaluation stops at the first False.

✓ checked against that system · ! checked, with disagreements (hover a chip)WikipediaLogical conjunctionMathWorldConjunctionWikidataQ191081Encyclopedia of MathematicsConjunctionnLablogical conjunctionBritannicatopic/conjunction-logicFungrimAndWolfram LanguageAnd!SymPyAnd($*,)
And(boolean+) -> booleanas compute-engine declares it
Typed signatures
TypePackageApplies
(boolean+) -> booleancompute-enginealways

Domain: Compute engine

Examples

Basic #

Every conjunct is decided, so the whole conjunction is True

live ↗
In1<2∧3<π1\lt2∧3\lt πOutTrue\mathrm{True}
Scope #
live ↗
InReplaceAll(x≠0∧y=1x,Rule(x,0))\mathrm{ReplaceAll}(x≠0∧y=\frac{1}{x}, \mathrm{Rule}(x, 0))OutFalse\mathrm{False}
live ↗
InReplaceAll(y=1x∧x≠0,Rule(x,0))\mathrm{ReplaceAll}(y=\frac{1}{x}∧x≠0, \mathrm{Rule}(x, 0))OutFalse\mathrm{False}
Applications #

Assumptions on aa and bb license (ab)c=abc(a^b)^c = a^{bc}

live ↗
InRefine((ab)c,a≥0∧b∈R)\mathrm{Refine}((a^{b})^{c}, a≥0∧b∈ℝ)Outabca^{bc}
live ↗
In∫−∞∞∫−∞∞ ⁣[x2+y2<1∧(x−1)2+y2<2] dxdy\int_{-∞}^{∞}\int_{-∞}^{∞}\!\lbrack x^2+y^2\lt1∧(x-1)^2+y^2\lt2\rbrack\, \mathrm{d}x \mathrm{d}yOut∫−∞∞ ⁣∫−∞∞ ⁣[x2+y2<1∧(x−1)2+y2<2] dy dx\int_{-∞}^{∞}\!\int_{-∞}^{∞}\!\lbrack x^2+y^2\lt1∧(x-1)^2+y^2\lt2\rbrack\, \mathrm{d}y\, \mathrm{d}x
Properties #

De Morgan: ¬(a∧b)=¬a∨¬b\neg(a\wedge b) = \neg a \vee \neg b

live ↗
InBooleanConvert(¬(a∧b))\mathrm{BooleanConvert}(¬(a∧b))Out¬a∨¬b¬{{a}}∨¬{{b}}
About
Examples6
Checked againstWolfram Language 5 agree1 differSymPy 1 agree1 differ
CrosswalkWikipediaMathWorldWikidataEncyclopedia of MathematicsnLabBritannicaFungrimWolfram LanguageSymPy

Implementation

mappedsympypackages/oracle/src/mappings.ts