Details

Time bar (total: 9.9s)

sample425.0ms

Algorithm
intervals
Results
83.0ms41×body2560valid
63.0ms99×body1280valid
17.0ms52×body640valid
7.0ms30×body320valid
3.0ms17×body160valid
1.0ms17×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.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:
11.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series174.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune214.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
0.0b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
2.2b
(- x (tan x))
2.2b
(- x (sin x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
134×add-sqr-sqrt *-un-lft-identity
100×times-frac
68×cbrt-prod
62×unpow-prod-down cube-prod
50×add-cube-cbrt
42×distribute-lft-out-- difference-of-squares
associate-/r/ add-log-exp
add-exp-log add-cbrt-cube
flip3-- flip--
pow1
div-inv
pow-unpow
cube-div cube-mult sub-neg diff-log unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp cbrt-div pow-pow pow1/3 div-exp rem-cbrt-cube
Counts
4 → 188
Calls
4 calls:
14.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
13.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
2.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series249.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
89.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
47.0ms
(- x (tan x))
35.0ms
(- x (sin x))

simplify84.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07362195
130512083
250012069

prune312.0ms

Filtered
200 candidates to 87 candidates (43.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (/ (- x (sin x)) (- x (tan x))) 3) 3)
0.0b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
2.2b
(- x (tan x))
2.2b
(- x (sin x))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt *-un-lft-identity
161×unpow-prod-down cube-prod
150×times-frac
74×add-cube-cbrt
62×distribute-lft-out-- difference-of-squares
12×associate-/r/
11×add-exp-log
flip3-- pow-exp add-cbrt-cube flip-- add-log-exp
pow-unpow div-inv
pow1
cube-mult unpow3 sqr-pow
cube-div pow-to-exp rem-cube-cbrt
sub-neg pow-pow diff-log div-exp
cbrt-undiv
Counts
4 → 267
Calls
4 calls:
31.0ms
(pow (pow (/ (- x (sin x)) (- x (tan x))) 3) 3)
13.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
2.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series284.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(pow (pow (/ (- x (sin x)) (- x (tan x))) 3) 3)
92.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
54.0ms
(- x (tan x))
30.0ms
(- x (sin x))

simplify57.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010153577
150023343

prune432.0ms

Filtered
279 candidates to 95 candidates (34.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
2.1b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.2b
(- x (tan x))
2.2b
(- x (tan x))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
51.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))

series342.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (sin x) (- x (tan x)))
183.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
49.0ms
(- x (tan x))
54.0ms
(- x (tan x))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune258.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.1b

regimes83.0ms

Accuracy

100% (0.0b remaining)

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

bsearch73.0ms

Steps
ItersRangePoint
10
9.558161037350472e-13
0.8818080259852756
0.027208711435501284
5
-0.041603525395973645
-0.015510049556855336
-0.028868508597387585

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03423
13423

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s1588×body2560valid
1.9s2762×body1280valid
629.0ms1826×body640valid
209.0ms945×body320valid
76.0ms509×body160valid
32.0ms370×body80valid