Hyperbolic secant

Time bar (total: 2.6s)

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.3s (49.3%)

Results
1.2s8255×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 521.0ms
Operation ival-exp, time spent: 237.0ms, 45.0% of total-time
Operation ival-add, time spent: 168.0ms, 32.0% of total-time
Operation ival-div, time spent: 65.0ms, 12.0% of total-time
Operation ival-neg, time spent: 38.0ms, 7.0% of total-time
Operation const, time spent: 14.0ms, 3.0% of total-time
Bogosity

preprocess166.0ms (6.4%)

Algorithm
egg-herbie
Rules
80×fma-neg
80×fma-define
48×sub-neg
28×distribute-lft-neg-in
28×cancel-sign-sub-inv
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
01(129.41237903789028)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-(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
00-0-2
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
exp.f64(exp.f64 (neg.f64 x))sensitivity11
Confusion
Predicted +Predicted -
+00
-1255
Precision
0.0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-11254
Precision?
0.0
Recall?
0/0
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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(neg.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(neg.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
(/.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Symmetry

(abs x)

Compiler

Compiled 68 to 32 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
Operation ival-exp, time spent: 8.0ms, 39.0% of total-time
Operation ival-div, time spent: 6.0ms, 29.0% of total-time
Operation ival-add, time spent: 3.0ms, 14.0% of total-time
Operation ival-neg, time spent: 2.0ms, 10.0% of total-time
Operation const, time spent: 1.0ms, 5.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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize37.0ms (1.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(/.f64 2 (+.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: 9.0ms
Operation ival-exp, time spent: 4.0ms, 43.0% of total-time
Operation ival-div, time spent: 2.0ms, 21.0% of total-time
Operation ival-add, time spent: 2.0ms, 21.0% of total-time
Operation const, time spent: 1.0ms, 11.0% of total-time
Operation ival-neg, time spent: 1.0ms, 11.0% of total-time

series3.0ms (0.1%)

Counts
1 → 8
Calls
Call 1
Inputs
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))>
Outputs
#<alt 1>
#<alt (+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))>
#<alt (+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2)))>
#<alt (+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2)))>
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))>
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))>
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))>
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 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))))

rewrite140.0ms (5.4%)

Algorithm
batch-egg-rewrite
Rules
94×associate-*r*
62×add-exp-log
62×add-log-exp
62×log1p-expm1-u
62×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

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

simplify469.0ms (18.3%)

Algorithm
egg-herbie
Rules
4772×fma-define
1168×fma-neg
772×distribute-lft-in
528×associate-+l-
500×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
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2)))
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
-4
-2
-1
0
1/2
1
3/2
2
3
4
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (pow.f64 x 2) 1)
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2)))
(+.f64 1 (*.f64 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 2) -1/2)))
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) 5/24 -1/2) 1)
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1))
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2)))
(+.f64 1 (*.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 (pow.f64 x 2) -61/720)) -1/2)))
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) -61/720 5/24) -1/2) 1)
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) 5/24 (fma.f64 -61/720 (pow.f64 x 4) -1/2)) 1)
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
-4
-2
-1
0
1/2
1
3/2
2
3
4

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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
46.5%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
47.2%
1
10.4%
1/2
54.2%
0
Compiler

Compiled 23 to 20 computations (13% saved)

localize48.0ms (1.9%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 -1/2 (pow.f64 x 2))
Compiler

Compiled 24 to 20 computations (16.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
Operation ival-mult, time spent: 10.0ms, 54.0% of total-time
Operation ival-pow, time spent: 5.0ms, 27.0% of total-time
Operation ival-add, time spent: 2.0ms, 11.0% of total-time
Operation const, time spent: 2.0ms, 11.0% of total-time

series2.0ms (0.1%)

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

3 calls:

TimeVariablePointExpression
0.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))

rewrite166.0ms (6.5%)

Algorithm
batch-egg-rewrite
Rules
842×associate-*r*
742×associate-*l*
490×unpow-prod-down
397×log1p-expm1-u
286×log-prod
Iterations

Useful iterations: 0 (0.0ms)

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

simplify67.0ms (2.6%)

