Graphics.Rendering.Chart.Drawing:drawTextsR from Chart-1.5.3

Time bar (total: 885.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
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 11 to 10 computations (9.1% saved)

sample671.0ms (75.8%)

Memory
-12.9MiB live, 994.5MiB allocated
Samples
435.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 230.0ms
ival-mult: 131.0ms (56.9% of total)
ival-sub: 51.0ms (22.1% of total)
ival-add: 35.0ms (15.2% of total)
ival-true: 5.0ms (2.2% of total)
exact: 5.0ms (2.2% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain79.0ms (9%)

Memory
13.2MiB live, 132.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
90-0-(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
00-0-(*.f64 (-.f64 x #s(literal 1 binary64)) z)
00-0-y
00-0-(-.f64 x #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
00-0-z
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))nan-rescue90
(*.f64 x y)overflow35
(*.f64 (-.f64 x #s(literal 1 binary64)) z)overflow30
Confusion
Predicted +Predicted -
+90
-0247
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+900
-00247
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0247
19
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
32.0ms512×0valid
Compiler

Compiled 85 to 36 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 6.0ms (41.4% of total)
ival-add: 4.0ms (27.6% of total)
ival-sub: 3.0ms (20.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess6.0ms (0.7%)

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

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 8 computations (11.1% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize21.0ms (2.4%)

Memory
-4.8MiB live, 39.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.0
(*.f64 x y)
accuracy0.0078125
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
accuracy1.9179646216604118
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
Samples
13.0ms256×0valid
Compiler

Compiled 50 to 18 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (50.4% of total)
ival-sub: 1.0ms (16.8% of total)
ival-add: 1.0ms (16.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.7%)

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

9 calls:

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

simplify0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Counts
22 → 4
Calls
Call 1
Inputs
(* -1 z)
(+ (* -1 z) (* x (+ y z)))
(* x y)
(+ (* -1 z) (* x z))
-1
(- x 1)
(* x (+ y z))
(* x (+ y (+ z (* -1 (/ z x)))))
(* x z)
(* x (+ z (* -1 (/ z x))))
x
(* x (- 1 (/ 1 x)))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x)))))
(* -1 (* x (+ (* -1 z) (/ z x))))
(* -1 (* x (- (/ 1 x) 1)))
(* z (- x 1))
(+ (* x y) (* z (- x 1)))
(* y (+ x (/ (* z (- x 1)) y)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y)))))
(* z (- (+ x (/ (* x y) z)) 1))
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z)))))
Outputs
(* -1 z)
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
(+ (* -1 z) (* x (+ y z)))
(*.f64 x y)
(* x y)
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
(+ (* -1 z) (* x z))
(-.f64 x #s(literal 1 binary64))

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
1.9MiB live, 1.9MiB allocated
Compiler

Compiled 96 to 19 computations (80.2% saved)

prune1.0ms (0.2%)

Memory
3.2MiB live, 3.2MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
100.0%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
30.5%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
19.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.3%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
Compiler

Compiled 50 to 38 computations (24% saved)

simplify1.0ms (0.1%)

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

Found 10 expressions of interest:

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

localize26.0ms (3%)

Memory
8.9MiB live, 46.5MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.0
(*.f64 x y)
accuracy1.9179646216604118
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
accuracy61.85680436312266
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.0078125
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
accuracy1.9179646216604118
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
accuracy60.817066460504364
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
accuracy0.0
(*.f64 x y)
accuracy35.65472869076639
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
Samples
19.0ms256×0valid
Compiler

Compiled 146 to 27 computations (81.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 7.0ms (74.6% of total)
ival-sub: 1.0ms (10.7% of total)
ival-add: 1.0ms (10.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.7%)

Memory
-29.4MiB live, 8.6MiB allocated
Counts
8 → 22
Calls
Call 1
Inputs
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
(*.f64 x y)
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
(-.f64 x #s(literal 1 binary64))
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
Outputs
(* -1 z)
(+ (* -1 z) (* x (+ y z)))
(* x y)
(+ (* -1 z) (* x z))
-1
(- x 1)
(* x (+ y z))
(* x (+ y (+ z (* -1 (/ z x)))))
(* x z)
(* x (+ z (* -1 (/ z x))))
x
(* x (- 1 (/ 1 x)))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x)))))
(* -1 (* x (+ (* -1 z) (/ z x))))
(* -1 (* x (- (/ 1 x) 1)))
(* z (- x 1))
(+ (* x y) (* z (- x 1)))
(* y (+ x (/ (* z (- x 1)) y)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y)))))
(* z (- (+ x (/ (* x y) z)) 1))
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z)))))
Calls

9 calls:

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

