ENA, Section 1.4, Mentioned, A

Time bar (total: 9.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze3.0ms (0%)

Memory
8.8MiB live, 8.8MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%49.6%50.4%0%0%0%0
0%0%49.6%50.4%0%0%0%1
0%0%49.6%50.4%0%0%0%2
50%24.8%24.8%50.4%0%0%0%3
75%37.2%12.4%50.4%0%0%0%4
87.5%43.4%6.2%50.4%0%0%0%5
93.8%46.5%3.1%50.4%0%0%0%6
96.9%48.1%1.6%50.4%0%0%0%7
98.4%48.8%0.8%50.4%0%0%0%8
99.2%49.2%0.4%50.4%0%0%0%9
99.6%49.4%0.2%50.4%0%0%0%10
99.8%49.5%0.1%50.4%0%0%0%11
99.9%49.6%0%50.4%0%0%0%12
Compiler

Compiled 12 to 10 computations (16.7% saved)

sample3.1s (33.3%)

Memory
-85.7MiB live, 3 059.4MiB allocated
Samples
2.2s5 724×2valid
402.0ms2 447×1valid
11.0ms85×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.1s
ival-cos: 1.3s (62.1% of total)
const: 259.0ms (12.5% of total)
adjust: 247.0ms (12% of total)
ival-sub: 158.0ms (7.7% of total)
ival-<=: 97.0ms (4.7% of total)
ival-and: 12.0ms (0.6% of total)
exact: 5.0ms (0.2% of total)
ival-assert: 4.0ms (0.2% of total)
Bogosity

explain167.0ms (1.8%)

Memory
-45.7MiB live, 215.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1311(-1.1181352526505912e-161)0-(-.f64 #s(literal 1 binary64) (cos.f64 x))
00-0-#s(literal 1 binary64)
00-0-(cos.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 #s(literal 1 binary64) (cos.f64 x))cancellation1320
Confusion
Predicted +Predicted -
+1310
-1124
Precision
0.9924242424242424
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13100
-10124
Precision?
0.9924242424242424
Recall?
1.0
Freqs
test
numberfreq
0124
1132
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
89.0ms348×2valid
13.0ms160×1valid
0.0ms0valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 71.0ms
ival-cos: 53.0ms (74.5% of total)
adjust: 10.0ms (14.1% of total)
ival-sub: 7.0ms (9.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess14.0ms (0.1%)

Memory
15.7MiB live, 15.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1168
2358
3558
4878
51018
61078
044
064
1104
2144
3194
4254
5334
6434
7544
8574
0574
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Outputs
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Symmetry

(abs x)

Compiler

Compiled 4 to 4 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Compiler

Compiled 4 to 4 computations (0% saved)

simplify4.0ms (0%)

Memory
3.3MiB live, 3.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1108
2148
3198
4258
5338
6438
7548
8578
0578
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (cos.f64 x))
#s(literal 1 binary64)
(cos.f64 x)
x
Outputs
(-.f64 #s(literal 1 binary64) (cos.f64 x))
#s(literal 1 binary64)
(cos.f64 x)
x

localize85.0ms (0.9%)

Memory
7.2MiB live, 79.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(cos.f64 x)
accuracy30.114186590105078
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Samples
72.0ms174×2valid
7.0ms80×1valid
0.0ms0valid
Compiler

Compiled 18 to 10 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 69.0ms
ival-cos: 60.0ms (87.2% of total)
adjust: 5.0ms (7.3% of total)
ival-sub: 4.0ms (5.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
2.5MiB live, 2.5MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())
#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((- 1 (cos x)) (cos x))
0.0ms
x
@inf
((- 1 (cos x)) (cos x))
0.0ms
x
@-inf
((- 1 (cos x)) (cos x))

simplify581.0ms (6.2%)

Memory
6.4MiB live, 308.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041144
1101144
2246144
3588144
41237144
51916144
62187144
72836144
84071144
95644144
106543144
116823144
126862144
136862144
147274144
157556144
167597144
177599144
187599144
197599144
207599144
217609144
227609144
237609144
08514132
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
Outputs
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/720 binary64) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)

rewrite214.0ms (2.3%)

Memory
-17.2MiB live, 311.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
066
1236
21426
311536
092406
Stop Event
iter limit
node limit
iter limit
Counts
2 → 314
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos.f64 x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval65.0ms (0.7%)

Memory
11.9MiB live, 90.2MiB allocated
Compiler

Compiled 9 533 to 916 computations (90.4% saved)

prune9.0ms (0.1%)

Memory
5.7MiB live, 41.2MiB allocated
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3335338
Fresh000
Picked101
Done000
Total3345339
Accuracy
100.0%
Counts
339 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
52.1%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
100.0%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
99.6%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Compiler

Compiled 74 to 60 computations (18.9% saved)

simplify12.0ms (0.1%)

Memory
-11.4MiB live, 23.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 17 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
024126
038126
161126
289126
3126126
4153126
5176126
6198126
7221126
8226126
0226126
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
(sin.f64 x)
x
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(/.f64 x #s(literal 2 binary64))
#s(literal 2 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(literal 1 binary64)
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
#s(literal 1 binary64)
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -1/2 binary64)
(*.f64 x x)
x
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
#s(literal -1/24 binary64)
(*.f64 x x)
x
#s(literal 1/2 binary64)
Outputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
(*.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))) (sin.f64 x))
(sin.f64 x)
x
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(/.f64 x #s(literal 2 binary64))
#s(literal 2 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(literal 1 binary64)
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (- 1 (cos x)) (*.f64 #s(literal 1/2 binary64) (*.f64 x x)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(*.f64 x x)
x
#s(literal 1/2 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
#s(literal 1 binary64)
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal -1/2 binary64)
(*.f64 x x)
x
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
#s(literal -1/24 binary64)
(*.f64 x x)
x
#s(literal 1/2 binary64)

localize185.0ms (2%)

Memory
10.0MiB live, 256.8MiB allocated
Localize:

Found 17 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
accuracy0.00390625
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
accuracy0.0078125
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
accuracy0
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
accuracy0
(*.f64 x x)
accuracy0
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
accuracy30.114186590105078
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
accuracy0
(*.f64 x x)
accuracy0.00390625
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
accuracy0.28173897622938354
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
accuracy0.32903163143851444
#s(approx (cos x) #s(literal 1 binary64))
accuracy30.114186590105078
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
accuracy0
(/.f64 x #s(literal 2 binary64))
accuracy0
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
accuracy0
(tan.f64 (/.f64 x #s(literal 2 binary64)))
accuracy0
(sin.f64 x)
Samples
124.0ms174×2valid
41.0ms80×1valid
0.0ms0valid
Compiler

Compiled 207 to 44 computations (78.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 139.0ms
ival-mult: 53.0ms (38.1% of total)
ival-cos: 46.0ms (33.1% of total)
adjust: 21.0ms (15.1% of total)
ival-sub: 4.0ms (2.9% of total)
ival-tan: 4.0ms (2.9% of total)
const: 4.0ms (2.9% of total)
ival-div: 2.0ms (1.4% of total)
ival-add: 2.0ms (1.4% of total)
ival-sin: 2.0ms (1.4% of total)
exact: 1.0ms (0.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series19.0ms (0.2%)

Memory
15.5MiB live, 46.4MiB allocated
Counts
16 → 192
Calls
Call 1
Inputs
#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())
#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())
#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())
#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())
#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())
#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())
#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/6 (pow x 2)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/24 (pow x 2)))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 3)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify200.0ms (2.1%)

Memory
8.7MiB live, 283.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021286
12721280
26891280
321331280
442571280
565931280
085591190
Stop Event
iter limit
node limit
Counts
192 → 191
Calls
Call 1
Inputs
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(* 1/2 x)
(* x (+ 1/2 (* 1/24 (pow x 2))))
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* -1/2 (pow x 2)))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* 1/2 x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(* x (+ 1/2 (* -1/24 (pow x 2))))
(* x (+ 1/2 (* -1/24 (pow x 2))))
1/2
(+ 1/2 (* -1/24 (pow x 2)))
(+ 1/2 (* -1/24 (pow x 2)))
(+ 1/2 (* -1/24 (pow x 2)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(sin x)
(sin x)
(sin x)
(sin x)
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(* -1/2 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 3))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(sin x)
(sin x)
(sin x)
(sin x)
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(* -1/2 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 3))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1/24 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
Outputs
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
x
(* x (+ 1 (* -1/6 (pow x 2))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(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)
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(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)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))
(*.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)
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2))))))))
(*.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)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(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))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) x) x #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(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))
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(* -1/2 (pow x 2))
(*.f64 #s(literal -1/2 binary64) (*.f64 x x))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* -1/24 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1/24 (pow x 2))
(*.f64 #s(literal -1/24 binary64) (*.f64 x x))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64))))
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(sin x)
(sin.f64 x)
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(/ (sin (* 1/2 x)) (cos (* 1/2 x)))
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(* -1/2 (pow x 2))
(*.f64 #s(literal -1/2 binary64) (*.f64 x x))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(* -1/24 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1/24 (pow x 2))
(*.f64 #s(literal -1/24 binary64) (*.f64 x x))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))

rewrite190.0ms (2%)

Memory
9.5MiB live, 229.7MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024109
038109
1129109
2770109
36267106
08414106
Stop Event
iter limit
node limit
iter limit
Counts
16 → 609
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
(sin.f64 x)
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(/.f64 x #s(literal 2 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval394.0ms (4.2%)

Memory
-30.4MiB live, 276.0MiB allocated
Compiler

Compiled 15 108 to 2 131 computations (85.9% saved)

prune25.0ms (0.3%)

Memory
-16.6MiB live, 69.5MiB allocated
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New8433846
Fresh000
Picked235
Done000
Total8456851
Accuracy
100.0%
Counts
851 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
52.1%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
4.2%
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
100.0%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
99.6%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
Compiler

Compiled 46 to 38 computations (17.4% saved)

simplify6.0ms (0.1%)

Memory
9.9MiB live, 9.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (cos x) #s(literal 1 binary64))
cost-diff0
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
cost-diff0
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))
cost-diff0
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
cost-diff0
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))
cost-diff0
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)
cost-diff0
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)
cost-diff0
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021104
029104
146104
255104
360104
467104
575104
685104
796104
899104
099100
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(pow.f64 x #s(literal 4 binary64))
#s(literal 4 binary64)
#s(literal -1/24 binary64)
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (cos x) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))
(fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(pow.f64 x #s(literal 4 binary64))
#s(literal 4 binary64)
#s(literal -1/24 binary64)
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (cos x) #s(literal 1 binary64))
#s(literal 1 binary64)

localize183.0ms (1.9%)

Memory
17.6MiB live, 204.3MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
accuracy0.32903163143851444
#s(approx (cos x) #s(literal 1 binary64))
accuracy0
(pow.f64 x #s(literal 4 binary64))
accuracy0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
accuracy0.1015625
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
accuracy0
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
accuracy0.00390625
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)
accuracy0.0078125
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)
accuracy0.288650052486077
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))
Samples
149.0ms174×2valid
20.0ms80×1valid
0.0ms0valid
Compiler

