Hyperbolic arc-(co)secant

Time bar (total: 8.5s)

start0.0ms (0%)

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

analyze6.0ms (0.1%)

Memory
-31.2MiB live, 14.5MiB allocated; 4ms collecting garbage
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 11 computations (26.7% saved)

sample1.5s (17.8%)

Memory
9.0MiB live, 1 451.3MiB allocated; 350ms collecting garbage
Samples
1.1s8 256×0valid
2.0ms23×0invalid
Precisions
Click to see histograms. Total time spent on operations: 896.0ms
ival-sub: 281.0ms (31.4% of total)
ival-div: 217.0ms (24.2% of total)
ival-log: 167.0ms (18.6% of total)
ival-sqrt: 105.0ms (11.7% of total)
ival-mult: 55.0ms (6.1% of total)
ival-add: 54.0ms (6% of total)
ival-true: 6.0ms (0.7% of total)
exact: 6.0ms (0.7% of total)
ival-assert: 4.0ms (0.4% of total)
adjust: 2.0ms (0.2% of total)
Bogosity

explain363.0ms (4.3%)

Memory
21.8MiB live, 164.1MiB allocated; 15ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
00-0-#s(literal 1 binary64)
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-(*.f64 x x)
00-0-(-.f64 #s(literal 1 binary64) (*.f64 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 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
00-0-x
00-0-(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
172.0ms512×0valid
Compiler

Compiled 121 to 31 computations (74.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-div: 7.0ms (25.9% of total)
ival-log: 6.0ms (22.2% of total)
ival-mult: 4.0ms (14.8% of total)
ival-sqrt: 4.0ms (14.8% of total)
ival-sub: 3.0ms (11.1% of total)
ival-add: 2.0ms (7.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess785.0ms (9.3%)

Memory
-17.0MiB live, 645.3MiB allocated; 127ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01125
13225
27325
311825
425225
593325
6365225
0913
01611
12711
25311
39711
418911
567511
6688611
0833911
Stop Event
iter limit
node limit
iter limit
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)))
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 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) x))
Compiler

Compiled 13 to 9 computations (30.8% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
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 13 to 9 computations (30.8% saved)

simplify494.0ms (5.8%)

Memory
49.8MiB live, 465.2MiB allocated; 69ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
cost-diff0
(/.f64 #s(literal 1 binary64) x)
cost-diff0
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
cost-diff2
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0952
01648
12748
25348
39748
418948
567548
6688648
0833948
Stop Event
iter limit
node limit
iter 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)))
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x 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 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) x))
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
(/.f64 (-.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) x)
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)

localize77.0ms (0.9%)

Memory
-23.2MiB live, 33.8MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
accuracy0.0078125
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
accuracy0.01171875
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
accuracy0.01171875
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Samples
69.0ms256×0valid
Compiler

Compiled 54 to 11 computations (79.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-div: 4.0ms (29.8% of total)
ival-log: 3.0ms (22.4% of total)
ival-mult: 2.0ms (14.9% of total)
ival-sqrt: 2.0ms (14.9% of total)
ival-add: 1.0ms (7.5% of total)
ival-sub: 1.0ms (7.5% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
6.9MiB live, 6.9MiB allocated; 0ms collecting garbage
Counts
5 → 46
Calls
Call 1
Inputs
(+.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)))
(/.f64 #s(literal 1 binary64) x)
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Outputs
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 1 x)
(/ (+ 1 (* -1/2 (pow x 2))) x)
(/ (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))
(- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (sqrt -1))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(- (* -1 (sqrt -1)) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(- (+ (* -1 (sqrt -1)) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))) (/ 1/2 (* (pow x 2) (sqrt -1))))
(- (+ (* -1 (sqrt -1)) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5))))))
(* -1 (* x (sqrt -1)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (/ 1 x) (/ (sqrt (- 1 (* x x))) x) (sqrt (- 1 (* x x))))
2.0ms
x
@-inf
((+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (/ 1 x) (/ (sqrt (- 1 (* x x))) x) (sqrt (- 1 (* x x))))
2.0ms
x
@0
((+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (/ 1 x) (/ (sqrt (- 1 (* x x))) x) (sqrt (- 1 (* x x))))

simplify368.0ms (4.3%)

Memory
-16.8MiB live, 268.7MiB allocated; 48ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0155722
1420699
21325664
06210643
Stop Event
iter limit
iter limit
node limit
Counts
46 → 46
Calls
Call 1
Inputs
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 1 x)
(/ (+ 1 (* -1/2 (pow x 2))) x)
(/ (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))
(- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (sqrt -1))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(- (* -1 (sqrt -1)) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(- (+ (* -1 (sqrt -1)) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))) (/ 1/2 (* (pow x 2) (sqrt -1))))
(- (+ (* -1 (sqrt -1)) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5))))))
(* -1 (* x (sqrt -1)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
Outputs
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(+ (log 2) (* -1 (log x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(fma.f64 (*.f64 #s(literal -1/4 binary64) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(fma.f64 (*.f64 (-.f64 (*.f64 #s(literal -3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(fma.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 #s(literal -5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) x) x) #s(literal 1/4 binary64)) (*.f64 x x) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (+ 1 (* -1/2 (pow x 2))) x)
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) x)
(/ (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)
(/ (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(sqrt -1)
(sqrt.f64 #s(literal -1 binary64))
(+ (sqrt -1) (/ 1 x))
(+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(-.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))))
(log (sqrt -1))
(log.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64)))) (/.f64 (/.f64 #s(literal -3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 5 binary64))))
(+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))
(-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64))))
(- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64))))
(* x (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x)
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(*.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64))) x)
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) x)
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(*.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x)
(* -1 (sqrt -1))
(neg.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (/ 1 x))
(-.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) (neg.f64 x)) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) x) x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal -1 binary64) x) #s(literal -1 binary64)) (neg.f64 x)) (sqrt.f64 #s(literal -1 binary64)))
(log (* -1 (sqrt -1)))
(log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(-.f64 (-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) (/.f64 #s(literal -1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 (/.f64 #s(literal -1/6 binary64) (sqrt.f64 #s(literal -1 binary64))) x) x)) x))
(- (* -1 (sqrt -1)) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))
(-.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (* -1 (sqrt -1)) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))) (/ 1/2 (* (pow x 2) (sqrt -1))))
(-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (* -1 (sqrt -1)) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5))))))
(-.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (sqrt -1)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (sqrt.f64 #s(literal -1 binary64))) x)
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(*.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) x)
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(*.f64 (neg.f64 x) (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))))

rewrite63.0ms (0.7%)

