Details

Time bar (total: 8.5s)

sample447.0ms

Algorithm
intervals
Results
364.0ms55×body2560valid
42.0ms86×body1280valid
19.0ms63×body640valid
5.0ms29×body320valid
2.0ms13×body160valid
1.0ms10×body80valid

simplify420.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0199
1199

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.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:
18.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:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(- x (tan x))
13.0ms
(- x (sin x))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051961147

prune103.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New85489
Fresh000
Picked011
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow x 4) -27/2800)
0.1b
(* x (* x 9/40))
0.1b
(* x 9/40)
15.6b
(+ (* x (* x 9/40)) (+ (* (pow x 4) -27/2800) -1/2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×associate-*l* add-cbrt-cube
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down unswap-sqr
sum-log *-commutative
sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls
4 calls:
4.0ms
(* (pow x 4) -27/2800)
4.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
8.0ms
(+ (* x (* x 9/40)) (+ (* (pow x 4) -27/2800) -1/2))

series14.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) -27/2800)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
5.0ms
(+ (* x (* x 9/40)) (+ (* (pow x 4) -27/2800) -1/2))

simplify54.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04967650
14967650

prune104.0ms

Filtered
53 candidates to 86 candidates (-62.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done011
Total86591

Merged error: 0.0b

Counts
91 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

2.2b
(- x (tan x))
2.2b
(- x (sin x))
2.2b
(- x (sin x))
2.2b
(- x (sin 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 (sin x))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))

series25.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- x (tan x))
5.0ms
(- x (sin x))
4.0ms
(- x (sin x))
6.0ms
(- x (sin x))

simplify29.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
04960510
14960510

prune77.0ms

Filtered
49 candidates to 68 candidates (-38.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New67168
Fresh022
Picked011
Done022
Total67673

Merged error: 0.0b

Counts
73 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

2.2b
(- x (tan x))
2.2b
(- x (tan x))
2.2b
(- x (tan x))
2.2b
(- x (sin 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 (sin x))

series35.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
04960522
14960522

prune64.0ms

Filtered
51 candidates to 68 candidates (-33.3%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New68068
Fresh022
Picked011
Done033
Total68674

Merged error: 0.0b

Counts
74 → 6

regimes100.0ms

Accuracy

100% (0.0b remaining)

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

bsearch33.0ms

Steps
ItersRangePoint
7
0.003810670139712195
0.06592465963988953
0.02894577317395436
8
-0.6973264211480649
-0.00018277710226217338
-0.02403313005852227

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03031
13031

end0.0ms

sample6.8s

Algorithm
intervals
Results
4.2s1631×body2560valid
1.7s2785×body1280valid
489.0ms1806×body640valid
180.0ms965×body320valid
57.0ms459×body160valid
27.0ms354×body80valid

Profiling

Loading profile data...