Details

Time bar (total: 5.3s)

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

sample92.0ms

Algorithm
intervals
Results
41.0ms109×body1280valid
23.0ms26×body2560valid
11.0ms51×body640valid
6.0ms25×body320valid
1.0ms33×body80valid
1.0ms12×body160valid

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: 39.2b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.9b
(- (tan (+ x eps)) (tan x))
3.6b
(tan (+ x eps))

rewrite11.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:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series40.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04924332
14924332

prune62.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: 15.7b

Counts
31 → 8

localize11.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))
3.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite30.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))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series190.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
21.0ms
(+ (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
95.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051091560

prune168.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New831497
Fresh527
Picked101
Done000
Total8916105

Merged error: 15.6b

Counts
105 → 16

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (exp (tan x)) (tan eps))
0.3b
(exp (tan x))
3.3b
(log (pow (exp (tan x)) (tan eps)))
3.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
log-prod add-log-exp
unpow-prod-down exp-prod
pow1 add-exp-log
pow-pow add-cbrt-cube
pow-unpow rem-log-exp
pow-to-exp pow-exp difference-of-squares sqr-pow
tan-quot sub-neg flip3-- times-frac diff-log log-pow frac-sub flip-- rem-exp-log distribute-lft-out--
Counts
4 → 64
Calls
4 calls:
4.0ms
(pow (exp (tan x)) (tan eps))
2.0ms
(exp (tan x))
3.0ms
(log (pow (exp (tan x)) (tan eps)))
15.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

series201.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (exp (tan x)) (tan eps))
9.0ms
(exp (tan x))
37.0ms
(log (pow (exp (tan x)) (tan eps)))
122.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

simplify51.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04934920
14934920

prune123.0ms

Filtered
53 candidates to 76 candidates (-43.4%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New73376
Fresh6915
Picked011
Done000
Total791392

Merged error: 13.4b

Counts
92 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
45×tan-quot
22×pow1
21×frac-times associate-*r/
17×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×associate-*l/
associate-*l*
pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-log-exp
frac-sub
swap-sqr *-commutative
flip3-+ associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 103
Calls
4 calls:
11.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan eps) (tan eps))
12.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series378.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
21.0ms
(* (tan x) (tan eps))
9.0ms
(* (tan eps) (tan eps))
318.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify33.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
052831876

prune116.0ms

Filtered
75 candidates to 115 candidates (-53.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1123115
Fresh2911
Picked101
Done011
Total11513128

Merged error: 13.4b

Counts
128 → 13

regimes186.0ms

Accuracy

96.2% (0.4b remaining)

Error of 12.6b against oracle of 12.2b and baseline of 21.5b

bsearch60.0ms

Steps
ItersRangePoint
8
9.383740477091332e-29
1.3202582201462097e-24
1.298064167888159e-24
8
-6.329236100813076e-07
-7.674978958902272e-11
-7.82287172944081e-11

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09266
19266

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3331×body1280valid
536.0ms622×body2560valid
374.0ms1736×body640valid
115.0ms798×body320valid
50.0ms1144×body80valid
35.0ms369×body160valid

Profiling

Loading profile data...