Memory
4.3MiB live, 100.6MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0942
01624
17224
059123
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 65
Calls
Call 1
Inputs
(+.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)))
(/.f64 #s(literal 1 binary64) x)
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Outputs
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (neg.f64 x)) (neg.f64 x))
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) x) x)
(/.f64 (-.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (pow.f64 x #s(literal -2 binary64))) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (+.f64 (neg.f64 (sin.f64 (acos.f64 x))) #s(literal -1 binary64)) (neg.f64 x))
(/.f64 (+.f64 #s(literal -1 binary64) (neg.f64 (sin.f64 (acos.f64 x)))) (neg.f64 x))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64)))) (neg.f64 (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(/.f64 (neg.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))) (neg.f64 x))
(/.f64 (neg.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x)) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (neg.f64 (sin.f64 (acos.f64 x))) (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1 binary64))) (*.f64 x x))
(/.f64 (fma.f64 (neg.f64 (sin.f64 (acos.f64 x))) x (*.f64 (neg.f64 x) #s(literal 1 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (sin.f64 (acos.f64 x)) (neg.f64 x) (*.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 #s(literal -1 binary64) (neg.f64 x) (*.f64 (neg.f64 x) (neg.f64 (sin.f64 (acos.f64 x))))) (*.f64 x x))
(/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 (neg.f64 x) (sin.f64 (acos.f64 x)))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 #s(literal 1 binary64) (neg.f64 x) (*.f64 x (neg.f64 (sin.f64 (acos.f64 x))))) (*.f64 (neg.f64 x) x))
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x))))
(/.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64))) (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal -2 binary64)) (*.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))))
(/.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64))) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64))))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) (tan.f64 (acos.f64 x)))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))) (/.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(+.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))) (/.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(+.f64 (/.f64 x (*.f64 x x)) (/.f64 (*.f64 (sin.f64 (acos.f64 x)) x) (*.f64 x x)))
(+.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)))) (log.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64)))) (log.f64 (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(-.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x))
(-.f64 (log.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x)) (log.f64 (*.f64 x x)))
(log.f64 (+.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) x)
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)))
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
(/.f64 (neg.f64 (neg.f64 (sin.f64 (acos.f64 x)))) (neg.f64 (neg.f64 x)))
(/.f64 (neg.f64 (sin.f64 (acos.f64 x))) (neg.f64 x))
(/.f64 (sin.f64 (acos.f64 x)) (cos.f64 (acos.f64 x)))
(/.f64 (sin.f64 (acos.f64 x)) x)
(neg.f64 (/.f64 (neg.f64 (sin.f64 (acos.f64 x))) x))
(neg.f64 (/.f64 (sin.f64 (acos.f64 x)) (neg.f64 x)))
(tan.f64 (+.f64 (acos.f64 x) (PI.f64)))
(tan.f64 (acos.f64 x))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64)))
(pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (hypot.f64 #s(literal -1 binary64) x))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(sin.f64 (+.f64 (asin.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (acos.f64 (neg.f64 x)))
(sin.f64 (acos.f64 (fabs.f64 x)))
(sin.f64 (acos.f64 x))
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(cos.f64 (neg.f64 (asin.f64 x)))
(cos.f64 (asin.f64 (neg.f64 x)))
(cos.f64 (asin.f64 (fabs.f64 x)))
(cos.f64 (asin.f64 x))
(exp.f64 (*.f64 (log1p.f64 (*.f64 (neg.f64 x) x)) #s(literal 1/2 binary64)))

eval20.0ms (0.2%)

Memory
-10.5MiB live, 32.2MiB allocated; 5ms collecting garbage
Compiler

Compiled 2 235 to 509 computations (77.2% saved)

prune5.0ms (0.1%)

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1056111
Fresh000
Picked011
Done000
Total1057112
Accuracy
100.0%
Counts
112 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
100.0%
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
99.1%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
98.8%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
98.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
0.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
97.7%
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
Compiler

Compiled 231 to 163 computations (29.4% saved)

simplify450.0ms (5.3%)

Memory
11.7MiB live, 238.4MiB allocated; 34ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
cost-diff2
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
cost-diff2
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
cost-diff0
(/.f64 #s(literal 2 binary64) x)
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
cost-diff0
(sqrt.f64 #s(literal -1 binary64))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
cost-diff0
(sin.f64 (acos.f64 x))
cost-diff0
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
cost-diff0
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
cost-diff0
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033252
053236
184236
2199233
3671230
42551230
08629224
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(sin.f64 (acos.f64 x))
(acos.f64 x)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
(sqrt.f64 #s(literal -1 binary64))
#s(literal -1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 2 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
#s(literal -1/8 binary64)
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 2 binary64)
Outputs
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(log.f64 (/.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)) x))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(/.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)) x)
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64))
(sin.f64 (acos.f64 x))
(acos.f64 x)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
(sqrt.f64 #s(literal -1 binary64))
#s(literal -1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 2 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
#s(literal -1/8 binary64)
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 2 binary64)

localize176.0ms (2.1%)

