Details

Time bar (total: 3.9s)

sample276.0ms

Algorithm
intervals
Results
10.0ms40×body1280valid
6.0ms41×body640valid
5.0ms142×body80valid
4.0ms21×body320valid
1.0ms12×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Filtered
1 candidates to 0 candidates (0.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))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
140×add-sqr-sqrt
132×*-un-lft-identity
60×add-cube-cbrt
50×times-frac
45×prod-diff
35×difference-of-squares
33×associate-*l*
22×swap-sqr distribute-lft-out
18×pow1
15×associate-*r*
14×distribute-lft-out--
12×*-commutative unswap-sqr
10×add-exp-log add-cbrt-cube associate-/l*
tan-quot
add-log-exp
associate-/r*
expm1-log1p-u log1p-expm1-u
fma-neg
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr pow-prod-up flip-- cbrt-unprod associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 213
Calls
4 calls:
21.0ms
(- 1.0 (* (tan x) (tan x)))
21.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))

series225.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- 1.0 (* (tan x) (tan x)))
105.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(* (tan x) (tan x))
47.0ms
(* (tan x) (tan x))

simplify85.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05592609
118802152
250012008

prune312.0ms

Filtered
225 candidates to 97 candidates (43.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2169225
Fresh000
Picked101
Done000
Total2179226

Merged error: 0.0b

Counts
226 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.2b
(pow (sin x) 2)
0.2b
(pow (sin x) 2)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series78.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)
22.0ms
(pow (sin x) 2)
20.0ms
(pow (sin x) 2)

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune241.0ms

Filtered
92 candidates to 56 candidates (60.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh088
Picked011
Done000
Total929101

Merged error: 0.0b

Counts
101 → 9

localize17.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.5b
(pow (* (tan x) (tan x)) 3)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
33×pow1
27×add-cube-cbrt *-un-lft-identity
16×tan-quot
15×unpow-prod-down cube-prod swap-sqr associate-*r* associate-*l*
13×add-exp-log add-cbrt-cube
pow-pow
*-commutative unswap-sqr
pow2 expm1-log1p-u frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp
cube-div pow-unpow
pow-exp rem-cube-cbrt
cube-mult pow-to-exp unpow3 sqr-pow
Counts
4 → 149
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
11.0ms
(pow (* (tan x) (tan x)) 3)

series172.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))
66.0ms
(pow (* (tan x) (tan x)) 3)

simplify68.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0311619
11637515
25001500

prune323.0ms

Filtered
161 candidates to 75 candidates (46.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1601161
Fresh077
Picked101
Done011
Total1619170

Merged error: 0.0b

Counts
170 → 9

localize12.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
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
174×*-un-lft-identity
160×add-sqr-sqrt
100×times-frac
57×log-pow
56×exp-prod
55×difference-of-squares
46×add-cube-cbrt
42×distribute-lft-out
38×associate-*l*
22×distribute-lft-out--
19×pow1
17×swap-sqr
13×*-commutative unswap-sqr
11×add-exp-log
10×add-cbrt-cube associate-/l*
tan-quot
associate-*r*
associate-/r*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
log-prod
pow2 frac-times flip3-+ pow-plus div-sub associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod flip-+ div-inv associate-/l/
cbrt-undiv log-div flip3-- frac-2neg exp-diff div-exp clear-num flip--
Counts
4 → 216
Calls
4 calls:
22.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))
28.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series280.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(* (tan x) (tan x))
39.0ms
(* (tan x) (tan x))
103.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify55.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04252103
113021982
250021954

prune390.0ms

Filtered
228 candidates to 114 candidates (50.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2244228
Fresh347
Picked101
Done011
Total2289237

Merged error: 0.0b

Counts
237 → 9

regimes158.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample913.0ms

Algorithm
intervals
Results
351.0ms1441×body1280valid
208.0ms1263×body640valid
148.0ms4380×body80valid
66.0ms595×body320valid
25.0ms321×body160valid