Data.Random.Distribution.Normal:doubleStdNormalZ from random-fu-0.2.6.2

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample678.0ms (50.5%)

Memory
-11.3MiB live, 751.0MiB allocated
Samples
426.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 194.0ms
ival-add: 108.0ms (55.7% of total)
ival-sub: 72.0ms (37.1% of total)
ival-true: 6.0ms (3.1% of total)
exact: 5.0ms (2.6% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain108.0ms (8.1%)

Memory
2.9MiB live, 89.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x x)
00-0-#s(literal 1 binary64)
00-0-(-.f64 (+.f64 x x) #s(literal 1 binary64))
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
63.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 53.0ms
ival-add: 50.0ms (93.8% of total)
ival-sub: 3.0ms (5.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess37.0ms (2.8%)

Memory
5.3MiB live, 42.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
12211
27210
317410
425210
526510
045
065
1155
2195
3245
4285
5375
6665
71485
82325
92465
102485
02484
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Outputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify8.0ms (0.6%)

Memory
13.9MiB live, 14.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 x x)
cost-diff128
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11510
21910
32410
42810
53710
66610
714810
823210
924610
1024810
02489
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(+.f64 x x)
x
#s(literal 1 binary64)
Outputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 1 binary64)

localize32.0ms (2.4%)

Memory
-5.9MiB live, 31.3MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 (+.f64 x x) #s(literal 1 binary64))
accuracy0
(+.f64 x x)
Samples
10.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 3.0ms (62.5% of total)
ival-add: 1.0ms (20.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

Memory
4.8MiB live, 4.8MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (+ x x) 1) (+ x x))
0.0ms
x
@0
((- (+ x x) 1) (+ x x))
0.0ms
x
@-inf
((- (+ x x) 1) (+ x x))

simplify11.0ms (0.9%)

Memory
-24.5MiB live, 12.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01288
12888
26388
311888
413288
518688
622788
725288
826788
927388
1027488
027479
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
-1
(- (* 2 x) 1)
(- (* 2 x) 1)
(- (* 2 x) 1)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
-1
#s(literal -1 binary64)
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite52.0ms (3.9%)

Memory
15.3MiB live, 95.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1368
03037
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 69
Calls
Call 1
Inputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(+.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval11.0ms (0.8%)

Memory
-4.3MiB live, 34.3MiB allocated
Compiler

Compiled 836 to 170 computations (79.7% saved)

prune2.0ms (0.2%)

Memory
12.2MiB live, 12.2MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh000
Picked011
Done000
Total91394
Accuracy
100.0%
Counts
94 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) #s(literal 1 binary64))
57.6%
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
44.8%
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Compiler

Compiled 11 to 11 computations (0% saved)

simplify10.0ms (0.8%)

Memory
-18.8MiB live, 19.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
cost-diff0
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
01022
11822
22122
32622
43022
53922
66822
715022
823122
924522
1024722
024720
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
Outputs
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)

localize25.0ms (1.8%)

Memory
-12.1MiB live, 44.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x #s(literal 2 binary64))
accuracy27.13765729923529
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
accuracy35.3323413624832
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Samples
19.0ms256×0valid
Compiler

Compiled 30 to 15 computations (50% saved)

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

series2.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())
Outputs
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify10.0ms (0.7%)

Memory
8.5MiB live, 8.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
012140
128140
263140
3118140
4132140
5186140
6227140
7252140
8267140
9273140
10274140
0274122
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
-1
(- (* 2 x) 1)
(- (* 2 x) 1)
(- (* 2 x) 1)
-1
(- (* 2 x) 1)
(- (* 2 x) 1)
(- (* 2 x) 1)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* 2 x)
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* 2 x)
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
-1
#s(literal -1 binary64)
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite42.0ms (3.1%)

Memory
1.6MiB live, 41.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
01019
13919
031317
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 41
Calls
Call 1
Inputs
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval15.0ms (1.1%)

Memory
-13.1MiB live, 24.6MiB allocated
Compiler

Compiled 544 to 122 computations (77.6% saved)

prune3.0ms (0.2%)

Memory
11.4MiB live, 11.5MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New76177
Fresh000
Picked112
Done011
Total77380
Accuracy
100.0%
Counts
80 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) #s(literal 1 binary64))
57.6%
#s(approx (- (+ x x) 1) (+.f64 x x))
44.8%
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Compiler