Memory
5.3MiB live, 195.1MiB allocated; 28ms collecting garbage
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
accuracy0.0
(*.f64 x x)
accuracy0.0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
accuracy0.0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
accuracy0.0
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
accuracy0.0
(*.f64 x x)
accuracy0.0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
accuracy0.0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
accuracy0.0
(/.f64 #s(literal 2 binary64) x)
accuracy0.0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
accuracy0.0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
accuracy0.0
(sqrt.f64 #s(literal -1 binary64))
accuracy0.0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
accuracy0.0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
accuracy0.0
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
accuracy0.0
(sin.f64 (acos.f64 x))
accuracy0.0
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
accuracy0.0
(acos.f64 x)
Samples
115.0ms256×0invalid
Compiler

Compiled 201 to 30 computations (85.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 99.0ms
ival-mult: 39.0ms (39.2% of total)
ival-sin: 30.0ms (30.2% of total)
ival-div: 10.0ms (10.1% of total)
ival-add: 6.0ms (6% of total)
ival-log: 5.0ms (5% of total)
ival-acos: 3.0ms (3% of total)
ival-sqrt: 3.0ms (3% of total)
ival-sub: 1.0ms (1% of total)
exact: 1.0ms (1% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series328.0ms (3.9%)

Memory
-48.2MiB live, 272.5MiB allocated; 129ms collecting garbage
Counts
20 → 47
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(sin.f64 (acos.f64 x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
(sqrt.f64 #s(literal -1 binary64))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(acos.f64 x)
(*.f64 x x)
Outputs
(+ (log (+ 1 (sin (acos x)))) (* -1 (log x)))
(/ (+ 1 (sin (acos x))) x)
(+ 1 (sin (acos x)))
(sin (acos x))
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(acos x)
(pow x 2)
(+ (log (+ 1 (sin (acos x)))) (log (/ 1 x)))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* -1/2 x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/2 (pow x 2))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/8 (pow x 3))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1/8 (pow x 4))
(* -1 (* (pow x 4) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 4) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(+ (log (* -1 (+ 1 (sin (acos x))))) (log (/ -1 x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
Calls

3 calls:

TimeVariablePointExpression
263.0ms
x
@0
((log (/ (+ (sin (acos x)) 1) x)) (/ (+ (sin (acos x)) 1) x) (+ (sin (acos x)) 1) (sin (acos x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt -1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ 2 x) (/ (+ (* (* x x) -1/2) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (* x x) -1/2) 2) (/ (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) (acos x) (* x x))
37.0ms
x
@inf
((log (/ (+ (sin (acos x)) 1) x)) (/ (+ (sin (acos x)) 1) x) (+ (sin (acos x)) 1) (sin (acos x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt -1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ 2 x) (/ (+ (* (* x x) -1/2) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (* x x) -1/2) 2) (/ (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) (acos x) (* x x))
27.0ms
x
@-inf
((log (/ (+ (sin (acos x)) 1) x)) (/ (+ (sin (acos x)) 1) x) (+ (sin (acos x)) 1) (sin (acos x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt -1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ 2 x) (/ (+ (* (* x x) -1/2) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (* x x) -1/2) 2) (/ (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (+ (* (+ (* -1/8 (* x x)) -1/2) (* x x)) 2) (acos x) (* x x))

simplify227.0ms (2.7%)

Memory
25.9MiB live, 218.6MiB allocated; 23ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0161539
1426522
21479513
06223497
Stop Event
iter limit
iter limit
node limit
Counts
47 → 47
Calls
Call 1
Inputs
(+ (log (+ 1 (sin (acos x)))) (* -1 (log x)))
(/ (+ 1 (sin (acos x))) x)
(+ 1 (sin (acos x)))
(sin (acos x))
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(acos x)
(pow x 2)
(+ (log (+ 1 (sin (acos x)))) (log (/ 1 x)))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* -1/2 x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/2 (pow x 2))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/8 (pow x 3))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1/8 (pow x 4))
(* -1 (* (pow x 4) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 4) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(+ (log (* -1 (+ 1 (sin (acos x))))) (log (/ -1 x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
Outputs
(+ (log (+ 1 (sin (acos x)))) (* -1 (log x)))
(-.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x))
(/ (+ 1 (sin (acos x))) x)
(/.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)) x)
(+ 1 (sin (acos x)))
(-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64))
(sin (acos x))
(sin.f64 (acos.f64 x))
(+ (log 2) (* -1 (log x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(fma.f64 (*.f64 #s(literal -1/4 binary64) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(fma.f64 (*.f64 (-.f64 (*.f64 #s(literal -3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(fma.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 #s(literal -5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) x) x) #s(literal 1/4 binary64)) (*.f64 x x) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
2
#s(literal 2 binary64)
(+ 2 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(acos x)
(acos.f64 x)
(pow x 2)
(*.f64 x x)
(+ (log (+ 1 (sin (acos x)))) (log (/ 1 x)))
(-.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x))
(log (sqrt -1))
(log.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64)))) (/.f64 (/.f64 #s(literal -3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 5 binary64))))
(sqrt -1)
(sqrt.f64 #s(literal -1 binary64))
(+ (sqrt -1) (/ 1 x))
(+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(-.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))))
(* -1/2 x)
(*.f64 #s(literal -1/2 binary64) x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(* -1/2 (pow x 2))
(*.f64 #s(literal -1/2 binary64) (*.f64 x x))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(*.f64 (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x) x)
(* -1/8 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/8 binary64))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (-.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64)))
(* -1/8 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64))
(* -1 (* (pow x 4) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) (pow.f64 x #s(literal 4 binary64)))
(* (pow x 4) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (-.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (pow.f64 x #s(literal 4 binary64)))
(+ (log (* -1 (+ 1 (sin (acos x))))) (log (/ -1 x)))
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 (-.f64 #s(literal -1 binary64) (sin.f64 (acos.f64 x)))))
(log (* -1 (sqrt -1)))
(log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(-.f64 (-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) (/.f64 #s(literal -1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal -1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x))
(* -1 (sqrt -1))
(neg.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (/ 1 x))
(-.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) (neg.f64 x)) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(-.f64 (/.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x)) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x) #s(literal -1 binary64) #s(literal -1 binary64)) (neg.f64 x)) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))))

rewrite103.0ms (1.2%)

Memory
2.8MiB live, 87.2MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033231
053191
1189191
01467190
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
20 → 208
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(sin.f64 (acos.f64 x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
(sqrt.f64 #s(literal -1 binary64))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(acos.f64 x)
(*.f64 x x)
Outputs
(/.f64 (-.f64 (*.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log1p.f64 (sin.f64 (acos.f64 x)))) (*.f64 (log.f64 x) (log.f64 x))) (+.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x)))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (sin.f64 (acos.f64 x))) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log1p.f64 (sin.f64 (acos.f64 x))) (fma.f64 (log.f64 x) (log.f64 x) (*.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x)))))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)))) (log.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64)))) (log.f64 (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(-.f64 (log.f64 (neg.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)))) (log.f64 (neg.f64 x)))
(-.f64 (log.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x)) (log.f64 (*.f64 x x)))
(-.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x))
(log.f64 (+.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (neg.f64 x)) (neg.f64 x))
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) x) x)
(/.f64 (-.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (pow.f64 x #s(literal -2 binary64))) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64)))) (neg.f64 (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(/.f64 (neg.f64 (neg.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)))) (neg.f64 (neg.f64 x)))
(/.f64 (neg.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x)) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (neg.f64 (sin.f64 (acos.f64 x))) (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1 binary64))) (*.f64 x x))
(/.f64 (fma.f64 (neg.f64 (sin.f64 (acos.f64 x))) x (*.f64 (neg.f64 x) #s(literal 1 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (sin.f64 (acos.f64 x)) (neg.f64 x) (*.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 #s(literal -1 binary64) (neg.f64 x) (*.f64 (neg.f64 x) (neg.f64 (sin.f64 (acos.f64 x))))) (*.f64 x x))
(/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 (neg.f64 x) (sin.f64 (acos.f64 x)))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 #s(literal 1 binary64) (neg.f64 x) (*.f64 x (neg.f64 (sin.f64 (acos.f64 x))))) (*.f64 (neg.f64 x) x))
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x))))
(/.f64 (-.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1 binary64)) (*.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64))) (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal -2 binary64)) (*.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))))))
(/.f64 (+.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal -3 binary64))) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64))))
(/.f64 (+.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) #s(literal 1 binary64)) (*.f64 (+.f64 (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))) (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) x))
(/.f64 (neg.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64))) (neg.f64 x))
(/.f64 (fma.f64 (sin.f64 (acos.f64 x)) x x) (*.f64 x x))
(/.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)) x)
(neg.f64 (/.f64 (neg.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64))) x))
(neg.f64 (/.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64)) (neg.f64 x)))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) (tan.f64 (acos.f64 x)))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))) (/.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))))
(+.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))) (/.f64 (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64)) (fma.f64 (tan.f64 (acos.f64 x)) (-.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))))
(+.f64 (/.f64 x (*.f64 x x)) (/.f64 (*.f64 (sin.f64 (acos.f64 x)) x) (*.f64 x x)))
(+.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))
(/.f64 (-.f64 #s(literal 1 binary64) (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))))
(/.f64 (neg.f64 (-.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))))
(/.f64 (-.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1 binary64)) (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) (sin.f64 (acos.f64 x)))))
(/.f64 (+.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))) (fma.f64 (neg.f64 x) x #s(literal 1 binary64))))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (sin.f64 (acos.f64 x)))
(fma.f64 (pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/4 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) #s(literal 1/2 binary64) (sin.f64 (acos.f64 x)))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (sin.f64 (acos.f64 x)))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (sin.f64 (acos.f64 x)))
(fma.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(fma.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64) #s(literal 1 binary64))
(-.f64 (/.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))))
(-.f64 (sin.f64 (acos.f64 x)) #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) (+.f64 (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x))) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))))
(+.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x)))
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(*.f64 (pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/4 binary64)))
(*.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x)))
(*.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (hypot.f64 #s(literal -1 binary64) x))
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))))
(sin.f64 (+.f64 (asin.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (acos.f64 (neg.f64 x)))
(sin.f64 (acos.f64 (fabs.f64 x)))
(sin.f64 (acos.f64 x))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(-.f64 (*.f64 (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (sin.f64 (acos.f64 x))) (*.f64 (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (sin.f64 (asin.f64 x))))
(cos.f64 (neg.f64 (asin.f64 x)))
(cos.f64 (asin.f64 (neg.f64 x)))
(cos.f64 (asin.f64 (fabs.f64 x)))
(cos.f64 (asin.f64 x))
(exp.f64 (*.f64 (log1p.f64 (*.f64 (neg.f64 x) x)) #s(literal 1/2 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64)))
(*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 1/4 binary64)))
(pow.f64 #s(literal -1 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal -1 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal -1 binary64)) #s(literal 1/2 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal -2 binary64) (neg.f64 x))
(/.f64 #s(literal 2 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 2 binary64) x)
(neg.f64 (/.f64 #s(literal -2 binary64) x))
(neg.f64 (/.f64 #s(literal 2 binary64) (neg.f64 x)))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1 binary64)))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x)) (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 #s(literal 2 binary64) x))) (-.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 #s(literal 2 binary64) x)))
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (-.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 #s(literal 2 binary64) x)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 #s(literal 2 binary64) x)))))
(/.f64 (neg.f64 (neg.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)))) (neg.f64 (neg.f64 x)))
(/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 x) (*.f64 x #s(literal -2 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x (*.f64 x #s(literal 2 binary64))) (*.f64 x x))
(/.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) #s(literal -4 binary64)) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64)) x))
(/.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64) #s(literal 8 binary64)) (*.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64)))) x))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))) (neg.f64 x))
(/.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) x)
(neg.f64 (/.f64 (neg.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))) x))
(neg.f64 (/.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) (neg.f64 x)))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) x) (/.f64 #s(literal 2 binary64) x))
(fma.f64 (*.f64 x x) (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x))
(fma.f64 x (/.f64 (*.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) x))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))) (-.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) #s(literal -4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64) #s(literal 8 binary64))) (neg.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64))))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) #s(literal -4 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64)))
(/.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64) #s(literal 8 binary64)) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal -1 binary64)))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64) #s(literal 8 binary64)) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64)))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 2 binary64))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 2 binary64))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)) #s(literal 2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/2 binary64)) #s(literal 2 binary64))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(fma.f64 #s(literal 2 binary64) #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(fma.f64 #s(literal 1 binary64) #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64))
(-.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))) (/.f64 #s(literal 4 binary64) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))))
(-.f64 #s(literal 2 binary64) (*.f64 #s(literal 1/2 binary64) (*.f64 x x)))
(-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/2 binary64)))
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x)))
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64))))) (/.f64 #s(literal 8 binary64) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64))))))
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(+.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x))) (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 #s(literal 2 binary64) x))) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (/.f64 #s(literal 2 binary64) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (-.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 #s(literal 2 binary64) x)) (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (/.f64 #s(literal 2 binary64) x)))))
(/.f64 (neg.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)))) (neg.f64 (neg.f64 x)))
(/.f64 (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) (neg.f64 x) (*.f64 x #s(literal -2 binary64))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) x (*.f64 x #s(literal 2 binary64))) (*.f64 x x))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) #s(literal 4 binary64)) (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) x))
(/.f64 (fma.f64 (pow.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))) x))
(/.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))) (neg.f64 x))
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(neg.f64 (/.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))) x))
(neg.f64 (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) (neg.f64 x)))
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x) (/.f64 #s(literal 2 binary64) x))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (/.f64 (*.f64 x x) x) (/.f64 #s(literal 2 binary64) x))
(fma.f64 (*.f64 x x) (/.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x))
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)) (/.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 x x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
(/.f64 (-.f64 #s(literal 4 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) #s(literal 4 binary64))) (neg.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) #s(literal 4 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)))
(/.f64 (fma.f64 (pow.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (+.f64 #s(literal 4 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (*.f64 x #s(literal 2 binary64))))))
(/.f64 (fma.f64 (pow.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))))
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 x)) (neg.f64 x) #s(literal 2 binary64))
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (fabs.f64 x)) (fabs.f64 x) #s(literal 2 binary64))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x #s(literal 2 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))) #s(literal 2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))) #s(literal 2 binary64))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 (*.f64 x x) (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(fma.f64 #s(literal 2 binary64) #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(fma.f64 #s(literal 1 binary64) #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(fma.f64 x (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))) (/.f64 #s(literal 4 binary64) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))))
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)) x))
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))) (*.f64 x x)))
(-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) x) (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))))
(+.f64 (fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 (/.f64 (*.f64 (pow.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)))) (/.f64 #s(literal 8 binary64) (fma.f64 #s(literal 2 binary64) (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x) #s(literal 2 binary64))
(+.f64 #s(literal 2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x))
(+.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x)))
(/.f64 (-.f64 (*.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (asin.f64 x) (asin.f64 x))) (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (asin.f64 x)))
(/.f64 (-.f64 (pow.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (asin.f64 x) #s(literal 3 binary64))) (fma.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (/.f64 (PI.f64) #s(literal 2 binary64)) (fma.f64 (asin.f64 x) (asin.f64 x) (*.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (asin.f64 x)))))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (asin.f64 x))
(acos.f64 x)
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval67.0ms (0.8%)

Memory
-26.3MiB live, 75.8MiB allocated; 19ms collecting garbage
Compiler

Compiled 7 465 to 1 326 computations (82.2% saved)

prune8.0ms (0.1%)

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2874291
Fresh011
Picked325
Done101
Total2917298
Accuracy
100.0%
Counts
298 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
98.8%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
98.8%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
98.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
47.4%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
0.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
97.7%
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
Compiler

Compiled 267 to 183 computations (31.5% saved)

simplify847.0ms (10%)

Memory
16.5MiB live, 614.8MiB allocated; 137ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 x)
cost-diff0
(log1p.f64 #s(literal 1 binary64))
cost-diff0
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
cost-diff0
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
cost-diff0
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
cost-diff2
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
cost-diff2
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
cost-diff0
(*.f64 #s(literal -1/2 binary64) x)
cost-diff0
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
cost-diff0
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
cost-diff0
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
cost-diff0
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
cost-diff0
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041333
064315
199315
2175297
3456297
41656297
08727287
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(neg.f64 x)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
(*.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64))
(*.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(literal 1/2 binary64)
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log1p.f64 #s(literal 1 binary64))
#s(literal 1 binary64)
(log.f64 x)
x
Outputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(log.f64 (/.f64 (-.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal -1 binary64)) x))
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
(/.f64 (-.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal -1 binary64)) x)
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
(-.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal -1 binary64))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(neg.f64 x)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
(*.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64))
(*.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
#s(literal 1 binary64)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
#s(literal 1/2 binary64)
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log1p.f64 #s(literal 1 binary64))
#s(literal 1 binary64)
(log.f64 x)
x

localize134.0ms (1.6%)

Memory
6.7MiB live, 97.5MiB allocated; 9ms collecting garbage
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(log1p.f64 #s(literal 1 binary64))
accuracy0.0
(log.f64 x)
accuracy0.234375
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
accuracy1.249023403094801
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
accuracy0.00390625
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
accuracy0.1484375
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
accuracy0.8054099180000156
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
accuracy31.810334687608186
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
accuracy0.00390625
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
accuracy0.0078125
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
accuracy0.01171875
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
accuracy0.8054099180000156
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
accuracy0.0
(*.f64 #s(literal -1/2 binary64) x)
accuracy0.00390625
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
accuracy0.8054099180000156
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
accuracy62.998511802010924
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
accuracy0.00390625
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
accuracy0.0078125
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
accuracy0.0078125
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
accuracy0.01171875
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
Samples
62.0ms256×0valid
Compiler

Compiled 237 to 36 computations (84.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 47.0ms
ival-div: 13.0ms (27.7% of total)
ival-mult: 9.0ms (19.2% of total)
ival-add: 7.0ms (14.9% of total)
ival-log: 7.0ms (14.9% of total)
ival-sub: 3.0ms (6.4% of total)
ival-sqrt: 3.0ms (6.4% of total)
ival-log1p: 2.0ms (4.3% of total)
exact: 1.0ms (2.1% of total)
ival-neg: 1.0ms (2.1% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series114.0ms (1.3%)

Memory
-9.8MiB live, 129.5MiB allocated; 27ms collecting garbage
Counts
21 → 58
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
(*.f64 #s(literal -1/2 binary64) x)
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log1p.f64 #s(literal 1 binary64))
(log.f64 x)
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
Outputs
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(* -1/2 x)
(- (log 2) (log x))
(log x)
(/ 2 (pow x 2))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (sqrt -1))
(* x (+ (sqrt -1) (/ 1 x)))
(* x (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x))))
(* x (- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/2 (pow x 2))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(- (log 2) (* -1 (log (/ 1 x))))
(* -1 (log (/ 1 x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* x (sqrt -1)))
(* -1 (* x (- (sqrt -1) (/ 1 x))))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (- 1 (* 1/2 (/ 1 (* x (sqrt -1))))) x)))))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (+ 1 (* -1 (/ (- (* 1/2 (/ 1 (sqrt -1))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x))) x)))))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(- (log 2) (+ (log -1) (* -1 (log (/ -1 x)))))
(+ (log -1) (* -1 (log (/ -1 x))))
Calls

