Optimisation.CirclePacking:place from circle-packing-0.1.0.4, G

Time bar (total: 3.6s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze1.0ms (0%)

Memory
1.8MiB live, 1.9MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 9 computations (0% saved)

sample1.2s (33.8%)

Memory
50.2MiB live, 1 201.8MiB allocated; 477ms collecting garbage
Samples
910.0ms8 254×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 454.0ms
ival-add: 360.0ms (79.3% of total)
ival-mult: 78.0ms (17.2% of total)
ival-true: 6.0ms (1.3% of total)
exact: 5.0ms (1.1% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain95.0ms (2.7%)

Memory
-21.9MiB live, 113.1MiB allocated; 23ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
00-0-(+.f64 z #s(literal 1 binary64))
00-0-y
00-0-#s(literal 1 binary64)
00-0-(+.f64 x y)
00-0-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
54.0ms512×0valid
Compiler

Compiled 45 to 25 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 40.0ms
ival-add: 36.0ms (90% of total)
ival-mult: 3.0ms (7.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess158.0ms (4.4%)

Memory
-4.0MiB live, 137.4MiB allocated; 30ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
19470
234364
3184163
4548163
077
0107
1217
2627
33277
412017
550317
080287
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Outputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
Symmetry

(sort x y)

Compiler

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Compiler

Compiled 7 to 7 computations (0% saved)

simplify161.0ms (4.5%)

Memory
8.7MiB live, 203.5MiB allocated; 19ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 z #s(literal 1 binary64))
cost-diff0
(+.f64 x y)
cost-diff0
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
01017
12117
26217
332717
4120117
5503117
0802817
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(+.f64 x y)
x
y
(+.f64 z #s(literal 1 binary64))
z
#s(literal 1 binary64)
Outputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(+.f64 x y)
(+.f64 y x)
x
y
(+.f64 z #s(literal 1 binary64))
(-.f64 z #s(literal -1 binary64))
z
#s(literal 1 binary64)

localize19.0ms (0.5%)

Memory
2.7MiB live, 47.7MiB allocated; 3ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 z #s(literal 1 binary64))
accuracy0.0
(+.f64 x y)
accuracy0.00390625
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Samples
14.0ms256×0valid
Compiler

Compiled 19 to 9 computations (52.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 3.0ms (63.9% of total)
ival-mult: 2.0ms (42.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms collecting garbage
Counts
3 → 22
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(+.f64 x y)
(+.f64 z #s(literal 1 binary64))
Outputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+ x (+ y (* z (+ x y))))
1
(+ 1 z)
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
z
(* z (+ 1 (/ 1 z)))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((* (+ x y) (+ z 1)) (+ x y) (+ z 1))
0.0ms
x
@inf
((* (+ x y) (+ z 1)) (+ x y) (+ z 1))
0.0ms
x
@-inf
((* (+ x y) (+ z 1)) (+ x y) (+ z 1))
0.0ms
z
@-inf
((* (+ x y) (+ z 1)) (+ x y) (+ z 1))
0.0ms
y
@inf
((* (+ x y) (+ z 1)) (+ x y) (+ z 1))

simplify189.0ms (5.3%)

Memory
3.2MiB live, 198.5MiB allocated; 39ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059136
1231136
21076132
34159128
08369118
Stop Event
iter limit
node limit
Counts
22 → 19
Calls
Call 1
Inputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+ x (+ y (* z (+ x y))))
1
(+ 1 z)
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
z
(* z (+ 1 (/ 1 z)))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Outputs
(* y (+ 1 z))
(fma.f64 z y y)
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64)))
y
(+ x y)
(+.f64 y x)
(* x (+ 1 z))
(fma.f64 z x x)
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(*.f64 (fma.f64 z x x) (-.f64 (/.f64 y x) #s(literal -1 binary64)))
x
(* x (+ 1 (/ y x)))
(fma.f64 (/.f64 y x) x x)
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(*.f64 (fma.f64 z x x) (-.f64 (/.f64 y x) #s(literal -1 binary64)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(fma.f64 (/.f64 y x) x x)
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(*.f64 (fma.f64 z y y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(* y (+ 1 (/ x y)))
(fma.f64 (/.f64 x y) y y)
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(*.f64 (fma.f64 z y y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(fma.f64 (/.f64 x y) y y)
(+ x (+ y (* z (+ x y))))
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64)))
1
#s(literal 1 binary64)
(+ 1 z)
(-.f64 z #s(literal -1 binary64))
(* z (+ x y))
(*.f64 (+.f64 y x) z)
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64)))
z
(* z (+ 1 (/ 1 z)))
(-.f64 z #s(literal -1 binary64))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64)))

rewrite40.0ms (1.1%)

Memory
-5.3MiB live, 55.8MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
01013
14713
040213
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 71
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(+.f64 x y)
(+.f64 z #s(literal 1 binary64))
Outputs
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (+.f64 y x)) (-.f64 z #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 y x)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 z #s(literal -1 binary64))) (-.f64 x y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (-.f64 z #s(literal -1 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 y x) (fma.f64 z z #s(literal -1 binary64))) (-.f64 z #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))
(/.f64 (-.f64 (*.f64 (*.f64 z (+.f64 y x)) (*.f64 z (+.f64 y x))) (*.f64 (+.f64 y x) (+.f64 y x))) (-.f64 (*.f64 z (+.f64 y x)) (+.f64 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 z (+.f64 y x)) #s(literal 3 binary64)) (pow.f64 (+.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 z (+.f64 y x)) (*.f64 z (+.f64 y x)) (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) (*.f64 (*.f64 z (+.f64 y x)) (+.f64 y x)))))
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 (-.f64 z #s(literal 1 binary64)) (-.f64 x y)))
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (-.f64 z #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z)) (-.f64 x y)))
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (fma.f64 z z #s(literal -1 binary64))) (*.f64 (-.f64 x y) (-.f64 z #s(literal 1 binary64))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (-.f64 x y) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 z z #s(literal -1 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (-.f64 z #s(literal 1 binary64))))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))))
(fma.f64 (-.f64 z #s(literal -1 binary64)) y (*.f64 (-.f64 z #s(literal -1 binary64)) x))
(fma.f64 (-.f64 z #s(literal -1 binary64)) x (*.f64 (-.f64 z #s(literal -1 binary64)) y))
(fma.f64 #s(literal 1 binary64) (+.f64 y x) (*.f64 z (+.f64 y x)))
(fma.f64 z (+.f64 y x) (+.f64 y x))
(fma.f64 (+.f64 y x) #s(literal 1 binary64) (*.f64 z (+.f64 y x)))
(fma.f64 (+.f64 y x) z (+.f64 y x))
(fma.f64 y (-.f64 z #s(literal -1 binary64)) (*.f64 x (-.f64 z #s(literal -1 binary64))))
(fma.f64 x (-.f64 z #s(literal -1 binary64)) (*.f64 y (-.f64 z #s(literal -1 binary64))))
(-.f64 (*.f64 z (+.f64 y x)) (*.f64 #s(literal -1 binary64) (+.f64 y x)))
(-.f64 (*.f64 z (+.f64 y x)) (*.f64 (neg.f64 (+.f64 y x)) #s(literal 1 binary64)))
(+.f64 (*.f64 y (-.f64 z #s(literal -1 binary64))) (*.f64 x (-.f64 z #s(literal -1 binary64))))
(+.f64 (*.f64 x (-.f64 z #s(literal -1 binary64))) (*.f64 y (-.f64 z #s(literal -1 binary64))))
(+.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) y) (*.f64 (-.f64 z #s(literal -1 binary64)) x))
(+.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) x) (*.f64 (-.f64 z #s(literal -1 binary64)) y))
(+.f64 (*.f64 z (+.f64 y x)) (+.f64 y x))
(+.f64 (+.f64 y x) (*.f64 z (+.f64 y x)))
(*.f64 #s(literal 1 binary64) (+.f64 y x))
(*.f64 (+.f64 y x) #s(literal 1 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 z z)) (-.f64 #s(literal 1 binary64) z))
(/.f64 (neg.f64 (fma.f64 z z #s(literal -1 binary64))) (neg.f64 (-.f64 z #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z))))
(/.f64 (fma.f64 z z #s(literal -1 binary64)) (-.f64 z #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 z z) z)))
(/.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))
(-.f64 (/.f64 (*.f64 z z) (-.f64 z #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 z #s(literal 1 binary64))))
(-.f64 z #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) (/.f64 #s(literal 1 binary64) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))))
(+.f64 #s(literal 1 binary64) z)
(+.f64 z #s(literal 1 binary64))

eval14.0ms (0.4%)

Memory
-30.4MiB live, 16.6MiB allocated; 1ms collecting garbage
Compiler

Compiled 1 219 to 231 computations (81.1% saved)

prune3.0ms (0.1%)

Memory
5.6MiB live, 5.6MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483
Accuracy
100.0%
Counts
83 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.2%
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
53.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
49.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
45.3%
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
Compiler

Compiled 46 to 37 computations (19.6% saved)

simplify100.0ms (2.8%)

Memory
28.4MiB live, 121.0MiB allocated; 5ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ z 1) #s(literal 1 binary64))
cost-diff0
(+.f64 x y)
cost-diff0
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
cost-diff0
(fma.f64 z y y)
cost-diff0
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
cost-diff0
(fma.f64 z x x)
cost-diff0
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
cost-diff0
(+.f64 y x)
cost-diff0
(*.f64 (+.f64 y x) z)
cost-diff0
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01780
02580
14580
29480
340280
4156380
5542280
0811080
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 y x) z)
(+.f64 y x)
y
x
z
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
(fma.f64 z x x)
z
x
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
(fma.f64 z y y)
z
y
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
(+.f64 x y)
x
y
#s(approx (+ z 1) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 y x) z)
(+.f64 y x)
y
x
z
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
(fma.f64 z x x)
z
x
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
(fma.f64 z y y)
z
y
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
(*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 y x))
(+.f64 x y)
(+.f64 y x)
x
y
#s(approx (+ z 1) #s(literal 1 binary64))
#s(literal 1 binary64)

localize68.0ms (1.9%)

Memory
-35.8MiB live, 63.4MiB allocated; 8ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.00390625
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
accuracy28.166710973363173
#s(approx (+ z 1) #s(literal 1 binary64))
accuracy0.0
(fma.f64 z y y)
accuracy29.658150076838698
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
accuracy0.0
(fma.f64 z x x)
accuracy32.222492211955334
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
accuracy0.0
(+.f64 y x)
accuracy0.0078125
(*.f64 (+.f64 y x) z)
accuracy35.03506037357319
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
Samples
59.0ms256×0valid
Compiler

Compiled 64 to 15 computations (76.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 8.0ms (57.2% of total)
ival-mult: 6.0ms (42.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series8.0ms (0.2%)

Memory
13.6MiB live, 13.6MiB allocated; 0ms collecting garbage
Counts
10 → 37
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 y x) z)
(+.f64 y x)
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
(fma.f64 z x x)
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
(fma.f64 z y y)
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
(+.f64 x y)
#s(approx (+ z 1) #s(literal 1 binary64))
Outputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(* y z)
(+ (* x z) (* y z))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(* x z)
(* x (+ z (/ (* y z) x)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 z) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ z (/ (* x z) y)))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 z) 1)))
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(+ x (* x z))
(+ y (* y z))
1
(+ 1 z)
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* z (+ x (/ x z)))
(* z (+ y (/ y z)))
z
(* z (+ 1 (/ 1 z)))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(* -1 (* z (+ (* -1 x) (* -1 (/ x z)))))
(* -1 (* z (+ (* -1 y) (* -1 (/ y z)))))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1))
1.0ms
z
@-inf
((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1))
1.0ms
z
@inf
((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1))
1.0ms
x
@-inf
((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1))
1.0ms
y
@-inf
((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1))

simplify182.0ms (5.1%)

Memory
18.7MiB live, 159.4MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
098223
1390223
21450219
34994215
08234197
Stop Event
iter limit
node limit
Counts
37 → 34
Calls
Call 1
Inputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(* y z)
(+ (* x z) (* y z))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(* x z)
(* x (+ z (/ (* y z) x)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 z) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ z (/ (* x z) y)))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 z) 1)))
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(+ x (* x z))
(+ y (* y z))
1
(+ 1 z)
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* z (+ x (/ x z)))
(* z (+ y (/ y z)))
z
(* z (+ 1 (/ 1 z)))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(* -1 (* z (+ (* -1 x) (* -1 (/ x z)))))
(* -1 (* z (+ (* -1 y) (* -1 (/ y z)))))
Outputs
(* y (+ 1 z))
(fma.f64 z y y)
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* y z)
(*.f64 z y)
(+ (* x z) (* y z))
(*.f64 z (+.f64 y x))
y
(+ x y)
(+.f64 y x)
(* x (+ 1 z))
(fma.f64 z x x)
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 y x))) x)
(* x z)
(*.f64 z x)
(* x (+ z (/ (* y z) x)))
(*.f64 (fma.f64 (/.f64 z x) y z) x)
x
(* x (+ 1 (/ y x)))
(fma.f64 (/.f64 y x) x x)
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 y x))) x)
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(*.f64 (fma.f64 (/.f64 z x) y z) x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(fma.f64 (/.f64 y x) x x)
(* -1 (* x (- (* -1 z) 1)))
(fma.f64 z x x)
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 x y))) y)
(* y (+ z (/ (* x z) y)))
(*.f64 (fma.f64 (/.f64 z y) x z) y)
(* y (+ 1 (/ x y)))
(fma.f64 (/.f64 x y) y y)
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 x y))) y)
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(*.f64 (fma.f64 (/.f64 z y) x z) y)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(fma.f64 (/.f64 x y) y y)
(* -1 (* y (- (* -1 z) 1)))
(fma.f64 z y y)
(+ x (+ y (* z (+ x y))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* z (+ x y))
(*.f64 z (+.f64 y x))
(+ x (* x z))
(fma.f64 z x x)
(+ y (* y z))
(fma.f64 z y y)
1
#s(literal 1 binary64)
(+ 1 z)
(-.f64 z #s(literal -1 binary64))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* z (+ x (/ x z)))
(fma.f64 z x x)
(* z (+ y (/ y z)))
(fma.f64 z y y)
z
(* z (+ 1 (/ 1 z)))
(-.f64 z #s(literal -1 binary64))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* z (+ (* -1 x) (* -1 (/ x z)))))
(fma.f64 z x x)
(* -1 (* z (+ (* -1 y) (* -1 (/ y z)))))
(fma.f64 z y y)

rewrite42.0ms (1.2%)

Memory
-13.0MiB live, 32.2MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01770
02570
19970
079170
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
10 → 138
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 y x) z)
(+.f64 y x)
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
(fma.f64 z x x)
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
(fma.f64 z y y)
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
(+.f64 x y)
#s(approx (+ z 1) #s(literal 1 binary64))
Outputs
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 y x) z)
(*.f64 z (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) z) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) z) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) z) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) z) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 z (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 z (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 z (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 z (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(fma.f64 z y (*.f64 z x))
(fma.f64 z x (*.f64 z y))
(fma.f64 y z (*.f64 z x))
(fma.f64 x z (*.f64 z y))
(+.f64 (*.f64 z y) (*.f64 z x))
(+.f64 (*.f64 z x) (*.f64 z y))
(*.f64 (+.f64 y x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
(*.f64 (-.f64 z #s(literal -1 binary64)) x)
(*.f64 x (-.f64 z #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) x) (-.f64 z #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) x) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z x) #s(literal 2 binary64))) (-.f64 x (*.f64 z x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 z x) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 z x) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 (*.f64 z x) x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64))))
(fma.f64 z x x)
(fma.f64 x z x)
(-.f64 (/.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (-.f64 (*.f64 z x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 z x) x)))
(-.f64 x (*.f64 (neg.f64 z) x))
(-.f64 x (*.f64 (neg.f64 x) z))
(+.f64 (/.f64 (pow.f64 (*.f64 z x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64)))))
(+.f64 (*.f64 z x) x)
(+.f64 x (*.f64 z x))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
(*.f64 (-.f64 z #s(literal -1 binary64)) y)
(*.f64 y (-.f64 z #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) y) (-.f64 z #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 z y) #s(literal 2 binary64))) (-.f64 y (*.f64 z y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 z y) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 z y) y))
(/.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 (*.f64 z y) y))))
(/.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64))))
(fma.f64 z y y)
(fma.f64 y z y)
(-.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 z y) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 z y) y)))
(-.f64 y (*.f64 (neg.f64 z) y))
(-.f64 y (*.f64 (neg.f64 y) z))
(+.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))))
(+.f64 (*.f64 z y) y)
(+.f64 y (*.f64 z y))
(*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 y x))
(*.f64 (+.f64 y x) #s(approx (+ z 1) #s(literal 1 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(approx (+ z 1) #s(literal 1 binary64))) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(approx (+ z 1) #s(literal 1 binary64))) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(approx (+ z 1) #s(literal 1 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(approx (+ z 1) #s(literal 1 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(fma.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x))
(fma.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y))
(fma.f64 y #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64))))
(fma.f64 x #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64))))
(+.f64 (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64))) (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64))))
(+.f64 (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64))) (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64))))
(+.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y) (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x))
(+.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x) (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y))
(*.f64 (+.f64 y x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
#s(approx (+ z 1) #s(literal 1 binary64))

eval24.0ms (0.7%)

Memory
-18.0MiB live, 26.3MiB allocated; 5ms collecting garbage
Compiler

Compiled 2 360 to 391 computations (83.4% saved)

prune3.0ms (0.1%)

Memory
10.3MiB live, 10.3MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1182120
Fresh000
Picked044
Done000
Total1186124
Accuracy
100.0%
Counts
124 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.2%
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
53.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
49.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
45.3%
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
24.4%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
25.2%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Compiler

Compiled 80 to 61 computations (23.8% saved)

simplify108.0ms (3%)

Memory
-7.9MiB live, 142.7MiB allocated; 15ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 z y)
cost-diff0
#s(approx (* (+ y x) z) (*.f64 z y))
cost-diff0
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
cost-diff0
(*.f64 z x)
cost-diff0
#s(approx (* (+ y x) z) (*.f64 z x))
cost-diff0
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01562
01762
13262
26462
330562
4118062
5499062
0818762
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ y x) z) (*.f64 z x))
(*.f64 z x)
z
x
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ y x) z) (*.f64 z y))
(*.f64 z y)
z
y
Outputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ y x) z) (*.f64 z x))
(*.f64 z x)
z
x
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ y x) z) (*.f64 z y))
(*.f64 z y)
z
y