Compiled 11 to 10 computations (9.1% saved)

simplify11.0ms (0.9%)

Memory
-12.2MiB live, 24.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 x x)
cost-diff0
#s(approx (- (+ x x) 1) (+.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
0713
11613
22013
32513
42913
53813
66713
715013
823413
924813
1025013
025012
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (+ x x) 1) (+.f64 x x))
(+.f64 x x)
x
Outputs
#s(approx (- (+ x x) 1) (+.f64 x x))
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
x

localize18.0ms (1.3%)

Memory
6.4MiB live, 49.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x x)
accuracy27.13765729923529
#s(approx (- (+ x x) 1) (+.f64 x x))
Samples
14.0ms256×0valid
Compiler

Compiled 19 to 9 computations (52.6% saved)

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

series1.0ms (0.1%)

Memory
4.9MiB live, 4.9MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())
#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify9.0ms (0.6%)

Memory
18.1MiB live, 18.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01288
12888
26388
311888
413288
518688
622788
725288
826788
927388
1027488
027479
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
-1
(- (* 2 x) 1)
(- (* 2 x) 1)
(- (* 2 x) 1)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* x (- 2 (/ 1 x)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* -1 (* x (- (/ 1 x) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
-1
#s(literal -1 binary64)
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(- (* 2 x) 1)
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* x (- 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* -1 (* x (- (/ 1 x) 2)))
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite44.0ms (3.3%)

Memory
-13.8MiB live, 59.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0612
0712
13712
030511
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 36
Calls
Call 1
Inputs
#s(approx (- (+ x x) 1) (+.f64 x x))
(+.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval6.0ms (0.4%)

Memory
23.5MiB live, 23.5MiB allocated
Compiler

Compiled 459 to 113 computations (75.4% saved)

prune4.0ms (0.3%)

Memory
-21.2MiB live, 17.8MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New60060
Fresh000
Picked011
Done022
Total60363
Accuracy
100.0%
Counts
63 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) #s(literal 1 binary64))
57.6%
#s(approx (- (+ x x) 1) (+.f64 x x))
44.8%
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Compiler

Compiled 26 to 20 computations (23.1% saved)

regimes11.0ms (0.8%)

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

3 calls:

6.0ms
x
2.0ms
(+.f64 x x)
2.0ms
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 x x) #s(literal 1 binary64))
100.0%1(+.f64 x x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes6.0ms (0.4%)

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

3 calls:

2.0ms
(+.f64 x x)
2.0ms
x
2.0ms
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
98.6%3x
98.6%3(-.f64 (+.f64 x x) #s(literal 1 binary64))
98.6%3(+.f64 x x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes4.0ms (0.3%)

Memory
10.5MiB live, 10.5MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Outputs
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Calls

3 calls:

1.0ms
(+.f64 x x)
1.0ms
x
1.0ms
(-.f64 (+.f64 x x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
44.8%1x
44.8%1(-.f64 (+.f64 x x) #s(literal 1 binary64))
44.8%1(+.f64 x x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

bsearch1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.05819224827699811
998418.6444383595
0.0ms
-16000.5030403664
-0.002190405825671427
Compiler

Compiled 8 to 8 computations (0% saved)

simplify51.0ms (3.8%)

Memory
-26.4MiB live, 52.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01549
12049
22349
32749
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(if (<=.f64 (+.f64 x x) #s(literal -10000 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 3602879701896397/36028797018963968 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x))))
#s(approx (- (+ x x) 1) #s(literal -1 binary64))
Outputs
(-.f64 (+.f64 x x) #s(literal 1 binary64))
(if (<=.f64 (+.f64 x x) #s(literal -10000 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 3602879701896397/36028797018963968 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x))))
#s(approx (- (+ x x) 1) #s(literal -1 binary64))

soundness53.0ms (3.9%)

Memory
26.6MiB live, 65.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
01019
13919
031317
01288
12888
26388
311888
413288
518688
622788
725288
826788
927388
1027488
027479
Stop Event
done
iter limit
saturated
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 38 to 24 computations (36.8% saved)

preprocess75.0ms (5.6%)

Memory
-15.1MiB live, 65.5MiB allocated
Compiler

Compiled 68 to 34 computations (50% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...