expax (section 3.5)

Time bar (total: 1.9s)

start0.0ms (0%)

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

analyze18.0ms (0.9%)

Memory
23.8MiB live, 23.8MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
62.5%62.4%37.5%0.1%0%0%0%5
66.7%62.4%31.2%0.1%0%6.2%0%6
75.9%68.7%21.9%0.1%0%9.4%0%7
80%68.7%17.2%0.1%0%14%0%8
86%71.8%11.7%0.1%0%16.4%0%9
88.9%71.8%9%0.1%0%19.1%0%10
92.4%73.4%6%0.1%0%20.5%0%11
94.1%73.4%4.6%0.1%0%22%0%12
Compiler

Compiled 12 to 7 computations (41.7% saved)

sample1.2s (62.7%)

Memory
10.7MiB live, 638.3MiB allocated; 1.3s collecting garbage
Samples
378.0ms8 256×0valid
18.0ms315×0invalid
Precisions
Click to see histograms. Total time spent on operations: 134.0ms
ival-expm1: 68.0ms (50.8% of total)
ival-mult!: 62.0ms (46.4% of total)
adjust: 2.0ms (1.5% of total)
ival->: 2.0ms (1.5% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

preprocess41.0ms (2.2%)

Memory
-13.5MiB live, 31.2MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01940
16440
213540
359240
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
Symmetry

(sort a x)

Compiler

Compiled 12 to 12 computations (0% saved)

series5.0ms (0.3%)

Memory
5.9MiB live, 5.9MiB allocated; 0ms collecting garbage
Counts
6 → 17
Calls
Call 1
Inputs
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
(exp.f64 (*.f64 a x))
(*.f64 a x)
a
x
#s(literal 1 binary64)
Outputs
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x)))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2)))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3))))))))))
#s(approx (exp (* a x)) #s(hole binary64 1))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))))
#s(approx a #s(hole binary64 a))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1)))
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3))))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x)))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))))
#s(approx x #s(hole binary64 x))
Calls

6 calls:

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

rewrite202.0ms (10.8%)