localize26.0ms (0.7%)

Memory
10.1MiB live, 56.9MiB allocated; 2ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 z y)
accuracy27.549149128470756
#s(approx (* (+ y x) z) (*.f64 z y))
accuracy35.03506037357319
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
accuracy0.0
(*.f64 z x)
accuracy31.02074503663903
#s(approx (* (+ y x) z) (*.f64 z x))
accuracy35.03506037357319
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Samples
19.0ms256×0valid
Compiler

Compiled 36 to 13 computations (63.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 6.0ms (52.4% of total)
ival-add: 5.0ms (43.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
16.2MiB live, 16.2MiB allocated; 0ms collecting garbage
Counts
6 → 19
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ y x) z) (*.f64 z x))
(*.f64 z x)
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ y x) z) (*.f64 z y))
(*.f64 z y)
Outputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(* y z)
(+ (* x z) (* y z))
(* x z)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(* x (+ z (/ (* y z) x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ z (/ (* x z) y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(+ x y)
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Calls

9 calls:

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

simplify146.0ms (4.1%)

Memory
7.7MiB live, 153.4MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060105
1255105
21149105
34293105
08464103
Stop Event
iter limit
node limit
Counts
19 → 19
Calls
Call 1
Inputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(* y z)
(+ (* x z) (* y z))
(* x z)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(* x (+ z (/ (* y z) x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ z (/ (* x z) y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(+ x y)
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Outputs
(* y (+ 1 z))
(fma.f64 z y y)
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* y z)
(*.f64 z y)
(+ (* x z) (* y z))
(*.f64 z (+.f64 y x))
(* x z)
(*.f64 z x)
(* x (+ 1 z))
(fma.f64 z x x)
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* x (+ z (/ (* y z) x)))
(*.f64 z (+.f64 y x))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x)))))
(*.f64 z (+.f64 y x))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* y (+ z (/ (* x z) y)))
(*.f64 z (+.f64 y x))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y)))))
(*.f64 z (+.f64 y x))
(+ x y)
(+.f64 y x)
(+ x (+ y (* z (+ x y))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* z (+ x y))
(*.f64 z (+.f64 y x))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))

