Hyperbolic arc-(co)secant

Time bar (total: 3.5s)

start0.0ms (0%)

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

analyze3.0ms (0.1%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms 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.1s (31.4%)

Memory
54.3MiB live, 1 337.4MiB allocated; 379ms collecting garbage
Samples
749.0ms8 256×0valid
1.0ms20×0invalid
Precisions
Click to see histograms. Total time spent on operations: 515.0ms
ival-div: 190.0ms (36.9% of total)
ival-log: 86.0ms (16.7% of total)
ival-add: 66.0ms (12.8% of total)
ival-sqrt: 64.0ms (12.4% of total)
ival-mult: 54.0ms (10.5% of total)
ival-sub: 39.0ms (7.6% of total)
ival-true: 5.0ms (1% of total)
exact: 5.0ms (1% of total)
adjust: 3.0ms (0.6% of total)
ival-assert: 3.0ms (0.6% of total)
Bogosity

explain161.0ms (4.6%)

Memory
-3.3MiB live, 144.6MiB allocated; 24ms 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
40.0ms512×0valid
Compiler

Compiled 121 to 31 computations (74.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-div: 7.0ms (27.6% of total)
ival-log: 5.0ms (19.7% of total)
ival-mult: 4.0ms (15.8% of total)
ival-sqrt: 4.0ms (15.8% of total)
ival-sub: 3.0ms (11.8% of total)
ival-add: 2.0ms (7.9% 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)

preprocess226.0ms (6.5%)

Memory
31.5MiB live, 330.0MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01125
13225
27325
311825
425225
593325
6365225
0913
01611
12711
25311
39711
418911
567511
6688611
0833511
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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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)

simplify157.0ms (4.5%)

Memory
0.2MiB live, 184.9MiB allocated; 20ms collecting garbage
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
0833548
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)

localize37.0ms (1.1%)

Memory
-8.4MiB live, 35.0MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Compiled 54 to 11 computations (79.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
ival-sqrt: 12.0ms (51.9% of total)
ival-div: 4.0ms (17.3% of total)
ival-log: 3.0ms (13% of total)
ival-mult: 2.0ms (8.6% of total)
ival-add: 1.0ms (4.3% of total)
ival-sub: 1.0ms (4.3% 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.2%)

Memory
7.8MiB live, 7.8MiB 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
3.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))))
1.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))))

simplify177.0ms (5.1%)

Memory
-5.0MiB live, 138.8MiB allocated; 48ms collecting garbage
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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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)))))

rewrite55.0ms (1.6%)

Memory
5.3MiB live, 50.0MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0942
01624
17224
059623
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)))) (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.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)))

eval17.0ms (0.5%)

Memory
-13.3MiB live, 33.3MiB allocated; 3ms collecting garbage
Compiler

Compiled 2 237 to 510 computations (77.2% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh000
Picked101
Done000
Total1093112
Accuracy
100.0%
Counts
112 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.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)))
99.9%
(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))))
Compiler

Compiled 55 to 39 computations (29.1% saved)

simplify223.0ms (6.3%)

Memory
-30.0MiB live, 217.9MiB allocated; 19ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
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))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022135
031123
149123
2108123
3276120
4740120
53502120
66729120
08269117
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(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)
Outputs
(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)

localize103.0ms (2.9%)

Memory
9.8MiB live, 112.9MiB allocated; 6ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
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)))
Samples
84.0ms256×0invalid
Compiler

Compiled 107 to 19 computations (82.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-div: 7.0ms (29.5% of total)
ival-add: 5.0ms (21.1% of total)
ival-mult: 3.0ms (12.6% of total)
ival-log: 3.0ms (12.6% of total)
ival-sqrt: 3.0ms (12.6% of total)
ival-sub: 1.0ms (4.2% 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)

series4.0ms (0.1%)

Memory
10.4MiB live, 10.4MiB allocated; 0ms collecting garbage
Counts
11 → 32
Calls
Call 1
Inputs
(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 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)))
(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)))))
(* -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))
(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))))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((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) (* x x))
1.0ms
x
@-inf
((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) (* x x))
1.0ms
x
@inf
((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) (* x x))

simplify181.0ms (5.2%)

Memory
-19.6MiB live, 122.8MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0133391
1346376
21089370
05119360
Stop Event
iter limit
iter limit
node limit
Counts
32 → 32
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)))
(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)))))
(* -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))
(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))))))
Outputs
(+ (log 2) (* -1 (log x)))
(-.f64 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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))
(pow x 2)
(*.f64 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))))
(* -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)
(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 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)

