tanhf (example 3.4)

Time bar (total: 4.4s)

start0.0ms (0%)

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

analyze119.0ms (2.7%)

Memory
-17.0MiB live, 115.8MiB allocated; 54ms 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
25%25%75%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample2.2s (50.6%)

Memory
51.6MiB live, 1 679.7MiB allocated; 951ms collecting garbage
Samples
709.0ms2 227×2valid
527.0ms4 170×0valid
520.0ms642×3valid
134.0ms1 211×1valid
7.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.6s
ival-cos: 727.0ms (44.7% of total)
ival-sub: 355.0ms (21.8% of total)
ival-sin: 227.0ms (13.9% of total)
adjust: 190.0ms (11.7% of total)
ival-div: 114.0ms (7% of total)
ival-true: 6.0ms (0.4% of total)
exact: 6.0ms (0.4% of total)
ival-assert: 3.0ms (0.2% of total)
Bogosity

explain195.0ms (4.5%)

Memory
39.8MiB live, 129.9MiB allocated; 12ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
761(-3.4018019826307054e+174)1(-6.254215438935449e+28)(-.f64 #s(literal 1 binary64) (cos.f64 x))
550-3(1.3473390336776904e-156)(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
00-0-#s(literal 1 binary64)
00-0-(cos.f64 x)
00-0-(sin.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 #s(literal 1 binary64) (cos.f64 x))cancellation762
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))u/n520
(-.f64 #s(literal 1 binary64) (cos.f64 x))underflow52
Confusion
Predicted +Predicted -
+1270
-1128
Precision
0.9921875
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12700
-12126
Precision?
0.9769230769230769
Recall?
1.0
Freqs
test
numberfreq
0128
1128
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
76.0ms266×0valid
42.0ms148×2valid
11.0ms28×3valid
8.0ms70×1valid
Compiler

Compiled 45 to 22 computations (51.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 71.0ms
ival-cos: 38.0ms (53.5% of total)
ival-sin: 11.0ms (15.5% of total)
adjust: 10.0ms (14.1% of total)
ival-div: 6.0ms (8.5% of total)
ival-sub: 5.0ms (7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess184.0ms (4.2%)

Memory
-2.4MiB live, 144.2MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
1299
2718
31438
43778
514188
067
0104
1244
2374
3604
41314
56064
082884
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
Symmetry

(negabs x)

Compiler

Compiled 7 to 6 computations (14.3% 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
54.2%
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify132.0ms (3%)

Memory
-29.4MiB live, 80.8MiB allocated; 18ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sin.f64 x)
cost-diff0
(cos.f64 x)
cost-diff0
(-.f64 #s(literal 1 binary64) (cos.f64 x))
cost-diff3
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
01014
12414
23714
36014
413114
560614
0828814
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
#s(literal 1 binary64)
(cos.f64 x)
x
(sin.f64 x)
Outputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
#s(literal 1 binary64)
(cos.f64 x)
x
(sin.f64 x)

localize76.0ms (1.7%)

Memory
10.0MiB live, 54.3MiB allocated; 8ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 x)
accuracy0.0
(cos.f64 x)
accuracy12.717336334768756
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
accuracy16.29599443696264
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Samples
39.0ms133×0valid
21.0ms74×2valid
5.0ms14×3valid
4.0ms35×1valid
Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 35.0ms
ival-cos: 20.0ms (56.7% of total)
adjust: 5.0ms (14.2% of total)
ival-sin: 5.0ms (14.2% of total)
ival-div: 3.0ms (8.5% of total)
ival-sub: 2.0ms (5.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Counts
4 → 20
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos.f64 x)
(sin.f64 x)
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (sin x) #s(hole binary64 x))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2))))))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (sin x) #s(hole binary64 (sin x)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x))
1.0ms
x
@-inf
((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x))
1.0ms
x
@inf
((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x))

simplify128.0ms (2.9%)

Memory
16.0MiB live, 104.7MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099282
1286282
2814276
33365276
47632276
08021252
Stop Event
iter limit
node limit
Counts
20 → 20
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (sin x) #s(hole binary64 x))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2))))))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (sin x) #s(hole binary64 (sin x)))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2))))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/40320 binary64) (*.f64 x x) #s(literal 1/720 binary64)) (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (cos x) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sin x) #s(hole binary64 x))
#s(approx (sin x) x)
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2))))))
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))))
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal -1/6 binary64)) x))
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))))
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal -1/6 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x))))
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x)))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (cos x) (cos.f64 x))
#s(approx (sin x) #s(hole binary64 (sin x)))
#s(approx (sin x) (sin.f64 x))