Compiled 136 to 36 computations (73.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 149.0ms
adjust: 38.0ms (25.5% of total)
const: 30.0ms (20.2% of total)
ival-sub: 29.0ms (19.5% of total)
ival-cos: 28.0ms (18.8% of total)
ival-mult: 12.0ms (8.1% of total)
ival-add: 8.0ms (5.4% of total)
ival-pow: 3.0ms (2% 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.1%)

Memory
17.7MiB live, 17.7MiB allocated
Counts
11 → 132
Calls
Call 1
Inputs
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())
#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())
#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())
#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())
#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())
#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt 1/2 (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 3)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4))
2.0ms
x
@-inf
((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4))
1.0ms
x
@0
((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4))

simplify172.0ms (1.8%)

Memory
-53.7MiB live, 166.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063832
1154832
2375832
31011832
42546832
55941832
08123772
Stop Event
iter limit
node limit
Counts
132 → 132
Calls
Call 1
Inputs
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* 1/2 x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(* x (+ 1/2 (* -1/24 (pow x 2))))
(* x (+ 1/2 (* -1/24 (pow x 2))))
1/2
(+ 1/2 (* -1/24 (pow x 2)))
(+ 1/2 (* -1/24 (pow x 2)))
(+ 1/2 (* -1/24 (pow x 2)))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 3))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* -1/24 (pow x 3))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(* -1/24 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(cos x)
(cos x)
(cos x)
(cos x)
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
Outputs
(* 1/2 (pow x 2))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(+ 1/2 (* -1/24 (pow x 2)))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
2
#s(literal 2 binary64)
(+ 2 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/24 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)))
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(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 2 binary64))
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/24 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(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))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* -1/24 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1/24 (pow x 2))
(*.f64 #s(literal -1/24 binary64) (*.f64 x x))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* -1/24 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)
(* -1/24 (pow x 2))
(*.f64 #s(literal -1/24 binary64) (*.f64 x x))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(+ 1 (cos x))
(+.f64 (cos.f64 x) #s(literal 1 binary64))
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(cos x)
(cos.f64 x)
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))

rewrite171.0ms (1.8%)

Memory
37.8MiB live, 223.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02197
02997
110297
261797
3553597
0836793
Stop Event
iter limit
node limit
iter limit
Counts
11 → 189
Calls
Call 1
Inputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (cos x) #s(literal 1 binary64))
(pow.f64 x #s(literal 4 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval36.0ms (0.4%)

Memory
-1.9MiB live, 90.5MiB allocated
Compiler

Compiled 5 441 to 723 computations (86.7% saved)

prune10.0ms (0.1%)

Memory
-5.0MiB live, 31.2MiB allocated
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New3192321
Fresh000
Picked213
Done033
Total3216327
Accuracy
100.0%
Counts
327 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
52.1%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
100.0%
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
100.0%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
99.6%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
4.2%
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
Compiler

Compiled 48 to 37 computations (22.9% saved)

simplify8.0ms (0.1%)

Memory
-24.3MiB live, 13.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01565
02165
13757
26149
39649
410749
511849
612849
714249
814649
014649
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))
(*.f64 (*.f64 x x) (*.f64 x x))
(*.f64 x x)
#s(literal -1/24 binary64)
Outputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64))))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))
(*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64)))
(*.f64 (*.f64 x x) (*.f64 x x))
(pow.f64 x #s(literal 4 binary64))
(*.f64 x x)
#s(literal -1/24 binary64)

localize135.0ms (1.4%)

Memory
-3.9MiB live, 239.8MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
accuracy0.1015625
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))
accuracy0.11947250976844202
(*.f64 (*.f64 x x) (*.f64 x x))
accuracy0.3134083294388077
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
Samples
81.0ms174×2valid
22.0ms0valid
15.0ms80×1valid
Compiler

