Details

Time bar (total: 18.4s)

sample112.0ms

Algorithm
intervals
Results
25.0ms43×body1280valid
14.0ms38×body640valid
11.0ms140×body80valid
7.0ms26×body320valid
3.0msbody160valid

simplify93.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54314
64514
done4514

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite191.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:
13.0ms
(- 1.0 (* (tan x) (tan x)))
0.0ms
(fma (tan x) (tan x) 1.0)
57.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
78.0ms
(* (tan x) (tan x))

series486.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(- 1.0 (* (tan x) (tan x)))
142.0ms
(fma (tan x) (tan x) 1.0)
142.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
94.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
109 → 109
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01551557
13711472
216091347
done50011335

prune425.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
194×*-un-lft-identity
184×add-sqr-sqrt
104×add-cube-cbrt
40×difference-of-squares
32×sqrt-prod
30×associate-/r*
25×distribute-lft-out
20×distribute-lft-out--
18×prod-diff
13×associate-/r/
11×add-exp-log add-cbrt-cube
flip3-- flip-- div-inv associate-/l*
fma-neg add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num associate-/l/
sub-neg flip3-+ diff-log flip-+ fma-udef
Counts
4 → 237
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
14.0ms
(- (sqrt 1.0) (tan x))
23.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))
99.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))

series605.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(fma (tan x) (tan x) 1.0)
51.0ms
(- (sqrt 1.0) (tan x))
201.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))
303.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))

simplify2.5s

Counts
249 → 249
Iterations

Useful iterations: done (2.5s)

IterNodesCost
03216853
18136377
244605990
done50005988

prune880.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
26×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
tan-quot expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
log-prod swap-sqr associate-*r* associate-*l* associate-/r*
div-sub div-inv associate-/l/
cbrt-undiv pow2 frac-times log-div flip3-- frac-2neg pow-plus exp-diff associate-*r/ div-exp rem-log-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod fma-udef unswap-sqr
Counts
4 → 107
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
15.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
33.0ms
(* (tan x) (tan x))
32.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))

series439.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(fma (tan x) (tan x) 1.0)
184.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
55.0ms
(* (tan x) (tan x))
140.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))

simplify1.6s

Counts
119 → 119
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01881945
13881807
215811668
done50001656

prune569.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))
0.2b
(/ (+ (sqrt 1.0) (tan x)) (cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)))
0.3b
(cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3))
0.3b
(pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)

rewrite291.0ms

Algorithm
rewrite-expression-head
Rules
498×times-frac
433×*-un-lft-identity
409×add-sqr-sqrt
324×cbrt-prod
225×add-cube-cbrt
168×unpow-prod-down cube-prod
92×difference-of-squares
63×associate-/r*
58×distribute-lft-out
46×sqrt-prod distribute-lft-out--
31×associate-/r/
16×div-inv
15×flip3-- flip--
11×add-exp-log
10×add-cbrt-cube
cube-mult unpow3 associate-/l* sqr-pow
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv cube-div pow-unpow div-exp
cbrt-div frac-2neg pow-exp clear-num associate-/l/ rem-cube-cbrt
pow-to-exp pow-pow flip3-+ pow1/3 rem-cbrt-cube flip-+
Counts
4 → 485
Calls
4 calls:
30.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))
111.0ms
(/ (+ (sqrt 1.0) (tan x)) (cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)))
41.0ms
(cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3))
32.0ms
(pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)

series1.1s

Counts
4 → 12
Calls
4 calls:
230.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))
326.0ms
(/ (+ (sqrt 1.0) (tan x)) (cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)))
196.0ms
(cbrt (pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3))
358.0ms
(pow (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))) 3)

simplify789.0ms

Counts
497 → 497
Iterations

Useful iterations: done (746.0ms)

IterNodesCost
042717501
1107915049
done500014284

prune1.3s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.0b

regimes144.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
11018
done1018

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.6s1243×body640valid
1.5s1481×body1280valid
659.0ms4361×body80valid
331.0ms602×body320valid
80.0ms313×body160valid