Details

Time bar (total: 9.0s)

sample434.0ms

Algorithm
intervals
Results
188.0ms13×body80valid
164.0ms57×body2560valid
44.0ms79×body1280valid
18.0ms67×body640valid
4.0ms25×body320valid
2.0ms15×body160valid

simplify383.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series40.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
12.0ms
(- x (tan x))
14.0ms
(- x (sin x))

simplify146.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune102.0ms

Filtered
63 candidates to 89 candidates (-41.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.1b

Counts
90 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.4b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.5b
(- x (tan x))
1.5b
(- x (tan x))

rewrite45.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)))
29.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series65.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (sin x) (- x (tan x)))
31.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify39.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205870
25001870

prune96.0ms

Filtered
80 candidates to 106 candidates (-32.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1042106
Fresh123
Picked011
Done000
Total1055110

Merged error: 0.1b

Counts
110 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (tan x)) (- x (sin x)))
0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))
1.5b
(- x (tan x))
1.5b
(- x (sin x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
200×add-sqr-sqrt *-un-lft-identity
92×add-cube-cbrt
54×distribute-lft-out-- difference-of-squares
36×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-- div-exp flip-- associate-/l* add-log-exp
div-inv
pow1
cbrt-undiv
sub-neg rec-exp frac-2neg diff-log 1-exp clear-num associate-/l/
pow-flip div-sub inv-pow
Counts
4 → 228
Calls
4 calls:
7.0ms
(/ (- x (tan x)) (- x (sin x)))
14.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series41.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- x (tan x)) (- x (sin x)))
13.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
10.0ms
(- x (tan x))
5.0ms
(- x (sin x))

simplify87.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07442645
134452437
250012275

prune128.0ms

Filtered
116 candidates to 240 candidates (-106.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2400240
Fresh033
Picked011
Done011
Total2405245

Merged error: 0.1b

Counts
245 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

1.5b
(- x (tan x))
1.5b
(- x (tan x))
1.5b
(- x (tan x))
1.5b
(- (/ x (cbrt (- x (tan x)))) (/ (sin x) (cbrt (- x (tan x)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
46×*-un-lft-identity
32×times-frac
20×cbrt-prod
18×distribute-lft-out--
14×difference-of-squares
12×add-log-exp
add-cube-cbrt
flip3-- flip--
pow1 add-exp-log sub-neg cbrt-div diff-log associate-/r/ add-cbrt-cube
distribute-rgt-out--
div-inv
frac-sub sub-div
Counts
4 → 79
Calls
4 calls:
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
47.0ms
(- (/ x (cbrt (- x (tan x)))) (/ (sin x) (cbrt (- x (tan x)))))

series111.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
81.0ms
(- (/ x (cbrt (- x (tan x)))) (/ (sin x) (cbrt (- x (tan x)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
04551011
11275962
25001932

prune105.0ms

Filtered
73 candidates to 91 candidates (-24.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New89291
Fresh022
Picked101
Done022
Total90696

Merged error: 0.1b

Counts
96 → 6

regimes57.0ms

Accuracy

100% (0.0b remaining)

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

bsearch27.0ms

Steps
ItersRangePoint
9
1.7854326419021657e-07
0.0364262917160445
0.02763755422512782
4
-0.030191044061917315
-0.017383324682467557
-0.028189837908878294

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03320
13320

end0.0ms

sample6.8s

Algorithm
intervals
Results
4.2s1676×body2560valid
1.7s2809×body1280valid
485.0ms1795×body640valid
156.0ms894×body320valid
59.0ms481×body160valid
25.0ms345×body80valid

Profiling

Loading profile data...