Details

Time bar (total: 8.4s)

sample493.0ms

Algorithm
intervals
Results
147.0ms52×body2560valid
61.0ms89×body1280valid
15.0ms62×body640valid
4.0ms25×body320valid
2.0ms17×body160valid
1.0ms11×body80valid

simplify11.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
sub-neg associate-/r/ associate-/l/
frac-2neg div-sub clear-num div-inv
Counts
3 → 16
Calls
3 calls:
4.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series189.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0219172
1719167
22394167
35001167

prune82.0ms

Filtered
25 candidates to 19 candidates (76.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New21425
Fresh000
Picked101
Done000
Total22426

Merged error: 0.0b

Counts
26 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
15.8b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
2 → 2
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)))

series129.0ms

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

simplify200.0ms

Algorithm
egg-herbie
Counts
8 → 8
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02825
18725
224525
379925
4407925
5500125

prune20.0ms

Filtered
8 candidates to 2 candidates (25.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New808
Fresh033
Picked011
Done000
Total8412

Merged error: 0.0b

Counts
12 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-/r/
13×flip3-- flip--
10×div-inv
frac-2neg prod-diff frac-sub
clear-num
sub-neg distribute-rgt-out-- fma-neg
sub-div
Counts
4 → 43
Calls
4 calls:
4.0ms
(/ (sin x) (- x (tan x)))
8.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))

series345.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0409822
11493708
25001637

prune128.0ms

Filtered
55 candidates to 39 candidates (70.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New54155
Fresh112
Picked011
Done011
Total55459

Merged error: 0.0b

Counts
59 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

1.9b
(- x (tan x))
1.9b
(- x (tan x))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg flip3-- flip--
Counts
4 → 16
Calls
4 calls:
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))
3.0ms
(- x (tan x))
2.0ms
(- x (tan x))

series210.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- x (tan x))
49.0ms
(- x (tan x))
55.0ms
(- x (tan x))
50.0ms
(- x (tan x))

simplify135.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
075152
1170144
2428144
31134144
44140144
55001144

prune76.0ms

Filtered
28 candidates to 20 candidates (71.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New28028
Fresh011
Picked011
Done022
Total28432

Merged error: 0.0b

Counts
32 → 4

regimes35.0ms

Accuracy

100% (0.0b remaining)

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

bsearch68.0ms

Steps
ItersRangePoint
9
2.5653698016906928e-06
357.20278190505735
0.02550642089016014
7
-0.6319501064166059
-0.005814372128176944
-0.027158292991570857

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03129
13529
23729
33729

end0.0ms

sample6.1s

Algorithm
intervals
Results
3.6s1573×body2560valid
1.6s2832×body1280valid
469.0ms1870×body640valid
146.0ms926×body320valid
59.0ms471×body160valid
22.0ms328×body80valid