Diagrams.TwoD.Apollonian:descartes from diagrams-contrib-1.3.0.5

Time bar (total: 2.0s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze185.0ms (9.5%)

Memory
12.0MiB live, 285.7MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
25%25%74.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
25%25%74.9%0.1%0%0%0%6
25%25%74.9%0.1%0%0%0%7
25%25%74.9%0.1%0%0%0%8
26.2%25%70.2%0.1%0%4.7%0%9
28.9%25%61.4%0.1%0%13.5%0%10
31.2%26.3%58%0.1%0%15.5%0%11
37.2%28.9%48.7%0.1%0%22.3%0%12
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample1.3s (68.2%)

Memory
-1.3MiB live, 2 071.3MiB allocated
Samples
570.0ms8 256×0valid
336.0ms4 641×0invalid
Precisions
Click to see histograms. Total time spent on operations: 575.0ms
ival-mult: 341.0ms (59.4% of total)
ival-add: 115.0ms (20% of total)
ival-sqrt: 98.0ms (17.1% of total)
ival-true: 9.0ms (1.6% of total)
exact: 7.0ms (1.2% of total)
ival-assert: 4.0ms (0.7% of total)
Bogosity

explain120.0ms (6.2%)

Memory
18.9MiB live, 217.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
850-2(-9.699447787245016e-25 -1.5683650154950208e-299 1.7975727747985802e-304)(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
90-0-(+.f64 (*.f64 x y) (*.f64 x z))
90-0-(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
00-0-z
00-0-(*.f64 x z)
00-0-(*.f64 x y)
00-0-(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(*.f64 y z)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))oflow-rescue790
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))overflow79
(*.f64 y z)overflow39
(+.f64 (*.f64 x y) (*.f64 x z))overflow55
(*.f64 x z)overflow36
(*.f64 x y)overflow34
+.f64(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))nan-rescue90
(+.f64 (*.f64 x y) (*.f64 x z))overflow55
(*.f64 x z)overflow36
(*.f64 x y)overflow34
(*.f64 y z)overflow39
+.f64(+.f64 (*.f64 x y) (*.f64 x z))nan-rescue90
(*.f64 x y)overflow34
(*.f64 x z)overflow36
sqrt.f64(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))uflow-rescue40
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))underflow4
(*.f64 y z)underflow28
(+.f64 (*.f64 x y) (*.f64 x z))underflow7
(*.f64 x z)underflow27
(*.f64 x y)underflow24
Confusion
Predicted +Predicted -
+832
-0171
Precision
1.0
Recall
0.9764705882352941
Confusion?
Predicted +Predicted MaybePredicted -
+8302
-00171
Precision?
1.0
Recall?
0.9764705882352941
Freqs
test
numberfreq
0173
170
28
35
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
39.0ms512×0valid
Compiler

Compiled 189 to 48 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-mult: 12.0ms (57.3% of total)
ival-add: 4.0ms (19.1% of total)
ival-sqrt: 4.0ms (19.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.2%)

Memory
6.6MiB live, 6.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Outputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Compiler

Compiled 14 to 11 computations (21.4% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.5%
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Compiler

Compiled 14 to 11 computations (21.4% saved)

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 (*.f64 x y) (*.f64 x z))
cost-diff0
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
cost-diff0
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
cost-diff0
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(literal 2 binary64)
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)
Outputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(literal 2 binary64)
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)

localize29.0ms (1.5%)

Memory
-19.1MiB live, 60.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
accuracy1.8125000000000002
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
accuracy1.8125000000000002
(+.f64 (*.f64 x y) (*.f64 x z))
accuracy19.928698170426344
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
Samples
22.0ms256×0valid
Compiler

