Hyperbolic arc-(co)secant

Time bar (total: 1.4s)

analyze4.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
33.3%12.5%25%0%0%62.5%0%4
60%18.7%12.5%0%0%68.7%0%5
77.8%21.9%6.2%0%0%71.8%0%6
88.2%23.4%3.1%0%0%73.4%0%7
93.9%24.2%1.6%0%0%74.2%0%8
96.9%24.6%0.8%0%0%74.6%0%9
98.4%24.8%0.4%0%0%74.8%0%10
99.2%24.9%0.2%0%0%74.9%0%11
99.6%24.9%0.1%0%0%74.9%0%12
Compiler

Compiled 15 to 10 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-div: 1.0ms (46.8% of total)
ival-sub: 0.0ms (0% of total)
ival-add: 0.0ms (0% of total)
ival-log: 0.0ms (0% of total)
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)

sample1.1s (80.1%)

Results
719.0ms8256×256valid
1.0ms20×256invalid
Precisions
Click to see histograms. Total time spent on operations: 516.0ms
ival-log: 144.0ms (27.9% of total)
ival-div: 138.0ms (26.7% of total)
ival-sqrt: 73.0ms (14.1% of total)
ival-mult: 61.0ms (11.8% of total)
ival-sub: 51.0ms (9.9% of total)
ival-add: 40.0ms (7.8% of total)
const: 10.0ms (1.9% of total)
Bogosity

preprocess154.0ms (10.7%)

Algorithm
egg-herbie
Rules
834×fma-define
504×fma-neg
455×associate-+r+
430×distribute-lft-out--
403×unsub-neg
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
023224
150208
284208
3170208
4305196
5512196
6789172
71360172
82100172
92974172
105680172
117159172
Stop Event
node limit
Calls
Call 1
Inputs
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (neg.f64 x)))) (neg.f64 x))))
(neg.f64 (log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (neg.f64 x)))) (neg.f64 x)))))
Outputs
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
(log.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 #s(literal -1 binary64) (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))))
(log.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (+.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64))))
(log.f64 (/.f64 (+.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))))) x))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
(log.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 #s(literal -1 binary64) (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))))
(log.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (+.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64))))
(log.f64 (/.f64 (+.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))))) x))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (neg.f64 x)))) (neg.f64 x))))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 x))))
(log.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
(log.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64))))
(log.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 #s(literal -1 binary64) (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))))
(log.f64 (/.f64 (-.f64 #s(literal -1 binary64) (sqrt.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))))) x))
(neg.f64 (log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (neg.f64 x)))) (neg.f64 x)))))
(neg.f64 (log.f64 (+.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 x)))))
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))))
(neg.f64 (log.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)))))
(neg.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 #s(literal -1 binary64) (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))))))
(neg.f64 (log.f64 (/.f64 (-.f64 #s(literal -1 binary64) (sqrt.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))))) x)))

explain102.0ms (7.1%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
00-0-(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
00-0-(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
00-0-(*.f64 x x)
00-0-(-.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-#s(literal 1 binary64)
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
55.0ms512×256valid
Compiler

Compiled 122 to 29 computations (76.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-log: 9.0ms (28.4% of total)
ival-div: 8.0ms (25.3% of total)
ival-mult: 4.0ms (12.6% of total)
ival-sqrt: 4.0ms (12.6% of total)
ival-sub: 3.0ms (9.5% of total)
ival-add: 3.0ms (9.5% of total)
const: 1.0ms (3.2% of total)

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%
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
Compiler

Compiled 28 to 18 computations (35.7% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01451
12551
23251
33651
43851
Stop Event
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
Outputs
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 14 to 9 computations (35.7% saved)

preprocess22.0ms (1.5%)

Compiler

Compiled 56 to 36 computations (35.7% saved)

end0.0ms (0%)

Profiling

Loading profile data...