Details

Time bar (total: 6.4s)

sample369.0ms

Algorithm
intervals
Results
241.0ms98×body1280valid
75.0ms27×body2560valid
16.0ms64×body640valid
8.0ms36×body320valid
2.0ms20×body160valid
1.0ms11×body80valid

simplify280.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.1b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.1b
(- x (tan x))
0.1b
(- 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))

series37.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune88.0ms

Filtered
89 candidates to 63 candidates (29.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.1b

Counts
90 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))
0.0b
(/ (- x (tan x)) (- x (sin x)))
0.1b
(- x (tan x))
0.1b
(- 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:
11.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
7.0ms
(/ (- x (tan x)) (- x (sin x)))
3.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series39.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07442645
134452437
250012274

prune131.0ms

Filtered
240 candidates to 116 candidates (51.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2391240
Fresh123
Picked101
Done000
Total2413244

Merged error: 0.1b

Counts
244 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
0.1b
(- x (sin x))
0.1b
(- x (sin x))
0.2b
(/ (tan x) (- x (sin x)))

rewrite40.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*
tan-quot cbrt-undiv frac-2neg div-exp clear-num frac-sub associate-/l/ sub-div
Counts
4 → 95
Calls
4 calls:
24.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))
6.0ms
(/ (tan x) (- x (sin x)))

series44.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0359902
11107860
24250855
35003855

prune102.0ms

Filtered
107 candidates to 80 candidates (25.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh022
Picked101
Done000
Total1064110

Merged error: 0.0b

Counts
110 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (tan x) (- x (sin x))) (/ (tan x) (- x (sin x))))
0.2b
(/ (tan x) (- x (sin x)))
0.2b
(/ (tan x) (- x (sin x)))
0.2b
(/ (tan x) (- x (sin x)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
140×*-un-lft-identity
134×add-sqr-sqrt
121×times-frac
74×add-cube-cbrt
30×distribute-lft-out--
27×swap-sqr
24×difference-of-squares
22×add-exp-log add-cbrt-cube
21×associate-*r* associate-*l*
15×associate-/r*
14×associate-/r/
11×pow1
associate-/l*
cbrt-undiv flip3-- div-exp flip-- div-inv
prod-exp cbrt-unprod add-log-exp unswap-sqr
tan-quot frac-2neg clear-num associate-/l/
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 211
Calls
4 calls:
21.0ms
(* (/ (tan x) (- x (sin x))) (/ (tan x) (- x (sin x))))
6.0ms
(/ (tan x) (- x (sin x)))
6.0ms
(/ (tan x) (- x (sin x)))
6.0ms
(/ (tan x) (- x (sin x)))

series45.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06062421
130432207
250012136

prune185.0ms

Filtered
223 candidates to 155 candidates (30.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2212223
Fresh033
Picked101
Done000
Total2225227

Merged error: 0.0b

Counts
227 → 5

regimes53.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch108.0ms

Steps
ItersRangePoint
11
9.244429547692074e-24
0.06968268467981475
0.03063986986674429
15
-163.36048396326007
3.867226923396042e-305
-0.03379767516090271

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04543
14543

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.8s772×body2560valid
1.4s2904×body1280valid
535.0ms2184×body640valid
184.0ms1076×body320valid
72.0ms579×body160valid
35.0ms485×body80valid

Profiling

Loading profile data...