rewrite37.0ms (1%)

Memory
-18.5MiB live, 72.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01558
01758
16658
052458
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
6 → 8
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ y x) z) (*.f64 z x))
(*.f64 z x)
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ y x) z) (*.f64 z y))
(*.f64 z y)
Outputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ y x) z) (*.f64 z x))
(*.f64 z x)
(*.f64 x z)
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ y x) z) (*.f64 z y))
(*.f64 z y)
(*.f64 y z)

eval1.0ms (0%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 226 to 38 computations (83.2% saved)

prune2.0ms (0.1%)

Memory
6.9MiB live, 6.9MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New13114
Fresh000
Picked022
Done134
Total14620
Accuracy
100.0%
Counts
20 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
49.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
56.2%
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
45.3%
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
24.4%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
25.2%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Compiler

Compiled 82 to 61 computations (25.6% saved)

simplify163.0ms (4.6%)

Memory
-15.3MiB live, 117.4MiB allocated; 32ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y x)
cost-diff0
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
01016
12116
26216
332016
4119516
5501416
0801116
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
(+.f64 y x)
y
x
Outputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
(+.f64 y x)
y
x

localize17.0ms (0.5%)

Memory
26.7MiB live, 26.7MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy28.018083147583525
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
Samples
12.0ms256×0valid
Compiler