Compiled 108 to 27 computations (75% saved)

Precisions
Click to see histograms. Total time spent on operations: 87.0ms
ival-mult: 30.0ms (34.4% of total)
ival-cos: 30.0ms (34.4% of total)
adjust: 11.0ms (12.6% of total)
ival-add: 6.0ms (6.9% of total)
ival-sub: 5.0ms (5.7% of total)
const: 4.0ms (4.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
19.3MiB live, 19.3MiB allocated
Counts
6 → 72
Calls
Call 1
Inputs
#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())
#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())
Outputs
#s(alt 2 (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify239.0ms (2.5%)

Memory
7.0MiB live, 156.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
050406
1118406
2271406
3629406
41377406
52340406
63012406
75788406
08179385
Stop Event
iter limit
node limit
Counts
72 → 72
Calls
Call 1
Inputs
2
(+ 2 (* -1/2 (pow x 2)))
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(+ 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(- 1 (cos x))
(* -1/24 (pow x 4))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(* -1/24 (pow x 4))
(pow x 4)
(pow x 4)
(pow x 4)
(pow x 4)
Outputs
2
#s(literal 2 binary64)
(+ 2 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64))
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))
(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 2 binary64))
(* 1/2 (pow x 2))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24))))
(*.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)
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24))))
(*.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)
(* 1/2 (pow x 2))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2))))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(+ 1 (cos x))
(-.f64 (cos.f64 x) #s(literal -1 binary64))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(- 1 (cos x))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24))
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(* -1/24 (pow x 4))
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))
(pow x 4)
(pow.f64 x #s(literal 4 binary64))

rewrite203.0ms (2.2%)

Memory
-14.7MiB live, 189.2MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01558
02150
17242
247842
3513242
0920442
Stop Event
iter limit
node limit
iter limit
Counts
6 → 129
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))
(*.f64 (*.f64 x x) (*.f64 x x))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval42.0ms (0.4%)

