exp neg sub

Time bar (total: 3.0s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.1s (35.1%)

Memory
2.3MiB live, 807.2MiB allocated; 128ms collecting garbage
Samples
682.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 485.0ms
ival-exp: 166.0ms (34.3% of total)
ival-mult: 139.0ms (28.7% of total)
ival-sub: 126.0ms (26% of total)
ival-neg: 36.0ms (7.4% of total)
ival-true: 6.0ms (1.2% of total)
exact: 5.0ms (1% of total)
ival-assert: 3.0ms (0.6% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain182.0ms (6.1%)

Memory
-38.1MiB live, 175.6MiB allocated; 91ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 1 binary64)
00-0-(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
00-0-(-.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-(*.f64 x x)
00-0-(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
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
67.0ms512×0valid
Compiler

Compiled 57 to 22 computations (61.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-exp: 5.0ms (33.8% of total)
ival-mult: 4.0ms (27% of total)
ival-sub: 3.0ms (20.3% of total)
ival-neg: 2.0ms (13.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess144.0ms (4.8%)

Memory
-38.7MiB live, 156.4MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
13013
28913
325813
4103013
067
0107
1266
2736
32456
48776
091565
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify114.0ms (3.8%)

Memory
25.1MiB live, 123.1MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 #s(literal 1 binary64) (*.f64 x x))
cost-diff0
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
cost-diff2
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
12621
27321
324521
487721
0915619
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x
Outputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 x x #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x

localize24.0ms (0.8%)

Memory
-18.5MiB live, 25.8MiB allocated; 5ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) (*.f64 x x))
accuracy0.0
(*.f64 x x)
accuracy0.0
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
accuracy0.0
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Samples
14.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-exp: 2.0ms (27.8% of total)
ival-mult: 2.0ms (27.8% of total)
ival-sub: 1.0ms (13.9% of total)
ival-neg: 1.0ms (13.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 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; 0ms collecting garbage
Counts
4 → 13
Calls
Call 1
Inputs
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
-1
(- (pow x 2) 1)
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
1
(+ 1 (* -1 (pow x 2)))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(* -1 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))
1.0ms
x
@inf
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))
0.0ms
x
@-inf
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))

simplify213.0ms (7.1%)

Memory
16.1MiB live, 246.5MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030103
110198
247094
3285691
0823783
Stop Event
iter limit
node limit
Counts
13 → 13
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
1
(+ 1 (* -1 (pow x 2)))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(* -1 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
Outputs
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 x x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) #s(literal 1 binary64))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* -1 (pow x 2)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) x) x)

rewrite76.0ms (2.5%)

Memory
-6.5MiB live, 100.3MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0621
01021
14219
031819
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 58
Calls
Call 1
Inputs
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (neg.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) (neg.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 #s(literal -1 binary64) (*.f64 x x))
(*.f64 #s(literal 1 binary64) (exp.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))))
(pow.f64 (exp.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (*.f64 (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))) (exp.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (*.f64 (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))))) (-.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))))
(/.f64 (-.f64 (pow.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (fma.f64 (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (-.f64 (*.f64 (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (*.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))))
(/.f64 #s(literal 1 binary64) (exp.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(-.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (-.f64 #s(literal 0 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))
(+.f64 (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))))
(+.f64 (sinh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (cosh.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))))
(*.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (-.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (+.f64 #s(literal 1 binary64) (fabs.f64 x)) (-.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(fma.f64 x (neg.f64 x) #s(literal 1 binary64))
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(+.f64 (*.f64 (neg.f64 x) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval8.0ms (0.3%)

Memory
17.6MiB live, 17.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 958 to 280 computations (70.8% saved)

prune10.0ms (0.3%)

Memory
-38.1MiB live, 6.8MiB allocated; 6ms collecting garbage
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh000
Picked101
Done000
Total70272
Accuracy
100.0%
Counts
72 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
55.7%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 21 to 17 computations (19% saved)

simplify156.0ms (5.2%)

Memory
17.1MiB live, 160.3MiB allocated; 17ms collecting garbage
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x x #s(literal -1 binary64))
cost-diff0
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
cost-diff0
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
cost-diff0
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
cost-diff0
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01147
01447
13239
28739
323739
483639
5687739
0802739
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)

localize48.0ms (1.6%)

Memory
-1.9MiB live, 41.9MiB allocated; 7ms collecting garbage
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 x x #s(literal -1 binary64))
accuracy0.0
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
accuracy0.0
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
accuracy0.0
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
accuracy29.01021692435368
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
Samples
41.0ms256×0valid
Compiler

Compiled 36 to 10 computations (72.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-exp: 2.0ms (22.7% of total)
ival-mult: 2.0ms (22.7% of total)
ival-add: 1.0ms (11.3% of total)
ival-sub: 1.0ms (11.3% of total)
ival-neg: 1.0ms (11.3% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
2.0MiB live, 2.0MiB allocated; 0ms collecting garbage
Counts
5 → 9
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
Outputs
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Calls

3 calls:

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

simplify207.0ms (6.9%)

Memory
4.3MiB live, 192.3MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02681
19077
242173
3237970
0827162
Stop Event
iter limit
node limit
Counts
9 → 9
Calls
Call 1
Inputs
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 x x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) #s(literal 1 binary64))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)

rewrite55.0ms (1.8%)

Memory
17.6MiB live, 60.9MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01144
01444
15836
044436
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 55
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
Outputs
(/.f64 (-.f64 (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))) (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))))) (-.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (-.f64 (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))) (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))))))
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(+.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))))
(+.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (sinh.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))) (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))))) (-.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (-.f64 (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))) (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))))))
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
(+.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))))
(+.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))))
#s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64)))
(*.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (+.f64 (fabs.f64 x) #s(literal 1 binary64)) (-.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 x x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 x x)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (neg.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (*.f64 x x) #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) (neg.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 #s(literal -1 binary64) (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 x)) (*.f64 #s(literal -1 binary64) (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x #s(literal -1 binary64))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 x x #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal -1 binary64))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) #s(literal -1 binary64))))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 #s(literal -1 binary64) (*.f64 x x))
(+.f64 (*.f64 x x) #s(literal -1 binary64))

eval7.0ms (0.2%)

Memory
18.0MiB live, 18.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 316 to 249 computations (81.1% saved)

prune5.0ms (0.2%)

Memory
-34.4MiB live, 7.6MiB allocated; 8ms collecting garbage
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New61162
Fresh000
Picked112
Done000
Total62264
Accuracy
100.0%
Counts
64 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
55.4%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
55.7%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 20 to 16 computations (20% saved)

simplify172.0ms (5.7%)

Memory
8.2MiB live, 266.3MiB allocated; 41ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
cost-diff0
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0825
01025
12123
25623
312523
434123
5237823
0942821
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
x
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
x

localize18.0ms (0.6%)

Memory
12.9MiB live, 12.9MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.0
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
accuracy34.16431265542677
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
Samples
12.0ms256×0valid
Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-exp: 2.0ms (28.1% of total)
ival-mult: 2.0ms (28.1% of total)
ival-sub: 1.0ms (14.1% of total)
ival-neg: 1.0ms (14.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Counts
3 → 9
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
Outputs
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(pow x 2)
(exp (- (pow x 2) 1))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x))
0.0ms
x
@-inf
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x))
0.0ms
x
@0
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x))

