Details

Time bar (total: 4.6s)

sample291.0ms

Algorithm
intervals
Results
24.0ms50×body1280valid
12.0ms42×body640valid
8.0ms136×body80valid
3.0ms18×body320valid
1.0ms10×body160valid

simplify14.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series217.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1.0 (* (tan x) (tan x)))
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
55.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243917
25001882

prune290.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.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:
1.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)

series74.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin x) 2)
19.0ms
(pow (sin x) 2)
16.0ms
(pow (cos x) 2)
20.0ms
(pow (cos x) 2)

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21669260
35001256

prune246.0ms

Filtered
92 candidates to 56 candidates (60.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
29×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*
expm1-log1p-u
log1p-expm1-u associate-/l* add-log-exp difference-of-squares
associate-/r*
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv log1p-udef flip3-- frac-2neg flip3-+ div-sub log1p-expm1 div-exp clear-num flip-- flip-+ div-inv
Counts
4 → 109
Calls
4 calls:
8.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.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))

series378.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
217.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify51.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03661025
11339934
25002895

prune320.0ms

Filtered
121 candidates to 83 candidates (68.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
136×pow1
44×tan-quot
39×pow-prod-up
26×pow-prod-down
25×pow-sqr
22×add-exp-log add-sqr-sqrt add-cbrt-cube
21×pow-plus
20×frac-times
16×pow2 add-cube-cbrt *-un-lft-identity
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×swap-sqr associate-*r* associate-*l*
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp unswap-sqr
Counts
4 → 170
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
27.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
36.0ms
(* (tan x) (tan x))
48.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

simplify159.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0280686
1936547
24113526
35001495

prune348.0ms

Filtered
182 candidates to 84 candidates (46.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

regimes204.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
01414
11414

end0.0ms

sample1.6s

Algorithm
intervals
Results
656.0ms1452×body1280valid
362.0ms1256×body640valid
248.0ms4346×body80valid
114.0ms595×body320valid
49.0ms351×body160valid