Memory
0.4MiB live, 38.0MiB allocated
Compiler

Compiled 3 955 to 537 computations (86.4% saved)

prune6.0ms (0.1%)

Memory
17.7MiB live, 17.7MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New2010201
Fresh000
Picked022
Done044
Total2016207
Accuracy
100.0%
Counts
207 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
52.1%
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
100.0%
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
100.0%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
99.6%
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
4.2%
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
Compiler

Compiled 128 to 77 computations (39.8% saved)

regimes25.0ms (0.3%)

Memory
-28.2MiB live, 19.7MiB allocated
Counts
11 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
#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)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
(-.f64 #s(literal 1 binary64) (cos.f64 x))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64))))
Outputs
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
Calls

3 calls:

18.0ms
x
3.0ms
(cos.f64 x)
3.0ms
(-.f64 #s(literal 1 binary64) (cos.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 #s(literal 1 binary64) (cos.f64 x))
100.0%1(cos.f64 x)
Compiler

Compiled 7 to 7 computations (0% saved)

regimes8.0ms (0.1%)

Memory
10.9MiB live, 10.9MiB allocated
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
Outputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x))
Calls

3 calls:

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

Compiled 7 to 7 computations (0% saved)

regimes7.0ms (0.1%)

Memory
10.2MiB live, 10.2MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))))
Outputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
Calls

