Details

Time bar (total: 11.2s)

analyze1.4s

Algorithm
search

sample264.0ms

Algorithm
intervals
Results
180.0ms60×body2560valid
48.0ms78×body1280valid
16.0ms58×body640valid
6.0ms36×body320valid
1.0ms10×body160valid
1.0ms14×body80valid

simplify364.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.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

series54.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune99.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.6b
(- x (tan x))
0.6b
(- x (tan x))
0.6b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

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

series64.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205870
25001870

prune102.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1042106
Fresh134
Picked101
Done000
Total1065111

Merged error: 0.0b

Counts
111 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(- x (tan x))
0.6b
(- x (tan x))
0.6b
(- x (tan x))
0.6b
(- x (tan x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series41.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- x (tan x))
12.0ms
(- x (tan x))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify150.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
091324
1200300
2471300
31247300
44646300
55001300

prune108.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New67168
Fresh044
Picked101
Done000
Total68573

Merged error: 0.0b

Counts
73 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(- x (tan x))
0.6b
(- x (tan x))
0.6b
(- x (tan x))
19.4b
(cbrt (pow (- x (tan x)) 3))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt *-un-lft-identity
16×cbrt-prod
10×add-log-exp
add-cube-cbrt
unpow-prod-down cube-prod distribute-lft-out-- difference-of-squares
pow1 add-exp-log flip3-- add-cbrt-cube flip--
sub-neg diff-log
cube-div cbrt-div
cube-mult pow1/3 unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 69
Calls
4 calls:
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
5.0ms
(cbrt (pow (- x (tan x)) 3))

series45.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
13.0ms
(- x (tan x))
13.0ms
(cbrt (pow (- x (tan x)) 3))

simplify72.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0197388
1633384
22640384
35001384

prune122.0ms

Filtered
57 candidates to 81 candidates (-42.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh044
Picked011
Done000
Total81586

Merged error: 0.0b

Counts
86 → 5

regimes52.0ms

Accuracy

100% (0.0b remaining)

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

bsearch67.0ms

Steps
ItersRangePoint
10
0.0007850718273631208
2073286156531.5361
0.027197129200701557
10
-0.09416730758448506
-2.243970907700007e-16
-0.030002111992194755

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04440
14440

end0.0ms

analyze1.1s

Algorithm
search

sample6.8s

Algorithm
intervals
Results
4.2s1633×body2560valid
1.7s2705×body1280valid
521.0ms1916×body640valid
174.0ms938×body320valid
61.0ms455×body160valid
27.0ms353×body80valid

Profiling

Loading profile data...