rewrite72.0ms (1.7%)

Memory
-48.1MiB live, 56.5MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
01012
14112
030212
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 32
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos.f64 x)
(sin.f64 x)
Outputs
(/.f64 (-.f64 (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)))) (+.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x))))
(/.f64 (-.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (fma.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)))) (neg.f64 (neg.f64 (sin.f64 x))))
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) (sin.f64 x)) (*.f64 (sin.f64 x) (cos.f64 x))) (*.f64 (sin.f64 x) (sin.f64 x)))
(/.f64 (sin.f64 (/.f64 x #s(literal 2 binary64))) (cos.f64 (/.f64 x #s(literal 2 binary64))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)) (sin.f64 x)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (*.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) (sin.f64 x)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (neg.f64 (sin.f64 x)))
(/.f64 (sin.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(neg.f64 (/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (sin.f64 x)))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x))))
(tan.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (PI.f64)))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(-.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 (cos.f64 x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (cos.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)) (+.f64 (cos.f64 x) #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(*.f64 (cos.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (cos.f64 x))
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (+.f64 (neg.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x))
(cos.f64 (neg.f64 (neg.f64 x)))
(cos.f64 (neg.f64 x))
(cos.f64 x)
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 x)

eval6.0ms (0.1%)

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

Compiled 767 to 205 computations (73.3% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh000
Picked101
Done000
Total49453
Accuracy
100.0%
Counts
53 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.6%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
49.5%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
49.8%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Compiler

Compiled 60 to 45 computations (25% saved)

simplify140.0ms (3.2%)

Memory
-2.7MiB live, 89.6MiB allocated; 6ms collecting garbage
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
cost-diff0
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
cost-diff0
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
cost-diff0
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021131
032119
166119
2171119
3572119
41746119
53325119
08631119
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/24 binary64)
#s(literal 1/2 binary64)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
#s(literal 1/240 binary64)
(*.f64 x x)
x
#s(literal 1/24 binary64)
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/24 binary64)
#s(literal 1/2 binary64)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
#s(literal 1/240 binary64)
(*.f64 x x)
x
#s(literal 1/24 binary64)
#s(literal 1/2 binary64)

localize134.0ms (3.1%)

Memory
-8.5MiB live, 131.8MiB allocated; 18ms collecting garbage
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
accuracy0.0234375
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
accuracy0.05859375
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
accuracy0.49727706006807415
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
accuracy32.254915243515065
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
accuracy0.0
(*.f64 x x)
accuracy0.06640625
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
accuracy0.33266851464986186
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
accuracy32.29269146645893
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) x)
accuracy32.15725910023745
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0.0
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
accuracy0.0
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Samples
57.0ms73×2valid
37.0ms133×0valid
16.0ms36×1valid
10.0ms14×3valid
Compiler

Compiled 108 to 22 computations (79.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 101.0ms
adjust: 30.0ms (29.6% of total)
ival-cos: 30.0ms (29.6% of total)
ival-mult: 13.0ms (12.8% of total)
const: 8.0ms (7.9% of total)
ival-tan: 5.0ms (4.9% of total)
ival-add: 5.0ms (4.9% of total)
ival-sin: 5.0ms (4.9% of total)
ival-div: 3.0ms (3% of total)
ival-sub: 3.0ms (3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series8.0ms (0.2%)

Memory
7.2MiB live, 7.2MiB allocated; 0ms collecting garbage
Counts
12 → 37
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
(*.f64 x x)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x)))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24))
2.0ms
x
@-inf
((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24))
2.0ms
x
@0
((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24))

simplify155.0ms (3.5%)

Memory
19.7MiB live, 114.9MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108672
1300672
2977671
35026671
08189609
Stop Event
iter limit
node limit
Counts
37 → 37
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x)))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (tan (* 1/2 x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (+ (* (* x x) 1/24) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2)))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(literal 1/24 binary64))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64))))
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x)))))
#s(approx (tan (* 1/2 x)) (/.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x)) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (+ (* (* x x) 1/24) 1/2) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* x x) 1/24) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/240 binary64)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 #s(literal -1/24 binary64) (*.f64 x x))) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/240 binary64)))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 #s(literal -1/24 binary64) (*.f64 x x))) (pow.f64 x #s(literal 4 binary64))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (*.f64 #s(literal 1/240 binary64) (*.f64 x x)))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) x) x) #s(literal 1/240 binary64))))