simplify0.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Algorithm
egg-herbie
Counts
22 → 8
Calls
Call 1
Inputs
(* -1 z)
(+ (* -1 z) (* x (+ y z)))
(* x y)
(+ (* -1 z) (* x z))
-1
(- x 1)
(* x (+ y z))
(* x (+ y (+ z (* -1 (/ z x)))))
(* x z)
(* x (+ z (* -1 (/ z x))))
x
(* x (- 1 (/ 1 x)))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x)))))
(* -1 (* x (+ (* -1 z) (/ z x))))
(* -1 (* x (- (/ 1 x) 1)))
(* z (- x 1))
(+ (* x y) (* z (- x 1)))
(* y (+ x (/ (* z (- x 1)) y)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y)))))
(* z (- (+ x (/ (* x y) z)) 1))
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z)))))
Outputs
(* -1 z)
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
(+ (* -1 z) (* x (+ y z)))
(*.f64 x y)
(* x y)
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
(+ (* -1 z) (* x z))
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
-1
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(* x (+ y z))
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
(* x (+ y (+ z (* -1 (/ z x)))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))

rewrite1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated
Counts
8 → 8
Calls
Call 1
Inputs
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
(*.f64 x y)
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
(-.f64 x #s(literal 1 binary64))
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
Outputs
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
(*.f64 x y)
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
(*.f64 (-.f64 x #s(literal 1 binary64)) z)
(-.f64 x #s(literal 1 binary64))
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))

eval3.0ms (0.3%)

Memory
6.0MiB live, 6.0MiB allocated
Compiler

Compiled 457 to 41 computations (91% saved)

prune2.0ms (0.3%)

Memory
7.9MiB live, 7.9MiB allocated
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New24125
Fresh000
Picked033
Done011
Total24529
Accuracy
100.0%
Counts
29 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
30.5%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
19.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.3%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
3.5%
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 69 to 50 computations (27.5% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

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

localize18.0ms (2.1%)

Memory
8.0MiB live, 46.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy26.64800396790333
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
accuracy61.85680436312266
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
Samples
13.0ms256×0valid
Compiler

Compiled 54 to 22 computations (59.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (57.1% of total)
ival-sub: 1.0ms (14.3% of total)
ival-add: 1.0ms (14.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
9.6MiB live, 9.6MiB allocated
Counts
3 → 22
Calls
Call 1
Inputs
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
Outputs
(* -1 z)
(+ (* -1 z) (* x (+ y z)))
(+ (* -1 z) (* x z))
-1
(- x 1)
(* x (+ y z))
(* x (+ y (+ z (* -1 (/ z x)))))
(* x z)
(* x (+ z (* -1 (/ z x))))
x
(* x (- 1 (/ 1 x)))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x)))))
(* -1 (* x (+ (* -1 z) (/ z x))))
(* -1 (* x (- (/ 1 x) 1)))
(* z (- x 1))
(+ (* x y) (* z (- x 1)))
(* x y)
(* y (+ x (/ (* z (- x 1)) y)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y)))))
(* z (- (+ x (/ (* x y) z)) 1))
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z)))))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated
Algorithm
egg-herbie
Counts
22 → 3
Calls
Call 1
Inputs
(* -1 z)
(+ (* -1 z) (* x (+ y z)))
(+ (* -1 z) (* x z))
-1
(- x 1)
(* x (+ y z))
(* x (+ y (+ z (* -1 (/ z x)))))
(* x z)
(* x (+ z (* -1 (/ z x))))
x
(* x (- 1 (/ 1 x)))
(* -1 (* x (+ (* -1 y) (* -1 z))))
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x)))))
(* -1 (* x (+ (* -1 z) (/ z x))))
(* -1 (* x (- (/ 1 x) 1)))
(* z (- x 1))
(+ (* x y) (* z (- x 1)))
(* x y)
(* y (+ x (/ (* z (- x 1)) y)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y)))))
(* z (- (+ x (/ (* x y) z)) 1))
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z)))))
Outputs
(* -1 z)
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
(+ (* -1 z) (* x (+ y z)))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
(+ (* -1 z) (* x z))
(-.f64 x #s(literal 1 binary64))

rewrite0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
Outputs
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))

eval1.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune7.0ms (0.8%)

Memory
-40.9MiB live, 9.2MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New404
Fresh000
Picked011
Done044
Total459
Accuracy
100.0%
Counts
9 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
30.5%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
19.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.3%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
3.5%
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 138 to 69 computations (50% saved)

regimes10.0ms (1.2%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

regimes7.0ms (0.8%)

Memory
18.6MiB live, 18.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
Outputs
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
Calls

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

regimes5.0ms (0.6%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
+inf
NaN
Compiler

Compiled 12 to 14 computations (-16.7% saved)

simplify5.0ms (0.5%)

Memory
-29.5MiB live, 10.1MiB allocated

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...