Details

Time bar (total: 4.7s)

sample92.0ms

Algorithm
intervals
Results
50.0ms113×body1280valid
12.0ms56×body640valid
12.0ms14×body2560valid
4.0ms22×body320valid
2.0ms41×body80valid
1.0ms10×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (tan (+ x eps)) (tan x))
3.0b
(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 → 25
Calls
2 calls:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series41.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune66.0ms

Filtered
25 candidates to 31 candidates (-24.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 13.4b

Counts
32 → 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.4b
(- (/ (+ (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 → 86
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))

series196.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03971050
114321005
25001994

prune166.0ms

Filtered
74 candidates to 98 candidates (-32.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New851398
Fresh527
Picked101
Done000
Total9115106

Merged error: 13.3b

Counts
106 → 15

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
22×tan-quot
19×*-un-lft-identity
18×associate-*r*
15×add-exp-log
14×add-cube-cbrt
11×times-frac add-cbrt-cube
pow1 frac-sub add-log-exp
frac-times associate-*l* associate-*l/
flip3-+ frac-add prod-exp flip-+
unswap-sqr
associate-*r/ cbrt-unprod
flip3-- div-exp pow-prod-down associate-/r/ un-div-inv *-commutative flip-- distribute-lft-out
cbrt-undiv +-commutative sub-neg rec-exp diff-log 1-exp sum-log div-inv
Counts
4 → 99
Calls
4 calls:
12.0ms
(* (+ (tan x) (tan eps)) (/ 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))

series201.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))))
22.0ms
(+ (tan x) (tan eps))
22.0ms
(* (tan x) (tan eps))
103.0ms
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

simplify65.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05611286
125471185
250011184

prune169.0ms

Filtered
83 candidates to 111 candidates (-33.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh21214
Picked101
Done000
Total11115126

Merged error: 13.3b

Counts
126 → 15

localize17.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (* (cbrt (* (tan x) (tan eps))) (cbrt (* (tan x) (tan eps)))) (cbrt (* (tan x) (tan eps)))))) (tan x))
8.1b
(cbrt (* (tan x) (tan eps)))
8.1b
(cbrt (* (tan x) (tan eps)))
8.1b
(cbrt (* (tan x) (tan eps)))

rewrite24.0ms

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

series215.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (* (cbrt (* (tan x) (tan eps))) (cbrt (* (tan x) (tan eps)))) (cbrt (* (tan x) (tan eps)))))) (tan x))
37.0ms
(cbrt (* (tan x) (tan eps)))
40.0ms
(cbrt (* (tan x) (tan eps)))
37.0ms
(cbrt (* (tan x) (tan eps)))

simplify50.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0225972
1537881
21575811
35002801

prune77.0ms

Filtered
53 candidates to 64 candidates (-20.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh31114
Picked011
Done000
Total661379

Merged error: 12.2b

Counts
79 → 13

regimes387.0ms

Accuracy

73.9% (1.9b remaining)

Error of 15.4b against oracle of 13.5b and baseline of 20.7b

bsearch55.0ms

Steps
ItersRangePoint
7
1.8618356104618278e-71
1.294272862403199e-69
6.045793054883833e-71
4
-1.3562651067764176e-33
-7.5134825004128385e-34
-7.610973216732956e-34

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04727
15727
25727

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3281×body1280valid
589.0ms685×body2560valid
384.0ms1794×body640valid
112.0ms783×body320valid
50.0ms1107×body80valid
35.0ms350×body160valid

Profiling

Loading profile data...