Diagrams.Color.HSV:lerp from diagrams-contrib-1.3.0.5

Time bar (total: 975.0ms)

start0.0ms (0%)

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

sample708.0ms (72.6%)

Memory
-7.6MiB live, 1 042.9MiB allocated
Samples
453.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 228.0ms
ival-mult: 116.0ms (50.8% of total)
ival-sub: 61.0ms (26.7% of total)
ival-add: 37.0ms (16.2% of total)
ival-true: 6.0ms (2.6% of total)
exact: 5.0ms (2.2% of total)
ival-assert: 4.0ms (1.8% of total)
Bogosity

explain83.0ms (8.6%)

Memory
-26.5MiB live, 132.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
20-0-(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
00-0-y
00-0-(*.f64 (-.f64 #s(literal 1 binary64) x) y)
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-z
00-0-(*.f64 x z)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))nan-rescue20
(*.f64 (-.f64 #s(literal 1 binary64) x) y)overflow28
(*.f64 x z)overflow30
Confusion
Predicted +Predicted -
+20
-0254
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+200
-00254
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0254
12
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
30.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)

preprocess3.0ms (0.3%)

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

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB 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
99.2%
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 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 x z)
cost-diff0
(-.f64 #s(literal 1 binary64) x)
cost-diff0
(*.f64 (-.f64 #s(literal 1 binary64) x) y)
cost-diff0
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
Calls
Call 1
Inputs
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
(*.f64 (-.f64 #s(literal 1 binary64) x) y)
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
y
(*.f64 x z)
z
Outputs
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
(*.f64 (-.f64 #s(literal 1 binary64) x) y)
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
y
(*.f64 x z)
z

localize22.0ms (2.3%)

Memory
-5.6MiB live, 32.3MiB allocated
Localize:

Found 4 expressions of interest:

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

Compiled 50 to 18 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sub: 5.0ms (51.7% of total)
ival-mult: 3.0ms (31% of total)
ival-add: 1.0ms (10.3% 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.6%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Compiler

Compiled 96 to 20 computations (79.2% saved)

prune1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Accuracy
100.0%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
26.6%
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z))
65.6%
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y))
Compiler

Compiled 37 to 31 computations (16.2% saved)

simplify0.0ms (0.1%)

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

Found 7 expressions of interest:

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

localize23.0ms (2.4%)

Memory
13.8MiB live, 52.2MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0
(*.f64 x z)
accuracy0.45312293583020585
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z))
accuracy61.64092115458262
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0078125
(*.f64 (-.f64 #s(literal 1 binary64) x) y)
accuracy22.035183535665997
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y))
Samples
17.0ms256×0valid
Compiler

Compiled 102 to 25 computations (75.5% saved)

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

series5.0ms (0.5%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated
Compiler

Compiled 249 to 29 computations (88.4% saved)

prune2.0ms (0.2%)

Memory
6.0MiB live, 6.0MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New12113
Fresh000
Picked022
Done011
Total12416
Accuracy
100.0%
Counts
16 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
26.6%
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z))
65.6%
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y))
3.5%
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 56 to 43 computations (23.2% saved)

simplify0.0ms (0%)

Memory
1.0MiB live, 1.0MiB 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) y) (-.f64 #s(literal 1 binary64) x))
cost-diff0
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
Calls
Call 1
Inputs
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
Outputs
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x

localize21.0ms (2.2%)

Memory
-7.3MiB live, 43.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy22.035183535665997
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
accuracy61.64092115458262
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))
Samples
16.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: 3.0ms (47.8% of total)
ival-sub: 2.0ms (31.9% of total)
ival-add: 1.0ms (15.9% 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
6.8MiB live, 6.8MiB allocated
Counts
3 → 22
Calls
Call 1
Inputs
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
Outputs
y
(+ y (* x (+ z (* -1 y))))
(+ y (* -1 (* x y)))
1
(+ 1 (* -1 x))
(* x (+ z (* -1 y)))
(* x (+ z (+ (* -1 y) (/ y x))))
(* -1 (* x y))
(* x (+ (* -1 y) (/ y x)))
(* -1 x)
(* x (- (/ 1 x) 1))
(* -1 (* x (+ y (* -1 z))))
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x))))))
(* -1 (* x (+ y (* -1 (/ y x)))))
(* -1 (* x (- 1 (/ 1 x))))
(* x z)
(+ (* x z) (* y (- 1 x)))
(* y (- 1 x))
(* y (- (+ 1 (/ (* x z) y)) x))
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y)))))
(* z (+ x (/ (* y (- 1 x)) z)))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z)))))
Calls

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.2%)

Memory
-36.9MiB live, 2.4MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune3.0ms (0.3%)

Memory
5.7MiB live, 5.7MiB 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
99.2%
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
26.6%
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z))
65.6%
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y))
3.5%
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 112 to 60 computations (46.4% saved)

regimes8.0ms (0.8%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

regimes8.0ms (0.8%)

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

4 calls:

2.0ms
x
2.0ms
z
2.0ms
y
2.0ms
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
Results
AccuracySegmentsBranch
65.6%1x
65.6%1y
73.9%3z
67.4%2(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z))
Compiler

Compiled 12 to 17 computations (-41.7% saved)

regimes5.0ms (0.5%)

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

3 calls:

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

Compiled 11 to 14 computations (-27.3% saved)

regimes5.0ms (0.5%)

Memory
12.9MiB live, 12.9MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 12 to 17 computations (-41.7% saved)

bsearch23.0ms (2.4%)

Memory
0.4MiB live, 39.5MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
1.1201469226201697e+64
1.0011051813972206e+65
13.0ms
-3.4448055154702563e+140
-1.3682598439143745e+134
Samples
12.0ms240×0valid
Compiler

Compiled 432 to 389 computations (10% saved)

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

simplify5.0ms (0.5%)

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

soundness1.0ms (0.1%)

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

Compiled 92 to 23 computations (75% saved)

preprocess31.0ms (3.2%)

Memory
-12.5MiB live, 66.1MiB allocated
Compiler

Compiled 216 to 74 computations (65.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...