rewrite62.0ms (1.4%)

Memory
1.8MiB live, 45.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021114
032102
1125102
0912102
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
12 → 122
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
(*.f64 x x)
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x))) (neg.f64 (cos.f64 (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (+.f64 (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) (tan.f64 (PI.f64))) (-.f64 #s(literal 1 binary64) (*.f64 (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) (tan.f64 (PI.f64)))))
(/.f64 (sin.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64))) (cos.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64))))
(/.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x)) (cos.f64 (*.f64 #s(literal 1/2 binary64) x)))
(tan.f64 (+.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64)) (PI.f64)))
(tan.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64)))
(tan.f64 (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(*.f64 x (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) x) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))
(fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x))))
(fma.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x))))
(+.f64 (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x))) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x))))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))
(fma.f64 (*.f64 #s(literal 1/24 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal 1/24 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal 1/24 binary64) x) x #s(literal 1/2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))
(fma.f64 x (*.f64 #s(literal 1/24 binary64) x) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (*.f64 x x)))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/24 binary64)))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 1/24 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))))
(+.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (*.f64 x x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.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))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)
(*.f64 x (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) x) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) x) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 x (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))))
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)))
(fma.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)))
(+.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) (*.f64 #s(literal 1/2 binary64) x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) #s(literal 1/2 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) #s(literal 1/2 binary64))
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 x x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64))
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) (*.f64 x x)))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 x x)) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x))
(/.f64 (-.f64 #s(literal 1/576 binary64) (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/240 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64)))
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (+.f64 #s(literal 1/576 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))
(fma.f64 (*.f64 #s(literal 1/240 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 #s(literal 1/240 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64))
(fma.f64 x (*.f64 #s(literal 1/240 binary64) x) #s(literal 1/24 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))) (/.f64 #s(literal 1/576 binary64) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))))
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 1/240 binary64) x)) x))
(-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/240 binary64) (*.f64 x x)))
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/240 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) (/.f64 #s(literal 1/13824 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(+.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))
(+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/240 binary64) (*.f64 x x)))

eval38.0ms (0.9%)

Memory
-14.5MiB live, 28.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 4 624 to 715 computations (84.5% saved)

prune10.0ms (0.2%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1861187
Fresh000
Picked044
Done000
Total1865191
Accuracy
100.0%
Counts
191 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.6%
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
49.6%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
49.5%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
49.8%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Compiler

Compiled 83 to 61 computations (26.5% saved)

simplify153.0ms (3.5%)

Memory
-34.1MiB live, 119.3MiB allocated; 23ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
cost-diff0
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
cost-diff0
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
cost-diff2
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01672
02467
15867
214467
345467
4134767
5319267
0856865
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
#s(literal 1/240 binary64)
(*.f64 x x)
x
#s(literal 1/24 binary64)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x))
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x)
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x)
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x)
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64))
#s(literal 1/240 binary64)
(*.f64 x x)
x
#s(literal 1/24 binary64)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)

localize137.0ms (3.1%)

Memory
37.4MiB live, 126.0MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.08203125
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
accuracy0.2109375
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
accuracy0.49727706006807415
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
accuracy32.254915243515065
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
Samples
74.0ms133×0valid
34.0ms73×2valid
9.0ms36×1valid
8.0ms14×3valid
Compiler

Compiled 63 to 19 computations (69.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 113.0ms
ival-div: 47.0ms (41.6% of total)
ival-cos: 26.0ms (23% of total)
adjust: 10.0ms (8.8% of total)
ival-mult: 10.0ms (8.8% of total)
const: 8.0ms (7.1% of total)
ival-sin: 5.0ms (4.4% of total)
ival-add: 3.0ms (2.7% of total)
ival-sub: 2.0ms (1.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series17.0ms (0.4%)

Memory
-39.9MiB live, 18.1MiB allocated; 8ms collecting garbage
Counts
5 → 24
Calls
Call 1
Inputs
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
Outputs
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x)))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
Calls

3 calls:

