Details

Time bar (total: 10.1s)

sample477.0ms

Algorithm
intervals
Results
150.0ms46×body2560valid
48.0ms89×body1280valid
18.0ms63×body640valid
4.0ms25×body320valid
2.0ms16×body160valid
1.0ms17×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.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 (sin x))
6.0ms
(- x (tan x))

series172.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (- x (sin x)) (- x (tan x)))
36.0ms
(- x (sin x))
61.0ms
(- x (tan x))

simplify56.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune234.0ms

Filtered
119 candidates to 79 candidates (66.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.1b
(- x (tan x))
1.1b
(- x (tan x))

rewrite105.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*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
10.0ms
(/ (sin x) (- x (tan x)))
37.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
4.0ms
(- x (tan x))
4.0ms
(- x (tan x))

series337.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (sin x) (- x (tan x)))
170.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
51.0ms
(- x (tan x))
56.0ms
(- x (tan x))

simplify205.0ms

Algorithm
egg-herbie
Counts
600 → 600
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0135922035
1388315840
2500115776

prune984.0ms

Filtered
600 candidates to 256 candidates (42.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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 (sin x))
4.0ms
(- x (tan x))

series156.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(/ (- x (sin x)) (- x (tan x)))
35.0ms
(- x (sin x))
49.0ms
(- x (tan x))

simplify59.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune217.0ms

Filtered
119 candidates to 77 candidates (64.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 27/2800 (pow x 4) 1/2)
18.8b
(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)))

series130.0ms

Counts
2 → 6
Calls
2 calls:
82.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

prune67.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
10
9.598072339636849e-08
814.2255113159289
0.028993276489121412
11
-402.67606408878214
-1.1015269942960052e-19
-0.030685173958992108

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample6.5s

Algorithm
intervals
Results
4.1s1667×body2560valid
1.6s2669×body1280valid
483.0ms1896×body640valid
151.0ms929×body320valid
56.0ms467×body160valid
28.0ms372×body80valid