Details

Time bar (total: 9.2s)

sample472.0ms

Algorithm
intervals
Results
131.0ms64×body2560valid
49.0ms91×body1280valid
13.0ms50×body640valid
5.0ms26×body320valid
2.0ms15×body160valid
1.0ms10×body80valid

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: 33.5b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

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

series178.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune212.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New86389
Fresh000
Picked011
Done000
Total86490

Merged error: 0.1b

Counts
90 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
16.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
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series109.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
29.0ms
(* 9/40 (pow x 2))
44.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 (37.0ms)

IterNodesCost
0273349
11123318
25001315

prune151.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh022
Picked011
Done011
Total74579

Merged error: 0.1b

Counts
79 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-- add-cbrt-cube flip--
cbrt-prod sub-neg sum-log associate--r+
cbrt-div
pow1/3
Counts
4 → 55
Calls
4 calls:
7.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series277.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
43.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify104.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0223719
1715659
23152657
35001657

prune195.0ms

Filtered
67 candidates to 48 candidates (71.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New66167
Fresh022
Picked101
Done022
Total67572

Merged error: 0.1b

Counts
72 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
17.9b
(cbrt (* (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))) (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-div
19×add-log-exp
flip3-- flip--
diff-log
pow1 add-exp-log add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-cbrt-cube
sub-neg sum-log associate--r+
associate-*r/ associate-*l/
cbrt-prod pow1/3
Counts
4 → 59
Calls
4 calls:
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
16.0ms
(cbrt (* (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))) (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))))

series294.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
43.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
49.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
153.0ms
(cbrt (* (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))) (cbrt (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)))))

simplify104.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
02491088
17371010
231171008
350021008

prune235.0ms

Filtered
71 candidates to 49 candidates (69.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh022
Picked011
Done022
Total71576

Merged error: 0.1b

Counts
76 → 5

regimes67.0ms

Accuracy

100% (0.0b remaining)

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

bsearch67.0ms

Steps
ItersRangePoint
6
0.018000635171863108
0.09117784756913819
0.027293184248221757
10
-1421.6155834850151
-1.485944467815708e-07
-0.026678702825547893

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.9s1643×body2560valid
1.5s2762×body1280valid
468.0ms1826×body640valid
157.0ms912×body320valid
63.0ms483×body160valid
27.0ms374×body80valid