Memory
13.9MiB live, 153.6MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083314
086314
1530314
24906314
08188271
128091271
Stop Event
saturated
node-limit
iter-limit
Counts
23 → 51
Calls
Call 1
Inputs
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
(exp.f64 (*.f64 a x))
(*.f64 a x)
a
x
#s(literal 1 binary64)
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x)))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2)))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3))))))))))
#s(approx (exp (* a x)) #s(hole binary64 1))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))))
#s(approx a #s(hole binary64 a))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1)))
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3))))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x)))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))))
#s(approx x #s(hole binary64 x))
Outputs
(neg.f64 (neg.f64 (expm1.f64 (*.f64 x a))))
(fma.f64 (exp.f64 (*.f64 x a)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 (*.f64 x a)) #s(literal -1 binary64))
(expm1.f64 (fma.f64 x a #s(literal 0 binary64)))
(expm1.f64 (*.f64 x a))
(-.f64 (exp.f64 (*.f64 x a)) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 (*.f64 x a)))
(+.f64 (cosh.f64 (*.f64 x a)) (+.f64 (sinh.f64 (*.f64 x a)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 x a)) (-.f64 (sinh.f64 (*.f64 x a)) #s(literal 1 binary64)))
(+.f64 (exp.f64 (*.f64 x a)) #s(literal -1 binary64))
(*.f64 (exp.f64 (*.f64 x a)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 (*.f64 x a)))
(pow.f64 (exp.f64 x) a)
(pow.f64 (exp.f64 a) x)
(/.f64 (*.f64 (exp.f64 (*.f64 x a)) #s(literal 2 binary64)) #s(literal 2 binary64))
(sqrt.f64 (exp.f64 (*.f64 (*.f64 x a) #s(literal 2 binary64))))
(-.f64 (cosh.f64 (*.f64 x a)) (sinh.f64 (*.f64 (neg.f64 x) a)))
(fabs.f64 (neg.f64 (exp.f64 (*.f64 x a))))
(fabs.f64 (exp.f64 (*.f64 x a)))
(exp.f64 (fma.f64 x a #s(literal 0 binary64)))
(exp.f64 (*.f64 x a))
(+.f64 (cosh.f64 (fma.f64 x a #s(literal 0 binary64))) (sinh.f64 (fma.f64 x a #s(literal 0 binary64))))
(+.f64 (sinh.f64 (*.f64 x a)) (cosh.f64 (*.f64 x a)))
(+.f64 (cosh.f64 (*.f64 x a)) (sinh.f64 (*.f64 x a)))
(*.f64 (*.f64 #s(literal 1 binary64) a) x)
(*.f64 (*.f64 #s(literal 1 binary64) x) a)
(*.f64 (*.f64 x a) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x a))
(*.f64 x a)
(*.f64 a x)
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x a)) #s(literal 2 binary64))
a
x
#s(literal 1 binary64)
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (fma.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 x x)) x (*.f64 (*.f64 #s(literal 1/24 binary64) a) (*.f64 (*.f64 x x) (*.f64 x x)))) a)) a x) a))
#s(approx (exp (* a x)) #s(literal 1 binary64))
#s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x #s(literal 1 binary64)))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a #s(literal 1 binary64)))
#s(approx a a)
#s(approx (- (exp (* a x)) 1) (expm1.f64 (*.f64 x a)))
#s(approx (exp (* a x)) (exp.f64 (*.f64 x a)))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) a) a (*.f64 (fma.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 a a)) a (*.f64 (*.f64 #s(literal 1/24 binary64) x) (*.f64 (*.f64 a a) (*.f64 a a)))) x)) x a) x))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x #s(literal 1 binary64)))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x #s(literal 1 binary64)))
#s(approx x x)

eval9.0ms (0.5%)

Memory
-36.4MiB live, 8.4MiB allocated; 7ms collecting garbage
Compiler

Compiled 265 to 154 computations (41.9% saved)

prune2.0ms (0.1%)

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41445
Fresh000
Picked011
Done000
Total41546
Accuracy
100.0%
Counts
46 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
18.9%
(-.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
16.3%
(-.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
(expm1.f64 (*.f64 x a))
68.1%
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
Compiler

Compiled 33 to 33 computations (0% saved)

series4.0ms (0.2%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
11 → 21
Calls
Call 1
Inputs
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
(*.f64 x a)
x
a
(expm1.f64 (*.f64 x a))
(-.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (exp (* a x)) #s(literal 1 binary64))
#s(literal 1 binary64)
(-.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
#s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))
(fma.f64 x a #s(literal 1 binary64))
Outputs
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x)))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2)))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3))))))))))
#s(approx a #s(hole binary64 a))
#s(approx (exp (* a x)) #s(hole binary64 1))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1)))
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* a (+ x (/ 1 a)))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* -1 (* a (- (* -1 x) (/ 1 a))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x)))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* x (+ a (/ 1 x)))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* -1 (* x (- (* -1 a) (/ 1 x))))))
Calls

6 calls:

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

rewrite208.0ms (11.1%)

