Diagrams.ThreeD.Shapes:frustum from diagrams-lib-1.3.0.3, B

Time bar (total: 836.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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 9 to 8 computations (11.1% saved)

sample593.0ms (70.9%)

Memory
38.8MiB live, 853.3MiB allocated
Samples
376.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 160.0ms
ival-mult: 56.0ms (35.1% of total)
ival-sub: 53.0ms (33.2% of total)
ival-add: 42.0ms (26.3% of total)
ival-true: 5.0ms (3.1% of total)
ival-assert: 3.0ms (1.9% of total)
Bogosity

explain67.0ms (8.1%)

Memory
-6.7MiB live, 127.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 y x)
00-0-(+.f64 x (*.f64 (-.f64 y x) z))
00-0-(*.f64 (-.f64 y x) z)
00-0-y
00-0-z
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
27.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 7.0ms (53.1% of total)
ival-sub: 3.0ms (22.8% of total)
ival-add: 2.0ms (15.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.4%)

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

Compiled 7 to 6 computations (14.3% 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
100.0%
(+.f64 x (*.f64 (-.f64 y x) z))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

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

localize17.0ms (2%)

Memory
-9.4MiB live, 29.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y x)
accuracy0.0078125
(+.f64 x (*.f64 (-.f64 y x) z))
accuracy0.0234375
(*.f64 (-.f64 y x) z)
Samples
12.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

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

series5.0ms (0.6%)

Memory
7.8MiB live, 7.8MiB allocated
Counts
3 → 29
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y x) z))
(*.f64 (-.f64 y x) z)
(-.f64 y x)
Outputs
(* y z)
(+ (* x (+ 1 (* -1 z))) (* y z))
(+ (* -1 (* x z)) (* y z))
y
(+ y (* -1 x))
(* x (+ 1 (* -1 z)))
(* x (+ 1 (+ (* -1 z) (/ (* y z) x))))
(* -1 (* x z))
(* x (+ (* -1 z) (/ (* y z) x)))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- z 1)))
(* -1 (* x (- (+ z (* -1 (/ (* y z) x))) 1)))
(* -1 (* x (+ z (* -1 (/ (* y z) x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1 (* x z)))
(+ x (+ (* -1 (* x z)) (* y z)))
(- y x)
(* y (+ z (+ (* -1 (/ (* x z) y)) (/ x y))))
(* y (+ z (* -1 (/ (* x z) y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (+ x (* -1 (* x z))) y)))))
(* -1 (* y (+ (* -1 z) (/ (* x z) y))))
(* -1 (* y (- (/ x y) 1)))
x
(+ x (* z (- y x)))
(* z (- y x))
(* z (- (+ y (/ x z)) x))
(* -1 (* z (+ (* -1 (- y x)) (* -1 (/ x z)))))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
29 → 3
Calls
Call 1
Inputs
(* y z)
(+ (* x (+ 1 (* -1 z))) (* y z))
(+ (* -1 (* x z)) (* y z))
y
(+ y (* -1 x))
(* x (+ 1 (* -1 z)))
(* x (+ 1 (+ (* -1 z) (/ (* y z) x))))
(* -1 (* x z))
(* x (+ (* -1 z) (/ (* y z) x)))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- z 1)))
(* -1 (* x (- (+ z (* -1 (/ (* y z) x))) 1)))
(* -1 (* x (+ z (* -1 (/ (* y z) x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1 (* x z)))
(+ x (+ (* -1 (* x z)) (* y z)))
(- y x)
(* y (+ z (+ (* -1 (/ (* x z) y)) (/ x y))))
(* y (+ z (* -1 (/ (* x z) y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (+ x (* -1 (* x z))) y)))))
(* -1 (* y (+ (* -1 z) (/ (* x z) y))))
(* -1 (* y (- (/ x y) 1)))
x
(+ x (* z (- y x)))
(* z (- y x))
(* z (- (+ y (/ x z)) x))
(* -1 (* z (+ (* -1 (- y x)) (* -1 (/ x z)))))
Outputs
(* y z)
(+.f64 x (*.f64 (-.f64 y x) z))
(+ (* x (+ 1 (* -1 z))) (* y z))
(*.f64 (-.f64 y x) z)
(+ (* -1 (* x z)) (* y z))
(-.f64 y x)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y x) z))
(*.f64 (-.f64 y x) z)
(-.f64 y x)
Outputs
(+.f64 x (*.f64 (-.f64 y x) z))
(*.f64 (-.f64 y x) z)
(-.f64 y x)

eval1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Compiler

Compiled 60 to 13 computations (78.3% saved)

prune1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
100.0%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y x) z))
3.3%
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
64.0%
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
Compiler

Compiled 31 to 23 computations (25.8% saved)

simplify0.0ms (0%)

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

Found 6 expressions of interest:

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

localize19.0ms (2.3%)

Memory
-11.6MiB live, 26.6MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y x)
accuracy0.0078125
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
accuracy61.48305082527024
#s(approx (* (- y x) z) (-.f64 y x))
accuracy0.0
(-.f64 y x)
accuracy0.0234375
(*.f64 (-.f64 y x) z)
accuracy23.03751628061137
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
Samples
12.0ms256×0valid
Compiler