3 calls:

3.0ms
x
2.0ms
(-.f64 #s(literal 1 binary64) (cos.f64 x))
2.0ms
(cos.f64 x)
Results
AccuracySegmentsBranch
99.6%1x
99.6%1(-.f64 #s(literal 1 binary64) (cos.f64 x))
99.6%1(cos.f64 x)
Compiler

Compiled 7 to 7 computations (0% saved)

regimes6.0ms (0.1%)

Memory
9.8MiB live, 9.8MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Outputs
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Calls

3 calls:

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

Compiled 7 to 7 computations (0% saved)

regimes21.0ms (0.2%)

Memory
-30.2MiB live, 9.5MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
Outputs
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
Calls

3 calls:

17.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) (cos.f64 x))
1.0ms
(cos.f64 x)
Results
AccuracySegmentsBranch
52.1%1x
52.1%1(-.f64 #s(literal 1 binary64) (cos.f64 x))
52.1%1(cos.f64 x)
Compiler

Compiled 7 to 7 computations (0% saved)

regimes5.0ms (0%)

Memory
7.4MiB live, 7.4MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))
Outputs
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
Calls

3 calls:

2.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) (cos.f64 x))
1.0ms
(cos.f64 x)
Results
AccuracySegmentsBranch
4.2%1(-.f64 #s(literal 1 binary64) (cos.f64 x))
4.2%1(cos.f64 x)
4.2%1x
Compiler

Compiled 7 to 7 computations (0% saved)

simplify41.0ms (0.4%)

Memory
-9.4MiB live, 30.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03074
14274
24674
34874
44974
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
#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)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (+ (cos x) 1) #s(literal 2 binary64))
Outputs
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))))
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 #s(literal -1/24 binary64) (*.f64 (*.f64 x x) (*.f64 x x)))))
#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)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x))
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64)))
#s(approx (+ (cos x) 1) #s(literal 2 binary64))

soundness2.7s (28.2%)

Memory
6.8MiB live, 775.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063832
1154832
2375832
31011832
42546832
55941832
08123772
041144
1101144
2246144
3588144
41237144
51916144
62187144
72836144
84071144
95644144
106543144
116823144
126862144
136862144
147274144
157556144
167597144
177599144
187599144
197599144
207599144
217609144
227609144
237609144
08514132
024109
038109
1129109
2770109
36267106
08414106
02197
02997
110297
261797
3553597
0836793
01021286
12721280
26891280
321331280
442571280
565931280
085591190
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 115 to 79 computations (31.3% saved)

preprocess111.0ms (1.2%)

Memory
-5.3MiB live, 111.2MiB allocated
Remove

(abs x)

Compiler

Compiled 178 to 106 computations (40.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...