Compiled 116 to 24 computations (79.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 9.0ms (67.1% of total)
ival-add: 2.0ms (14.9% of total)
ival-sqrt: 2.0ms (14.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series26.0ms (1.3%)

Memory
11.1MiB live, 49.4MiB allocated
Counts
4 → 95
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
Outputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* y z)
(+ (* x (+ y z)) (* y z))
(* x (+ y z))
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* x (+ y (+ z (/ (* y z) x))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (* -1 (/ (* y z) x))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(* x z)
(+ (* x z) (* y (+ x z)))
(+ (* x y) (* x z))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* y (+ x z))
(* y (+ x (+ z (/ (* x z) y))))
(* x y)
(* y (+ x (/ (* x z) y)))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* -1 (* y (+ (* -1 x) (* -1 z))))
(* -1 (* y (+ (* -1 x) (+ (* -1 z) (* -1 (/ (* x z) y))))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(+ (* x y) (* z (+ x y)))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* z (+ x y))
(* z (+ x (+ y (/ (* x y) z))))
(* z (+ x (/ (* x y) z)))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
(* -1 (* z (+ (* -1 x) (* -1 y))))
(* -1 (* z (+ (* -1 x) (+ (* -1 y) (* -1 (/ (* x y) z))))))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
Calls

9 calls:

TimeVariablePointExpression
6.0ms
y
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)))
4.0ms
x
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)))
3.0ms
z
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)))
3.0ms
x
@inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)))
2.0ms
y
@inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)))

simplify2.0ms (0.1%)

Memory
4.4MiB live, 4.4MiB allocated
Algorithm
egg-herbie
Counts
95 → 4
Calls
Call 1
Inputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* y z)
(+ (* x (+ y z)) (* y z))
(* x (+ y z))
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* x (+ y (+ z (/ (* y z) x))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (* -1 (/ (* y z) x))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(* x z)
(+ (* x z) (* y (+ x z)))
(+ (* x y) (* x z))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* y (+ x z))
(* y (+ x (+ z (/ (* x z) y))))
(* x y)
(* y (+ x (/ (* x z) y)))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* -1 (* y (+ (* -1 x) (* -1 z))))
(* -1 (* y (+ (* -1 x) (+ (* -1 z) (* -1 (/ (* x z) y))))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(+ (* x y) (* z (+ x y)))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* z (+ x y))
(* z (+ x (+ y (/ (* x y) z))))
(* z (+ x (/ (* x y) z)))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
(* -1 (* z (+ (* -1 x) (* -1 y))))
(* -1 (* z (+ (* -1 x) (+ (* -1 y) (* -1 (/ (* x y) z))))))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
Outputs
(* 2 (sqrt (* y z)))
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+.f64 (*.f64 x y) (*.f64 x z))

rewrite0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
Outputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))

eval1.0ms (0%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 160 to 23 computations (85.6% saved)

prune2.0ms (0.1%)

Memory
4.3MiB live, 4.3MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
68.7%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.5%
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
6.5%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
5.8%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
14.3%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Compiler

Compiled 89 to 61 computations (31.5% saved)

simplify1.0ms (0%)

Memory
1.8MiB live, 1.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(+.f64 (*.f64 x y) (*.f64 x z))
cost-diff0
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
cost-diff0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
cost-diff0
(*.f64 x z)
cost-diff0
(*.f64 x y)
cost-diff0
(+.f64 (*.f64 x y) (*.f64 x z))
cost-diff0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
cost-diff0
(+.f64 (*.f64 x y) (*.f64 x z))
cost-diff0
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
cost-diff0
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
cost-diff0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
(*.f64 x y)
x
y
(*.f64 x z)
z
(*.f64 y z)

localize42.0ms (2.1%)

Memory
-6.7MiB live, 71.4MiB allocated
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy1.8125000000000002
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
accuracy1.8125000000000002
(+.f64 (*.f64 x y) (*.f64 x z))
accuracy59.65882439507276
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
accuracy0.0
(*.f64 x z)
accuracy0.0
(*.f64 x y)
accuracy1.8125000000000002
(+.f64 (*.f64 x y) (*.f64 x z))
accuracy60.11585827659776
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
accuracy1.8125000000000002
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
accuracy1.8125000000000002
(+.f64 (*.f64 x y) (*.f64 x z))
accuracy19.928698170426344
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
accuracy52.0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Samples
25.0ms256×0valid
Compiler

Compiled 295 to 33 computations (88.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 9.0ms (67.2% of total)
ival-add: 2.0ms (14.9% of total)
ival-sqrt: 2.0ms (14.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series13.0ms (0.7%)

Memory
-18.6MiB live, 19.6MiB allocated
Counts
8 → 95
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(*.f64 x y)
(*.f64 x z)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
Outputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* y z)
(+ (* x (+ y z)) (* y z))
(* x (+ y z))
(* x y)
(* x z)
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* x (+ y (+ z (/ (* y z) x))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (* -1 (/ (* y z) x))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(+ (* x z) (* y (+ x z)))
(+ (* x y) (* x z))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* y (+ x z))
(* y (+ x (+ z (/ (* x z) y))))
(* y (+ x (/ (* x z) y)))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* -1 (* y (+ (* -1 x) (* -1 z))))
(* -1 (* y (+ (* -1 x) (+ (* -1 z) (* -1 (/ (* x z) y))))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(+ (* x y) (* z (+ x y)))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* z (+ x y))
(* z (+ x (+ y (/ (* x y) z))))
(* z (+ x (/ (* x y) z)))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
(* -1 (* z (+ (* -1 x) (* -1 y))))
(* -1 (* z (+ (* -1 x) (+ (* -1 y) (* -1 (/ (* x y) z))))))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
Calls

9 calls:

TimeVariablePointExpression
5.0ms
z
@inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (* x y) (* x z) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
1.0ms
x
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (* x y) (* x z) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
1.0ms
z
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (* x y) (* x z) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
1.0ms
y
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (* x y) (* x z) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))))
1.0ms
y
@inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (+ (+ (* x y) (* x z)) (* y z)) (+ (* x y) (* x z)) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (* x y) (* x z) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))))

