Diagrams.Solve.Polynomial:quadForm from diagrams-solve-0.1, B

Time bar (total: 1.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze53.0ms (3.9%)

Memory
-29.5MiB live, 92.1MiB 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
50%49.9%49.9%0.1%0%0%0%4
50%49.9%49.9%0.1%0%0%0%5
50%49.9%49.9%0.1%0%0%0%6
66.7%49.9%25%0.1%0%25%0%7
66.7%49.9%25%0.1%0%25%0%8
66.7%49.9%25%0.1%0%25%0%9
80%49.9%12.5%0.1%0%37.4%0%10
80%49.9%12.5%0.1%0%37.4%0%11
80%49.9%12.5%0.1%0%37.4%0%12
Compiler

Compiled 12 to 12 computations (0% saved)

sample997.0ms (71.9%)

Memory
43.3MiB live, 1 509.1MiB allocated
Samples
529.0ms8 256×0valid
127.0ms2 078×0invalid
Precisions
Click to see histograms. Total time spent on operations: 369.0ms
ival-mult: 129.0ms (34.9% of total)
ival-sqrt: 80.0ms (21.7% of total)
ival-div: 79.0ms (21.4% of total)
ival-add: 59.0ms (16% of total)
exact: 10.0ms (2.7% of total)
ival-true: 8.0ms (2.2% of total)
ival-assert: 4.0ms (1.1% of total)
Bogosity

explain102.0ms (7.3%)

Memory
-8.9MiB live, 166.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
00-0-#s(literal 1 binary64)
00-0-z
00-0-(sqrt.f64 z)
00-0-(+.f64 x (*.f64 y (sqrt.f64 z)))
00-0-(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
00-0-y
00-0-#s(literal 2 binary64)
00-0-(*.f64 y (sqrt.f64 z))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
41.0ms512×0valid
Compiler

Compiled 104 to 44 computations (57.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 6.0ms (34.6% of total)
ival-sqrt: 4.0ms (23% of total)
ival-div: 3.0ms (17.3% of total)
ival-add: 2.0ms (11.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess7.0ms (0.5%)

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

Compiled 10 to 10 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 10 to 10 computations (0% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize27.0ms (1.9%)

Memory
-6.2MiB live, 36.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
accuracy0.0
(sqrt.f64 z)
accuracy0.01171875
(+.f64 x (*.f64 y (sqrt.f64 z)))
accuracy0.1953125
(*.f64 y (sqrt.f64 z))
Samples
17.0ms256×0valid
Compiler

Compiled 62 to 22 computations (64.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 3.0ms (34.8% of total)
ival-div: 2.0ms (23.2% of total)
ival-sqrt: 2.0ms (23.2% of total)
ival-add: 1.0ms (11.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.5%)

Memory
10.0MiB live, 10.0MiB allocated
Counts
5 → 23
Calls
Call 1
Inputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(+.f64 x (*.f64 y (sqrt.f64 z)))
(*.f64 y (sqrt.f64 z))
(sqrt.f64 z)
Outputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
23 → 5
Calls
Call 1
Inputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
Outputs
(* 1/2 (* y (sqrt z)))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(* y (sqrt z))
(+.f64 x (*.f64 y (sqrt.f64 z)))
(+ x (* y (sqrt z)))
(*.f64 y (sqrt.f64 z))
(* 1/2 x)
(sqrt.f64 z)

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
1.9MiB live, 1.9MiB allocated
Compiler

Compiled 130 to 24 computations (81.5% saved)

prune2.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh000
Picked011
Done000
Total7411
Accuracy
99.8%
Counts
11 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
49.4%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
3.1%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
3.2%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
Compiler

Compiled 52 to 49 computations (5.8% saved)

simplify1.0ms (0%)

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

Found 8 expressions of interest:

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

localize32.0ms (2.3%)

Memory
-1.6MiB live, 33.8MiB allocated
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
accuracy0.0
(sqrt.f64 z)
accuracy0.1953125
(*.f64 y (sqrt.f64 z))
accuracy32.30897119119406
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
accuracy0.0
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
accuracy61.99004896860646
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
accuracy0.0
(sqrt.f64 z)
accuracy61.96008402740031
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
Samples
18.0ms256×0valid
Compiler

Compiled 133 to 31 computations (76.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 3.0ms (34.6% of total)
ival-div: 2.0ms (23.1% of total)
ival-sqrt: 2.0ms (23.1% of total)
ival-add: 1.0ms (11.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.3%)

Memory
6.9MiB live, 6.9MiB allocated
Counts
7 → 23
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
(sqrt.f64 z)
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
(*.f64 y (sqrt.f64 z))
Outputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
23 → 7
Calls
Call 1
Inputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
Outputs
(* 1/2 (* y (sqrt z)))
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(sqrt.f64 z)
(* y (sqrt z))
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(+ x (* y (sqrt z)))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(* 1/2 x)
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
x
(*.f64 y (sqrt.f64 z))

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Compiler

Compiled 240 to 26 computations (89.2% saved)

prune3.0ms (0.2%)

Memory
4.8MiB live, 4.8MiB allocated
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New12214
Fresh000
Picked033
Done011
Total12618
Accuracy
99.8%
Counts
18 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
3.1%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
49.4%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
3.1%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
3.2%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
14.4%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
Compiler

Compiled 88 to 74 computations (15.9% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

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

localize30.0ms (2.1%)

Memory
0.4MiB live, 36.8MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
accuracy0.0
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
accuracy61.99611511304344
#s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
accuracy0.0
(sqrt.f64 z)
accuracy0.1953125
(*.f64 y (sqrt.f64 z))
accuracy32.30897119119406
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
accuracy49.765625
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
Samples
23.0ms256×0valid
Compiler

Compiled 117 to 31 computations (73.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 3.0ms (35.2% of total)
ival-div: 2.0ms (23.5% of total)
ival-sqrt: 2.0ms (23.5% of total)
ival-add: 1.0ms (11.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.3%)

Memory
10.2MiB live, 10.2MiB allocated
Counts
7 → 23
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
(*.f64 y (sqrt.f64 z))
(sqrt.f64 z)
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
#s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
Outputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
egg-herbie
Counts
23 → 7
Calls
Call 1
Inputs
(* 1/2 (* y (sqrt z)))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
(* y (sqrt z))
(+ x (* y (sqrt z)))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
x
(* x (+ 1 (* (/ y x) (sqrt z))))
(* -1 (* x (- (* -1/2 (* (/ y x) (sqrt z))) 1/2)))
(* -1 (* x (- (* -1 (* (/ y x) (sqrt z))) 1)))
(* y (+ (* 1/2 (sqrt z)) (* 1/2 (/ x y))))
(* y (+ (sqrt z) (/ x y)))
(* -1 (* y (+ (* -1/2 (sqrt z)) (* -1/2 (/ x y)))))
(* -1 (* y (+ (* -1 (sqrt z)) (* -1 (/ x y)))))
(* 1/2 (+ x (* y (sqrt z))))
(sqrt z)
(* z (+ (* 1/2 (* y (sqrt (/ 1 z)))) (* 1/2 (/ x z))))
(* z (+ (* y (sqrt (/ 1 z))) (/ x z)))
(* -1/2 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1/2 (/ x z)) (* 1/2 (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z)))))))
(* -1 (* (* y (pow (sqrt -1) 2)) (sqrt z)))
(* -1 (* z (+ (* -1 (/ x z)) (* (* y (pow (sqrt -1) 2)) (sqrt (/ 1 z))))))
(* -1 (* (sqrt z) (pow (sqrt -1) 2)))
Outputs
(* 1/2 (* y (sqrt z)))
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
(+ (* 1/2 x) (* 1/2 (* y (sqrt z))))
#s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z)))
(* y (sqrt z))
(*.f64 y (sqrt.f64 z))
(+ x (* y (sqrt z)))
(sqrt.f64 z)
(* 1/2 x)
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
(* x (+ 1/2 (* 1/2 (* (/ y x) (sqrt z)))))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
x
#s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))

rewrite0.0ms (0%)

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

eval5.0ms (0.4%)

Memory
-34.1MiB live, 3.5MiB allocated
Compiler

Compiled 264 to 26 computations (90.2% saved)

prune4.0ms (0.3%)

Memory
12.1MiB live, 12.1MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New13013
Fresh000
Picked022
Done044
Total13619
Accuracy
99.8%
Counts
19 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x (*.f64 y (sqrt.f64 z))))
3.1%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
49.4%
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
3.1%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
3.2%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
14.4%
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
Compiler

Compiled 176 to 98 computations (44.3% saved)

regimes22.0ms (1.6%)

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

7 calls:

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

Compiled 25 to 34 computations (-36% saved)

regimes19.0ms (1.4%)

Memory
6.8MiB live, 45.4MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (sqrt.f64 z))
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
#s(approx (* (/ 1 2) (+ x (* y (sqrt z)))) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
Outputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(approx (+ x (* y (sqrt z))) (*.f64 y (sqrt.f64 z))))
Calls

7 calls:

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

Compiled 25 to 34 computations (-36% saved)

regimes16.0ms (1.2%)

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

7 calls:

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

Compiled 25 to 34 computations (-36% saved)

regimes12.0ms (0.9%)

Memory
-14.3MiB live, 24.7MiB allocated
Accuracy

Total -0.3b remaining (-0.5%)

Threshold costs -0.3b (-0.5%)

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

7 calls:

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

Compiled 25 to 34 computations (-36% saved)

simplify5.0ms (0.3%)

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

soundness1.0ms (0.1%)

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

Compiled 60 to 21 computations (65% saved)

preprocess26.0ms (1.9%)

Memory
12.9MiB live, 54.4MiB allocated
Compiler

Compiled 140 to 62 computations (55.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...