TimeVariablePointExpression
5.0ms
x
@-inf
((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24))
2.0ms
x
@inf
((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24))
1.0ms
x
@0
((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24))

simplify154.0ms (3.5%)

Memory
27.7MiB live, 119.7MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089466
1265466
2885465
34548465
08261425
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x)))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
Outputs
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x)))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (*.f64 #s(literal 1/24 binary64) x))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64) (*.f64 #s(literal 1/24 binary64) x)))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(literal 1/24 binary64))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2)))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/240 binary64)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2))))))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 (/.f64 #s(literal -1/24 binary64) x) x)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x))))
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/240 binary64)))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64)))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64) (*.f64 #s(literal 1/24 binary64) x)))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (*.f64 (*.f64 x x) #s(literal 1/240 binary64)))
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240)))))
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) x) x) #s(literal 1/240 binary64))))

rewrite56.0ms (1.3%)

Memory
6.4MiB live, 52.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01662
02457
110257
076055
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 73
Calls
Call 1
Inputs
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
Outputs
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x)
(*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal -1/2 binary64)))
(*.f64 x (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)))
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal -1/2 binary64) x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (neg.f64 (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 1/2 binary64)) x))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64))))
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x))
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 x (*.f64 x x)) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 (*.f64 x x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x))
(fma.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) (*.f64 #s(literal 1/2 binary64) x))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))))
(-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal -1/2 binary64) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x)) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x)) (*.f64 x x)))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x))
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x)
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)))
(*.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (*.f64 x x)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) x) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))
(/.f64 (*.f64 x (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x (*.f64 #s(literal 1/24 binary64) x))
(fma.f64 #s(literal 1/24 binary64) x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x))
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x #s(literal 1/24 binary64)))
(fma.f64 x #s(literal 1/24 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64))))
(+.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x) (*.f64 #s(literal 1/24 binary64) x))
(+.f64 (*.f64 #s(literal 1/24 binary64) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x))
(+.f64 (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64))) (*.f64 x #s(literal 1/24 binary64)))
(+.f64 (*.f64 x #s(literal 1/24 binary64)) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64))))
(/.f64 (-.f64 #s(literal 1/576 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/24 binary64) (*.f64 (*.f64 x x) #s(literal 1/240 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (neg.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (+.f64 #s(literal 1/576 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))
(fma.f64 (*.f64 #s(literal 1/240 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 #s(literal 1/240 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/24 binary64))
(fma.f64 (*.f64 x #s(literal 1/240 binary64)) x #s(literal 1/24 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64))
(fma.f64 x (*.f64 x #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) (/.f64 #s(literal 1/576 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))))
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x #s(literal 1/240 binary64))) x))
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/240 binary64)))
(-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/240 binary64) (*.f64 x x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) (/.f64 #s(literal 1/13824 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))
(+.f64 #s(literal 1/24 binary64) (*.f64 (*.f64 x x) #s(literal 1/240 binary64)))

eval26.0ms (0.6%)

Memory
-8.3MiB live, 42.0MiB allocated; 16ms collecting garbage
Compiler

Compiled 2 947 to 453 computations (84.6% saved)

prune5.0ms (0.1%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done044
Total955100
Accuracy
100.0%
Counts
100 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.6%
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
49.6%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
49.5%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
49.8%
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Compiler

Compiled 173 to 91 computations (47.4% saved)

regimes5.0ms (0.1%)

Memory
8.6MiB live, 8.6MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
Calls

2 calls:

2.0ms
x
2.0ms
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
100.0%1x
Compiler

Compiled 8 to 7 computations (12.5% saved)

regimes14.0ms (0.3%)

Memory
-34.0MiB live, 8.3MiB allocated; 11ms collecting garbage
Accuracy

Total -0.4b remaining (-1.2%)

Threshold costs -0.4b (-1.2%)

Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
Calls

2 calls:

12.0ms
x
2.0ms
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Results
AccuracySegmentsBranch
49.8%1(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
49.8%1x
Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify24.0ms (0.5%)

Memory
22.4MiB live, 22.4MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
12517
23817
36617
414017
568517
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))
Outputs
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x))

derivations82.0ms (1.9%)

Memory
-26.7MiB live, 20.0MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 23 to 11 computations (52.2% saved)

preprocess19.0ms (0.4%)

Memory
31.7MiB live, 31.7MiB allocated; 0ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 92 to 62 computations (32.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...