Details

Time bar (total: 23.6s)

sample241.0ms

Algorithm
intervals
Results
42.0ms40×body1280valid
33.0ms46×body640valid
18.0ms138×body80valid
11.0ms22×body320valid
3.0ms10×body160valid

simplify151.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54314
64514
done4514

prune20.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-exp-log add-cbrt-cube
add-log-exp
difference-of-squares
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 97
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
45.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
13.0ms
(- 1.0 (* (tan x) (tan x)))
37.0ms
(* (tan x) (tan x))

series445.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(fma (tan x) (tan x) 1.0)
210.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
73.0ms
(- 1.0 (* (tan x) (tan x)))
78.0ms
(* (tan x) (tan x))

simplify2.0s

Counts
109 → 109
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01551557
13711472
216071347
done50001335

prune753.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize35.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))) (pow (fma (tan x) (tan x) 1.0) 1))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
15×unpow-prod-down
11×pow1 add-exp-log
difference-of-squares
add-cbrt-cube
associate-/r*
add-log-exp
sqr-pow
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg swap-sqr div-exp associate-*r* associate-*l* prod-diff
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times pow-to-exp sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 119
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
39.0ms
(/ (- 1.0 (* (tan x) (tan x))) (pow (fma (tan x) (tan x) 1.0) 1))
21.0ms
(- 1.0 (* (tan x) (tan x)))
35.0ms
(* (tan x) (tan x))

series458.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(fma (tan x) (tan x) 1.0)
225.0ms
(/ (- 1.0 (* (tan x) (tan x))) (pow (fma (tan x) (tan x) 1.0) 1))
80.0ms
(- 1.0 (* (tan x) (tan x)))
67.0ms
(* (tan x) (tan x))

simplify2.9s

Counts
131 → 131
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01982340
14812044
228011854
done50021842

prune803.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(/ (+ (sqrt 1.0) (tan x)) (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))
0.2b
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
182×*-un-lft-identity
168×add-sqr-sqrt
92×add-cube-cbrt
38×difference-of-squares
30×associate-/r*
26×distribute-lft-out
22×sqrt-prod
19×distribute-lft-out--
13×associate-/r/
11×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-- fma-def flip-- add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative sum-log fma-udef
Counts
4 → 216
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
23.0ms
(+ (sqrt 1.0) (tan x))
108.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))
37.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))

series842.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(fma (tan x) (tan x) 1.0)
65.0ms
(+ (sqrt 1.0) (tan x))
430.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))
249.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))

simplify3.0s

Counts
228 → 228
Iterations

Useful iterations: done (2.9s)

IterNodesCost
02866237
17405983
240815641
done50005635

prune1.5s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))
0.3b
(* (tan x) (tan x))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
24×times-frac
17×log-pow
16×exp-prod
12×pow1
add-exp-log add-cbrt-cube difference-of-squares
add-log-exp
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
log-prod fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/r*
flip3-- div-sub flip-- div-inv associate-/l/
cbrt-undiv pow2 frac-times sub-neg log-div frac-2neg pow-plus exp-diff diff-log associate-*r/ div-exp rem-log-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
32.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
26.0ms
(- 1.0 (* (tan x) (tan x)))
38.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))
34.0ms
(* (tan x) (tan x))

series598.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
79.0ms
(- 1.0 (* (tan x) (tan x)))
227.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))
67.0ms
(* (tan x) (tan x))

simplify2.4s

Counts
130 → 130
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02022124
14271966
217871811
done50001799

prune835.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes352.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01123
11223
done1223

end0.0ms

sample5.7s

Algorithm
intervals
Results
1.9s4254×body80valid
1.9s1544×body1280valid
1.2s1260×body640valid
297.0ms624×body320valid
173.0ms318×body160valid