Diagrams.Backend.Rasterific:$crender from diagrams-rasterific-1.3.1.3

Time bar (total: 962.0ms)

start0.0ms (0%)

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

sample702.0ms (73%)

Memory
-7.7MiB live, 1 168.2MiB allocated
Samples
448.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 237.0ms
ival-mult: 130.0ms (54.9% of total)
ival-sub: 55.0ms (23.2% of total)
ival-add: 36.0ms (15.2% of total)
ival-true: 7.0ms (3% of total)
exact: 6.0ms (2.5% of total)
ival-assert: 4.0ms (1.7% of total)
Bogosity

explain88.0ms (9.1%)

Memory
-1.6MiB live, 166.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
40-0-(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
00-0-y
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-z
00-0-(*.f64 x y)
00-0-(*.f64 (-.f64 #s(literal 1 binary64) x) z)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))nan-rescue40
(*.f64 x y)overflow35
(*.f64 (-.f64 #s(literal 1 binary64) x) z)overflow30
Confusion
Predicted +Predicted -
+40
-0252
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+400
-00252
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0252
14
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 85 to 36 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 9.0ms (58.7% of total)
ival-sub: 3.0ms (19.6% of total)
ival-add: 2.0ms (13% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess8.0ms (0.8%)

Memory
-36.6MiB live, 7.0MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
Outputs
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) 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.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) 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 #s(literal 1 binary64) x)
cost-diff0
(*.f64 (-.f64 #s(literal 1 binary64) x) z)
cost-diff0
(*.f64 x y)
cost-diff0
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
Calls
Call 1
Inputs
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
(*.f64 x y)
x
y
(*.f64 (-.f64 #s(literal 1 binary64) x) z)
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
z
Outputs
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
(*.f64 x y)
x
y
(*.f64 (-.f64 #s(literal 1 binary64) x) z)
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
z

localize19.0ms (2%)

Memory
31.2MiB live, 31.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0
(*.f64 x y)
accuracy0.0078125
(*.f64 (-.f64 #s(literal 1 binary64) x) z)
accuracy0.8632791858302058
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
Samples
14.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 (62.6% of total)
ival-sub: 1.0ms (15.7% of total)
ival-add: 1.0ms (15.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series12.0ms (1.2%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

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.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
31.2%
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)))
21.1%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
44.5%
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y))
Compiler

Compiled 50 to 38 computations (24% saved)

simplify1.0ms (0.1%)

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

Found 10 expressions of interest:

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

localize29.0ms (3%)

Memory
5.6MiB live, 42.7MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0
(*.f64 x y)
accuracy0.8632791858302058
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)))
accuracy61.85680436312266
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0078125
(*.f64 (-.f64 #s(literal 1 binary64) x) z)
accuracy0.8632791858302058
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
accuracy59.84088954102823
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
accuracy0.0
(*.f64 x y)
accuracy35.497437132304086
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y))
Samples
17.0ms256×0valid
Compiler

Compiled 146 to 27 computations (81.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (60.6% of total)
ival-sub: 1.0ms (15.2% of total)
ival-add: 1.0ms (15.2% 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.4%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite1.0ms (0.1%)

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

eval2.0ms (0.2%)

Memory
6.0MiB live, 6.0MiB allocated
Compiler

Compiled 457 to 41 computations (91% saved)

prune2.0ms (0.2%)

Memory
6.1MiB live, 6.1MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New24125
Fresh000
Picked123
Done011
Total25429
Accuracy
100.0%
Counts
29 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
21.1%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
44.5%
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y))
3.3%
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 56 to 39 computations (30.4% saved)

simplify4.0ms (0.5%)

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

Found 3 expressions of interest:

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

localize18.0ms (1.9%)

Memory
24.6MiB live, 24.6MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 54 to 22 computations (59.3% 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.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)

series3.0ms (0.3%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune3.0ms (0.3%)

Memory
4.4MiB live, 4.4MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New404
Fresh000
Picked011
Done033
Total448
Accuracy
100.0%
Counts
8 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.4%
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
21.1%
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z))
44.5%
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y))
3.3%
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 125 to 58 computations (53.6% saved)

regimes17.0ms (1.7%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

regimes7.0ms (0.8%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

regimes9.0ms (0.9%)

Memory
-24.6MiB live, 13.4MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

simplify4.0ms (0.5%)

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

soundness1.0ms (0.1%)

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

Compiled 41 to 16 computations (61% saved)

preprocess23.0ms (2.4%)

Memory
1.5MiB live, 38.4MiB allocated
Compiler

Compiled 100 to 48 computations (52% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...