Compiled 14 to 10 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 4.0ms (71.8% of total)
ival-mult: 2.0ms (35.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated; 0ms collecting garbage
Counts
2 → 18
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
(+.f64 y x)
Outputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Calls

9 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((* (+ x y) (+ z 1)) (+ y x))
0.0ms
x
@inf
((* (+ x y) (+ z 1)) (+ y x))
0.0ms
y
@-inf
((* (+ x y) (+ z 1)) (+ y x))
0.0ms
x
@-inf
((* (+ x y) (+ z 1)) (+ y x))
0.0ms
z
@-inf
((* (+ x y) (+ z 1)) (+ y x))

simplify125.0ms (3.5%)

Memory
-25.1MiB live, 123.0MiB allocated; 38ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05688
122088
2106088
3416488
0871686
Stop Event
iter limit
node limit
Counts
18 → 16
Calls
Call 1
Inputs
(* y (+ 1 z))
(+ (* x (+ 1 z)) (* y (+ 1 z)))
y
(+ x y)
(* x (+ 1 z))
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+ x (+ y (* z (+ x y))))
(* z (+ x y))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
Outputs
(* y (+ 1 z))
(fma.f64 z y y)
(+ (* x (+ 1 z)) (* y (+ 1 z)))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
y
(+ x y)
(+.f64 y x)
(* x (+ 1 z))
(fma.f64 z x x)
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(+ x (+ y (* z (+ x y))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* z (+ x y))
(*.f64 z (+.f64 y x))
(* z (+ x (+ y (+ (/ x z) (/ y z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z)))))
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x))