simplify2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated
Algorithm
egg-herbie
Counts
95 → 8
Calls
Call 1
Inputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* y z)
(+ (* x (+ y z)) (* y z))
(* x (+ y z))
(* x y)
(* x z)
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* x (+ y (+ z (/ (* y z) x))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (* -1 (/ (* y z) x))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(+ (* x z) (* y (+ x z)))
(+ (* x y) (* x z))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* y (+ x z))
(* y (+ x (+ z (/ (* x z) y))))
(* y (+ x (/ (* x z) y)))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* -1 (* y (+ (* -1 x) (* -1 z))))
(* -1 (* y (+ (* -1 x) (+ (* -1 z) (* -1 (/ (* x z) y))))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(+ (* x y) (* z (+ x y)))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* z (+ x y))
(* z (+ x (+ y (/ (* x y) z))))
(* z (+ x (/ (* x y) z)))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
(* -1 (* z (+ (* -1 x) (* -1 y))))
(* -1 (* z (+ (* -1 x) (+ (* -1 y) (* -1 (/ (* x y) z))))))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
Outputs
(* 2 (sqrt (* y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+.f64 (*.f64 x y) (*.f64 x z))
(sqrt (* y z))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(*.f64 x y)
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(*.f64 x z)
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))

rewrite1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Counts
8 → 8
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(*.f64 x y)
(*.f64 x z)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
(+.f64 (*.f64 x y) (*.f64 x z))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
(*.f64 x y)
(*.f64 x z)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))

eval2.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB allocated
Compiler

Compiled 588 to 29 computations (95.1% saved)

prune4.0ms (0.2%)

Memory
9.0MiB live, 9.0MiB allocated
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New18220
Fresh000
Picked033
Done011
Total18624
Accuracy
69.0%
Counts
24 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.5%
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
6.5%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
5.8%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
14.3%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
4.8%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
4.7%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Compiler

Compiled 151 to 89 computations (41.1% saved)

simplify1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x z)
cost-diff0
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
cost-diff0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
cost-diff0
(*.f64 x y)
cost-diff0
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
cost-diff0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(*.f64 x y)
x
y
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(*.f64 x z)
x
z
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(*.f64 x y)
x
y
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(*.f64 x z)
x
z

localize28.0ms (1.4%)

Memory
12.0MiB live, 50.2MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x z)
accuracy52.0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
accuracy60.90100201217389
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
accuracy0.0
(*.f64 x y)
accuracy52.0
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
accuracy60.998747038465304
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
Samples
21.0ms256×0valid
Compiler

