Details

Time bar (total: 8.5s)

sample235.0ms

Algorithm
intervals
Results
161.0ms108×body2560valid
49.0ms74×body1280valid
8.0ms38×body640valid
4.0ms256×pre80true
3.0ms23×body320valid
1.0ms11×body160valid
0.0msbody80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0118
1118

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (tan x))
3.3b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
19×times-frac
12×add-cube-cbrt
distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp difference-of-squares
associate-/r* div-inv associate-/l*
pow1
tan-quot cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num associate-/r/ frac-sub flip--
Counts
2 → 50
Calls
2 calls:
3.0ms
(/ 1.0 (tan x))
13.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series30.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(/ 1.0 (tan x))
20.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05145561

prune91.0ms

Filtered
45 candidates to 56 candidates (-24.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New54256
Fresh000
Picked101
Done000
Total55257

Merged error: 0.4b

Counts
57 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×associate-*r*
12×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
unswap-sqr
associate-*l* prod-exp add-cbrt-cube
cube-prod sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod add-log-exp
cube-mult unpow3
Counts
2 → 56
Calls
2 calls:
5.0ms
(* 0.0021164021164021165 (pow x 5))
6.0ms
(* 0.022222222222222223 (pow x 3))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* 0.0021164021164021165 (pow x 5))
4.0ms
(* 0.022222222222222223 (pow x 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04909393
14909393

prune93.0ms

Filtered
38 candidates to 62 candidates (-63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done000
Total62264

Merged error: 0.4b

Counts
64 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* 1.0 (- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))) (+ (/ 1.0 x) (/ 1.0 (tan x))))
0.1b
(/ 1.0 (* x x))
0.1b
(/ 1.0 (* (tan x) (tan x)))
36.6b
(- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
30×times-frac
22×add-sqr-sqrt
19×add-exp-log add-cbrt-cube
14×add-cube-cbrt
10×associate-/r* distribute-lft-out
div-inv
associate-/l*
cbrt-undiv div-exp associate-/r/ add-log-exp
tan-quot pow1 associate-*r/ difference-of-squares
frac-2neg prod-exp clear-num cbrt-unprod associate-/l/
flip3-- frac-sub flip-- distribute-lft-out--
frac-times sub-neg flip3-+ diff-log associate-*l/ frac-add flip-+
Counts
4 → 101
Calls
4 calls:
26.0ms
(/ (* 1.0 (- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))) (+ (/ 1.0 x) (/ 1.0 (tan x))))
4.0ms
(/ 1.0 (* x x))
6.0ms
(/ 1.0 (* (tan x) (tan x)))
12.0ms
(- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))

series112.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (* 1.0 (- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))) (+ (/ 1.0 x) (/ 1.0 (tan x))))
3.0ms
(/ 1.0 (* x x))
18.0ms
(/ 1.0 (* (tan x) (tan x)))
34.0ms
(- (/ 1.0 (* x x)) (/ 1.0 (* (tan x) (tan x))))

simplify47.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050011756

prune156.0ms

Filtered
83 candidates to 113 candidates (-36.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh000
Picked101
Done011
Total1123115

Merged error: 0.3b

Counts
115 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 x) (/ 1.0 (tan x)))
0.1b
(* (pow x 4) 0.010582010582010581)
0.1b
(* x (* x 0.06666666666666667))
0.3b
(/ (* 1.0 (- 0.6666666666666666 (+ (* x (* x 0.06666666666666667)) (* (pow x 4) 0.010582010582010581)))) (+ (/ 1.0 x) (/ 1.0 (tan x))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
26×times-frac
21×add-sqr-sqrt
19×add-exp-log
16×add-cube-cbrt add-cbrt-cube
15×distribute-lft-out
10×associate-*l*
pow1
associate-/r*
prod-exp div-inv
add-log-exp
cbrt-unprod
unpow-prod-down associate-*r*
pow-prod-down associate-/r/ unswap-sqr
cbrt-undiv flip3-+ associate-*r/ div-exp frac-add *-commutative flip-+ associate-/l/ sqr-pow
+-commutative pow-to-exp flip3-- frac-2neg pow-exp clear-num sum-log flip-- associate-/l*
Counts
4 → 96
Calls
4 calls:
12.0ms
(+ (/ 1.0 x) (/ 1.0 (tan x)))
5.0ms
(* (pow x 4) 0.010582010582010581)
5.0ms
(* x (* x 0.06666666666666667))
20.0ms
(/ (* 1.0 (- 0.6666666666666666 (+ (* x (* x 0.06666666666666667)) (* (pow x 4) 0.010582010582010581)))) (+ (/ 1.0 x) (/ 1.0 (tan x))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (/ 1.0 x) (/ 1.0 (tan x)))
4.0ms
(* (pow x 4) 0.010582010582010581)
3.0ms
(* x (* x 0.06666666666666667))
21.0ms
(/ (* 1.0 (- 0.6666666666666666 (+ (* x (* x 0.06666666666666667)) (* (pow x 4) 0.010582010582010581)))) (+ (/ 1.0 x) (/ 1.0 (tan x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049661563
149661563

prune183.0ms

Filtered
75 candidates to 108 candidates (-44.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New999108
Fresh011
Picked101
Done011
Total10011111

Merged error: 0.0b

Counts
111 → 11

regimes71.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03052
13052

end0.0ms

sample7.1s

Algorithm
intervals
Results
5.1s3290×body2560valid
1.3s2476×body1280valid
230.0ms1232×body640valid
132.0ms8000×pre80true
73.0ms646×body320valid
26.0ms302×body160valid
2.0ms54×body80valid

Profiling

Loading profile data...