Details

Time bar (total: 5.7s)

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

sample94.0ms

Algorithm
intervals
Results
41.0ms106×body1280valid
25.0ms29×body2560valid
14.0ms63×body640valid
2.0ms16×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (tan (+ x eps)) (tan x))
3.2b
(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:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series39.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04924332
14924332

prune61.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: 17.5b

Counts
31 → 8

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))
1.8b
(- (/ (+ (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))
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
14.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series195.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051091560

prune171.0ms

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

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New831497
Fresh437
Picked101
Done000
Total8817105

Merged error: 17.3b

Counts
105 → 17

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×tan-quot
18×pow1
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-times associate-*r/ associate-*l*
associate-*r*
associate-*l/ add-log-exp
pow-prod-down prod-exp frac-sub cbrt-unprod
swap-sqr *-commutative unswap-sqr
flip3-+ associate--l+ flip-+
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 93
Calls
4 calls:
8.0ms
(* (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))

series377.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049831620
149831620

prune176.0ms

Filtered
72 candidates to 105 candidates (-45.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1005105
Fresh51116
Picked101
Done000
Total10616122

Merged error: 17.3b

Counts
122 → 16

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
22×tan-quot
16×pow1 add-exp-log add-cbrt-cube
14×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
frac-times associate-*r/
associate-*l* associate-*l/ add-log-exp
prod-exp frac-sub cbrt-unprod
associate-*r* pow-prod-down
times-frac swap-sqr associate-/r*
cbrt-undiv flip3-+ div-exp associate--l+ *-commutative flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in pow-plus diff-log clear-num pow-sqr pow-prod-up flip-- div-inv associate-/l/ associate-/l*
Counts
4 → 94
Calls
4 calls:
8.0ms
(* (tan x) (* (tan eps) (tan eps)))
6.0ms
(/ (* (tan x) (sin eps)) (cos eps))
5.0ms
(* (tan eps) (tan eps))
14.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series396.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049841834
149841834

prune111.0ms

Filtered
73 candidates to 106 candidates (-45.2%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh11415
Picked011
Done000
Total10616122

Merged error: 17.3b

Counts
122 → 16

regimes205.0ms

Accuracy

80.3% (1.5b remaining)

Error of 16.0b against oracle of 14.5b and baseline of 22.1b

bsearch93.0ms

Steps
ItersRangePoint
10
2.7247153317066202e-86
5.559643754350374e-72
1.9461005157827348e-72
7
-4.7507238382498537e-144
-4.704089064816693e-146
-4.683864053063239e-144

simplify13.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
0596110
1596110

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3223×body1280valid
553.0ms642×body2560valid
417.0ms1893×body640valid
121.0ms831×body320valid
46.0ms1058×body80valid
34.0ms353×body160valid

Profiling

Loading profile data...