Details

Time bar (total: 10.1s)

sample464.0ms

Algorithm
intervals
Results
127.0ms48×body2560valid
51.0ms86×body1280valid
17.0ms64×body640valid
6.0ms36×body320valid
3.0ms14×body80valid
1.0msbody160valid

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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.6b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.9b
(- x (sin x))
1.1b
(- x (tan x))

rewrite36.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)))
4.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series177.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0360718
11133685
24726685
35003685

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

Counts
90 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×*-un-lft-identity
15×associate-*r*
13×add-exp-log
11×associate-*l* unswap-sqr
add-cube-cbrt unpow-prod-down
add-log-exp
pow1 add-cbrt-cube
prod-exp distribute-lft-out--
difference-of-squares sqr-pow
distribute-lft-out
unpow2
pow-to-exp diff-log pow-prod-down pow-exp *-commutative cbrt-unprod associate--r+
+-commutative sub-neg flip3-- sum-log flip--
Counts
3 → 80
Calls
3 calls:
6.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
25.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series110.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
28.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0293472
11125437
25002436

prune127.0ms

Filtered
89 candidates to 50 candidates (43.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh033
Picked011
Done000
Total88593

Merged error: 0.0b

Counts
93 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
0.9b
(log (exp (* 27/2800 (pow x 4))))
14.8b
(- (* 9/40 (pow x 2)) (+ (log (exp (* 27/2800 (pow x 4)))) 1/2))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
30×*-un-lft-identity
22×associate-*r* log-pow
18×exp-prod
16×add-cube-cbrt
15×add-exp-log
14×unswap-sqr
13×unpow-prod-down
12×associate-*l* add-log-exp
11×pow1
add-cbrt-cube
sqr-pow
log-prod prod-exp distribute-lft-out--
associate--r+ difference-of-squares
distribute-lft-out
associate-+l+ diff-log *-commutative unpow2
pow-to-exp rem-log-exp pow-prod-down pow-exp sum-log cbrt-unprod
+-commutative sub-neg flip3-- exp-to-pow flip--
Counts
4 → 116
Calls
4 calls:
6.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
8.0ms
(log (exp (* 27/2800 (pow x 4))))
26.0ms
(- (* 9/40 (pow x 2)) (+ (log (exp (* 27/2800 (pow x 4)))) 1/2))

series146.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* 27/2800 (pow x 4))
24.0ms
(* 9/40 (pow x 2))
39.0ms
(log (exp (* 27/2800 (pow x 4))))
45.0ms
(- (* 9/40 (pow x 2)) (+ (log (exp (* 27/2800 (pow x 4)))) 1/2))

simplify47.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0381670
11331604
25001599

prune213.0ms

Filtered
128 candidates to 76 candidates (40.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1271128
Fresh033
Picked101
Done011
Total1285133

Merged error: 0.0b

Counts
133 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 9/40 (pow x 2))
0.9b
(log (sqrt (exp (* 27/2800 (pow x 4)))))
0.9b
(log (sqrt (exp (* 27/2800 (pow x 4)))))
14.8b
(- (* 9/40 (pow x 2)) (log (sqrt (exp (* 27/2800 (pow x 4))))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
46×log-pow
40×sqrt-pow1
36×exp-prod
27×*-un-lft-identity
22×associate-*r*
21×add-cube-cbrt
18×log-prod
14×unswap-sqr
13×unpow-prod-down
12×pow1
11×add-exp-log associate-*l*
sqrt-prod add-log-exp
sqr-pow
add-cbrt-cube associate--r+
difference-of-squares
distribute-lft-out--
prod-exp *-commutative unpow2
exp-to-pow pow1/2 diff-log rem-log-exp
pow-to-exp sub-neg flip3-- pow-prod-down pow-exp flip-- cbrt-unprod
Counts
4 → 128
Calls
4 calls:
6.0ms
(* 9/40 (pow x 2))
8.0ms
(log (sqrt (exp (* 27/2800 (pow x 4)))))
7.0ms
(log (sqrt (exp (* 27/2800 (pow x 4)))))
35.0ms
(- (* 9/40 (pow x 2)) (log (sqrt (exp (* 27/2800 (pow x 4))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
29.0ms
(* 9/40 (pow x 2))
434.0ms
(log (sqrt (exp (* 27/2800 (pow x 4)))))
436.0ms
(log (sqrt (exp (* 27/2800 (pow x 4)))))
493.0ms
(- (* 9/40 (pow x 2)) (log (sqrt (exp (* 27/2800 (pow x 4))))))

simplify151.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0320847
1960795
23766791
35001791

prune319.0ms

Filtered
140 candidates to 90 candidates (35.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh033
Picked011
Done011
Total1405145

Merged error: 0.0b

Counts
145 → 5

regimes38.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
9
0.0004381094517774334
96283.49646244562
2.5070089716143773
6
-0.04448272872103196
-0.010589856477353462
-0.030040886285671604

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05446
15446

end0.0ms

sample6.2s

Algorithm
intervals
Results
3.8s1602×body2560valid
1.5s2716×body1280valid
485.0ms1933×body640valid
145.0ms918×body320valid
56.0ms489×body160valid
24.0ms342×body80valid