simplify203.0ms (6.8%)

Memory
-21.9MiB live, 204.5MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02681
19077
242173
3237970
0827162
Stop Event
iter limit
node limit
Counts
9 → 9
Calls
Call 1
Inputs
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(pow x 2)
(exp (- (pow x 2) 1))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 x x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) #s(literal 1 binary64))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (exp.f64 #s(literal -1 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)

rewrite38.0ms (1.3%)

Memory
7.7MiB live, 54.2MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0824
01024
13722
026822
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 27
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
Outputs
(/.f64 (-.f64 (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))) (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))) (-.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (-.f64 (*.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))) (*.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))))))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
(+.f64 (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
(+.f64 (cosh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (sinh.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval4.0ms (0.1%)

Memory
6.2MiB live, 6.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 663 to 134 computations (79.8% saved)

prune2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New36036
Fresh000
Picked011
Done011
Total36238
Accuracy
100.0%
Counts
38 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
55.4%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
55.7%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 59 to 34 computations (42.4% saved)

regimes8.0ms (0.3%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
Calls

5 calls:

2.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
1.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%1(*.f64 x x)
100.0%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
100.0%1(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
100.0%1(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
100.0%1x
Compiler

Compiled 22 to 18 computations (18.2% saved)

regimes11.0ms (0.4%)

Memory
-34.4MiB live, 11.4MiB allocated; 5ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
Calls

5 calls:

6.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
1.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%2(*.f64 x x)
100.0%2(-.f64 #s(literal 1 binary64) (*.f64 x x))
100.0%2(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
100.0%2(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
100.0%2x
Compiler

Compiled 22 to 18 computations (18.2% saved)

regimes5.0ms (0.2%)

Memory
9.7MiB live, 9.7MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Calls

5 calls:

1.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
1.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
55.7%1(*.f64 x x)
55.7%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
55.7%1(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
55.7%1(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
55.7%1x
Compiler

Compiled 22 to 18 computations (18.2% saved)

bsearch15.0ms (0.5%)

Memory
14.8MiB live, 14.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
14.0ms
2.3186427852705794e-10
117.53530214980604
Samples
8.0ms160×0valid
Compiler

Compiled 210 to 190 computations (9.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-exp: 2.0ms (42.9% of total)
ival-sub: 1.0ms (21.4% of total)
ival-mult: 1.0ms (21.4% of total)
ival-neg: 1.0ms (21.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify51.0ms (1.7%)

Memory
-25.3MiB live, 30.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01745
12545
25145
310245
417445
543145
6330041
7712841
Stop Event
node limit
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
(if (<=.f64 x #s(literal 2206763817411543/2251799813685248 binary64)) (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) (fma.f64 x x #s(literal -1 binary64))))
(if (<=.f64 x #s(literal 2206763817411543/2251799813685248 binary64)) (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))

derivations146.0ms (4.9%)

Memory
-0.8MiB live, 88.3MiB allocated; 7ms collecting garbage
Stop Event
done
Compiler

Compiled 45 to 17 computations (62.2% saved)

preprocess20.0ms (0.7%)

Memory
1.1MiB live, 45.2MiB allocated; 9ms collecting garbage
Remove

(abs x)

Compiler

Compiled 128 to 64 computations (50% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...