Details

Time bar (total: 3.8s)

sample289.0ms

Algorithm
intervals
Results
16.0ms56×body1280valid
8.0ms45×body640valid
5.0ms123×body80valid
2.0ms19×body320valid
1.0ms13×body160valid

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
Calls
4 calls:
7.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series220.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
61.0ms
(* (tan x) (tan x))

simplify51.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03381007
11243918
25001882

prune290.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11813131
Fresh000
Picked101
Done000
Total11913132

Merged error: 0.1b

Counts
132 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.4b
(exp (* (tan x) (tan x)))
1.4b
(log (exp (* (tan x) (tan x))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×pow1
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
add-log-exp
swap-sqr associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u
log-prod log-pow
pow2 frac-times exp-prod exp-to-pow pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
rem-log-exp rem-exp-log
Counts
4 → 88
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
3.0ms
(exp (* (tan x) (tan x)))
2.0ms
(log (exp (* (tan x) (tan x))))

series147.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
53.0ms
(exp (* (tan x) (tan x)))
32.0ms
(log (exp (* (tan x) (tan x))))

simplify69.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0140437
1429370
21869350
35001344

prune196.0ms

Filtered
100 candidates to 61 candidates (61.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh01212
Picked011
Done000
Total10013113

Merged error: 0.1b

Counts
113 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×pow1
14×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u
log1p-expm1-u
fma-neg prod-diff
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log1p-udef flip3-- diff-log log1p-expm1 flip-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
1.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series323.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1.0 (* (tan x) (tan x)))
218.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
31.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))

simplify136.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0246612
1827546
23958530
35002525

prune223.0ms

Filtered
104 candidates to 66 candidates (63.5%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh01111
Picked011
Done011
Total10314117

Merged error: 0.1b

Counts
117 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(* (tan x) (sin x))
0.2b
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
0.3b
(* (tan x) (tan x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
21×prod-diff
13×pow1 add-exp-log add-cbrt-cube
12×times-frac
tan-quot associate-*r* associate-*l* add-log-exp
expm1-log1p-u log1p-expm1-u div-inv
fma-neg swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
pow2 frac-times sub-neg flip3-- frac-2neg pow-plus diff-log associate-*r/ clear-num pow-sqr pow-prod-up flip-- associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 115
Calls
4 calls:
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (sin x))
6.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(* (tan x) (tan x))

series196.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (* (tan x) (sin x)) (cos x))
47.0ms
(* (tan x) (sin x))
50.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
36.0ms
(* (tan x) (tan x))

simplify70.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04321314
11873967
25001929

prune229.0ms

Filtered
127 candidates to 77 candidates (60.6%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1261127
Fresh01111
Picked011
Done112
Total12714141

Merged error: 0.1b

Counts
141 → 14

regimes199.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01011
11011

end0.0ms

sample1.0s

Algorithm
intervals
Results
410.0ms1580×body1280valid
205.0ms1221×body640valid
172.0ms4293×body80valid
72.0ms602×body320valid
26.0ms304×body160valid