ENA, Section 1.4, Mentioned, A

Time bar (total: 3.3s)

analyze9.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%49.6%50.4%0%0%0%0
0%0%97.8%2.2%0%0%0%1
0%0%192.8%-92.8%0%0%0%2
33%94.9%192.8%-187.8%0%0%0%3
49.6%189.9%192.8%-282.8%0%0%0%4
59.6%284.9%192.8%-377.8%0%0%0%5
66.3%379.9%192.8%-472.8%0%0%0%6
71.1%474.9%192.8%-567.8%0%0%0%7
74.7%569.9%192.8%-662.7%0%0%0%8
77.5%664.9%192.8%-757.7%0%0%0%9
79.8%759.9%192.8%-852.7%0%0%0%10
81.6%854.9%192.8%-947.7%0%0%0%11
83.1%949.9%192.8%-1042.7%0%0%0%12
Compiler

Compiled 12 to 9 computations (25% saved)

sample2.4s (70.7%)

Results
1.4s4340×body2048valid
549.0ms2161×body1024valid
254.0ms1068×body512valid
77.0ms225×body4096valid
70.0ms462×body256valid
Bogosity

preprocess17.0ms (0.5%)

Algorithm
egg-herbie
Rules
22×sub-neg
16×fma-def
12×+-commutative
associate--r+
associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
11722
22222
33122
44122
55522
67022
77922
88222
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 (neg.f64 x)))
Outputs
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 (neg.f64 x)))
(-.f64 1 (cos.f64 x))
Symmetry

(abs x)

Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
16×sub-neg
12×fma-def
+-commutative
associate--r+
associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21511
32211
42911
53911
65011
76211
86511
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 1 (cos.f64 x))
Outputs
(-.f64 1 (cos.f64 x))

eval0.0ms (0%)

Compiler

Compiled 5 to 4 computations (20% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Accurracy
53.2%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.2%
(-.f64 1 (cos.f64 x))
53.2%
(-.f64 1 (cos.f64 x))
Compiler

Compiled 10 to 8 computations (20% saved)

localize84.0ms (2.5%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
53.2%
(-.f64 1 (cos.f64 x))
Compiler

Compiled 10 to 6 computations (40% saved)

series1.0ms (0%)

Counts
1 → 4
Calls

3 calls:

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

rewrite54.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
1386×pow1
1278×add-exp-log
1278×log1p-expm1-u
1278×expm1-log1p-u
1252×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114011
2169111
Stop Event
node limit
Counts
1 → 28
Calls
Call 1
Inputs
(-.f64 1 (cos.f64 x))
Outputs
(+.f64 1 (neg.f64 (cos.f64 x)))
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))
(+.f64 (neg.f64 (cos.f64 x)) 1)
(*.f64 1 (-.f64 1 (cos.f64 x)))
(*.f64 (-.f64 1 (cos.f64 x)) 1)
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))

simplify55.0ms (1.7%)

Algorithm
egg-herbie
Rules
1070×associate-/l*
998×div-sub
824×distribute-lft-in
782×distribute-rgt-in
724×associate-/r*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
093800
1231740
2679670
33306670
Stop Event
node limit
Counts
32 → 44
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(+.f64 1 (neg.f64 (cos.f64 x)))
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))
(+.f64 (neg.f64 (cos.f64 x)) 1)
(*.f64 1 (-.f64 1 (cos.f64 x)))
(*.f64 (-.f64 1 (cos.f64 x)) 1)
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))
(/.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))
Outputs
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8)))))
(+.f64 1 (neg.f64 (cos.f64 x)))
(-.f64 1 (cos.f64 x))
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))
(-.f64 1 (cos.f64 x))
(+.f64 (neg.f64 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(*.f64 1 (-.f64 1 (cos.f64 x)))
(-.f64 1 (cos.f64 x))
(*.f64 (-.f64 1 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))
(-.f64 1 (cos.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.f64 1 (cos.f64 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(-.f64 1 (cos.f64 x))
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(-.f64 1 (cos.f64 x))
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(-.f64 1 (cos.f64 x))
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))
(-.f64 1 (cos.f64 x))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))
(-.f64 1 (cos.f64 x))
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))

eval10.0ms (0.3%)

Compiler

Compiled 491 to 309 computations (37.1% saved)

prune6.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New42244
Fresh000
Picked101
Done000
Total43245
Accurracy
100.0%
Counts
45 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
100.0%
(*.f64 1/2 (*.f64 x x))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
100.0%
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 28 to 20 computations (28.6% saved)

localize416.0ms (12.4%)

Compiler

Compiled 30 to 17 computations (43.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done000
Total022
Accurracy
100.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
100.0%
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 31 to 22 computations (29% saved)

regimes12.0ms (0.4%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 x x))
(-.f64 1 (cos.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Outputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Calls

3 calls:

8.0ms
x
2.0ms
(cos.f64 x)
2.0ms
(-.f64 1 (cos.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 1 (cos.f64 x))
100.0%1(cos.f64 x)
Compiler

Compiled 27 to 19 computations (29.6% saved)

regimes7.0ms (0.2%)

Accuracy

Total -29.9b remaining (-153188.3%)

Threshold costs -29.9b (-153188.3%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 x x))
(-.f64 1 (cos.f64 x))
Outputs
(*.f64 1/2 (*.f64 x x))
Calls

3 calls:

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

Compiled 20 to 14 computations (30% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01234
11434
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(*.f64 1/2 (*.f64 x x))
Outputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 14 to 10 computations (28.6% saved)

soundness260.0ms (7.8%)

Rules
1386×pow1
1278×add-exp-log
1278×log1p-expm1-u
1278×expm1-log1p-u
1252×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114011
2169111
093800
1231740
2679670
33306670
093800
1231740
2679670
33306670
Stop Event
node limit
node limit
node limit
Compiler

Compiled 124 to 68 computations (45.2% saved)

end0.0ms (0%)

preprocess36.0ms (1.1%)

Remove

(abs x)

Compiler

Compiled 74 to 52 computations (29.7% saved)

Profiling

Loading profile data...