Details

Time bar (total: 3.7s)

sample283.0ms

Algorithm
intervals
Results
14.0ms47×body1280valid
6.0ms36×body640valid
6.0ms149×body80valid
2.0ms19×body320valid
0.0msbody160valid

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.1b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (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:
6.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))

series223.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03381007
11243918
25001882

prune271.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.0b

Counts
132 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
23×*-un-lft-identity
22×add-cube-cbrt
21×associate-*r*
20×pow1
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*l*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u
flip3-- fma-neg associate-*r/ prod-diff pow-prod-down *-commutative flip--
pow2 pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv sub-neg rec-exp flip3-+ diff-log 1-exp un-div-inv flip-+ div-inv
Counts
4 → 126
Calls
4 calls:
10.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series198.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
33.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))

simplify64.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04061046
11794921
25002874

prune226.0ms

Filtered
138 candidates to 88 candidates (63.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1371138
Fresh11112
Picked011
Done000
Total13813151

Merged error: 0.0b

Counts
151 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.1b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
0.2b
(* (tan x) (tan x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
13×difference-of-squares
12×pow1
11×add-cbrt-cube
associate-/r/
div-exp
add-log-exp
flip3-- flip-- div-inv
tan-quot expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/l*
rec-exp 1-exp
pow2 frac-times sub-neg pow-flip frac-2neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
3.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(fma (tan x) (tan x) 1.0)
33.0ms
(- 1.0 (* (tan x) (tan x)))
108.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
38.0ms
(* (tan x) (tan x))

simplify76.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05702046
126171859
250021752

prune272.0ms

Filtered
171 candidates to 97 candidates (56.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1683171
Fresh3811
Picked011
Done011
Total17113184

Merged error: 0.0b

Counts
184 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.2b
(pow (cos x) 2)
0.2b
(* (tan x) (tan x))
0.2b
(pow (sin x) 2)

rewrite16.0ms

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

series107.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
17.0ms
(pow (cos x) 2)
37.0ms
(* (tan x) (tan x))
20.0ms
(pow (sin x) 2)

simplify154.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (146.0ms)

IterNodesCost
0293451
11010395
24646386
35001381

prune232.0ms

Filtered
103 candidates to 65 candidates (63.1%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1021103
Fresh2810
Picked011
Done022
Total10412116

Merged error: 0.0b

Counts
116 → 12

regimes182.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
01310
11310

end0.0ms

sample983.0ms

Algorithm
intervals
Results
402.0ms1557×body1280valid
205.0ms1235×body640valid
158.0ms4281×body80valid
76.0ms648×body320valid
23.0ms279×body160valid