Details

Time bar (total: 2.8s)

sample41.0ms

Algorithm
intervals
Results
11.0ms43×body1280valid
8.0ms43×body640valid
8.0ms141×body80valid
2.0ms17×body320valid
1.0ms12×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune203.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series71.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
8.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25002824

prune184.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh000
Picked101
Done000
Total10711118

Merged error: 0.1b

Counts
118 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (sqrt 1.0) (tan x))
0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(* (tan x) (tan x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×*-un-lft-identity
13×pow1
10×add-cube-cbrt
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
frac-times
tan-quot flip3-- flip3-+ flip-- flip-+ difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 89
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
4.0ms
(+ (sqrt 1.0) (tan x))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series39.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
7.0ms
(+ (sqrt 1.0) (tan x))
17.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
8.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0328693
11582618
25001607

prune177.0ms

Filtered
101 candidates to 67 candidates (33.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New983101
Fresh1910
Picked011
Done000
Total9913112

Merged error: 0.0b

Counts
112 → 13

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
15.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
11.0ms
(* (tan x) (tan x))
51.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify38.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0266869
1914800
25002784

prune144.0ms

Filtered
118 candidates to 69 candidates (41.5%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New1153118
Fresh11011
Picked011
Done011
Total11615131

Merged error: 0.0b

Counts
131 → 15

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (sqrt 1.0) (tan x))
0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
0.2b
(* (tan x) (tan x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
31×*-un-lft-identity
19×add-cube-cbrt
18×times-frac
11×pow1
10×difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
sqrt-prod distribute-lft-out--
tan-quot
swap-sqr associate-*r* associate-*l* associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative pow2 frac-times sub-neg frac-2neg pow-plus diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv distribute-lft-out unswap-sqr
Counts
4 → 98
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
4.0ms
(+ (sqrt 1.0) (tan x))
8.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series46.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
7.0ms
(+ (sqrt 1.0) (tan x))
23.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
9.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0368955
11554891
25001879

prune155.0ms

Filtered
110 candidates to 73 candidates (33.6%)
Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh11112
Picked011
Done022
Total11015125

Merged error: 0.0b

Counts
125 → 15

regimes266.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01312
11312

end0.0ms

sample1.0s

Algorithm
intervals
Results
382.0ms1493×body1280valid
210.0ms1243×body640valid
170.0ms4284×body80valid
78.0ms659×body320valid
27.0ms321×body160valid

Profiling

Loading profile data...