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

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze88.0ms (7.1%)

Memory
3.0MiB live, 128.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.8%0.2%0%0%0%0
0%0%99.8%0.2%0%0%0%1
0%0%99.8%0.2%0%0%0%2
0%0%99.8%0.2%0%0%0%3
0%0%99.8%0.2%0%0%0%4
50%49.9%49.9%0.2%0%0%0%5
50%49.9%49.9%0.2%0%0%0%6
50%49.9%49.9%0.2%0%0%0%7
50%49.9%49.9%0.2%0%0%0%8
75%74.9%25%0.2%0%0%0%9
75%74.9%25%0.2%0%0%0%10
75%74.9%25%0.2%0%0%0%11
75%74.9%25%0.2%0%0%0%12
Compiler

Compiled 11 to 11 computations (0% saved)

sample820.0ms (66.3%)

Memory
36.8MiB live, 1 131.4MiB allocated
Samples
518.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 262.0ms
ival-div: 72.0ms (27.5% of total)
ival-add: 61.0ms (23.3% of total)
ival-mult: 60.0ms (22.9% of total)
ival-sub: 51.0ms (19.5% of total)
ival-true: 8.0ms (3.1% of total)
exact: 6.0ms (2.3% of total)
ival-assert: 4.0ms (1.5% of total)
Bogosity

explain91.0ms (7.4%)

Memory
-39.5MiB live, 126.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
10-0-(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
00-0-(*.f64 t #s(literal 2 binary64))
00-0-(-.f64 (+.f64 x y) z)
00-0-t
00-0-z
00-0-#s(literal 2 binary64)
00-0-y
00-0-(+.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))n/o10
(*.f64 t #s(literal 2 binary64))overflow1
Confusion
Predicted +Predicted -
+10
-0255
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+100
-00255
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0255
11
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
30.0ms512×0valid
Compiler

Compiled 88 to 40 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-div: 4.0ms (30.4% of total)
ival-add: 3.0ms (22.8% of total)
ival-mult: 3.0ms (22.8% of total)
ival-sub: 2.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)

preprocess4.0ms (0.3%)

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

Compiled 9 to 9 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 4 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 9 computations (0% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize22.0ms (1.8%)

Memory
-7.6MiB live, 30.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 (+.f64 x y) z)
accuracy0.0
(+.f64 x y)
accuracy0.0
(*.f64 t #s(literal 2 binary64))
accuracy0.2530387577865643
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
Samples
15.0ms256×0valid
Compiler

Compiled 52 to 20 computations (61.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (31.3% of total)
ival-add: 2.0ms (31.3% of total)
ival-mult: 2.0ms (31.3% of total)
ival-sub: 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)

series9.0ms (0.7%)

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

12 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 96 to 20 computations (79.2% saved)

prune1.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
99.6%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
70.2%
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64)))
3.4%
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z))
Compiler

Compiled 50 to 42 computations (16% saved)

simplify1.0ms (0%)

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

Found 10 expressions of interest:

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

localize27.0ms (2.2%)

Memory
7.1MiB live, 49.0MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.0
(*.f64 t #s(literal 2 binary64))
accuracy0.2530387577865643
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64)))
accuracy19.88867629861316
#s(approx (- (+ x y) z) (+.f64 x y))
accuracy0.0
(*.f64 t #s(literal 2 binary64))
accuracy0.2530387577865643
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64)))
accuracy61.90726218019745
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64)))
accuracy0.0
(-.f64 (+.f64 x y) z)
accuracy0.0
(+.f64 x y)
accuracy61.850431669684504
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z))
Samples
20.0ms256×0valid
Compiler

Compiled 150 to 29 computations (80.7% saved)

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

series7.0ms (0.5%)

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

12 calls:

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

simplify1.0ms (0%)

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

rewrite0.0ms (0%)

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

eval2.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated
Compiler

Compiled 335 to 33 computations (90.1% saved)

prune3.0ms (0.2%)

Memory
6.2MiB live, 6.2MiB allocated
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New17219
Fresh000
Picked033
Done011
Total17623
Accuracy
99.6%
Counts
23 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
70.2%
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64)))
3.4%
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z))
2.9%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y)))
Compiler

Compiled 88 to 68 computations (22.7% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

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

localize23.0ms (1.9%)

Memory
5.7MiB live, 44.0MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)
accuracy0.0
(*.f64 t #s(literal 2 binary64))
accuracy61.84153350196667
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64)))
accuracy61.850431669684504
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z))
accuracy0.0
(+.f64 x y)
accuracy19.88867629861316
#s(approx (- (+ x y) z) (+.f64 x y))
accuracy61.850431669684504
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y)))
Samples
17.0ms256×0valid
Compiler

Compiled 118 to 28 computations (76.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 3.0ms (39.5% of total)
ival-add: 2.0ms (26.3% of total)
ival-mult: 2.0ms (26.3% of total)
ival-sub: 1.0ms (13.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.4%)

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

12 calls:

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

simplify0.0ms (0%)

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

rewrite1.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Compiler

Compiled 266 to 27 computations (89.8% saved)

prune4.0ms (0.4%)

Memory
-31.8MiB live, 7.1MiB allocated
Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New11112
Fresh000
Picked022
Done044
Total11718
Accuracy
99.6%
Counts
18 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
70.2%
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64)))
3.4%
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z))
2.9%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z))
2.5%
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y)))
Compiler

Compiled 101 to 80 computations (20.8% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize19.0ms (1.5%)

Memory
24.8MiB live, 24.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 t #s(literal 2 binary64))
accuracy62.42913241142365
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64)))
Samples
14.0ms256×0valid
Compiler

Compiled 34 to 23 computations (32.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (31.5% of total)
ival-mult: 2.0ms (31.5% 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)

series4.0ms (0.3%)

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

12 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 49 to 13 computations (73.5% saved)

prune7.0ms (0.6%)

Memory
-34.1MiB live, 6.0MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done066
Total3710
Accuracy
99.6%
Counts
10 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
70.2%
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64)))
3.4%
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z))
2.9%
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z))
2.5%
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64)))
3.4%
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y)))
Compiler

Compiled 202 to 104 computations (48.5% saved)

regimes25.0ms (2%)

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

8 calls:

5.0ms
x
3.0ms
(*.f64 t #s(literal 2 binary64))
3.0ms
(-.f64 (+.f64 x y) z)
3.0ms
t
3.0ms
(+.f64 x y)
Results
AccuracySegmentsBranch
99.6%1x
99.6%1y
99.6%1z
99.6%1t
99.6%1(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64)))
99.6%1(-.f64 (+.f64 x y) z)
99.6%1(+.f64 x y)
99.6%1(*.f64 t #s(literal 2 binary64))
Compiler

Compiled 24 to 42 computations (-75% saved)

regimes20.0ms (1.6%)

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

8 calls:

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

Compiled 24 to 42 computations (-75% saved)

regimes19.0ms (1.5%)

Memory
-8.7MiB live, 29.1MiB allocated
Accuracy

Total -1.3b remaining (-2.1%)

Threshold costs -1.3b (-2.1%)

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

8 calls:

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

Compiled 24 to 42 computations (-75% saved)

simplify4.0ms (0.4%)

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

soundness1.0ms (0.1%)

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

Compiled 41 to 17 computations (58.5% saved)

preprocess22.0ms (1.8%)

Memory
-5.3MiB live, 32.5MiB allocated
Compiler

Compiled 100 to 52 computations (48% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...