Details

Time bar (total: 9.2s)

sample471.0ms

Algorithm
intervals
Results
148.0ms61×body2560valid
48.0ms83×body1280valid
18.0ms66×body640valid
4.0ms23×body320valid
1.0ms11×body160valid
1.0ms12×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.6b

Counts
2 → 1

localize12.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))

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

series175.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune181.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5

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

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

series185.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (* 27/2800 (pow x 4)) 1/2)
35.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
43.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0316413
11299382
25002377

prune152.0ms

Filtered
89 candidates to 56 candidates (62.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh044
Picked011
Done000
Total89594

Merged error: 0.0b

Counts
94 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.0b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.3b
(- x (tan x))
1.3b
(- x (tan x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
27.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series329.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (sin x) (- x (tan x)))
173.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
48.0ms
(- x (tan x))
52.0ms
(- x (tan x))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune210.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh123
Picked011
Done011
Total1065111

Merged error: 0.0b

Counts
111 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x (tan x)))
0.1b
(* (- x (sin x)) (/ 1 (- x (tan x))))
1.3b
(- x (tan x))
1.3b
(- x (sin x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
45×*-un-lft-identity
32×times-frac
24×add-cube-cbrt
21×associate-*r*
17×add-exp-log
11×add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
flip3-- flip--
associate-*l* associate-/r*
div-exp prod-exp associate-/r/
associate-/l* unswap-sqr
cbrt-undiv frac-times sub-neg rec-exp diff-log 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 119
Calls
4 calls:
5.0ms
(/ 1 (- x (tan x)))
13.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
6.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series210.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ 1 (- x (tan x)))
78.0ms
(* (- x (sin x)) (/ 1 (- x (tan x))))
54.0ms
(- x (tan x))
30.0ms
(- x (sin x))

simplify62.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0462906
12072813
25002771

prune199.0ms

Filtered
131 candidates to 82 candidates (62.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh022
Picked011
Done022
Total1315136

Merged error: 0.0b

Counts
136 → 5

regimes37.0ms

Accuracy

100% (0.0b remaining)

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

bsearch74.0ms

Steps
ItersRangePoint
8
6.042829624826513e-05
0.09081442282169057
0.027426138134751147
8
-6.238959787773506
-0.00010711273713490883
-0.02830752052435383

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03946
13946

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.9s1558×body2560valid
1.6s2785×body1280valid
489.0ms1878×body640valid
164.0ms939×body320valid
58.0ms477×body160valid
27.0ms363×body80valid

Profiling

Loading profile data...