Algorithm
egg-herbie
Rules
2242×fma-neg
630×distribute-lft-out
540×associate-+l-
532×associate-+r-
444×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 -1/2 (pow.f64 x 2)) 1) -1)
(+.f64 0 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))))
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)) (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)))
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1)
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1))))
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) 1) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1))
(pow.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 1/4) 1/2)
(pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(pow.f64 (E.f64) (fma.f64 2 (log.f64 x) (log.f64 -1/2)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))))
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4))
(fabs.f64 (*.f64 -1/2 (pow.f64 x 2)))
(log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2))))
(exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2)))) 3))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3))
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2))
Outputs
(+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) -1)
(*.f64 -1/2 (pow.f64 x 2))
0
(+.f64 0 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
0
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))))
(*.f64 -1/2 (pow.f64 x 2))
0
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)) (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)))
(*.f64 -1/2 (pow.f64 x 2))
0
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1)
(*.f64 -1/2 (pow.f64 x 2))
0
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1))))
(*.f64 -1/2 (pow.f64 x 2))
0
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) 1) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1))
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2))) 3)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (*.f64 (pow.f64 x 4) 1/4) 1/2)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3)
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8))
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (E.f64) (fma.f64 2 (log.f64 x) (log.f64 -1/2)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))))
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4))
(*.f64 -1/2 (pow.f64 x 2))
0
(fabs.f64 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
0
(log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))
(*.f64 -1/2 (pow.f64 x 2))
0
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2))))
(*.f64 -1/2 (pow.f64 x 2))
0
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2))))
(*.f64 -1/2 (pow.f64 x 2))
0
(exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))
(*.f64 -1/2 (pow.f64 x 2))
0
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2)))) 3))
(*.f64 -1/2 (pow.f64 x 2))
0
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3))
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8))
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2))
(*.f64 -1/2 (pow.f64 x 2))
0

eval8.0ms (0.3%)

Compiler

Compiled 332 to 292 computations (12% saved)

prune7.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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
46.5%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
47.2%
1
10.4%
1/2
54.2%
0
Compiler

Compiled 42 to 36 computations (14.3% saved)

regimes9.0ms (0.3%)

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

3 calls:

4.0ms
x
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 2 (+.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)

regimes15.0ms (0.6%)

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

1 calls:

15.0ms
x
Results
AccuracySegmentsBranch
98.3%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes7.0ms (0.3%)

Counts
3 → 2
Calls
Call 1
Inputs
0
1/2
1
Outputs
1
0
Calls

1 calls:

7.0ms
x
Results
AccuracySegmentsBranch
98.2%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes8.0ms (0.3%)

Counts
2 → 2
Calls
Call 1
Inputs
0
1/2
Outputs
1/2
0
Calls

1 calls:

8.0ms
x
Results
AccuracySegmentsBranch
61.5%2x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes3.0ms (0.1%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
0
Outputs
0
Calls

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
54.2%1x
Compiler

Compiled 2 to 1 computations (50% saved)

bsearch19.0ms (0.7%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
19.0ms
0.04567134099382958
15.898964531535068
Results
16.0ms127×256valid
0.0ms256valid
Compiler

Compiled 109 to 98 computations (10.1% saved)

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

bsearch15.0ms (0.6%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
15.0ms
129.41237903789028
18869.977601217626
Results
13.0ms111×256valid
0.0ms256valid
Compiler

Compiled 55 to 52 computations (5.5% saved)

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

bsearch19.0ms (0.7%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
19.0ms
129.41237903789028
18869.977601217626
Results
17.0ms111×256valid
0.0ms256valid
Compiler

Compiled 55 to 52 computations (5.5% saved)

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

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

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

Compiled 38 to 32 computations (15.8% saved)

soundness32.0ms (1.2%)

Rules
94×associate-*r*
62×add-exp-log
62×add-log-exp
62×log1p-expm1-u
62×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
114420
2234320
Stop Event
unsound

end0.0ms (0%)

preprocess48.0ms (1.9%)

Remove

(abs x)

Compiler

Compiled 140 to 112 computations (20% saved)

Profiling

Loading profile data...