Compiled 86 to 19 computations (77.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 2.0ms (43.4% of total)
ival-sub: 1.0ms (21.7% of total)
ival-add: 1.0ms (21.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.4%)

Memory
5.1MiB live, 5.1MiB allocated
Counts
5 → 29
Calls
Call 1
Inputs
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
(*.f64 (-.f64 y x) z)
(-.f64 y x)
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
#s(approx (* (- y x) z) (-.f64 y x))
Outputs
(* y z)
(+ (* x (+ 1 (* -1 z))) (* y z))
(+ (* -1 (* x z)) (* y z))
y
(+ y (* -1 x))
(* x (+ 1 (* -1 z)))
(* x (+ 1 (+ (* -1 z) (/ (* y z) x))))
(* -1 (* x z))
(* x (+ (* -1 z) (/ (* y z) x)))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- z 1)))
(* -1 (* x (- (+ z (* -1 (/ (* y z) x))) 1)))
(* -1 (* x (+ z (* -1 (/ (* y z) x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1 (* x z)))
(+ x (+ (* -1 (* x z)) (* y z)))
(- y x)
(* y (+ z (+ (* -1 (/ (* x z) y)) (/ x y))))
(* y (+ z (* -1 (/ (* x z) y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (+ x (* -1 (* x z))) y)))))
(* -1 (* y (+ (* -1 z) (/ (* x z) y))))
(* -1 (* y (- (/ x y) 1)))
x
(+ x (* z (- y x)))
(* z (- y x))
(* z (- (+ y (/ x z)) x))
(* -1 (* z (+ (* -1 (- y x)) (* -1 (/ x z)))))
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
29 → 5
Calls
Call 1
Inputs
(* y z)
(+ (* x (+ 1 (* -1 z))) (* y z))
(+ (* -1 (* x z)) (* y z))
y
(+ y (* -1 x))
(* x (+ 1 (* -1 z)))
(* x (+ 1 (+ (* -1 z) (/ (* y z) x))))
(* -1 (* x z))
(* x (+ (* -1 z) (/ (* y z) x)))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- z 1)))
(* -1 (* x (- (+ z (* -1 (/ (* y z) x))) 1)))
(* -1 (* x (+ z (* -1 (/ (* y z) x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1 (* x z)))
(+ x (+ (* -1 (* x z)) (* y z)))
(- y x)
(* y (+ z (+ (* -1 (/ (* x z) y)) (/ x y))))
(* y (+ z (* -1 (/ (* x z) y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (+ x (* -1 (* x z))) y)))))
(* -1 (* y (+ (* -1 z) (/ (* x z) y))))
(* -1 (* y (- (/ x y) 1)))
x
(+ x (* z (- y x)))
(* z (- y x))
(* z (- (+ y (/ x z)) x))
(* -1 (* z (+ (* -1 (- y x)) (* -1 (/ x z)))))
Outputs
(* y z)
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
(+ (* x (+ 1 (* -1 z))) (* y z))
(*.f64 (-.f64 y x) z)
(+ (* -1 (* x z)) (* y z))
(-.f64 y x)
y
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
(+ y (* -1 x))
#s(approx (* (- y x) z) (-.f64 y x))

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 191 to 23 computations (88% saved)

prune2.0ms (0.3%)

Memory
4.2MiB live, 4.2MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New9211
Fresh000
Picked022
Done011
Total9514
Accuracy
100.0%
Counts
14 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y x) z))
3.3%
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
27.0%
(+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))))
64.0%
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
3.3%
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))
Compiler

Compiled 71 to 43 computations (39.4% saved)

simplify1.0ms (0.1%)

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

Found 7 expressions of interest:

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

localize21.0ms (2.5%)

Memory
-8.4MiB live, 29.6MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0078125
(+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))))
accuracy61.48305082527024
#s(approx (* (- y x) z) (-.f64 y x))
accuracy61.48305082527024
#s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))))
accuracy61.878327307487616
#s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))
accuracy0.0
(-.f64 y x)
accuracy23.03751628061137
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))
accuracy61.48305082527024
#s(approx (* (- y x) z) (-.f64 y x))
Samples
13.0ms256×0valid
Compiler

Compiled 166 to 21 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 2.0ms (43.3% of total)
ival-mult: 2.0ms (43.3% of total)
ival-add: 1.0ms (21.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.4%)

