Details

Time bar (total: 8.8s)

sample469.0ms

Algorithm
intervals
Results
124.0ms53×body2560valid
61.0ms87×body1280valid
15.0ms54×body640valid
8.0ms36×body320valid
2.0ms17×body160valid
1.0msbody80valid

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

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series179.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune173.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87289
Fresh000
Picked011
Done000
Total87390

Merged error: 0.0b

Counts
90 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
10.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))

series111.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273349
11123318
25001315

prune123.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh011
Picked101
Done011
Total75378

Merged error: 0b

Counts
78 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2)
0.1b
(* 27/2800 (pow x 4))
0.3b
(* 9/40 (pow x 2))
16.8b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
sub-neg
pow-to-exp flip3-- pow-exp associate--l+ *-commutative flip-- cbrt-unprod unpow2
associate--l- distribute-lft-out-- difference-of-squares
Counts
4 → 82
Calls
4 calls:
7.0ms
(- (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2)
5.0ms
(* 27/2800 (pow x 4))
5.0ms
(* 9/40 (pow x 2))
4.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2)
36.0ms
(* 27/2800 (pow x 4))
31.0ms
(* 9/40 (pow x 2))
106.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0308480
11219449
25001437

prune152.0ms

Filtered
94 candidates to 59 candidates (62.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done011
Total94397

Merged error: 0b

Counts
97 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
1.3b
(- (* x x) (* (tan x) (tan x)))
1.3b
(- x (sin x))
16.0b
(/ (- x (sin x)) (- (* x x) (* (tan x) (tan x))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
31×*-un-lft-identity
20×times-frac
19×add-cube-cbrt
13×difference-of-squares
11×pow1
add-exp-log add-cbrt-cube add-log-exp
distribute-lft-out--
associate-/l*
tan-quot flip3-- associate-/r* flip--
swap-sqr associate-*r* associate-*l*
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv pow2 frac-times frac-2neg pow-plus div-sub associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 101
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
3.0ms
(- (* x x) (* (tan x) (tan x)))
4.0ms
(- x (sin x))
9.0ms
(/ (- x (sin x)) (- (* x x) (* (tan x) (tan x))))

series249.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
87.0ms
(- (* x x) (* (tan x) (tan x)))
32.0ms
(- x (sin x))
98.0ms
(/ (- x (sin x)) (- (* x x) (* (tan x) (tan x))))

simplify56.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0437985
11743918
25001910

prune218.0ms

Filtered
113 candidates to 79 candidates (69.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done022
Total1133116

Merged error: 0b

Counts
116 → 3

regimes52.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
10
0.005370866090842012
4.21737757242384e+15
0.030633531225492793
10
-3.4402871636077537
-5.738045557766166e-18
-0.028549322719814054

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.8s1592×body2560valid
1.6s2767×body1280valid
493.0ms1847×body640valid
165.0ms957×body320valid
59.0ms471×body160valid
28.0ms366×body80valid