Details

Time bar (total: 9.2s)

sample450.0ms

Algorithm
intervals
Results
105.0ms51×body2560valid
56.0ms85×body1280valid
22.0ms62×body640valid
8.0ms36×body320valid
2.0ms16×body160valid
1.0msbody80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite59.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:
38.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
10.0ms
(- x (sin x))

series167.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(/ (- x (sin x)) (- x (tan x)))
55.0ms
(- x (tan x))
40.0ms
(- x (sin x))

simplify56.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune236.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (expm1 (/ (- x (sin x)) (- x (tan x)))))
0.5b
(expm1 (/ (- x (sin x)) (- x (tan x))))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt prod-diff
add-log-exp
fma-neg
log1p-expm1-u
pow1 add-exp-log expm1-log1p-u add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
log1p-udef expm1-log1p log1p-expm1 expm1-udef
Counts
4 → 78
Calls
4 calls:
0.0ms
(log1p (expm1 (/ (- x (sin x)) (- x (tan x)))))
0.0ms
(expm1 (/ (- x (sin x)) (- x (tan x))))
6.0ms
(- x (tan x))
8.0ms
(- x (sin x))

series337.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(log1p (expm1 (/ (- x (sin x)) (- x (tan x)))))
101.0ms
(expm1 (/ (- x (sin x)) (- x (tan x))))
47.0ms
(- x (tan x))
34.0ms
(- x (sin x))

simplify48.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0443803
11635588
25002580

prune203.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400)))
0.2b
(* 9/40 (pow x 2))
0.5b
(* (pow x 4) 351/22400)
23.3b
(log1p (+ (* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400))) (expm1 -1/2)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
15×add-exp-log
14×associate-*r*
13×associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
unpow-prod-down unswap-sqr
prod-exp
pow1
expm1-log1p-u
log1p-expm1-u add-log-exp sqr-pow
*-commutative cbrt-unprod
pow-to-exp associate-*r/ pow-exp unpow2
distribute-rgt-in log1p-udef distribute-lft-in flip3-+ log1p-expm1 pow-prod-down flip-+
Counts
4 → 91
Calls
4 calls:
33.0ms
(* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400)))
11.0ms
(* 9/40 (pow x 2))
11.0ms
(* (pow x 4) 351/22400)
1.0ms
(log1p (+ (* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400))) (expm1 -1/2)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400)))
24.0ms
(* 9/40 (pow x 2))
39.0ms
(* (pow x 4) 351/22400)
233.0ms
(log1p (+ (* (exp -1/2) (+ (* 9/40 (pow x 2)) (* (pow x 4) 351/22400))) (expm1 -1/2)))

simplify63.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0425611
11865542
25002541

prune308.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

100% (0.0b remaining)

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

bsearch93.0ms

Steps
ItersRangePoint
10
8.950540206577903e-05
66689094922.78456
0.038612806086461615
10
-1500.694570789724
-6.177030851099824e-09
-0.03745543377887085

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03422
13422

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1601×body2560valid
1.9s2790×body1280valid
632.0ms1874×body640valid
203.0ms930×body320valid
86.0ms474×body160valid
30.0ms331×body80valid