Memory
-4.5MiB live, 181.4MiB allocated; 39ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108412
0114383
1721369
26116369
08123349
127076349
Stop Event
saturated
node-limit
iter-limit
Counts
32 → 120
Calls
Call 1
Inputs
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
(*.f64 x a)
x
a
(expm1.f64 (*.f64 x a))
(-.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (exp (* a x)) #s(literal 1 binary64))
#s(literal 1 binary64)
(-.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
#s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))
(fma.f64 x a #s(literal 1 binary64))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x)))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2)))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3))))))))))
#s(approx a #s(hole binary64 a))
#s(approx (exp (* a x)) #s(hole binary64 1))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2))))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1)))
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* a (+ x (/ 1 a)))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* -1 (* a (- (* -1 x) (/ 1 a))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x)))))))
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* x (+ a (/ 1 x)))))
#s(approx (+ (* x a) 1) #s(hole binary64 (* -1 (* x (- (* -1 a) (/ 1 x))))))
Outputs
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
(*.f64 (*.f64 #s(literal 1 binary64) a) x)
(*.f64 (*.f64 #s(literal 1 binary64) x) a)
(*.f64 (*.f64 x a) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x a))
(*.f64 x (*.f64 a #s(literal 1 binary64)))
(*.f64 x a)
(*.f64 a (*.f64 x #s(literal 1 binary64)))
(*.f64 a x)
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x a)) #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x a) #s(literal 2 binary64)) #s(literal 2 binary64))
x
a
(neg.f64 (neg.f64 (expm1.f64 (*.f64 x a))))
(fma.f64 #s(literal 1 binary64) (exp.f64 (*.f64 x a)) #s(literal -1 binary64))
(fma.f64 (exp.f64 (*.f64 x a)) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (fma.f64 x a #s(literal 0 binary64)))
(expm1.f64 (*.f64 x a))
(-.f64 (exp.f64 (*.f64 x a)) #s(literal 1 binary64))
(+.f64 (cosh.f64 (*.f64 x a)) (+.f64 (sinh.f64 (*.f64 x a)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 x a)) (-.f64 (sinh.f64 (*.f64 x a)) #s(literal 1 binary64)))
(+.f64 #s(literal -1 binary64) (exp.f64 (*.f64 x a)))
(+.f64 (exp.f64 (*.f64 x a)) #s(literal -1 binary64))
(neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) #s(literal 1 binary64))))
(fma.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(-.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) #s(approx (exp (* a x)) #s(literal 1 binary64)))
(+.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(*.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) #s(literal 1 binary64)))
#s(approx (exp (* a x)) #s(literal 1 binary64))
(/.f64 (*.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
#s(literal 1 binary64)
(neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))))
(fma.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal -1 binary64))
(-.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))))
(+.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal -1 binary64))
(*.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))))
#s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))
(/.f64 (*.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 2 binary64)) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x)))) x)
(*.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a)))) a)
(*.f64 (neg.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x))) (neg.f64 x))
(*.f64 (neg.f64 a) (neg.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a))))
(*.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x)) x)
(*.f64 (neg.f64 (fma.f64 x a #s(literal 1 binary64))) #s(literal -1 binary64))
(*.f64 (neg.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a))) (neg.f64 a))
(*.f64 (neg.f64 x) (neg.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x))))
(*.f64 #s(literal -1 binary64) (neg.f64 (fma.f64 x a #s(literal 1 binary64))))
(*.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a)) a)
(*.f64 x (*.f64 (neg.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64)))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 (-.f64 a (/.f64 #s(literal -1 binary64) x)))))
(*.f64 x (-.f64 a (/.f64 #s(literal -1 binary64) x)))
(*.f64 a (*.f64 #s(literal -1 binary64) (neg.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a)))))
(*.f64 a (*.f64 (neg.f64 (-.f64 x (/.f64 #s(literal -1 binary64) a))) #s(literal -1 binary64)))
(*.f64 a (-.f64 x (/.f64 #s(literal -1 binary64) a)))
(neg.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 x a #s(literal 1 binary64)))))
(neg.f64 (*.f64 (neg.f64 x) (-.f64 a (/.f64 #s(literal -1 binary64) x))))
(neg.f64 (*.f64 (neg.f64 a) (-.f64 x (/.f64 #s(literal -1 binary64) a))))
(neg.f64 (*.f64 (neg.f64 (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64)))
(neg.f64 (-.f64 #s(literal -1 binary64) (*.f64 x a)))
(neg.f64 (-.f64 (*.f64 (neg.f64 a) x) #s(literal 1 binary64)))
(neg.f64 (neg.f64 (fma.f64 x a #s(literal 1 binary64))))
(fma.f64 (*.f64 #s(literal 1 binary64) a) x #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1 binary64) x) a #s(literal 1 binary64))
(fma.f64 (neg.f64 a) (neg.f64 x) (*.f64 (neg.f64 a) (/.f64 #s(literal -1 binary64) a)))
(fma.f64 (neg.f64 a) (neg.f64 x) (*.f64 (/.f64 #s(literal -1 binary64) x) (neg.f64 x)))
(fma.f64 (neg.f64 x) (neg.f64 a) (*.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)))
(fma.f64 (neg.f64 x) (neg.f64 a) (*.f64 (/.f64 #s(literal -1 binary64) a) (neg.f64 a)))
(fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x a) #s(literal 1 binary64))
(fma.f64 x (*.f64 a #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x a #s(literal 1 binary64))
(fma.f64 a (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 a x #s(literal 1 binary64))
(-.f64 (*.f64 x a) (*.f64 (neg.f64 a) (/.f64 #s(literal 1 binary64) a)))
(-.f64 (*.f64 x a) (*.f64 (/.f64 #s(literal -1 binary64) a) a))
(-.f64 (*.f64 x a) (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 (*.f64 x a) (*.f64 (/.f64 #s(literal -1 binary64) x) x))
(-.f64 (*.f64 x a) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 a) x))
(+.f64 (*.f64 (neg.f64 a) (neg.f64 x)) (*.f64 (neg.f64 a) (/.f64 #s(literal -1 binary64) a)))
(+.f64 (*.f64 (neg.f64 a) (neg.f64 x)) (*.f64 (/.f64 #s(literal -1 binary64) x) (neg.f64 x)))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 a)) (*.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 a)) (*.f64 (/.f64 #s(literal -1 binary64) a) (neg.f64 a)))
(+.f64 (*.f64 x a) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 a)) x))
(+.f64 #s(literal 1 binary64) (neg.f64 (*.f64 (neg.f64 a) x)))
(+.f64 #s(literal 1 binary64) (*.f64 x a))
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (fma.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 x x)) x (*.f64 (*.f64 #s(literal 1/24 binary64) a) (*.f64 (*.f64 x x) (*.f64 x x)))) a)) a x) a))
#s(approx a a)
(*.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) #s(literal 1 binary64)))
#s(approx (exp (* a x)) #s(literal 1 binary64))
(/.f64 (*.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(*.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))))
#s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64)))
(/.f64 (*.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 2 binary64)) #s(literal 2 binary64))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x #s(literal 1 binary64)))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a #s(literal 1 binary64)))
#s(approx (- (exp (* a x)) 1) (expm1.f64 (*.f64 x a)))
#s(approx (exp (* a x)) (exp.f64 (*.f64 x a)))
#s(approx (+ (* x a) 1) (fma.f64 x a #s(literal 1 binary64)))
#s(approx (+ (* x a) 1) (fma.f64 x a #s(literal 1 binary64)))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x))
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) a) a (*.f64 (fma.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 a a)) a (*.f64 (*.f64 #s(literal 1/24 binary64) x) (*.f64 (*.f64 a a) (*.f64 a a)))) x)) x a) x))
#s(approx x x)
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x #s(literal 1 binary64)))
#s(approx (exp (* a x)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x #s(literal 1 binary64)))
#s(approx (+ (* x a) 1) (fma.f64 x a #s(literal 1 binary64)))
#s(approx (+ (* x a) 1) (fma.f64 x a #s(literal 1 binary64)))

eval10.0ms (0.5%)

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

Compiled 614 to 345 computations (43.8% saved)

prune5.0ms (0.3%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New1080108
Fresh000
Picked044
Done011
Total1085113
Accuracy
100.0%
Counts
113 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
18.9%
(-.f64 #s(approx (exp (* a x)) (fma.f64 x a #s(literal 1 binary64))) #s(literal 1 binary64))
16.3%
(-.f64 #s(approx (exp (* a x)) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
(expm1.f64 (*.f64 x a))
68.1%
#s(approx (- (exp (* a x)) 1) (*.f64 x a))
Compiler

Compiled 56 to 51 computations (8.9% saved)

regimes9.0ms (0.5%)

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

5 calls:

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

Compiled 15 to 17 computations (-13.3% saved)

regimes20.0ms (1.1%)

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

5 calls:

14.0ms
a
1.0ms
x
1.0ms
(*.f64 a x)
1.0ms
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
1.0ms
(exp.f64 (*.f64 a x))
Results
AccuracySegmentsBranch
68.1%1(*.f64 a x)
68.1%1(exp.f64 (*.f64 a x))
68.1%1(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64))
68.1%1a
68.1%1x
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.3%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

5 calls:

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

Compiled 15 to 17 computations (-13.3% saved)

derivations98.0ms (5.2%)

Memory
7.7MiB live, 53.2MiB allocated; 3ms collecting garbage
Stop Event
done
Compiler

Compiled 15 to 12 computations (20% saved)

preprocess60.0ms (3.2%)

Memory
-15.9MiB live, 37.7MiB allocated; 10ms collecting garbage
Remove

(sort a x)

Compiler

Compiled 63 to 60 computations (4.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...