3 calls:

TimeVariablePointExpression
47.0ms
x
@0
((log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (sqrt (+ (* (neg x) x) 1)) 1) (sqrt (+ (* (neg x) x) 1)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* -1/2 x) (/ (+ (+ (* (* -1/2 x) x) 1) 1) x) (+ (+ (* (* -1/2 x) x) 1) 1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* (- (/ (/ 2 x) x) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (- (log (+ 1 1)) (log x)) (log (+ 1 1)) (log x) (/ (/ 2 x) x))
36.0ms
x
@-inf
((log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (sqrt (+ (* (neg x) x) 1)) 1) (sqrt (+ (* (neg x) x) 1)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* -1/2 x) (/ (+ (+ (* (* -1/2 x) x) 1) 1) x) (+ (+ (* (* -1/2 x) x) 1) 1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* (- (/ (/ 2 x) x) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (- (log (+ 1 1)) (log x)) (log (+ 1 1)) (log x) (/ (/ 2 x) x))
30.0ms
x
@inf
((log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (sqrt (+ (* (neg x) x) 1)) 1) (sqrt (+ (* (neg x) x) 1)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* -1/2 x) (/ (+ (+ (* (* -1/2 x) x) 1) 1) x) (+ (+ (* (* -1/2 x) x) 1) 1) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* (- (/ (/ 2 x) x) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (- (log (+ 1 1)) (log x)) (log (+ 1 1)) (log x) (/ (/ 2 x) x))

simplify371.0ms (4.4%)

Memory
4.3MiB live, 219.4MiB allocated; 35ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188764
1531731
21722686
07605662
Stop Event
iter limit
iter limit
node limit
Counts
58 → 58
Calls
Call 1
Inputs
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(* -1/2 x)
(- (log 2) (log x))
(log x)
(/ 2 (pow x 2))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (sqrt -1))
(* x (+ (sqrt -1) (/ 1 x)))
(* x (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x))))
(* x (- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(* -1/2 (pow x 2))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(- (log 2) (* -1 (log (/ 1 x))))
(* -1 (log (/ 1 x)))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* x (sqrt -1)))
(* -1 (* x (- (sqrt -1) (/ 1 x))))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (- 1 (* 1/2 (/ 1 (* x (sqrt -1))))) x)))))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (+ 1 (* -1 (/ (- (* 1/2 (/ 1 (sqrt -1))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x))) x)))))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(- (log 2) (+ (log -1) (* -1 (log (/ -1 x)))))
(+ (log -1) (* -1 (log (/ -1 x))))
Outputs
(+ (log 2) (* -1 (log x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(fma.f64 (*.f64 #s(literal -1/4 binary64) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(fma.f64 (*.f64 (-.f64 (*.f64 #s(literal -3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(fma.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 #s(literal -5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) x) x) #s(literal 1/4 binary64)) (*.f64 x x) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
2
#s(literal 2 binary64)
(+ 2 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(* -1/2 x)
(*.f64 #s(literal -1/2 binary64) x)
(- (log 2) (log x))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log x)
(log.f64 x)
(/ 2 (pow x 2))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(log (sqrt -1))
(log.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64)))) (/.f64 (/.f64 #s(literal -3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 5 binary64))))
(sqrt -1)
(sqrt.f64 #s(literal -1 binary64))
(+ (sqrt -1) (/ 1 x))
(+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(+.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal -1 binary64)) x) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(-.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal -1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))))
(* x (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x)
(* x (+ (sqrt -1) (/ 1 x)))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x #s(literal 1 binary64))
(* x (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x))))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal -1 binary64)))
(* x (- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal -1 binary64))))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(* -1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/2 binary64))
(* (pow x 2) (- (* 2 (/ 1 (pow x 2))) 1/2))
(*.f64 (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x) x)
(- (log 2) (* -1 (log (/ 1 x))))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(* -1 (log (/ 1 x)))
(log.f64 x)
(log (* -1 (sqrt -1)))
(log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(-.f64 (-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) (/.f64 #s(literal -1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal -1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x))
(* -1 (sqrt -1))
(neg.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (/ 1 x))
(-.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(-.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) #s(literal -1 binary64)) x) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) #s(literal -1 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64)))) x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (sqrt -1)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (- (sqrt -1) (/ 1 x))))
(*.f64 (neg.f64 x) (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x)))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (- 1 (* 1/2 (/ 1 (* x (sqrt -1))))) x)))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64))))
(* -1 (* x (+ (sqrt -1) (* -1 (/ (+ 1 (* -1 (/ (- (* 1/2 (/ 1 (sqrt -1))) (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x))) x)))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x)) (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x) #s(literal 1 binary64))))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 x)))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(neg.f64 (fma.f64 (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(- (log 2) (+ (log -1) (* -1 (log (/ -1 x)))))
(-.f64 (+.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1 binary64)))
(+ (log -1) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))

