Hyperbolic secant

Time bar (total: 2.3s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 10 to 8 computations (20% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-div, time spent: 0.0ms, 0.0% of total-time
Operation ival-exp, time spent: 0.0ms, 0.0% of total-time
Operation ival-add, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-neg, time spent: 0.0ms, 0.0% of total-time

sample1.0s (43.3%)

Results
936.0ms8255×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 390.0ms
Operation ival-exp, time spent: 146.0ms, 37.0% of total-time
Operation ival-div, time spent: 100.0ms, 26.0% of total-time
Operation ival-add, time spent: 68.0ms, 17.0% of total-time
Operation ival-neg, time spent: 61.0ms, 16.0% of total-time
Operation const, time spent: 14.0ms, 4.0% of total-time
Bogosity

preprocess137.0ms (5.8%)

Algorithm
egg-herbie
Rules
40×fma-neg
40×fma-define
24×sub-neg
14×distribute-lft-neg-in
14×cancel-sign-sub-inv
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
01(162.9266817265824)0-(exp.f64 (neg.f64 x))
00-0-(neg.f64 x)
00-0-(exp.f64 x)
00-0-(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
00-0-#s(literal 2 binary64)
00-0-(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017124
135124
267124
3113124
4170124
5231124
6286124
7302124
8309124
9320124
10332124
11334124
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
Outputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
(/.f64 #s(literal -2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Symmetry

(abs x)

Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
Operation ival-exp, time spent: 9.0ms, 38.0% of total-time
Operation ival-add, time spent: 7.0ms, 30.0% of total-time
Operation ival-div, time spent: 4.0ms, 17.0% of total-time
Operation ival-neg, time spent: 2.0ms, 8.0% of total-time
Operation const, time spent: 1.0ms, 4.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize38.0ms (1.6%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 25 to 9 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
Operation ival-exp, time spent: 4.0ms, 40.0% of total-time
Operation ival-div, time spent: 2.0ms, 20.0% of total-time
Operation ival-add, time spent: 2.0ms, 20.0% of total-time
Operation ival-neg, time spent: 2.0ms, 20.0% of total-time
Operation const, time spent: 1.0ms, 10.0% of total-time

series5.0ms (0.2%)

Counts
1 → 8
Calls
Call 1
Inputs
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))>
Outputs
#<alt #s(literal 1 binary64)>
#<alt (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))>
#<alt (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))))>
#<alt (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64))))>
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))>
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))>
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))>
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))>
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(/ 2 (+ (exp x) (exp (neg x))))
1.0ms
x
@inf
(/ 2 (+ (exp x) (exp (neg x))))
1.0ms
x
@0
(/ 2 (+ (exp x) (exp (neg x))))

rewrite160.0ms (6.8%)

Algorithm
batch-egg-rewrite
Rules
62×add-exp-log
62×add-log-exp
62×log1p-expm1-u
62×expm1-log1p-u
60×add-cube-cbrt
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
114420
2234320
Stop Event
unsound
Counts
1 → 10
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
#s(literal -4 binary64)
#s(literal -2 binary64)
#s(literal -1 binary64)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 3/2 binary64)
#s(literal 2 binary64)
#s(literal 3 binary64)
#s(literal 4 binary64)

simplify468.0ms (19.9%)