rewrite56.0ms (1.6%)

Memory
7.6MiB live, 54.4MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022129
03199
111299
084899
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
11 → 77
Calls
Call 1
Inputs
(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 x x)
Outputs
(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 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (*.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64))))))
(/.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -4 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 2 binary64)))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x x) #s(literal -1 binary64)))))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 8 binary64)) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 (*.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 x (*.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 x x) #s(literal -1 binary64))))) (/.f64 #s(literal 8 binary64) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 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 #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 x x)
(*.f64 #s(literal 1 binary64) (*.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)))

eval12.0ms (0.3%)

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

Compiled 2 750 to 511 computations (81.4% saved)

prune4.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh000
Picked123
Done000
Total1053108
Accuracy
100.0%
Counts
108 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.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)))
99.9%
(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)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Compiler

Compiled 66 to 45 computations (31.8% saved)

simplify132.0ms (3.8%)

Memory
-14.0MiB live, 74.6MiB allocated; 15ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
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))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01771
01967
13967
29667
326461
472761
5349661
6674661
0828658
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 #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
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))))
#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

localize84.0ms (2.4%)

Memory
0.1MiB live, 96.0MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal -1/2 binary64) x)
accuracy0.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))))
accuracy0.0
#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.998509809898145
#s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))
Samples
77.0ms256×0valid
Compiler

Compiled 41 to 17 computations (58.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-sqrt: 15.0ms (45.1% of total)
ival-mult: 7.0ms (21% of total)
ival-div: 5.0ms (15% of total)
ival-log: 3.0ms (9% of total)
ival-add: 2.0ms (6% of total)
ival-sub: 1.0ms (3% 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)

series4.0ms (0.1%)

Memory
12.1MiB live, 12.1MiB allocated; 0ms collecting garbage
Counts
4 → 27
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))))
#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)
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)
(* -1/2 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)))))
(* x (- (* 2 (/ 1 (pow x 2))) 1/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 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((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.0ms
x
@-inf
((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.0ms
x
@inf
((log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) (/ (+ (* (* x x) -1/2) 2) x) (* -1/2 x))

simplify197.0ms (5.6%)

Memory
-32.1MiB live, 134.6MiB allocated; 104ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0132364
1344349
21085343
05116334
Stop Event
iter limit
iter limit
node limit
Counts
27 → 27
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)
(* -1/2 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)))))
(* x (- (* 2 (/ 1 (pow x 2))) 1/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 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
Outputs
(+ (log 2) (* -1 (log x)))
(-.f64 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 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 (log.f64 #s(literal 2 binary64)) (log.f64 x)))
(/ 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)
(* -1/2 x)
(*.f64 #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))))
(* 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 (* -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 (* x (- 1/2 (* 2 (/ 1 (pow x 2))))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) x)

rewrite85.0ms (2.4%)

Memory
-3.1MiB live, 44.0MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01769
01959
19959
082056
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 5
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))))
#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)
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))))
#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))

eval3.0ms (0.1%)

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

Compiled 848 to 164 computations (80.7% saved)

prune4.0ms (0.1%)

Memory
5.6MiB live, 5.7MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done022
Total31334
Accuracy
100.0%
Counts
34 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.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)))
99.9%
(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)) #s(approx (/ (+ (* (* x x) -1/2) 2) x) (*.f64 #s(literal -1/2 binary64) x))))
Compiler

Compiled 161 to 83 computations (48.4% saved)

regimes7.0ms (0.2%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Counts
5 → 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 (+ (/ 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 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
Outputs
(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)))
Calls

3 calls:

2.0ms
x
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))
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)

regimes46.0ms (1.3%)

Memory
-28.0MiB live, 16.3MiB allocated; 12ms 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:

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

Compiled 26 to 18 computations (30.8% saved)

regimes5.0ms (0.1%)

Memory
11.3MiB live, 11.3MiB 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
(log.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) x)))
1.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
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)

simplify44.0ms (1.2%)

Memory
7.1MiB live, 51.4MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02560
14460
210260
328460
485758
5466658
Stop Event
node limit
Calls
Call 1
Inputs
(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)) (/.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 #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)) (/.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))))

derivations344.0ms (9.8%)

Memory
10.6MiB live, 359.8MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0133391
1346376
21089370
05119360
0155722
1420699
21325664
06210643
Stop Event
done
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 66 to 27 computations (59.1% saved)

preprocess26.0ms (0.7%)

Memory
-15.8MiB live, 31.0MiB allocated; 2ms collecting garbage
Compiler

Compiled 158 to 72 computations (54.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...