Details

Time bar (total: 8.9s)

sample485.0ms

Algorithm
intervals
Results
139.0ms62×body2560valid
54.0ms77×body1280valid
15.0ms55×body640valid
4.0ms25×body320valid
3.0ms19×body80valid
2.0ms18×body160valid

simplify12.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.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series176.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (- x (sin x)) (- x (tan x)))
37.0ms
(- x (sin x))
61.0ms
(- x (tan x))

simplify155.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune182.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 9/40 (pow x 2))
5.0ms
(* 27/2800 (pow x 4))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series110.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(* 9/40 (pow x 2))
40.0ms
(* 27/2800 (pow x 4))
45.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123318
25002315

prune128.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New74175
Fresh033
Picked101
Done000
Total75479

Merged error: 0b

Counts
79 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 9/40 (pow x 2))
0.1b
(* 27/2800 (pow x 4))
14.1b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- diff-log flip--
Counts
3 → 64
Calls
3 calls:
5.0ms
(* 9/40 (pow x 2))
5.0ms
(* 27/2800 (pow x 4))
4.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series171.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 9/40 (pow x 2))
36.0ms
(* 27/2800 (pow x 4))
110.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify48.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0249310
11003281
25002275

prune120.0ms

Filtered
73 candidates to 45 candidates (61.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done000
Total73477

Merged error: 0b

Counts
77 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

1.6b
(- x (sin x))
1.6b
(- x (tan x))
1.6b
(- x (tan x))
1.6b
(- x (tan x))

rewrite19.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:
4.0ms
(- x (sin x))
7.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series193.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- x (sin x))
50.0ms
(- x (tan x))
56.0ms
(- x (tan x))
51.0ms
(- x (tan x))

simplify69.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0150319
1342299
2774299
32023299
45001299

prune189.0ms

Filtered
68 candidates to 51 candidates (75.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh022
Picked011
Done011
Total68472

Merged error: 0b

Counts
72 → 4

regimes30.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
9
0.006602375602419948
2408.9151023461654
0.03184416870118442
10
-7888799.454350161
-0.0014566459989916651
-0.028761646689302346

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03529
13529

end0.0ms

sample6.6s

Algorithm
intervals
Results
4.1s1635×body2560valid
1.6s2712×body1280valid
507.0ms1897×body640valid
164.0ms922×body320valid
60.0ms494×body160valid
25.0ms340×body80valid

Profiling

Loading profile data...