Algorithm
egg-herbie
Rules
2386×fma-define
584×fma-neg
386×distribute-lft-in
264×associate-+l-
250×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
037256
168240
2136240
3294240
4582240
5929240
61108240
71587240
82418240
93827240
104702240
115157240
125232240
135240240
145240240
155372240
165428240
175428240
187311240
197311240
207311240
217311240
227311240
237313240
Stop Event
saturated
Counts
18 → 23
Calls
Call 1
Inputs
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
#s(literal -4 binary64)
#s(literal -2 binary64)
#s(literal -1 binary64)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 3/2 binary64)
#s(literal 2 binary64)
#s(literal 3 binary64)
#s(literal 4 binary64)
Outputs
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64)) #s(literal -1/2 binary64))))
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 5/24 binary64) #s(literal -1/2 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64))))
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal -61/720 binary64))) #s(literal -1/2 binary64))))
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal -61/720 binary64) #s(literal 5/24 binary64)) #s(literal -1/2 binary64)) #s(literal 1 binary64))
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 5/24 binary64) (fma.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/2 binary64))) #s(literal 1 binary64))
(fma.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
#s(literal -4 binary64)
#s(literal -2 binary64)
#s(literal -1 binary64)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 3/2 binary64)
#s(literal 2 binary64)
#s(literal 3 binary64)
#s(literal 4 binary64)

eval5.0ms (0.2%)

Compiler

Compiled 173 to 143 computations (17.3% saved)

prune5.0ms (0.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New19423
Fresh000
Picked011
Done000
Total19524
Accuracy
100.0%
Counts
24 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
49.0%
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
49.7%
#s(literal 1 binary64)
10.7%
#s(literal 1/2 binary64)
52.7%
#s(literal 0 binary64)
Compiler

Compiled 23 to 20 computations (13% saved)

localize66.0ms (2.8%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
Compiler

Compiled 24 to 20 computations (16.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
Operation ival-pow, time spent: 8.0ms, 53.0% of total-time
Operation ival-mult, time spent: 4.0ms, 27.0% of total-time
Operation ival-add, time spent: 2.0ms, 13.0% of total-time
Operation const, time spent: 2.0ms, 13.0% of total-time

series2.0ms (0.1%)

Counts
1 → 0
Calls
Call 1
Inputs
#<alt (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))>
Outputs
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(* -1/2 (pow x 2))
0.0ms
x
@inf
(* -1/2 (pow x 2))
0.0ms
x
@-inf
(* -1/2 (pow x 2))

rewrite175.0ms (7.5%)

Algorithm
batch-egg-rewrite
Rules
421×associate-*r*
397×log1p-expm1-u
371×associate-*l*
245×unpow-prod-down
229×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
16916
271316
3780216
Stop Event
node limit
Counts
1 → 25
Calls
Call 1
Inputs
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
Outputs
(+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(+.f64 #s(literal 0 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))))
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))) (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))))
(-.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64))
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)))))
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) #s(literal 1 binary64)) (+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64)))
(pow.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 3 binary64))
(pow.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) #s(literal 1/3 binary64))
(pow.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64))) #s(literal 2 binary64))
(pow.f64 (E.f64) (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))) (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(fabs.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))
(cbrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)))
(expm1.f64 (log1p.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(log1p.f64 (expm1.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(exp.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64)))

simplify69.0ms (2.9%)

Algorithm
egg-herbie
Rules
1121×fma-neg
315×distribute-lft-out
270×associate-+l-
266×associate-+r-
222×associate--l+
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
088512
1164512
2410512
31721227
45158227
55983227
67472227
Stop Event
node limit
Counts
25 → 27
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(+.f64 #s(literal 0 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))))
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))) (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))))
(-.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64))
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)))))
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) #s(literal 1 binary64)) (+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64)))
(pow.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 3 binary64))
(pow.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) #s(literal 1/3 binary64))
(pow.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64))) #s(literal 2 binary64))
(pow.f64 (E.f64) (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))) (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(fabs.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))
(cbrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)))
(expm1.f64 (log1p.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(log1p.f64 (expm1.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(exp.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64)))
Outputs
(+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(+.f64 #s(literal 0 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))) (log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/4 binary64))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(-.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))) #s(literal 1 binary64)) (+.f64 (+.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(pow.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(pow.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 3 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(pow.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(pow.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) #s(literal 1/3 binary64))
(cbrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)))
(pow.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(pow.f64 (E.f64) (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))) (sqrt.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64)))))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(fabs.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(log.f64 (pow.f64 (exp.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal -1/2 binary64)))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(cbrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)))
(expm1.f64 (log1p.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(log1p.f64 (expm1.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(exp.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal -1/2 binary64))))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 3 binary64)))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64))) #s(literal 1/3 binary64)))
(cbrt.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)))
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 #s(literal -1/2 binary64)))) #s(literal 2 binary64)))
(*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 0 binary64)

eval9.0ms (0.4%)

Compiler

Compiled 332 to 292 computations (12% saved)