Compiled 168 to 30 computations (82.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 6.0ms (44.6% of total)
ival-add: 5.0ms (37.2% of total)
ival-sqrt: 2.0ms (14.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series11.0ms (0.5%)

Memory
-23.8MiB live, 14.4MiB allocated
Counts
6 → 74
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(*.f64 x y)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(*.f64 x z)
Outputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* x y)
(* x z)
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
Calls

9 calls:

TimeVariablePointExpression
4.0ms
x
@inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x y) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x z))
1.0ms
x
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x y) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x z))
1.0ms
y
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x y) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x z))
1.0ms
z
@-inf
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x y) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x z))
1.0ms
x
@0
((* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x y) (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt (+ (+ (* x y) (* x z)) (* y z))) (* x z))

simplify2.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated
Algorithm
egg-herbie
Counts
74 → 6
Calls
Call 1
Inputs
(* 2 (sqrt (* y z)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(sqrt (* y z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(+ (sqrt (* y z)) (* x (+ (* -1/8 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))))))
(+ (sqrt (* y z)) (* x (+ (* 1/2 (* (sqrt (/ 1 (* y z))) (+ y z))) (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/16 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))))))
(* x y)
(* x z)
(* 2 (sqrt (* x (+ y z))))
(* x (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (+ (* 2 (sqrt (/ (+ y z) x))) (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(sqrt (* x (+ y z)))
(* x (+ (sqrt (/ (+ y z) x)) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z))))))
(* x (+ (sqrt (/ (+ y z) x)) (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ y z) 3)))) (* (pow y 2) (pow z 2)))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ y z) 5)))) (* (pow y 3) (pow z 3)))) (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ y z)))) (* y z)))))))
(* -2 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))))))
(* -1 (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/8 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 2 (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))) (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1)))))))))
(* -1 (* (sqrt (* x (+ (* -1 y) (* -1 z)))) (sqrt -1)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 5) (pow (+ (* -1 y) (* -1 z)) 3)))) (* (pow y 2) (* (pow z 2) (sqrt -1))))) (+ (* 1/16 (* (sqrt (/ 1 (* (pow x 7) (pow (+ (* -1 y) (* -1 z)) 5)))) (* (pow y 3) (* (pow z 3) (sqrt -1))))) (+ (* 1/2 (* (sqrt (/ 1 (* (pow x 3) (+ (* -1 y) (* -1 z))))) (* y (* z (sqrt -1))))) (* (sqrt (/ (+ (* -1 y) (* -1 z)) x)) (sqrt -1)))))))
(* 2 (sqrt (* x z)))
(+ (* 2 (sqrt (* x z))) (* (sqrt (/ 1 (* x z))) (* y (+ x z))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(+ (* 2 (sqrt (* x z))) (* y (+ (* y (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))) (* (sqrt (/ 1 (* x z))) (+ x z)))))
(sqrt (* x z))
(+ (sqrt (* x z)) (* 1/2 (* (sqrt (/ 1 (* x z))) (* y (+ x z)))))
(+ (sqrt (* x z)) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (* y (pow (+ x z) 2)))) (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))))))
(+ (sqrt (* x z)) (* y (+ (* 1/2 (* (sqrt (/ 1 (* x z))) (+ x z))) (* y (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow z 3)))) (pow (+ x z) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow z 5)))) (* y (pow (+ x z) 3)))))))))
(* 2 (sqrt (* y (+ x z))))
(* y (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (* -1/4 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (+ (* 2 (sqrt (/ (+ x z) y))) (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(sqrt (* y (+ x z)))
(* y (+ (sqrt (/ (+ x z) y)) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z)))))))))
(* y (+ (sqrt (/ (+ x z) y)) (+ (* -1/8 (* (* (pow x 2) (pow z 2)) (sqrt (/ 1 (* (pow y 5) (pow (+ x z) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow z 3)) (sqrt (/ 1 (* (pow y 7) (pow (+ x z) 5)))))) (* 1/2 (* (* x z) (sqrt (/ 1 (* (pow y 3) (+ x z))))))))))
(* -2 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))))))
(* -1 (* y (+ (* -1/4 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))) (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z)))))))))))
(* -1 (* (sqrt (* y (+ (* -1 x) (* -1 z)))) (sqrt -1)))
(* -1 (* y (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1))))))
(* -1 (* y (+ (* -1/8 (* (* (pow x 2) (* (pow z 2) (sqrt -1))) (sqrt (/ 1 (* (pow y 5) (pow (+ (* -1 x) (* -1 z)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow z 3) (sqrt -1))) (sqrt (/ 1 (* (pow y 7) (pow (+ (* -1 x) (* -1 z)) 5)))))) (+ (* 1/2 (* (* x (* z (sqrt -1))) (sqrt (/ 1 (* (pow y 3) (+ (* -1 x) (* -1 z))))))) (* (sqrt (/ (+ (* -1 x) (* -1 z)) y)) (sqrt -1)))))))
(* 2 (sqrt (* x y)))
(+ (* 2 (sqrt (* x y))) (* (sqrt (/ 1 (* x y))) (* z (+ x y))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(+ (* 2 (sqrt (* x y))) (* z (+ (* z (+ (* -1/4 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/8 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))) (* (sqrt (/ 1 (* x y))) (+ x y)))))
(sqrt (* x y))
(+ (sqrt (* x y)) (* 1/2 (* (sqrt (/ 1 (* x y))) (* z (+ x y)))))
(+ (sqrt (* x y)) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (* z (pow (+ x y) 2)))) (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))))))
(+ (sqrt (* x y)) (* z (+ (* 1/2 (* (sqrt (/ 1 (* x y))) (+ x y))) (* z (+ (* -1/8 (* (sqrt (/ 1 (* (pow x 3) (pow y 3)))) (pow (+ x y) 2))) (* 1/16 (* (sqrt (/ 1 (* (pow x 5) (pow y 5)))) (* z (pow (+ x y) 3)))))))))
(* 2 (sqrt (* z (+ x y))))
(* z (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (* -1/4 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/8 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (+ (* 2 (sqrt (/ (+ x y) z))) (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(sqrt (* z (+ x y)))
(* z (+ (sqrt (/ (+ x y) z)) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y)))))))))
(* z (+ (sqrt (/ (+ x y) z)) (+ (* -1/8 (* (* (pow x 2) (pow y 2)) (sqrt (/ 1 (* (pow z 5) (pow (+ x y) 3)))))) (+ (* 1/16 (* (* (pow x 3) (pow y 3)) (sqrt (/ 1 (* (pow z 7) (pow (+ x y) 5)))))) (* 1/2 (* (* x y) (sqrt (/ 1 (* (pow z 3) (+ x y))))))))))
(* -2 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))))))
(* -1 (* z (+ (* -1/4 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/8 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 2 (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))) (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y)))))))))))
(* -1 (* (sqrt (* z (+ (* -1 x) (* -1 y)))) (sqrt -1)))
(* -1 (* z (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1))))))
(* -1 (* z (+ (* -1/8 (* (* (pow x 2) (* (pow y 2) (sqrt -1))) (sqrt (/ 1 (* (pow z 5) (pow (+ (* -1 x) (* -1 y)) 3)))))) (+ (* 1/16 (* (* (pow x 3) (* (pow y 3) (sqrt -1))) (sqrt (/ 1 (* (pow z 7) (pow (+ (* -1 x) (* -1 y)) 5)))))) (+ (* 1/2 (* (* x (* y (sqrt -1))) (sqrt (/ 1 (* (pow z 3) (+ (* -1 x) (* -1 y))))))) (* (sqrt (/ (+ (* -1 x) (* -1 y)) z)) (sqrt -1)))))))
Outputs
(* 2 (sqrt (* y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
(+ (* 2 (sqrt (* y z))) (* (* x (+ y z)) (sqrt (/ 1 (* y z)))))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(+ (* 2 (sqrt (* y z))) (* x (+ (* -1/4 (* (* x (pow (+ y z) 2)) (sqrt (/ 1 (* (pow y 3) (pow z 3)))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
(*.f64 x y)
(+ (* 2 (sqrt (* y z))) (* x (+ (* x (+ (* -1/4 (* (sqrt (/ 1 (* (pow y 3) (pow z 3)))) (pow (+ y z) 2))) (* 1/8 (* (* x (pow (+ y z) 3)) (sqrt (/ 1 (* (pow y 5) (pow z 5)))))))) (* (sqrt (/ 1 (* y z))) (+ y z)))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
(sqrt (* y z))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(+ (sqrt (* y z)) (* 1/2 (* (* x (+ y z)) (sqrt (/ 1 (* y z))))))
(*.f64 x z)

rewrite0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(*.f64 x y)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(*.f64 x z)
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y))
(*.f64 x y)
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z))
(*.f64 x z)

eval1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Compiler

Compiled 340 to 22 computations (93.5% saved)

prune5.0ms (0.3%)

Memory
11.3MiB live, 11.3MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New10010
Fresh000
Picked022
Done044
Total10616
Accuracy
69.0%
Counts
16 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.5%
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
6.5%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
5.8%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
14.3%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
4.8%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
4.7%
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Compiler

Compiled 302 to 115 computations (61.9% saved)

regimes21.0ms (1.1%)

Memory
-17.1MiB live, 34.7MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Outputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Calls

6 calls:

7.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
3.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
3.0ms
x
3.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
3.0ms
y
Results
AccuracySegmentsBranch
68.5%1x
68.5%1y
68.5%1z
68.5%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
68.5%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
68.5%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
Compiler

Compiled 40 to 37 computations (7.5% saved)

regimes18.0ms (0.9%)

Memory
-7.2MiB live, 30.8MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
Calls

6 calls:

5.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
3.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
3.0ms
y
2.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
2.0ms
z
Results
AccuracySegmentsBranch
14.3%1x
14.3%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
14.3%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
14.3%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
14.3%1y
14.3%1z
Compiler

Compiled 40 to 37 computations (7.5% saved)

regimes16.0ms (0.8%)

Memory
-10.6MiB live, 27.6MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
Calls

6 calls:

4.0ms
z
2.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
2.0ms
y
2.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
2.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
Results
AccuracySegmentsBranch
6.5%1z
6.5%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
6.5%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
6.5%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
6.5%1y
6.5%1x
Compiler

Compiled 40 to 37 computations (7.5% saved)

regimes11.0ms (0.6%)

Memory
21.6MiB live, 21.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
Calls

6 calls:

2.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
2.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
2.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
5.8%1x
5.8%1z
5.8%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
5.8%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
5.8%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
5.8%1y
Compiler

Compiled 40 to 37 computations (7.5% saved)

regimes12.0ms (0.6%)

Memory
-18.8MiB live, 19.1MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
Calls

6 calls:

4.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
1.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
1.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
4.8%1z
4.8%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
4.8%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
4.8%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
4.8%1x
4.8%1y
Compiler

Compiled 40 to 37 computations (7.5% saved)

regimes7.0ms (0.4%)

Memory
18.1MiB live, 18.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Outputs
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Calls

6 calls:

1.0ms
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
1.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
1.0ms
z
1.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
1.0ms
y
Results
AccuracySegmentsBranch
4.7%1z
4.7%1(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
4.7%1(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
4.7%1(+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))
4.7%1x
4.7%1y
Compiler

Compiled 40 to 37 computations (7.5% saved)

simplify5.0ms (0.3%)

Memory
10.6MiB live, 10.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))
Outputs
(*.f64 #s(literal 2 binary64) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z))))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (+.f64 (*.f64 x y) (*.f64 x z)) (*.f64 y z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) (+.f64 (*.f64 x y) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x z)))
#s(approx (* 2 (sqrt (+ (+ (* x y) (* x z)) (* y z)))) #s(approx (sqrt (+ (+ (* x y) (* x z)) (* y z))) (*.f64 x y)))

soundness1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated
Stop Event
done
Compiler

Compiled 151 to 26 computations (82.8% saved)

preprocess50.0ms (2.6%)

Memory
-2.1MiB live, 76.8MiB allocated
Compiler

Compiled 460 to 130 computations (71.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...