rewrite36.0ms (0.4%)

Memory
-23.4MiB live, 21.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041295
064242
0247230
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
21 → 59
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x)
(+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
(*.f64 #s(literal -1/2 binary64) x)
(/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log1p.f64 #s(literal 1 binary64))
(log.f64 x)
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
Outputs
(-.f64 (log1p.f64 (sin.f64 (acos.f64 x))) (log.f64 x))
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64))) (*.f64 (tan.f64 (acos.f64 x)) (tan.f64 (acos.f64 x)))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x))))
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (tan.f64 (acos.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (-.f64 (*.f64 (tan.f64 (acos.f64 x)) (tan.f64 (acos.f64 x))) (*.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x))))))
(/.f64 (neg.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))) (neg.f64 x))
(/.f64 (fma.f64 #s(literal 1 binary64) x (*.f64 x (sin.f64 (acos.f64 x)))) (*.f64 x x))
(/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x)
(+.f64 (tan.f64 (acos.f64 x)) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) (tan.f64 (acos.f64 x)))
(/.f64 (-.f64 (*.f64 (sin.f64 (acos.f64 x)) (sin.f64 (acos.f64 x))) #s(literal 1 binary64)) (-.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (sin.f64 (acos.f64 x)) #s(literal 3 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (fma.f64 (sin.f64 (acos.f64 x)) (sin.f64 (acos.f64 x)) (-.f64 #s(literal 1 binary64) (*.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)))))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (sin.f64 (acos.f64 x)))
(+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (sin.f64 (acos.f64 x)))
(pow.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)) #s(literal 1/2 binary64))
(sin.f64 (acos.f64 x))
(sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(cos.f64 (asin.f64 x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
(*.f64 #s(literal -1/2 binary64) x)
(*.f64 x #s(literal -1/2 binary64))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64))) (neg.f64 x))
(/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64)) x)
(+.f64 (/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) x) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) x) (/.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))) #s(literal 4 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64))) #s(literal 1 binary64)) (-.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (fma.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)))
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64))
(+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(+.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 2 binary64)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(*.f64 x (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)))
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (log.f64 (/.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64))) (*.f64 (log.f64 x) (log.f64 x))) (+.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(/.f64 (-.f64 (pow.f64 (log1p.f64 #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64)) (fma.f64 (log.f64 x) (log.f64 x) (*.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(log.f64 (/.f64 #s(literal 2 binary64) x))
(log1p.f64 #s(literal 1 binary64))
(log.f64 #s(literal 2 binary64))
(log.f64 x)
(/.f64 (neg.f64 (/.f64 #s(literal 2 binary64) x)) (neg.f64 x))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(/.f64 #s(literal 2 binary64) (*.f64 x x))

eval12.0ms (0.1%)

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

Compiled 2 871 to 524 computations (81.7% saved)

prune5.0ms (0.1%)

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

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1133116
Fresh000
Picked235
Done112
Total1167123
Accuracy
100.0%
Counts
123 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
99.1%
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
98.8%
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
98.8%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
98.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
47.4%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
0.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Compiler

Compiled 155 to 107 computations (31% saved)

simplify551.0ms (6.5%)

Memory
12.1MiB live, 331.6MiB allocated; 55ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
cost-diff0
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
cost-diff0
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
cost-diff0
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
cost-diff0
(/.f64 #s(literal 2 binary64) x)
cost-diff0
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
cost-diff0
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
cost-diff0
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
cost-diff0
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
cost-diff0
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
cost-diff0
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
cost-diff3
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
036234
051229
183229
2173229
3492220
41421205
56285205
08092205
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
(-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
#s(literal 1/2 binary64)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
#s(literal -1/2 binary64)
x
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
#s(literal -1/8 binary64)
(*.f64 x x)
x
#s(literal -1/2 binary64)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
Outputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
#s(literal 1/2 binary64)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
#s(literal -1/2 binary64)
x
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
#s(literal -1/8 binary64)
(*.f64 x x)
x
#s(literal -1/2 binary64)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize101.0ms (1.2%)

Memory
-14.5MiB live, 86.9MiB allocated; 12ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
accuracy0.01171875
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
accuracy0.5988491597541205
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
accuracy0.0
(/.f64 #s(literal 2 binary64) x)
accuracy0.00390625
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
accuracy0.0078125
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
accuracy0.8054099180000156
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
accuracy0.00390625
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
accuracy0.1171875
(/.f64 #s(literal 2 binary64) (*.f64 x x))
accuracy0.8054099180000156
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
accuracy31.810334687608186
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
Samples
58.0ms256×0valid
Compiler

Compiled 152 to 35 computations (77% saved)

Precisions
Click to see histograms. Total time spent on operations: 46.0ms
ival-mult: 15.0ms (32.7% of total)
ival-div: 10.0ms (21.8% of total)
ival-add: 8.0ms (17.5% of total)
ival-log: 5.0ms (10.9% of total)
ival-sqrt: 3.0ms (6.5% of total)
ival-sub: 2.0ms (4.4% of total)
exact: 1.0ms (2.2% of total)
ival-neg: 1.0ms (2.2% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series7.0ms (0.1%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms collecting garbage
Counts
14 → 37
Calls
Call 1
Inputs
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
-1/2
(- (* -1/8 (pow x 2)) 1/2)
(/ 2 (pow x 2))
(pow x 2)
(* -1/2 x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* -1/8 (pow x 3))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1/8 (pow x 2))
(* -1 (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((* (- (/ 2 (* x x)) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* -1/2 x) (/ 2 x)) (/ 2 x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* (+ (* -1/8 (* x x)) -1/2) x) (/ 2 x)) (+ (* -1/8 (* x x)) -1/2) (/ 2 (* x x)) (* x x))
2.0ms
x
@-inf
((* (- (/ 2 (* x x)) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* -1/2 x) (/ 2 x)) (/ 2 x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* (+ (* -1/8 (* x x)) -1/2) x) (/ 2 x)) (+ (* -1/8 (* x x)) -1/2) (/ 2 (* x x)) (* x x))
2.0ms
x
@inf
((* (- (/ 2 (* x x)) 1/2) x) (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* -1/2 x) (/ 2 x)) (/ 2 x) (log (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x)) (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (+ (* (+ (* -1/8 (* x x)) -1/2) x) (/ 2 x)) (+ (* -1/8 (* x x)) -1/2) (/ 2 (* x x)) (* x x))

simplify154.0ms (1.8%)

Memory
-9.0MiB live, 128.4MiB allocated; 10ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146444
1393429
21339416
06309402
Stop Event
iter limit
iter limit
node limit
Counts
37 → 37
Calls
Call 1
Inputs
(/ 2 x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(+ (log 2) (* -1 (log x)))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
-1/2
(- (* -1/8 (pow x 2)) 1/2)
(/ 2 (pow x 2))
(pow x 2)
(* -1/2 x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(log (sqrt -1))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(sqrt -1)
(+ (sqrt -1) (/ 1 x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(* -1/8 (pow x 3))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1/8 (pow x 2))
(* -1 (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(log (* -1 (sqrt -1)))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(* -1 (sqrt -1))
(+ (* -1 (sqrt -1)) (/ 1 x))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
Outputs
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ (+ 2 (* -1/2 (pow x 2))) x)
(/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)
(+ (log 2) (* -1 (log x)))
(-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x))
(+ (log 2) (+ (* -1 (log x)) (* -1/4 (pow x 2))))
(fma.f64 (*.f64 #s(literal -1/4 binary64) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* -3/32 (pow x 2)) 1/4))))
(fma.f64 (*.f64 (-.f64 (*.f64 #s(literal -3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(+ (log 2) (+ (* -1 (log x)) (* (pow x 2) (- (* (pow x 2) (- (* -5/96 (pow x 2)) 3/32)) 1/4))))
(fma.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 #s(literal -5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) x) x) #s(literal 1/4 binary64)) (*.f64 x x) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(/ (+ 2 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
(/ (+ 2 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) x)
(/.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)
-1/2
#s(literal -1/2 binary64)
(- (* -1/8 (pow x 2)) 1/2)
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
(/ 2 (pow x 2))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(pow x 2)
(*.f64 x x)
(* -1/2 x)
(*.f64 #s(literal -1/2 binary64) x)
(* x (- (* 2 (/ 1 (pow x 2))) 1/2))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(log (sqrt -1))
(log.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (log (sqrt -1)) (/ 1 (* x (sqrt -1))))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (/ 1/6 (* (pow x 3) (pow (sqrt -1) 3))))
(-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(- (+ (log (sqrt -1)) (+ (/ 1 (* x (sqrt -1))) (* 3/40 (/ 1 (* (pow x 5) (pow (sqrt -1) 5)))))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))))
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64)))) (/.f64 (/.f64 #s(literal -3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 5 binary64))))
(sqrt -1)
(sqrt.f64 #s(literal -1 binary64))
(+ (sqrt -1) (/ 1 x))
(+.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (/ 1 x)))
(+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64)))
(- (+ (sqrt -1) (+ (/ 1 x) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))
(-.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))))
(* -1/8 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/8 binary64))
(* -1 (* (pow x 3) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)
(* (pow x 3) (- (/ 2 (pow x 4)) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 (-.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) x)
(* -1/8 (pow x 2))
(*.f64 #s(literal -1/8 binary64) (*.f64 x x))
(* -1 (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 (pow x 2))))))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
(* -1 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)
(log (* -1 (sqrt -1)))
(log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))))
(- (log (* -1 (sqrt -1))) (/ 1 (* x (sqrt -1))))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (/ 1 (sqrt -1)) (* 1/6 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))) x)))
(-.f64 (-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) (/.f64 #s(literal -1/6 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) #s(literal 3 binary64))))
(+ (log (* -1 (sqrt -1))) (* -1 (/ (- (+ (/ 3/40 (* (pow x 4) (pow (sqrt -1) 5))) (/ 1 (sqrt -1))) (/ 1/6 (* (pow x 2) (pow (sqrt -1) 3)))) x)))
(-.f64 (log.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 3/40 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal -1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x))
(* -1 (sqrt -1))
(neg.f64 (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (/ 1 x))
(-.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 #s(literal -1 binary64)))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* 1/2 (/ 1 (* x (sqrt -1)))) 1) x)))
(neg.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) #s(literal 1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))))
(+ (* -1 (sqrt -1)) (* -1 (/ (- (* -1 (/ (- (* 1/8 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (sqrt -1)))) x)) 1) x)))
(neg.f64 (+.f64 (/.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x)) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x) #s(literal -1 binary64) #s(literal -1 binary64)) x) (sqrt.f64 #s(literal -1 binary64))))
(* -1 (* (pow x 3) (- (+ 1/8 (* 1/2 (/ 1 (pow x 2)))) (/ 2 (pow x 4)))))
(neg.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) (pow.f64 x #s(literal 3 binary64)))))

rewrite330.0ms (3.9%)

Memory
-16.5MiB live, 96.7MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036211
051185
1218185
01754182
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
14 → 105
Calls
Call 1
Inputs
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (-.f64 (/.f64 #s(literal 4 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/4 binary64)) x) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
(/.f64 (*.f64 (-.f64 (/.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/8 binary64)) x) (+.f64 (+.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64))) (/.f64 #s(literal 4 binary64) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (*.f64 x (-.f64 (/.f64 #s(literal 4 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/4 binary64))) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 2 binary64) (*.f64 x x))))
(/.f64 (*.f64 x (-.f64 (/.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 1/8 binary64))) (+.f64 (+.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64))) (/.f64 #s(literal 4 binary64) (pow.f64 x #s(literal 4 binary64)))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)))
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/8 binary64) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x))))))
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x)))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/8 binary64) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x)))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/8 binary64) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x)))))
(fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 x #s(literal -1/2 binary64) (/.f64 #s(literal 2 binary64) x))
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (-.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x))) (/.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x))))
(-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 1/2 binary64) x))
(-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x))))) (/.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x))))))
(+.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal -2 binary64) (neg.f64 x))
(/.f64 #s(literal 2 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 2 binary64) x)
(neg.f64 (/.f64 #s(literal -2 binary64) x))
(neg.f64 (/.f64 #s(literal 2 binary64) (neg.f64 x)))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1 binary64)))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
#s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64))) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (-.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))
(fma.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (/.f64 #s(literal 2 binary64) x))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x))) (/.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x))))
(-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))) x))
(-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal 2 binary64) x) (-.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) (/.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 #s(literal 2 binary64) x) (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal -1/8 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 #s(literal -1/8 binary64) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 x x) #s(literal 1/16 binary64))))))
(/.f64 (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64)) (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64)))
(/.f64 (fma.f64 (pow.f64 #s(literal -1/8 binary64) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x x) #s(literal 1/16 binary64)))))
(/.f64 (fma.f64 (pow.f64 #s(literal -1/8 binary64) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) #s(literal -1/8 binary64)) (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 x x) #s(literal 1/16 binary64)))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1/2 binary64))
(fma.f64 (*.f64 #s(literal -1/8 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1/2 binary64))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) x #s(literal -1/2 binary64))
(fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/8 binary64)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/8 binary64)) #s(literal -1/2 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) #s(literal -1/2 binary64))
(fma.f64 x (*.f64 #s(literal -1/8 binary64) x) #s(literal -1/2 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (*.f64 #s(literal -1/8 binary64) x)) x))
(-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal 1/8 binary64) (*.f64 x x)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/8 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 x x) #s(literal 1/16 binary64))))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal 1/64 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 x x) #s(literal 1/16 binary64))))))
(+.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 #s(literal -1/8 binary64) (*.f64 x x)))
(/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(/.f64 (/.f64 #s(literal -2 binary64) x) (neg.f64 x))
(/.f64 (/.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(/.f64 (neg.f64 (/.f64 #s(literal 2 binary64) x)) (neg.f64 x))
(/.f64 #s(literal -2 binary64) (*.f64 (neg.f64 x) x))
(/.f64 (/.f64 #s(literal 2 binary64) x) x)
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(neg.f64 (/.f64 #s(literal -2 binary64) (*.f64 x x)))
(neg.f64 (/.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) x)))
(fma.f64 (neg.f64 (pow.f64 x #s(literal -1 binary64))) (neg.f64 (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))
(fma.f64 (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (pow.f64 x #s(literal -2 binary64)))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 2 binary64) (*.f64 x x)) (pow.f64 x #s(literal -2 binary64)))
(fma.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64) (pow.f64 x #s(literal -2 binary64)))
(+.f64 (pow.f64 x #s(literal -2 binary64)) (pow.f64 x #s(literal -2 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval27.0ms (0.3%)

Memory
-6.8MiB live, 36.7MiB allocated; 6ms collecting garbage
Compiler

Compiled 5 380 to 878 computations (83.7% saved)

prune7.0ms (0.1%)

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

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New1690169
Fresh000
Picked033
Done044
Total1697176
Accuracy
100.0%
Counts
176 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
99.1%
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
98.8%
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
98.8%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
98.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
47.4%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
0.0%
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Compiler

Compiled 448 to 197 computations (56% saved)

regimes12.0ms (0.1%)

Memory
19.2MiB live, 19.2MiB allocated; 0ms collecting garbage
Counts
14 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) x)))
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
#s(approx (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (-.f64 (log1p.f64 #s(literal 1 binary64)) (log.f64 x)))
(log.f64 (/.f64 (+.f64 (sin.f64 (acos.f64 x)) #s(literal 1 binary64)) x))
Outputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
Calls

3 calls:

4.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
4.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
4.0ms
x
Results
AccuracySegmentsBranch
100.0%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
100.0%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
100.0%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes21.0ms (0.2%)

Memory
-32.5MiB live, 12.0MiB allocated; 4ms collecting garbage
Counts
9 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x))))
Outputs
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
Calls

3 calls:

14.0ms
x
3.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
3.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
Results
AccuracySegmentsBranch
99.1%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
99.1%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
99.1%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes8.0ms (0.1%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
Outputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
Calls

3 calls:

2.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
2.0ms
x
Results
AccuracySegmentsBranch
98.8%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
98.8%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
98.8%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes7.0ms (0.1%)

Memory
8.4MiB live, 8.4MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))))
Outputs
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
Calls

3 calls:

2.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
2.0ms
x
Results
AccuracySegmentsBranch
98.8%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
98.8%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
98.8%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes5.0ms (0.1%)

Memory
6.7MiB live, 6.7MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
Outputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
Calls

3 calls:

2.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
1.0ms
x
Results
AccuracySegmentsBranch
98.0%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
98.0%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
98.0%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes4.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (sqrt.f64 #s(literal -1 binary64))))
Outputs
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Calls

3 calls:

1.0ms
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
1.0ms
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
1.0ms
x
Results
AccuracySegmentsBranch
0.0%1(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x))
0.0%1(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
0.0%1x
Compiler

Compiled 26 to 18 computations (30.8% saved)

simplify82.0ms (1%)

Memory
-10.4MiB live, 42.5MiB allocated; 9ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
046114
175114
2128114
3310114
4877112
54655112
Stop Event
node limit
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Outputs
(log.f64 (/.f64 (+.f64 (sqrt.f64 (fma.f64 (neg.f64 x) x #s(literal 1 binary64))) #s(literal 1 binary64)) x))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (/.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) #s(literal 1 binary64)) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 2 binary64) x))))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) (/.f64 #s(literal 2 binary64) x)))
(log.f64 #s(approx (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
(log.f64 #s(approx (/ (+ (sqrt (+ (* (neg x) x) 1)) 1) x) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))

derivations530.0ms (6.2%)

Memory
5.8MiB live, 280.9MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033231
053191
1189191
01467190
0161539
1426522
21479513
06223497
0942
01624
17224
059123
0188764
1531731
21722686
07605662
0155722
1420699
21325664
06210643
Stop Event
done
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
Compiler

Compiled 119 to 44 computations (63% saved)

preprocess63.0ms (0.7%)

Memory
-3.0MiB live, 42.9MiB allocated; 2ms collecting garbage
Compiler

Compiled 264 to 106 computations (59.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...