Details

Time bar (total: 14.1s)

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

sample447.0ms

Algorithm
intervals
Results
37.0ms104×body1280valid
18.0ms21×body2560valid
11.0ms58×body640valid
3.0ms24×body320valid
2.0ms41×body80valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.8b

Counts
2 → 1

localize109.0ms

Local error

Found 2 expressions with local error:

14.8b
(tan (+ x eps))
21.9b
(- (tan (+ x eps)) (tan x))

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:
3.0ms
(tan (+ x eps))
6.0ms
(- (tan (+ x eps)) (tan x))

series44.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(tan (+ x eps))
29.0ms
(- (tan (+ x eps)) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04924332
14924332

prune69.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New22830
Fresh000
Picked101
Done000
Total23831

Merged error: 13.6b

Counts
31 → 8

localize141.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series212.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
22.0ms
(+ (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
105.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051091560

prune190.0ms

Filtered
75 candidates to 97 candidates (-29.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New841397
Fresh437
Picked101
Done000
Total8916105

Merged error: 13.5b

Counts
105 → 16

localize200.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.2b
(/ (* (tan x) (sin eps)) (cos eps))
0.2b
(* (tan x) (sin eps))
21.9b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

rewrite33.0ms

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

series171.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049431093
149431093

prune140.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh11415
Picked011
Done000
Total811697

Merged error: 13.5b

Counts
97 → 16

localize145.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
18×tan-quot
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
10×add-exp-log
times-frac
frac-sub add-cbrt-cube add-log-exp
pow1
frac-times associate-*l/
flip3-+ associate-*r* associate-*l* frac-add associate-/r* flip-+ associate-/l*
flip3-- associate-*r/ div-exp associate-/r/ flip--
cbrt-undiv +-commutative sub-neg rec-exp pow-flip frac-2neg diff-log 1-exp pow-prod-down prod-exp clear-num sum-log un-div-inv *-commutative cbrt-unprod div-inv distribute-lft-out inv-pow unswap-sqr
Counts
4 → 86
Calls
4 calls:
4.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

series191.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
24.0ms
(+ (tan x) (tan eps))
23.0ms
(* (tan x) (tan eps))
109.0ms
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
054681478

prune140.0ms

Filtered
70 candidates to 98 candidates (-40.0%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New93598
Fresh41014
Picked011
Done011
Total9717114

Merged error: 13.4b

Counts
114 → 17

regimes259.0ms

Accuracy

86.2% (1.0b remaining)

Error of 15.4b against oracle of 14.3b and baseline of 21.7b

bsearch168.0ms

Steps
ItersRangePoint
7
1.3864940151086299e-74
2.6892834944430032e-73
2.6174394417726606e-73
6
-6.766515725646146e-55
-5.892739767685502e-56
-6.583395804010651e-55

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010064
110064

end0.0ms

sample10.2s

Algorithm
intervals
Results
1.2s3280×body1280valid
523.0ms614×body2560valid
393.0ms1905×body640valid
102.0ms751×body320valid
44.0ms1092×body80valid
33.0ms358×body160valid

Profiling

Loading profile data...