Details

Time bar (total: 6.5s)

analyze864.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14

sample89.0ms

Algorithm
intervals
Results
40.0ms108×body1280valid
18.0ms61×body640valid
16.0ms19×body2560valid
3.0ms23×body320valid
2.0ms37×body80valid
1.0msbody160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077
177

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.7b
(- (tan (+ x eps)) (tan x))
3.2b
(tan (+ x eps))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt tan-sum frac-sub add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
6.0ms
(- (tan (+ x eps)) (tan x))
3.0ms
(tan (+ x eps))

series42.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(- (tan (+ x eps)) (tan x))
16.0ms
(tan (+ x eps))

simplify112.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
04868332
14868332

prune63.0ms

Filtered
25 candidates to 30 candidates (-20.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New21930
Fresh000
Picked101
Done000
Total22931

Merged error: 16.0b

Counts
31 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan eps)))
0.1b
(+ (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
2.6b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
sub-neg flip3-- diff-log flip-- difference-of-squares
+-commutative frac-times flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 60
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- 1 (* (tan x) (tan eps)))
20.0ms
(+ (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
142.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04982963
14982963

prune146.0ms

Filtered
55 candidates to 72 candidates (-30.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New581472
Fresh628
Picked101
Done000
Total651681

Merged error: 15.9b

Counts
81 → 16

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
0.3b
(* (tan eps) (tan eps))
2.6b
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps))))) (+ 1 (* (tan x) (tan eps))))) (tan x))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
41×tan-quot
24×add-sqr-sqrt
22×pow1
19×frac-times associate-*r/
17×add-exp-log add-cbrt-cube
13×*-un-lft-identity
11×add-cube-cbrt
associate-*l* associate-*l/
pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-log-exp
times-frac swap-sqr *-commutative difference-of-squares
unswap-sqr
pow2 sub-neg flip3-- pow-plus diff-log pow-sqr pow-prod-up frac-sub flip-- distribute-lft-out--
Counts
4 → 101
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
11.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
5.0ms
(* (tan eps) (tan eps))
26.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps))))) (+ 1 (* (tan x) (tan eps))))) (tan x))

series383.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (tan x) (tan eps))
30.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
8.0ms
(* (tan eps) (tan eps))
321.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps))))) (+ 1 (* (tan x) (tan eps))))) (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
056351730

prune155.0ms

Filtered
73 candidates to 113 candidates (-54.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh10515
Picked101
Done000
Total1209129

Merged error: 0.2b

Counts
129 → 9

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin eps) 2)
0.3b
(pow (sin eps) 2)
0.3b
(pow (sin eps) 2)
1.6b
(- (* (+ (/ (pow (sin eps) 2) (pow (cos eps) 2)) 1) (/ (sin x) (* (cos x) (- 1 (* (/ (pow (sin eps) 2) (pow (cos eps) 2)) (/ (pow (sin x) 2) (pow (cos x) 2))))))) (/ (sin x) (cos x)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down pow-unpow
pow1 add-exp-log
add-log-exp
frac-sub
add-cbrt-cube
pow-to-exp pow-pow pow-exp unpow2 sqr-pow
frac-times flip3-+ associate-*l/ flip-+
sub-neg flip3-- diff-log associate-*r/ flip--
Counts
4 → 70
Calls
4 calls:
3.0ms
(pow (sin eps) 2)
3.0ms
(pow (sin eps) 2)
3.0ms
(pow (sin eps) 2)
32.0ms
(- (* (+ (/ (pow (sin eps) 2) (pow (cos eps) 2)) 1) (/ (sin x) (* (cos x) (- 1 (* (/ (pow (sin eps) 2) (pow (cos eps) 2)) (/ (pow (sin x) 2) (pow (cos x) 2))))))) (/ (sin x) (cos x)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (sin eps) 2)
3.0ms
(pow (sin eps) 2)
3.0ms
(pow (sin eps) 2)
176.0ms
(- (* (+ (/ (pow (sin eps) 2) (pow (cos eps) 2)) 1) (/ (sin x) (* (cos x) (- 1 (* (/ (pow (sin eps) 2) (pow (cos eps) 2)) (/ (pow (sin x) 2) (pow (cos x) 2))))))) (/ (sin x) (cos x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049731556
149731556

prune301.0ms

Filtered
52 candidates to 82 candidates (-57.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh088
Picked011
Done000
Total811091

Merged error: 0.2b

Counts
91 → 10

regimes156.0ms

Accuracy

0% (0.4b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03887
13887

end0.0ms

analyze785.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14

sample2.7s

Algorithm
intervals
Results
1.3s3268×body1280valid
585.0ms669×body2560valid
416.0ms1861×body640valid
105.0ms742×body320valid
48.0ms1091×body80valid
38.0ms369×body160valid

Profiling

Loading profile data...