Hyperbolic secant

Time bar (total: 1.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)

sample688.0ms (51.4%)

Results
677.0ms8256×body256valid
Bogosity

preprocess122.0ms (9.1%)

Algorithm
egg-herbie
Rules
1900×fma-def
826×fabs-mul
628×swap-sqr
598×*-commutative
430×fabs-div
Problems
256×No Errors
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017124
133124
256124
389124
4163124
5328124
6847124
72438124
83664124
94768124
106711124
Stop Event
node limit
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 34 to 16 computations (52.9% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

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

Compiled 18 to 14 computations (22.2% saved)

localize38.0ms (2.8%)

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)

series2.0ms (0.1%)

Counts
1 → 8
Calls

3 calls:

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

rewrite67.0ms (5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
114420
2233020
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

simplify60.0ms (4.5%)

Algorithm
egg-herbie
Rules
1434×fma-def
762×distribute-lft-out
636×*-commutative
572×unswap-sqr
552×associate-/l/
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037252
169248
2134244
3354240
41238240
53146240
64139240
76424240
Stop Event
node limit
Counts
18 → 24
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.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 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/2 (pow.f64 x 2) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))
(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)))
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 4) -61/720 -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 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.4%)

Compiler

Compiled 195 to 161 computations (17.4% saved)

prune5.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New21324
Fresh000
Picked011
Done000
Total21425
Accuracy
100.0%
Counts
25 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
Compiler

Compiled 42 to 36 computations (14.3% saved)

localize35.0ms (2.6%)

Localize:

Found 1 expressions with local error:

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

Compiled 21 to 17 computations (19% saved)

series1.0ms (0.1%)

Counts
1 → 0
Calls

3 calls:

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

rewrite112.0ms (8.3%)

Algorithm
batch-egg-rewrite
Rules
848×associate-*r*
756×expm1-udef
728×associate-*l*
404×unpow-prod-down
286×log-prod
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
16916
270616
3764016
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) (log.f64 (*.f64 -1/2 (pow.f64 x 2))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 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))))
(exp.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 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))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2))))

simplify45.0ms (3.4%)

Algorithm
egg-herbie
Rules
772×times-frac
710×distribute-lft-out
648×fma-neg
514×associate--l+
496×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
085533
1205531
2580531
32681103
Stop Event
node limit
Counts
25 → 32
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) (log.f64 (*.f64 -1/2 (pow.f64 x 2))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 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))))
(exp.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 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))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 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 (log.f64 (cbrt.f64 (/.f64 1 (exp.f64 (pow.f64 x 2))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))))
(+.f64 (log.f64 (cbrt.f64 (exp.f64 (neg.f64 (pow.f64 x 2))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2))))
(+.f64 0 (log.f64 (cbrt.f64 (pow.f64 1 -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 -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)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (E.f64) (log.f64 (*.f64 -1/2 (pow.f64 x 2))))
(*.f64 -1/2 (pow.f64 x 2))
0
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 0)) 2)) (cbrt.f64 (log.f64 0)))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 0))) (sqrt.f64 (log.f64 0)))
(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))
(*.f64 -1/2 (pow.f64 x 2))
0
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2))))
(*.f64 -1/2 (pow.f64 x 2))
0
(exp.f64 (log.f64 (*.f64 -1/2 (pow.f64 x 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))
(*.f64 -1/2 (pow.f64 x 2))
0
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 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

eval10.0ms (0.7%)

Compiler

Compiled 400 to 361 computations (9.8% saved)

prune6.0ms (0.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh022
Picked011
Done011
Total32436
Accuracy
100.0%
Counts
36 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
Compiler

Compiled 42 to 36 computations (14.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Accuracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
Compiler

Compiled 42 to 36 computations (14.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune6.0ms (0.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Accuracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
51.8%
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
52.2%
1
50.4%
0
Compiler

Compiled 39 to 33 computations (15.4% saved)

regimes9.0ms (0.7%)

Counts
4 → 1
Calls
Call 1
Inputs
0
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 36 to 28 computations (22.2% saved)

regimes7.0ms (0.5%)

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

1 calls:

6.0ms
x
Results
AccuracySegmentsBranch
99.7%2x
Compiler

Compiled 12 to 10 computations (16.7% saved)

regimes7.0ms (0.6%)

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

1 calls:

7.0ms
x
Results
AccuracySegmentsBranch
99.5%2x
Compiler

Compiled 5 to 4 computations (20% saved)

regimes3.0ms (0.2%)

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
50.4%1x
Compiler

Compiled 4 to 3 computations (25% saved)

bsearch17.0ms (1.3%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
17.0ms
0.3672840107243583
407947941.72768825
Results
15.0ms144×body256valid
Compiler

Compiled 121 to 109 computations (9.9% saved)

bsearch21.0ms (1.5%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
21.0ms
0.3672840107243583
407947941.72768825
Results
19.0ms144×body256valid
Compiler

Compiled 67 to 64 computations (4.5% saved)

simplify3.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02781
13481
23681
33781
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(if (<=.f64 x 6530219459687219/4503599627370496) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0)
(if (<=.f64 x 350) 1 0)
0
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(if (<=.f64 x 6530219459687219/4503599627370496) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0)
(if (<=.f64 x 350) 1 0)
0
Compiler

Compiled 31 to 26 computations (16.1% saved)

soundness20.0ms (1.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
114420
2233020
Stop Event
unsound

end0.0ms (0%)

preprocess44.0ms (3.3%)

Remove

(abs x)

Compiler

Compiled 128 to 102 computations (20.3% saved)

Profiling

Loading profile data...