Details

Time bar (total: 5.8s)

analyze754.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

sample83.0ms

Algorithm
intervals
Results
40.0ms103×body1280valid
15.0ms18×body2560valid
12.0ms55×body640valid
4.0ms32×body320valid
1.0ms34×body80valid
1.0ms14×body160valid

simplify3.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: 38.2b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (tan (+ x eps)) (tan x))
2.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))

series40.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
04868332
14868332

prune61.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 14.8b

Counts
31 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series204.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (tan x) (tan eps))
59.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
22.0ms
(* (tan x) (tan eps))
102.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify45.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050661559

prune155.0ms

Filtered
73 candidates to 97 candidates (-32.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New871097
Fresh426
Picked101
Done000
Total9212104

Merged error: 14.7b

Counts
104 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (+ (tan x) (tan eps)) (cos x))
9.4b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*l/
16×add-sqr-sqrt
14×tan-quot
12×*-un-lft-identity
10×pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
frac-sub add-log-exp
flip3-- flip--
flip3-+ pow-prod-down frac-add prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
frac-times associate-*r/
sub-neg diff-log distribute-lft-out
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
7.0ms
(* (+ (tan x) (tan eps)) (cos x))
9.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan x) (tan eps))
25.0ms
(* (tan x) (tan eps))
26.0ms
(* (+ (tan x) (tan eps)) (cos x))
51.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
057961385

prune158.0ms

Filtered
72 candidates to 93 candidates (-29.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New87693
Fresh7411
Picked101
Done000
Total9510105

Merged error: 0.2b

Counts
105 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
33×add-exp-log
32×add-cbrt-cube
23×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt associate-*l*
11×times-frac
10×prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*r*
frac-times associate-*r/ associate-*l/ associate-/l/
tan-quot flip3-+ flip-+ add-log-exp
unpow-prod-down pow-unpow unswap-sqr
pow-prod-down associate-/r/ *-commutative div-inv
distribute-rgt-in pow-to-exp flip3-- pow-pow frac-2neg distribute-lft-in pow-exp clear-num associate-/r* flip-- distribute-lft-out associate-/l* unpow2 sqr-pow
Counts
4 → 110
Calls
4 calls:
20.0ms
(/ (* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x)))) (* (- 1 (* (tan x) (tan eps))) (cos x)))
5.0ms
(* (tan x) (tan eps))
15.0ms
(* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x))))
3.0ms
(pow (sin x) 2)

series142.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x)))) (* (- 1 (* (tan x) (tan eps))) (cos x)))
22.0ms
(* (tan x) (tan eps))
36.0ms
(* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x))))
4.0ms
(pow (sin x) 2)

simplify51.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050392051

prune164.0ms

Filtered
83 candidates to 122 candidates (-47.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1148122
Fresh639
Picked101
Done000
Total12111132

Merged error: 0b

Counts
132 → 11

regimes171.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02633
12633

end0.0ms

analyze755.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.6s

Algorithm
intervals
Results
1.2s3209×body1280valid
564.0ms655×body2560valid
397.0ms1868×body640valid
109.0ms778×body320valid
53.0ms1136×body80valid
34.0ms354×body160valid

Profiling

Loading profile data...