ENA, Section 1.4, Exercise 4a

Time bar (total: 1.3min)

analyze5.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
0%0%50%50%0%0%0%1
50%25%25%50%0%0%0%2
75%37.5%12.5%50%0%0%0%3
87.5%43.7%6.2%50%0%0%0%4
93.8%46.8%3.1%50%0%0%0%5
96.9%48.4%1.6%50%0%0%0%6
98.4%49.2%0.8%50%0%0%0%7
99.2%49.6%0.4%50%0%0%0%8
99.6%49.8%0.2%50%0%0%0%9
99.8%49.9%0.1%50%0%0%0%10
99.9%49.9%0%50%0%0%0%11
100%49.9%0%50%0%0%0%12
Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.2min (99.9%)

Results
2.8s4873×2valid-rival
5.8s4873×2valid-rival-baseline
4.1s4873×2valid-sollya
941.0ms2766×1valid-rival-baseline
955.0ms2766×1valid-rival
549.0ms2766×1valid-sollya
8.0ms103×0valid-sollya
12.0ms103×0valid-rival
12.0ms103×0valid-rival-baseline
Bogosity

preprocess69.0ms (0.1%)

Algorithm
egg-herbie
Rules
309×fma-define
145×fma-neg
70×times-frac
57×associate-/r*
53×unsub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016136
137122
288120
3241120
4627120
5966120
61218120
71256120
81317120
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
(/.f64 (-.f64 (neg.f64 x) (sin.f64 (neg.f64 x))) (tan.f64 (neg.f64 x)))
(neg.f64 (/.f64 (-.f64 (neg.f64 x) (sin.f64 (neg.f64 x))) (tan.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
(/.f64 (-.f64 (neg.f64 x) (sin.f64 (neg.f64 x))) (tan.f64 (neg.f64 x)))
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
(neg.f64 (/.f64 (-.f64 (neg.f64 x) (sin.f64 (neg.f64 x))) (tan.f64 (neg.f64 x))))
(/.f64 (-.f64 (neg.f64 x) (neg.f64 (sin.f64 x))) (neg.f64 (neg.f64 (tan.f64 x))))
(/.f64 (fma.f64 #s(literal -1 binary64) x (sin.f64 x)) (tan.f64 x))
(/.f64 (-.f64 (sin.f64 x) x) (tan.f64 x))
Symmetry

(abs x)

Compiler

Compiled 8 to 5 computations (37.5% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune7.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
57.2%
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Compiler

Compiled 16 to 10 computations (37.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
11230
21730
31930
42030
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Outputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 8 to 5 computations (37.5% saved)

preprocess23.0ms (0%)

Remove

(abs x)

Compiler

Compiled 76 to 48 computations (36.8% saved)

end0.0ms (0%)

Profiling

Loading profile data...