prune6.0ms (0.3%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New27027
Fresh000
Picked044
Done011
Total27532
Accuracy
100.0%
Counts
32 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
49.0%
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
49.7%
#s(literal 1 binary64)
10.7%
#s(literal 1/2 binary64)
52.7%
#s(literal 0 binary64)
Compiler

Compiled 42 to 36 computations (14.3% saved)

regimes7.0ms (0.3%)

Counts
5 → 1
Calls
Call 1
Inputs
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Calls

3 calls:

5.0ms
x
1.0ms
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
100.0%1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes3.0ms (0.1%)

Counts
4 → 2
Calls
Call 1
Inputs
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
Outputs
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(literal 0 binary64)
Calls

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
99.2%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes3.0ms (0.1%)

Counts
3 → 2
Calls
Call 1
Inputs
#s(literal 0 binary64)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
Outputs
#s(literal 1 binary64)
#s(literal 0 binary64)
Calls

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
99.2%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes2.0ms (0.1%)

Counts
2 → 2
Calls
Call 1
Inputs
#s(literal 0 binary64)
#s(literal 1/2 binary64)
Outputs
#s(literal 1/2 binary64)
#s(literal 0 binary64)
Calls

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
60.2%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes1.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(literal 0 binary64)
Outputs
#s(literal 0 binary64)
Calls

1 calls:

1.0ms
x
Results
AccuracySegmentsBranch
52.7%1x
Compiler

Compiled 2 to 1 computations (50% saved)

bsearch31.0ms (1.3%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
30.0ms
2.877160388191083e-7
80.95770458946294
Results
27.0ms143×256valid
0.0ms256valid
Compiler

Compiled 121 to 109 computations (9.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
Operation ival-neg, time spent: 7.0ms, 55.0% of total-time
Operation ival-exp, time spent: 4.0ms, 31.0% of total-time
Operation ival-div, time spent: 1.0ms, 8.0% of total-time
Operation ival-add, time spent: 1.0ms, 8.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

bsearch21.0ms (0.9%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
21.0ms
162.9266817265824
124905.84645181167
Results
18.0ms127×256valid
0.0ms256valid
Compiler

Compiled 61 to 58 computations (4.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
Operation ival-exp, time spent: 3.0ms, 53.0% of total-time
Operation ival-div, time spent: 1.0ms, 18.0% of total-time
Operation ival-add, time spent: 1.0ms, 18.0% of total-time
Operation ival-neg, time spent: 1.0ms, 18.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

bsearch18.0ms (0.8%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
18.0ms
162.9266817265824
124905.84645181167
Results
16.0ms127×256valid
0.0ms256valid
Compiler

Compiled 61 to 58 computations (4.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
Operation ival-exp, time spent: 3.0ms, 52.0% of total-time
Operation ival-div, time spent: 1.0ms, 17.0% of total-time
Operation ival-add, time spent: 1.0ms, 17.0% of total-time
Operation ival-neg, time spent: 1.0ms, 17.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

simplify11.0ms (0.5%)

Algorithm
egg-herbie
Rules
1-exp
+-commutative
*-commutative
sub-neg
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02995
13995
24195
34295
Stop Event
done
saturated
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(if (<=.f64 x #s(literal 6530219459687219/4503599627370496 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 0 binary64))
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1 binary64) #s(literal 0 binary64))
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1/2 binary64) #s(literal 0 binary64))
#s(literal 0 binary64)
Outputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(if (<=.f64 x #s(literal 6530219459687219/4503599627370496 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 0 binary64))
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1 binary64) #s(literal 0 binary64))
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1/2 binary64) #s(literal 0 binary64))
#s(literal 0 binary64)
Compiler

Compiled 38 to 32 computations (15.8% saved)

soundness31.0ms (1.3%)

Rules
62×add-exp-log
62×add-log-exp
62×log1p-expm1-u
62×expm1-log1p-u
60×add-cube-cbrt
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
114420
2234320
Stop Event
unsound

end0.0ms (0%)

preprocess56.0ms (2.4%)

Remove

(abs x)

Compiler

Compiled 140 to 112 computations (20% saved)

Profiling

Loading profile data...