Details

Time bar (total: 3.2s)

sample45.0ms

Algorithm
intervals
Results
12.0ms45×body1280valid
7.0ms39×body640valid
6.0ms150×body80valid
2.0ms19×body320valid
0.0msbody160valid

simplify593.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune5.0ms

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))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite37.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:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
17.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series66.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune173.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.1b

Counts
118 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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))
10.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
4.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series42.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0328693
11582618
25001607

prune160.0ms

Filtered
67 candidates to 101 candidates (-50.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh279
Picked101
Done000
Total10011111

Merged error: 0.0b

Counts
111 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (- (tan x) (sqrt 1.0)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(pow (tan x) 3)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×pow1
19×*-un-lft-identity
17×add-cube-cbrt
12×tan-quot associate-*r*
11×add-exp-log add-cbrt-cube
associate-*l*
swap-sqr
frac-times associate-*r/ add-log-exp
unpow-prod-down pow-unpow cube-prod pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus pow-sqr pow-prod-up flip-- difference-of-squares
cube-div cube-mult pow-to-exp pow-pow unpow3 pow-exp sqrt-prod distribute-lft-out-- rem-cube-cbrt sqr-pow
Counts
4 → 110
Calls
4 calls:
8.0ms
(* (tan x) (- (tan x) (sqrt 1.0)))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
3.0ms
(pow (tan x) 3)

series44.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (tan x) (- (tan x) (sqrt 1.0)))
8.0ms
(* (tan x) (tan x))
10.0ms
(* (tan x) (tan x))
12.0ms
(pow (tan x) 3)

simplify67.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0326538
11835478
25002462

prune241.0ms

Filtered
71 candidates to 122 candidates (-71.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh01010
Picked101
Done000
Total12112133

Merged error: 0.0b

Counts
133 → 12

localize11.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.4b
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite30.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))
12.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series78.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))
50.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0266869
1914800
25002784

prune103.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1135118
Fresh3811
Picked101
Done000
Total11713130

Merged error: 0.0b

Counts
130 → 13

regimes298.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
01616
11616

end0.0ms

sample1.0s

Algorithm
intervals
Results
379.0ms1463×body1280valid
207.0ms1211×body640valid
170.0ms4341×body80valid
82.0ms658×body320valid
28.0ms327×body160valid

Profiling

Loading profile data...