Details

Time bar (total: 8.6s)

sample520.0ms

Algorithm
intervals
Results
135.0ms58×body2560valid
58.0ms91×body1280valid
12.0ms49×body640valid
5.0ms31×body320valid
2.0ms15×body160valid
1.0ms12×body80valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune5.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.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.4b
(- x (tan x))
1.5b
(- x (sin x))

rewrite21.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 (tan x))
6.0ms
(- x (sin x))

series179.0ms

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

simplify156.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune167.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh000
Picked011
Done000
Total88290

Merged error: 0.0b

Counts
90 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series196.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0316412
11299379
25002374

prune150.0ms

Filtered
89 candidates to 56 candidates (62.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh000
Picked101
Done011
Total89291

Merged error: 0b

Counts
91 → 2

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.1b
(* 9/40 (pow x 2))
13.6b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

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

series225.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2)
43.0ms
(* 27/2800 (pow x 4))
26.0ms
(* 9/40 (pow x 2))
111.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0308474
11219442
25001431

prune155.0ms

Filtered
94 candidates to 59 candidates (62.8%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh000
Picked011
Done011
Total94296

Merged error: 0b

Counts
96 → 2

regimes43.0ms

Accuracy

100% (0.0b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
9
0.004314681149180372
39972.03059165128
0.02515968471535556
9
-2.6022242175013632
-1.4174312616962401e-08
-0.029786027982061425

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample6.5s

Algorithm
intervals
Results
4.0s1614×body2560valid
1.7s2786×body1280valid
443.0ms1815×body640valid
150.0ms922×body320valid
60.0ms514×body160valid
31.0ms349×body80valid

Profiling

Loading profile data...