Memory
5.5MiB live, 5.5MiB allocated
Counts
7 → 29
Calls
Call 1
Inputs
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))
#s(approx (* (- y x) z) (-.f64 y x))
(-.f64 y x)
(+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))))
#s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))))
#s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
Outputs
(* y z)
(+ (* x (+ 1 (* -1 z))) (* y z))
(+ (* -1 (* x z)) (* y z))
y
(+ y (* -1 x))
(* x (+ 1 (* -1 z)))
(* x (+ 1 (+ (* -1 z) (/ (* y z) x))))
(* -1 (* x z))
(* x (+ (* -1 z) (/ (* y z) x)))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- z 1)))
(* -1 (* x (- (+ z (* -1 (/ (* y z) x))) 1)))
(* -1 (* x (+ z (* -1 (/ (* y z) x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1 (* x z)))
(+ x (+ (* -1 (* x z)) (* y z)))
(- y x)
(* y (+ z (+ (* -1 (/ (* x z) y)) (/ x y))))
(* y (+ z (* -1 (/ (* x z) y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (+ (* -1 z) (* -1 (/ (+ x (* -1 (* x z))) y)))))
(* -1 (* y (+ (* -1 z) (/ (* x z) y))))
(* -1 (* y (- (/ x y) 1)))
x
(+ x (* z (- y x)))
(* z (- y x))
(* z (- (+ y (/ x z)) x))
(* -1 (* z (+ (* -1 (- y x)) (* -1 (/ x z)))))
Calls

9 calls:

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

simplify0.0ms (0.1%)

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

rewrite0.0ms (0.1%)

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

eval2.0ms (0.2%)

Memory
3.2MiB live, 3.2MiB allocated
Compiler

Compiled 428 to 30 computations (93% saved)

prune6.0ms (0.7%)

Memory
-33.2MiB live, 6.6MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New16016
Fresh000
Picked022
Done033
Total16521
Accuracy
100.0%
Counts
21 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y x) z))
3.3%
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
27.0%
(+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x))))))
64.0%
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
3.3%
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))
Compiler

Compiled 142 to 59 computations (58.5% saved)

regimes10.0ms (1.2%)

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

4 calls:

2.0ms
x
2.0ms
z
2.0ms
y
2.0ms
(+.f64 x (*.f64 (-.f64 y x) z))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(+.f64 x (*.f64 (-.f64 y x) z))
Compiler

Compiled 10 to 15 computations (-50% saved)

regimes10.0ms (1.2%)

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

4 calls:

2.0ms
x
2.0ms
z
2.0ms
y
2.0ms
(+.f64 x (*.f64 (-.f64 y x) z))
Results
AccuracySegmentsBranch
67.1%2x
64.0%1y
75.1%3z
64.0%1(+.f64 x (*.f64 (-.f64 y x) z))
Compiler

Compiled 10 to 15 computations (-50% saved)

regimes4.0ms (0.5%)

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

2 calls:

2.0ms
z
2.0ms
x
Results
AccuracySegmentsBranch
64.0%1x
64.0%1z
Compiler

Compiled 2 to 6 computations (-200% saved)

regimes6.0ms (0.7%)

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

4 calls:

1.0ms
x
1.0ms
z
1.0ms
y
1.0ms
(+.f64 x (*.f64 (-.f64 y x) z))
Results
AccuracySegmentsBranch
3.3%1x
3.3%1y
3.3%1(+.f64 x (*.f64 (-.f64 y x) z))
3.3%1z
Compiler

Compiled 10 to 15 computations (-50% saved)

regimes5.0ms (0.6%)

Memory
11.1MiB live, 11.1MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

1.0ms
z
1.0ms
y
1.0ms
x
1.0ms
(+.f64 x (*.f64 (-.f64 y x) z))
Results
AccuracySegmentsBranch
3.3%1z
3.3%1x
3.3%1(+.f64 x (*.f64 (-.f64 y x) z))
3.3%1y
Compiler

Compiled 10 to 15 computations (-50% saved)

bsearch21.0ms (2.5%)

Memory
-10.9MiB live, 27.6MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
6.0ms
0.00011280407350599278
0.0003732491544301529
13.0ms
-1.313806500412833e-42
-3.568319791870844e-55
Samples
10.0ms240×0valid
Compiler

Compiled 550 to 342 computations (37.8% saved)

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

simplify5.0ms (0.6%)

Memory
9.6MiB live, 9.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y x) z))
(if (<=.f64 z #s(literal -2948744166719601/52656145834278593348959013841835216159447547700274555627155488768 binary64)) #s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z)) (if (<=.f64 z #s(literal 4242751136953197/36893488147419103232 binary64)) (+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))))) #s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))))
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))
Outputs
(+.f64 x (*.f64 (-.f64 y x) z))
(if (<=.f64 z #s(literal -2948744166719601/52656145834278593348959013841835216159447547700274555627155488768 binary64)) #s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z)) (if (<=.f64 z #s(literal 4242751136953197/36893488147419103232 binary64)) (+.f64 x #s(approx (* (- y x) z) #s(approx (- y x) (+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))))) #s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))))
#s(approx (+ x (* (- y x) z)) (*.f64 (-.f64 y x) z))
(+.f64 x #s(approx (* (- y x) z) (-.f64 y x)))
#s(approx (+ x (* (- y x) z)) #s(approx (* (- y x) z) (-.f64 y x)))

soundness1.0ms (0.2%)

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

Compiled 105 to 22 computations (79% saved)

preprocess26.0ms (3.1%)

Memory
7.9MiB live, 45.9MiB allocated
Compiler

Compiled 224 to 56 computations (75% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...