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

Time bar (total: 903.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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)

sample676.0ms (74.9%)

Memory
0.6MiB live, 947.2MiB allocated
Samples
438.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 233.0ms
ival-mult: 130.0ms (55.7% of total)
ival-add: 46.0ms (19.7% of total)
ival-sub: 42.0ms (18% of total)
ival-true: 7.0ms (3% of total)
exact: 5.0ms (2.1% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain75.0ms (8.3%)

Memory
14.2MiB live, 136.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
50-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-rescue50
(*.f64 x y)overflow28
(*.f64 (-.f64 x #s(literal 1 binary64)) z)overflow30
Confusion
Predicted +Predicted -
+50
-0251
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+500
-00251
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0251
15
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
29.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: 8.0ms (57.4% of total)
ival-sub: 3.0ms (21.5% of total)
ival-add: 2.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)

preprocess3.0ms (0.4%)

Memory
7.0MiB live, 7.0MiB 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
98.0%
(+.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.7MiB live, 0.7MiB 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.3%)

Memory
-2.0MiB live, 35.8MiB 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.1679625574906174
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
Samples
16.0ms256×0valid
Compiler

Compiled 50 to 18 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 4.0ms (61.9% of total)
ival-sub: 1.0ms (15.5% of total)
ival-add: 1.0ms (15.5% 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
11.3MiB live, 11.3MiB 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
1.3MiB live, 1.3MiB 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.6MiB live, 0.6MiB 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
98.0%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
31.0%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
20.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.1%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
Compiler

Compiled 50 to 38 computations (24% saved)

simplify3.0ms (0.3%)

Memory
-39.3MiB 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)

localize25.0ms (2.8%)

Memory
6.8MiB live, 45.5MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.0
(*.f64 x y)
accuracy1.1679625574906174
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
accuracy61.60632982114133
#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.1679625574906174
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
accuracy61.45474407831783
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
accuracy0.0
(*.f64 x y)
accuracy35.805457946440754
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
Samples
16.0ms256×0valid
Compiler

Compiled 146 to 27 computations (81.5% saved)

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

series4.0ms (0.5%)

Memory
11.2MiB live, 11.2MiB 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
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
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
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%)

Memory
1.4MiB live, 1.4MiB 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
2.0MiB live, 2.0MiB 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)))

eval2.0ms (0.3%)

Memory
6.7MiB live, 6.7MiB allocated
Compiler

Compiled 457 to 41 computations (91% saved)

prune2.0ms (0.3%)

Memory
5.3MiB live, 5.3MiB 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
98.0%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
31.0%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
20.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.1%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
3.7%
#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.5MiB live, 0.5MiB 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)

localize19.0ms (2.1%)

Memory
-7.8MiB live, 31.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy27.540812022550085
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
accuracy61.60632982114133
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))
Samples
14.0ms256×0valid
Compiler

Compiled 54 to 22 computations (59.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 3.0ms (39.8% of total)
ival-add: 2.0ms (26.5% of total)
ival-sub: 1.0ms (13.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
5.8MiB live, 5.8MiB 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
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
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
0.7MiB live, 0.7MiB 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.6MiB live, 0.6MiB 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.0MiB live, 1.0MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune3.0ms (0.4%)

Memory
6.6MiB live, 6.6MiB 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
98.0%
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
31.0%
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))))
20.8%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
44.1%
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y))
3.7%
#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.1%)

Memory
-21.5MiB live, 17.4MiB allocated
Counts
5 → 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))))
(+.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))
Calls

4 calls:

3.0ms
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
2.0ms
z
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
98.0%1x
98.0%1y
98.0%1z
98.0%1(+.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
13.4MiB live, 13.4MiB 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
x
2.0ms
y
Results
AccuracySegmentsBranch
44.1%1x
44.1%1y
44.1%1z
44.1%1(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
Compiler

Compiled 12 to 17 computations (-41.7% saved)

regimes8.0ms (0.8%)

Memory
-29.8MiB live, 10.5MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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
x
1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
3.7%1y
3.7%1z
3.7%1(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z))
3.7%1x
Compiler

Compiled 12 to 17 computations (-41.7% saved)

simplify5.0ms (0.5%)

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

soundness1.0ms (0.1%)

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

Compiled 41 to 16 computations (61% saved)

preprocess22.0ms (2.4%)

Memory
-4.7MiB live, 32.2MiB allocated
Compiler

Compiled 100 to 48 computations (52% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...