Details

Time bar (total: 6.8s)

analyze270.0ms (4%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample6.3s (91.8%)

Results
3.2s2014×body2048valid
1.8s3093×body1024valid
715.0ms1587×body512valid
337.0ms1455×body256valid
189.0ms106×body4096valid
2.0msbody8192valid
Bogosity

preprocess19.0ms (0.3%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify25.0ms (0.4%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))

eval1.0ms (0%)

Compiler

Compiled 12 to 9 computations (25% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 5 to 4 computations (20% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 10 to 7 computations (30% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(tan.f64 (/.f64 x 2))
0.0ms
x
@-inf
(tan.f64 (/.f64 x 2))
0.0ms
x
@0
(tan.f64 (/.f64 x 2))

rewrite54.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
1392×add-sqr-sqrt
1366×*-un-lft-identity
1276×add-cube-cbrt
1264×add-cbrt-cube
1250×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114811
2172311
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tan.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))))))

simplify69.0ms (1%)

Algorithm
egg-herbie
Rules
854×associate-*r/
720×fma-def
682×*-commutative
650×associate-*r*
574×associate-*l/
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
068804
1147708
2524612
32040612
44521612
56576612
Stop Event
node limit
Counts
32 → 36
Calls
Call 1
Inputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
Outputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))

eval10.0ms (0.1%)

Compiler

Compiled 350 to 283 computations (19.1% saved)

prune5.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh000
Picked011
Done000
Total35237
Error
0.0b
Counts
37 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
32.5b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize3.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0.0b
Counts
2 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
32.5b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes8.0ms (0.1%)

Accuracy

Total -61.0b remaining (-1561683.8%)

Threshold costs -61.0b (-1561683.8%)

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

2 calls:

4.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
3.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 25 to 18 computations (28% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 9 to 7 computations (22.2% saved)

soundness46.0ms (0.7%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end38.0ms (0.6%)

Compiler

Compiled 8 to 6 computations (25% saved)

Profiling

Loading profile data...