rewrite33.0ms (0.9%)

Memory
-8.3MiB live, 38.7MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
01014
15514
052714
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 33
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
(+.f64 y x)
Outputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
(*.f64 #s(literal 1 binary64) (+.f64 y x))
(*.f64 (+.f64 y x) #s(literal 1 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) y))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)

eval4.0ms (0.1%)

Memory
4.7MiB live, 4.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 722 to 122 computations (83.1% saved)

prune4.0ms (0.1%)

Memory
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done055
Total38644
Accuracy
100.0%
Counts
44 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
49.7%
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
56.2%
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
45.3%
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
24.4%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
25.2%
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Compiler

Compiled 180 to 90 computations (50% saved)

regimes16.0ms (0.5%)

Memory
22.3MiB live, 22.3MiB allocated; 0ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Outputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Calls

6 calls:

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

Compiled 16 to 25 computations (-56.3% saved)

regimes32.0ms (0.9%)

Memory
-26.0MiB live, 20.5MiB allocated; 3ms collecting garbage
Counts
7 → 2
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z))
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64)))
Outputs
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))
Calls

6 calls:

19.0ms
x
2.0ms
z
2.0ms
y
2.0ms
(+.f64 x y)
2.0ms
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
97.6%3(+.f64 z #s(literal 1 binary64))
98.1%2(+.f64 x y)
84.7%4(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
83.8%2x
82.1%2y
97.6%3z
Compiler

Compiled 16 to 25 computations (-56.3% saved)

regimes11.0ms (0.3%)

Memory
16.0MiB live, 16.0MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
Outputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))
Calls

