Details

Time bar (total: 8.4s)

sample475.0ms

Algorithm
intervals
Results
125.0ms54×body2560valid
53.0ms86×body1280valid
23.0ms67×body640valid
6.0ms28×body320valid
2.0ms14×body160valid
1.0msbody80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.9b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
37.0ms
(- x (sin x))
62.0ms
(- x (tan x))

simplify151.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune200.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
16.6b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
8.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series109.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* 27/2800 (pow x 4))
28.0ms
(* 9/40 (pow x 2))
44.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123318
25001315

prune143.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (tan x))
0.3b
(- (sqrt x) (sqrt (tan x)))
0.8b
(- x (sin x))
0.8b
(- x (sin x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity
10×add-log-exp
sqrt-prod
difference-of-squares
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube distribute-lft-out--
sub-neg flip3-- diff-log flip--
tan-quot rem-sqrt-square sqrt-pow1 pow1/2 sqrt-div
Counts
4 → 60
Calls
4 calls:
1.0ms
(sqrt (tan x))
6.0ms
(- (sqrt x) (sqrt (tan x)))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))

series150.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (tan x))
52.0ms
(- (sqrt x) (sqrt (tan x)))
35.0ms
(- x (sin x))
32.0ms
(- x (sin x))

simplify66.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0207389
1566360
21946358
35002353

prune210.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes50.0ms

Accuracy

100% (0.0b remaining)

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

bsearch89.0ms

Steps
ItersRangePoint
10
3.2824798326487284e-15
0.08347146558812443
0.02869830051678616
9
-5.7596417613087905
-6.7357437175194845e-09
-0.026775790768781334

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s1574×body2560valid
1.9s2759×body1280valid
635.0ms1927×body640valid
208.0ms930×body320valid
68.0ms457×body160valid
31.0ms353×body80valid