Details

Time bar (total: 8.7s)

sample1.5s

Algorithm
intervals
Results
53.0ms96×body1280valid
49.0ms21×body2560valid
33.0ms72×body640valid
6.0ms36×body320valid
2.0ms16×body160valid
1.0ms15×body80valid

simplify268.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.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: 15.2b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

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

series39.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
12.0ms
(- x (tan x))
14.0ms
(- x (sin x))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune107.0ms

Filtered
89 candidates to 63 candidates (29.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
0.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.4b
(- x (tan x))
0.4b
(- x (tan x))

rewrite46.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)))
30.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series65.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/ (sin x) (- x (tan x)))
33.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0376909
11205870
25001870

prune101.0ms

Filtered
106 candidates to 80 candidates (24.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1042106
Fresh224
Picked101
Done000
Total1074111

Merged error: 0.0b

Counts
111 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
0.3b
(* (sin x) (/ 1 (- x (tan x))))
0.4b
(- x (tan x))
0.4b
(- x (tan x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
25×*-un-lft-identity
21×associate-*r*
17×times-frac
14×add-cube-cbrt
13×add-exp-log
10×add-log-exp
add-cbrt-cube
pow1
distribute-lft-out-- difference-of-squares
flip3-- prod-exp flip--
sub-neg diff-log associate-*r/ associate-*l* un-div-inv unswap-sqr
div-exp associate-/r/ frac-sub cbrt-unprod div-inv sub-div
cbrt-undiv rec-exp distribute-rgt-out-- 1-exp pow-prod-down *-commutative
Counts
4 → 89
Calls
4 calls:
10.0ms
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
11.0ms
(* (sin x) (/ 1 (- x (tan x))))
3.0ms
(- x (tan x))
4.0ms
(- x (tan x))

series64.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
11.0ms
(* (sin x) (/ 1 (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0443763
11847693
25001667

prune101.0ms

Filtered
101 candidates to 72 candidates (28.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh033
Picked011
Done000
Total1005105

Merged error: 0.0b

Counts
105 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
0.3b
(* (sin x) (/ 1 (- x (tan x))))
0.4b
(- x (tan x))
0.4b
(- x (tan x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
25×*-un-lft-identity
21×associate-*r*
17×times-frac
14×add-cube-cbrt
13×add-exp-log
10×add-log-exp
add-cbrt-cube
pow1
distribute-lft-out-- difference-of-squares
flip3-- prod-exp flip--
sub-neg diff-log associate-*r/ associate-*l* un-div-inv unswap-sqr
div-exp associate-/r/ frac-sub cbrt-unprod div-inv sub-div
cbrt-undiv rec-exp distribute-rgt-out-- 1-exp pow-prod-down *-commutative
Counts
4 → 89
Calls
4 calls:
10.0ms
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
11.0ms
(* (sin x) (/ 1 (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series64.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ x (- x (tan x))) (* (sin x) (/ 1 (- x (tan x)))))
14.0ms
(* (sin x) (/ 1 (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0443763
11847693
25001667

prune124.0ms

Filtered
101 candidates to 73 candidates (27.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh033
Picked011
Done011
Total1015106

Merged error: 0.0b

Counts
106 → 5

regimes49.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
7
0.012859339055769341
0.3555464171021314
0.03266468412777142
15
-5.198581744599781
1.0450147493914085e-304
-0.03802303523574156

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03836
13836

end0.0ms

sample5.7s

Algorithm
intervals
Results
2.2s839×body2560valid
1.4s2853×body1280valid
523.0ms2148×body640valid
182.0ms1096×body320valid
77.0ms597×body160valid
34.0ms467×body80valid

Profiling

Loading profile data...