Details

Time bar (total: 10.8s)

sample529.0ms

Algorithm
intervals
Results
186.0ms56×body2560valid
61.0ms90×body1280valid
13.0ms51×body640valid
5.0ms29×body320valid
2.0ms20×body160valid
1.0ms10×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.1b
(- x (tan x))
1.2b
(- x (sin x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series182.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(/ (- x (sin x)) (- x (tan x)))
57.0ms
(- x (tan x))
52.0ms
(- x (sin x))

simplify60.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune239.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt x) (cbrt x))
1.2b
(- x (sin x))
2.2b
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
26.8b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
39×*-un-lft-identity
29×add-cube-cbrt
16×cbrt-prod
15×times-frac
11×pow1
prod-diff
add-exp-log
pow1/3 swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u unswap-sqr
fma-neg associate-/r*
flip3-- pow-prod-down pow-sqr pow-prod-up flip-- associate-/l/
cbrt-undiv pow2 sub-neg frac-2neg pow-plus diff-log div-sub div-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
4 → 120
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
4.0ms
(- x (sin x))
6.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
1.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

series1.1s

Counts
4 → 12
Calls
4 calls:
203.0ms
(* (cbrt x) (cbrt x))
30.0ms
(- x (sin x))
521.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
324.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03961252
114701067
250011017

prune310.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (tan x) (- x (sin x)))
1.2b
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
1.2b
(- x (sin x))
1.2b
(- x (sin x))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
tan-quot cbrt-undiv frac-2neg div-exp clear-num frac-sub associate-/l/ sub-div
Counts
4 → 589
Calls
4 calls:
6.0ms
(/ (tan x) (- x (sin x)))
41.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
4.0ms
(- x (sin x))
5.0ms
(- x (sin x))

series252.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (tan x) (- x (sin x)))
138.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
30.0ms
(- x (sin x))
31.0ms
(- x (sin x))

simplify206.0ms

Algorithm
egg-herbie
Counts
601 → 601
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0134222028
1381515786
2500115720

prune1.0s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(fma 27/2800 (pow x 4) 1/2)
14.3b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma 27/2800 (pow x 4) 1/2)
1.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series132.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(fma 27/2800 (pow x 4) 1/2)
48.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify145.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune64.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.3b

bsearch82.0ms

Steps
ItersRangePoint
10
1.4316099847845607e-10
21.660028671588154
0.028138209226020946
9
-8.718619127186496
-1.4100946153605287e-08
-0.027117839518358274

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample6.2s

Algorithm
intervals
Results
3.8s1584×body2560valid
1.5s2769×body1280valid
459.0ms1889×body640valid
153.0ms913×body320valid
60.0ms487×body160valid
25.0ms358×body80valid