6 calls:

2.0ms
(+.f64 x y)
2.0ms
z
2.0ms
x
2.0ms
y
2.0ms
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
73.5%3(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
68.6%2y
71.7%3x
80.2%3(+.f64 z #s(literal 1 binary64))
80.2%3z
80.6%4(+.f64 x y)
Compiler

Compiled 16 to 25 computations (-56.3% saved)

regimes3.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
Outputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y)))
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Calls

2 calls:

2.0ms
z
1.0ms
(+.f64 z #s(literal 1 binary64))
Results
AccuracySegmentsBranch
79.8%3(+.f64 z #s(literal 1 binary64))
79.8%3z
Compiler

Compiled 4 to 8 computations (-100% saved)

regimes4.0ms (0.1%)

Memory
6.5MiB live, 6.5MiB allocated; 0ms collecting garbage
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Outputs
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))
Calls

3 calls:

1.0ms
z
1.0ms
(+.f64 x y)
1.0ms
(+.f64 z #s(literal 1 binary64))
Results
AccuracySegmentsBranch
59.4%3(+.f64 x y)
77.8%3(+.f64 z #s(literal 1 binary64))
77.8%3z
Compiler

Compiled 7 to 12 computations (-71.4% saved)

regimes25.0ms (0.7%)

Memory
-41.9MiB live, 12.7MiB allocated; 22ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

6 calls:

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

Compiled 16 to 25 computations (-56.3% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-4.002093406442401e-295
1.3063878768671532e-226
Compiler

Compiled 10 to 13 computations (-30% saved)

bsearch17.0ms (0.5%)

Memory
24.8MiB live, 24.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
4.0ms
1.9899693983196657e-6
2.7486539594950446e-6
11.0ms
-2001.377048229106
-1.9169013057429442e-6
Samples
8.0ms192×0valid
Compiler

Compiled 331 to 280 computations (15.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-add: 2.0ms (60% of total)
ival-mult: 1.0ms (30% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch11.0ms (0.3%)

Memory
14.5MiB live, 14.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
9.0ms
54912820105678.53
4389282411285681.0
1.0ms
-2001.377048229106
-1.9169013057429442e-6
Samples
4.0ms112×0valid
Compiler

Compiled 458 to 381 computations (16.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-add: 1.0ms (52.4% of total)
ival-mult: 1.0ms (52.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch2.0ms (0%)

Memory
2.2MiB live, 2.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
0.0ms
54912820105678.53
4389282411285681.0
1.0ms
-2001.377048229106
-1.9169013057429442e-6
Compiler

Compiled 458 to 381 computations (16.8% saved)

simplify55.0ms (1.5%)

Memory
-27.2MiB live, 64.6MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038186
154186
291186
3366186
41685186
57287186
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(if (<=.f64 (+.f64 x y) #s(literal -4602094425247529/11505236063118821809467553221049758295155052665230762065499525194094891251552061640493342548634082305351687288311769174890162545204122663839542235560926343960177145179191391057683342054479750023644997308933440369205641643669917624414330439074612943178454432683813523087356623740062701843509462805095950344781824 binary64)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 2597301565578305/1180591620717411303424 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))))
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))
Outputs
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64)))
(if (<=.f64 (+.f64 x y) #s(literal -4602094425247529/11505236063118821809467553221049758295155052665230762065499525194094891251552061640493342548634082305351687288311769174890162545204122663839542235560926343960177145179191391057683342054479750023644997308933440369205641643669917624414330439074612943178454432683813523087356623740062701843509462805095950344781824 binary64)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 2597301565578305/1180591620717411303424 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x))))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))))
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x)))))
(if (or (<=.f64 z #s(literal -1 binary64)) (not (<=.f64 z #s(literal 55000000000000 binary64)))) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)))
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x))

derivations328.0ms (9.2%)

Memory
7.2MiB live, 150.0MiB allocated; 12ms collecting garbage
Stop Event
done
Compiler

Compiled 186 to 41 computations (78% saved)

preprocess69.0ms (1.9%)

Memory
-0.7MiB live, 45.3MiB allocated; 3ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 414 to 124 computations (70% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...